:root {
  --blue: #03206F;
  --blue-del-rey: #03206F;
  --blue-deep: #01154D;
  --yellow: #F2B31B;
  --white: #FFFFFF;
  --soft: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.18);
}

* { box-sizing: border-box; }

html {
  background: var(--blue-del-rey);
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--blue-del-rey);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

body.splash-active { overflow: hidden; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg, video, iframe {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--yellow);
  color: var(--blue-del-rey);
}

.kicker {
  margin: 0 0 26px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.yellow, .yellow-text { color: var(--yellow) !important; }

/* INTRO */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--blue-del-rey);
  opacity: 1;
  visibility: visible;
  transition: opacity .5s ease, visibility .5s ease;
}

.intro-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-message {
  width: min(1260px, calc(100vw - 48px));
  display: grid;
  gap: clamp(26px, 4vh, 46px);
  text-align: center;
}

.intro-line {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .96;
  font-size: clamp(42px, 6.3vw, 116px);
  opacity: 0;
  transform: translateY(38px);
  will-change: transform, opacity;
}

.intro-line-one {
  color: var(--white);
}

.intro-line-two {
  color: var(--yellow);
  font-size: clamp(34px, 4.8vw, 92px);
}

/* TOP SOCIALS */
.top-socials {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 38px;
  pointer-events: none;
  opacity: 1;
  transition: opacity .25s ease;
}

body.splash-active .top-socials {
  opacity: 0;
  pointer-events: none;
}

.top-social {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform .2s ease, opacity .2s ease;
  isolation: isolate;
  opacity: 1 !important;
}

.top-social:hover {
  transform: translateY(-2px) scale(1.04);
  opacity: .88;
}

.top-social img,
.top-social svg {
  width: 39px;
  height: 39px;
  object-fit: contain;
  fill: var(--white);
  opacity: 1 !important;
  filter: drop-shadow(0 6px 10px rgba(0, 15, 70, .72));
}

.top-whatsapp img,
.top-whatsapp svg {
  width: 39px;
  height: 39px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--blue-del-rey);
  color: var(--white);
}

.hero-center {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 130px 36px 100px;
}

.hero-main-logo {
  width: min(460px, 62vw);
  filter: drop-shadow(0 30px 48px rgba(0,0,0,.28));
  transform-origin: center;
}

.hero-auto-parts {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.auto-part {
  position: absolute;
  bottom: -22vh;
  width: clamp(86px, 8vw, 150px);
  color: rgba(255,255,255,.34);
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: partRise 15s linear infinite;
  will-change: transform;
}

.yellow-part { color: rgba(242,179,27,.44); }

.part-a { left: 9%; animation-delay: -4s; animation-duration: 17s; }
.part-b { left: 26%; animation-delay: -11s; animation-duration: 19s; width: clamp(78px, 7vw, 125px); }
.part-c { left: 72%; animation-delay: -8s; animation-duration: 16s; }
.part-d { left: 86%; animation-delay: -2s; animation-duration: 21s; width: clamp(70px, 6.5vw, 118px); }
.part-e { left: 43%; animation-delay: -14s; animation-duration: 22s; width: clamp(80px, 7vw, 130px); }
.part-f { left: 58%; animation-delay: -6s; animation-duration: 18s; width: clamp(82px, 7vw, 128px); }

@keyframes partRise {
  0% { transform: translate3d(0, 18vh, 0) rotate(-14deg); opacity: 0; }
  12% { opacity: .75; }
  84% { opacity: .58; }
  100% { transform: translate3d(0, -138vh, 0) rotate(24deg); opacity: 0; }
}

.hero-scroll {
  position: absolute;
  z-index: 5;
  right: 42px;
  bottom: 36px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-scroll::before {
  content: "";
  display: block;
  width: 1px;
  height: 86px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,.55);
}

/* SMOKE TRANSITIONS - scroll based, not fixed overlay */
.scroll-smoke {
  position: relative;
  height: clamp(440px, 62vh, 740px);
  overflow: hidden;
  isolation: isolate;
}

.smoke-blue-white { background: var(--blue-del-rey); }
.smoke-white-blue { background: var(--white); }

.smoke-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: inherit;
}

