* {
  box-sizing: border-box;
}

:root {
  --bg: #f3f7fa;
  --surface: #ffffff;
  --surface-alt: #e7f3fa;
  --text: #123a59;
  --muted: #4a6578;
  --primary: #2ea6d7;
  --primary-dark: #1f87b3;
  --accent-dark: #0f5f93;
  --accent-mid: #7aaec8;
  --border: #b8d6e6;
  --shadow: 0 16px 36px rgba(18, 58, 89, 0.14);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* ========== SKIP TO CONTENT ========== */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  z-index: 100;
  font-weight: 700;
  font-size: 0.9rem;
}

.skip-to-content:focus {
  top: 0;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 247, 250, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 6px solid var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.brand img {
  max-height: 40px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

nav a,
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
  position: relative;
}

nav a:hover,
.nav-link:hover {
  color: var(--primary);
}

/* Underline effect on nav links */
nav a::after,
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after,
.nav-link:hover::after {
  width: 100%;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  padding: 132px 0 108px;
  min-height: 94vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(13, 46, 72, 0.72) 0%, rgba(15, 95, 147, 0.58) 100%),
    url('assets/polcar-frente.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 27, 43, 0.68) 0%, rgba(6, 27, 43, 0.22) 55%, rgba(6, 27, 43, 0.12) 100%);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--accent-dark);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1, h2, h3 {
  line-height: 1.15;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 18px 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary-dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(31, 135, 179, 0.3);
}

.btn-whatsapp {
  background: #25d366 !important;
  border-color: #1faa52 !important;
  color: #ffffff !important;
}

.btn-whatsapp:hover {
  background: #1faa52 !important;
  border-color: #1a9647 !important;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.btn-secondary:hover {
  background: #eaf6fc;
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.hero-card,
.card,
.panel,
.contact-box,
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-main {
  position: relative;
  text-align: center;
}

.hero-main h1,
.hero-main .lead {
  color: #ffffff;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero-main .lead {
  max-width: 780px;
}

.signage-card {
  overflow: hidden;
  border-width: 2px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}

.signage-top,
.signage-bottom,
.section-label {
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signage-top,
.signage-bottom {
  margin: -28px -28px 20px -28px;
  padding: 14px 20px;
  text-align: center;
}

.signage-bottom {
  margin: 20px -28px -28px -28px;
}

.section-label {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.hero-card {
  padding: 28px;
}

.hero-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

/* ========== SECTIONS ========== */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--surface-alt);
  position: relative;
}

.section-alt.section-shared-photo-bg {
  background: transparent;
}

.section-alt::before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background: var(--primary);
  position: absolute;
  top: 0;
  left: 0;
}

.intro {
  max-width: 860px;
}

/* ========== CARDS ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.services-content {
  display: grid;
  align-content: center;
}

.services-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 24px;
  border-top: 6px solid var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbf8 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(18, 58, 89, 0.2);
}

.card h3 {
  color: var(--accent-dark);
  margin: 0 0 12px 0;
}

.card p {
  color: #35556b;
}

/* ========== LAYOUT ========== */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.panel {
  padding: 24px;
  border-left: 8px solid var(--primary);
}

.check-grid,
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.check-grid span,
.benefits div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* ========== LOGOS SECTION ========== */
.infografia-rto {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}

.info-col {
  display: grid;
  gap: 12px;
}

.info-item,
.info-group-title {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.info-item {
  color: #35556b;
  font-weight: 600;
}

.info-group-title {
  background: #e7f6fd;
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.truck-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.truck-emoji {
  font-size: 8rem;
  line-height: 1;
  filter: saturate(1.1);
}

.section-foot {
  margin-top: 20px;
  color: var(--muted);
}

.results {
  grid-template-columns: repeat(3, 1fr);
}

.section-shared-photo-bg {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(231, 243, 250, 0.74) 0%, rgba(248, 252, 254, 0.76) 100%),
    url('assets/polcar-planta.jpg') center center / cover no-repeat;
}

.section-shared-photo-bg > .container {
  position: relative;
  z-index: 1;
}

.section-shared-photo-bg-top {
  padding-bottom: 48px;
}

.section-shared-photo-bg-bottom {
  margin-top: -24px;
  padding-top: 24px;
}

.logos-section {
  background: transparent;
}

.logos-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.logos-strip-3 {
  grid-template-columns: 1fr 2.4fr 1fr;
}

.logo-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(18, 58, 89, 0.2);
}

.logo-card-dark {
  background: #2c325d;
  border-color: #2c325d;
}

.logo-card img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  display: block;
}

.logo-card-dark img {
  max-height: 120px;
}

.logo-card-cnrt {
  padding: 0;
  overflow: hidden;
}

.logo-card-cnrt img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

/* ========== FAQ ========== */
.faq-list {
  display: grid;
  gap: 14px;
}

details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  border-left: 8px solid var(--primary);
  cursor: pointer;
}

details[open] {
  background: #f8fcfe;
}

summary {
  cursor: pointer;
  font-weight: 700;
  user-select: none;
  outline: none;
}

summary:hover {
  color: var(--primary);
}

details p {
  margin: 12px 0 0 0;
  color: #35556b;
}

/* ========== CTA / CONTACT ========== */
.cta-section {
  padding-bottom: 88px;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 28px;
  align-items: stretch;
}

.cta-box > div {
  height: 100%;
}

.cta-box-flat {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.contact-title {
  text-align: center;
  margin-bottom: 28px;
}

.cta-box-flat {
  align-items: start;
}

.contact-box {
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbf7 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  width: 100%;
}

.contact-item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fcfe;
  width: 100%;
}

.contact-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: #2f4f66;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: var(--primary);
}

.btn-block {
  width: 100%;
  margin-top: 16px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--accent-dark);
  color: #f4fbff;
  padding: 28px 0;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  color: #ffffff;
}

.footer-cta {
  margin-top: 16px;
}

.footer-cta .btn {
  background: #25d366;
  border-color: #1faa52;
  color: #ffffff;
  display: inline-flex;
}

.footer-cta .btn:hover {
  background: #1faa52;
  border-color: #1a9647;
}

p {
  color: var(--muted);
}

.hero-card p,
.card p,
.contact-box p,
details p,
.footer-inner p {
  color: inherit;
}

/* ========== MAP ========== */
.map-wrap {
  margin-top: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--accent-dark);
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 100%;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .cta-box,
  .cards,
  .results,
  .check-grid,
  .benefits,
  .infografia-rto,
  .logos-strip,
  .logos-strip-3 {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    width: 100%;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .nav,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    gap: 12px;
  }

  .hero-grid,
  .two-col,
  .cta-box,
  .cards,
  .results,
  .check-grid,
  .benefits,
  .infografia-rto,
  .logos-strip,
  .logos-strip-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 100px 0 80px;
    min-height: auto;
  }

  .hero-main {
    padding: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .services-3 {
    grid-template-columns: 1fr;
  }

  .map-wrap {
    min-height: 300px;
  }

  .footer-inner {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 16px);
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .eyebrow {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .lead {
    font-size: 1rem;
  }

  .nav {
    padding: 12px 0;
  }

  .contact-label {
    font-size: 0.7rem;
  }

  .contact-value {
    font-size: 0.95rem;
  }
}
