/* Page-specific styles for trailer detail pages and contacts */

/* ============ Page Hero ============ */
.page-hero {
  background: linear-gradient(135deg, #1A2B3C 0%, #243a52 100%);
  color: var(--white);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -180px; top: -180px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.18), transparent 60%);
  pointer-events: none;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 16px;
}
.page-hero .accent { color: var(--orange); }
.page-hero .lead { font-size: 18px; color: rgba(255,255,255,0.78); margin-bottom: 32px; }

.hero-image-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
}
.hero-image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 10px);
  border-radius: 18px;
  pointer-events: none;
}
.hero-image-card img {
  width: 100%;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
  position: relative;
  z-index: 1;
}

/* Quick stats under hero */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin-top: -40px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quick-stats .stat {
  padding: 24px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}
.quick-stats .stat:last-child { border-right: none; }
.quick-stats .stat .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.quick-stats .stat .val {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ============ Models grid ============ */
.models-section { padding: 80px 0 40px; }
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.model-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.model-card .thumb {
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.model-card .thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(26,43,60,0.04) 0 1px, transparent 1px 8px);
}
.model-card .thumb picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.model-card .thumb img {
  max-width: 90%; max-height: 80%;
  width: auto; height: auto;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
  position: relative; z-index: 1;
  filter: drop-shadow(0 6px 12px rgba(26,43,60,0.15));
}
.model-card .body { padding: 24px; }
.model-card .name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
}
.model-card .code {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.model-card .desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.tech-list {
  list-style: none;
  padding: 16px 0;
  margin: 0;
  border-top: 1px solid var(--gray-200);
  display: grid;
  gap: 8px;
}
.tech-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.tech-list li .k { color: var(--gray-500); }
.tech-list li .v { font-weight: 600; color: var(--navy); font-family: 'Inter', sans-serif; }

/* ============ Two-column section ============ */
.two-col {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.two-col .container { display: contents; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--orange-50);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-list .x {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-list .text strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.feature-list .text span {
  font-size: 14px;
  color: var(--gray-500);
}

/* ============ Pricing tables ============ */
.pricing-section { padding: 80px 0; background: var(--gray-100); }
.price-table-wrap {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
  box-shadow: var(--shadow-md);
}
.price-table-wrap.featured { border-color: var(--orange); border-width: 2px; }
.price-table-head {
  padding: 20px 28px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.price-table-head .label { font-family: 'Inter',sans-serif; font-weight:800; font-size:18px; color:white; }
.price-table-head .label .code { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.price-table-head .from { font-family: 'Inter',sans-serif; }
.price-table-head .from .v { font-weight:800; font-size: 22px; color: var(--orange); }
.price-table-head .from .u { font-size: 12px; color: rgba(255,255,255,0.7); margin-left: 4px; }
.price-row-table { width: 100%; border-collapse: collapse; font-family: 'Inter',sans-serif; }
.price-row-table th, .price-row-table td { padding: 12px 10px; text-align: center; font-size: 14px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
.price-row-table th { background: var(--gray-100); font-weight: 700; color: var(--gray-700); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.price-row-table td:last-child, .price-row-table th:last-child { border-right: none; }
.price-row-table tr.totals td { font-weight: 800; color: var(--navy); font-size: 15px; background: #fffbf5; }
.price-row-table tr.per-day td { font-family: 'Inter',sans-serif; font-size: 11px; color: var(--gray-500); background: white; padding: 6px 10px 10px; }
.price-row-table tr:last-child td { border-bottom: none; }
.price-foot { padding: 16px 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--gray-700); border-top: 1px solid var(--gray-200); background: var(--gray-100); }
.price-foot strong { color: var(--navy); font-family: 'Inter',sans-serif; }

.insurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.insurance-card { background: white; border-radius: 12px; padding: 24px; border: 1px solid var(--gray-200); }
.insurance-card .badge { display: inline-block; font-family: 'Inter',sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px; }
.insurance-card.silver .badge { background: #f1f5f9; color: #475569; }
.insurance-card.gold .badge { background: #fef3c7; color: #92400e; }
.insurance-card.platinum .badge { background: #ede9fe; color: #5b21b6; }
.insurance-card h4 { font-family: 'Inter',sans-serif; font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.insurance-card .price-line { font-family: 'Inter',sans-serif; font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.insurance-card .price-line .unit { font-size: 12px; font-weight: 500; color: var(--gray-500); margin-left: 4px; }
.insurance-card ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.insurance-card ul li { padding: 6px 0; border-bottom: 1px solid var(--gray-100); display: flex; justify-content: space-between; gap: 12px; }
.insurance-card ul li:last-child { border-bottom: none; }
.insurance-card ul li .v { font-weight: 600; color: var(--navy); }

@media (max-width: 880px) {
  .price-row-table th, .price-row-table td { padding: 8px 6px; font-size: 12px; }
  .insurance-grid { grid-template-columns: 1fr; }
}

/* Requirements panel */
.req-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.req-panel::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.15), transparent 60%);
  pointer-events: none;
}
.req-panel h3 { color: var(--white); margin-bottom: 24px; }
.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: flex-start;
}
.req-list li:last-child { border-bottom: none; }
.req-list .num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.req-list .text { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.55; }
.req-list .text strong { color: var(--white); display: block; margin-bottom: 2px; font-family: 'Inter', sans-serif; }

/* ============ Contact page ============ */
.contact-hero {
  background: linear-gradient(135deg, #1A2B3C 0%, #243a52 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 14px);
}
.contact-hero h1 { color: var(--white); }
.contact-hero p { color: rgba(255,255,255,0.78); font-size: 19px; max-width: 600px; margin: 0 auto; }
.contact-hero > * { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  gap: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.contact-card .icon-big {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-50);
  color: var(--orange);
}
.contact-card.green .icon-big { background: #e8f5e9; color: #25d366; }
.contact-card .channel-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.contact-card .channel-value {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.contact-card .channel-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.contact-card .btn { width: 100%; }
.btn-whatsapp { background: #25d366; color: white; }
.btn-whatsapp:hover { background: #1ebe5a; }

.hours-card {
  margin-top: 64px;
  padding: 40px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}
.hours-card h3 { margin-bottom: 8px; }
.hours-list { display: grid; gap: 8px; }
.hours-list .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
}
.hours-list .row:last-child { border-bottom: none; }
.hours-list .row .day { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--navy); }
.hours-list .row .time { color: var(--gray-700); }
.hours-list .row.closed .time { color: var(--gray-500); }

@media (max-width: 880px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .quick-stats .stat:nth-child(2) { border-right: none; }
  .quick-stats .stat:nth-child(1), .quick-stats .stat:nth-child(2) { border-bottom: 1px solid var(--gray-200); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hours-card { grid-template-columns: 1fr; gap: 24px; }
}