.smoke-color {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(100%);
  will-change: transform;
}

.smoke-blue-white .smoke-color { background: var(--white); }
.smoke-white-blue .smoke-color { background: var(--blue-del-rey); }

.smoke-layer {
  position: absolute;
  inset: -12% -10% -18%;
  z-index: 2;
  transform: translateY(42%);
  will-change: transform;
  filter: blur(2px);
}

.smoke-layer span {
  position: absolute;
  bottom: -10%;
  left: 50%;
  width: 34vw;
  min-width: 300px;
  max-width: 680px;
  height: 26vh;
  min-height: 160px;
  border-radius: 55% 45% 48% 52% / 58% 45% 55% 42%;
  background: rgba(255,255,255,.94);
  filter: blur(26px);
  opacity: .95;
  transform: translateX(-50%) scale(.9);
  will-change: transform, opacity;
}

.smoke-white-blue .smoke-layer span {
  background: rgba(3,32,111,.95);
}

.smoke-layer span:nth-child(1) { left: 0%;  width: 44vw; bottom: 4%;  }
.smoke-layer span:nth-child(2) { left: 15%; width: 40vw; bottom: 18%; }
.smoke-layer span:nth-child(3) { left: 29%; width: 48vw; bottom: 0%;  }
.smoke-layer span:nth-child(4) { left: 48%; width: 52vw; bottom: 13%; }
.smoke-layer span:nth-child(5) { left: 63%; width: 45vw; bottom: 4%;  }
.smoke-layer span:nth-child(6) { left: 79%; width: 42vw; bottom: 20%; }
.smoke-layer span:nth-child(7) { left: 98%; width: 48vw; bottom: 2%;  }
.smoke-layer span:nth-child(8) { left: 50%; width: 92vw; max-width: 1480px; bottom: -20%; height: 32vh; }

/* SECTIONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-del-rey);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.wheel-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 150px 36px;
  background: var(--white);
  color: var(--blue-del-rey);
}

.wheel-wrap {
  position: relative;
  z-index: 3;
  width: min(1320px, 100%);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.wheel-stage {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.wheel-graphic {
  width: min(43vw, 540px);
  aspect-ratio: 1 / 1;
  animation: wheelSpin 7s linear infinite;
  filter: drop-shadow(0 32px 56px rgba(3,32,111,.2));
  will-change: transform;
}

@keyframes wheelSpin { to { transform: rotate(360deg); } }

.wheel-text .kicker { color: var(--yellow); }

.wheel-text h2,
.story h2,
.about-content h2,
.contact-content h2,
.map-heading {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(58px, 8vw, 148px);
  line-height: .98;
  letter-spacing: -.035em;
  word-spacing: .08em;
  text-transform: uppercase;
}

.wheel-text h2 { max-width: 900px; color: var(--blue-del-rey); }
.wheel-text h2 em { color: var(--yellow); font-style: normal; }

.intro-copy {
  max-width: 720px;
  margin: 34px 0 0;
  color: rgba(3,32,111,.75);
  font-size: clamp(22px, 2.6vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  word-spacing: .06em;
}

.story {
  position: relative;
  min-height: 340vh;
  display: block;
  padding: 0 36px;
  background: var(--blue-del-rey);
  color: var(--white);
  text-align: center;
}

.story-content {
  position: sticky;
  top: 0;
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 115px 0 90px;
}

.story h2 {
  color: var(--white);
  margin-bottom: clamp(24px, 4vh, 46px);
  opacity: 0;
  transform: translateY(42px);
}

.story-lines {
  width: 100%;
  display: grid;
  gap: clamp(16px, 2.25vh, 28px);
}

.story-lines p {
  max-width: 1120px;
  margin: 0 auto;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(34px, 4.8vw, 78px);
  line-height: 1.03;
  letter-spacing: -.022em;
  word-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  opacity: 0;
  transform: translateY(42px);
}

.about {
  position: relative;
  min-height: 120vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 130px 36px;
  background: var(--blue-del-rey);
}

.about-media { position: relative; min-height: 680px; }

.about-img {
  position: absolute;
  width: min(36vw, 560px);
  height: 48vh;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 34px;
  box-shadow: 0 30px 110px rgba(0,0,0,.28);
}

.img-one { top: 5%; left: 0; transform: rotate(-4deg); }
.img-two { bottom: 5%; right: 0; transform: rotate(5deg); }

.about-content p:not(.kicker) {
  max-width: 790px;
  margin: 32px 0 0;
  color: var(--soft);
  font-size: clamp(22px, 2.45vw, 40px);
  line-height: 1.24;
  font-weight: 850;
  letter-spacing: -.015em;
  word-spacing: .06em;
}

.map-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: 100vh;
  padding: 130px 36px;
  background: var(--blue-del-rey);
  color: var(--white);
}

.map-content {
  position: relative;
  z-index: 2;
}

.map-heading {
  display: grid;
  gap: 0;
  max-width: 900px;
  color: var(--white);
  line-height: .92;
}

.map-heading span { display: block; }

.keep-word {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.map-content p {
  max-width: 620px;
  margin: 34px 0;
  color: var(--soft);
  font-size: clamp(20px, 2.15vw, 34px);
  font-weight: 850;
  line-height: 1.24;
  letter-spacing: -.01em;
  word-spacing: .06em;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-del-rey);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.map-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 620px;
  border: 2px solid rgba(255,255,255,.24);
  border-radius: 38px;
  box-shadow: 0 34px 120px rgba(0,0,0,.32);
  background: rgba(255,255,255,.12);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  filter: saturate(.92) contrast(1.02);
}

.contact {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 120px 36px;
  background: var(--blue-del-rey);
  text-align: center;
}

.contact-bg {
  position: absolute;
  inset: 0;
  opacity: .22;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3,32,111,.92);
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.contact-content h2 { max-width: 1200px; }

.contact-content p {
  max-width: 760px;
  margin: 34px 0;
  color: var(--soft);
  font-size: clamp(24px, 3vw, 46px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.02em;
  word-spacing: .08em;
}

.char, .word { will-change: transform, opacity; }

@media (max-width: 980px) {
  .top-socials { padding: 22px 20px; }
  .top-social { width: 40px; height: 40px; }
  .top-social img,
  .top-social svg,
  .top-whatsapp img,
  .top-whatsapp svg { width: 35px; height: 35px; }
  .hero-main-logo { width: min(520px, 78vw); }
  .hero-scroll { display: none; }
  .scroll-smoke { height: clamp(360px, 54vh, 580px); }
  .wheel-section { min-height: auto; padding: 120px 22px 135px; }
  .map-section { padding: 110px 22px; }
  .wheel-wrap, .about, .map-section { grid-template-columns: 1fr; }
  .wheel-stage { min-height: 400px; }
  .wheel-graphic { width: min(78vw, 430px); }
  .about-media { min-height: 520px; }
  .about-img { width: 72vw; }
  .map-frame, .map-frame iframe { min-height: 470px; }
}


@media (max-width: 560px) {
  .intro-message {
    width: calc(100vw - 28px);
    gap: 20px;
  }

  .intro-line {
    font-size: clamp(32px, 10.8vw, 62px);
    line-height: .98;
  }

  .intro-line-two {
    font-size: clamp(28px, 8.7vw, 52px);
  }

  .hero-center { padding: 110px 20px 90px; }
  .hero-main-logo { width: min(350px, 78vw); }
  .auto-part { width: 82px; }
  .wheel-text h2,
  .story h2,
  .about-content h2,
  .contact-content h2,
  .map-heading {
    font-size: clamp(46px, 14vw, 84px);
    line-height: .96;
  }
  .story { min-height: 360vh; padding: 0 20px; }
  .story-content { padding: 105px 0 82px; }
  .story-lines { gap: 16px; }
  .story-lines p { font-size: clamp(27px, 8.3vw, 48px); line-height: 1.08; }
  .btn { width: 100%; }
  .map-frame, .map-frame iframe { min-height: 380px; }
}
