    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

html {
  scroll-behavior: smooth;
}

/* #registro {
  scroll-margin-top: 0;
} */

    :root {
      --toyota-red: #f4141d;
      --white: #ffffff;
      --soft-white: rgba(255,255,255,0.88);
      --light-gray: #bcbcbc;
      --field-bg: #666;
      --dark: #0b0f17;
      --shadow: 0 18px 45px rgba(0,0,0,0.4);
    }

@font-face {
    font-display: swap;
    font-family: "ToyotaTypeBlack";
    font-weight: 900;
    src: url(fonts/ToyotaType-Black.woff2) format("woff2"), url(./fonts/ToyotaType-Black.woff) format("woff")
}

@font-face {
    font-display: swap;
    font-family: "ToyotaTypeBook";
    font-weight: 400;
    src: url(fonts/ToyotaType-Book.woff2) format("woff2"), url(./fonts/ToyotaType-Book.woff) format("woff")
}

@font-face {
    font-display: swap;
    font-family: "ToyotaTypeBold";
    font-weight: 700;
    src: url(fonts/ToyotaType-Bold.woff2) format("woff2"), url(./fonts/ToyotaType-Bold.woff) format("woff")
}

@font-face {
    font-display: swap;
    font-family: "ToyotaTypeSemibold";
    font-weight: 600;
    src: url(fonts/ToyotaType-Semibold.woff2) format("woff2"), url(./fonts/ToyotaType-Semibold.woff) format("woff")
}

.grecaptcha-badge {
  opacity: 0;
}

strong {
    font-family: "ToyotaTypeBlack";
    font-weight: 900;
}

.bold {
    font-family: "ToyotaTypeBold";
    font-weight: 700;
}


    body {
      font-family: "ToyotaTypeBook", sans-serif;
        font-weight: 400;
      background: #111;
      color: var(--white);
    }

    .landing {
      min-height: 100vh;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(to bottom, rgba(5,8,15,0.22) 0%, rgba(6,9,15,0.45) 22%, rgba(4,7,15,0.72) 55%, rgba(4,6,12,0.92) 100%),
        linear-gradient(90deg, rgba(30,58,108,0.65) 0%, rgba(15,20,31,0.18) 32%, rgba(15,20,31,0.1) 64%, rgba(255,180,120,0.20) 100%);
    }

    .landing::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 18% 18%, rgba(255,178,108,0.35), transparent 20%),
        radial-gradient(circle at 80% 18%, rgba(90,160,255,0.2), transparent 25%),
        linear-gradient(to top, rgba(0,0,0,0.38), transparent 30%);
      pointer-events: none;
    }

    .container, .container-first {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      padding: 0 24px 70px;
      text-align: center;
    }

    .container-first {
       width: 100%;
        background-image: url('images/bg-desktop.jpg');
        background-size: cover;
        background-position: bottom center;
        background-repeat: no-repeat; 
    }

    .container-second {
       width: 100%;
        background-image: url('images/bg-mobile.jpg');
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat; 
            margin-top: -10px;
    }

    .container-second .content {
    top: -100px;
    position: relative;
}

    .title-wrap {
      margin-top: 10px;
    }

    .title-wrap img {
      max-width: 350px;
      margin: 60px 0 0;

    }

    .title-logo {
        max-width: 100%;
        width: 600px;
    }

    .main-title {
      font-size: clamp(48px, 9vw, 92px);
      line-height: 0.9;
      font-weight: 900;
      letter-spacing: -0.04em;
      text-transform: uppercase;
      font-style: italic;
      text-shadow:
        0 0 12px rgba(255,255,255,0.16),
        0 4px 10px rgba(0,0,0,0.4);
    }

    .main-title .red {
      color: var(--toyota-red);
    }

    .main-title .white {
      color: #f5f5f5;
    }

    .toyota-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-top: 18px;
      font-size: clamp(18px, 2vw, 28px);
      font-weight: 800;
      text-transform: uppercase;
    }

    .toyota-square {
      width: 54px;
      height: 54px;
      background: var(--toyota-red);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 2px;
      font-weight: 900;
      font-size: 14px;
      letter-spacing: 0.03em;
    }

    .headline {
      /* margin-top: 52px; */
      font-size: clamp(30px, 2.2vw, 50px);
      font-weight: 900;
      text-transform: uppercase;
      line-height: 1;
      letter-spacing: 0.02em;
      text-shadow: 0 3px 10px rgba(0,0,0,0.45);
    }

    .headline strong {
      font-weight: 900;
    }

    .btn-primary {
      display: inline-block;
      margin-top: 26px;
      background: var(--toyota-red);
      color: #fff;
      text-decoration: none;
      font-weight: 900;
      text-transform: uppercase;
      border-radius: 999px;
      padding: 15px 32px;
      font-size: clamp(22px, 3vw, 42px);
      letter-spacing: 0.02em;
      box-shadow: 0 10px 24px rgba(244,20,29,0.25);
      font-family: "ToyotaTypeBold";
    font-weight: 700;
    font-size: 1.6em;
    -webkit-transition: all .30s ease-in-out;
-moz-transition: all .30s ease-in-out;
-ms-transition: all .30s ease-in-out;
-o-transition: all .30s ease-in-out;
transition: all .30s ease-in-out;
    }

    .btn-primary:hover { 
        background: #fff;
      color: #000;
    }

    .sub-copy {
      margin: 24px auto 0;
      max-width: 400px;
      font-size: 1.1em;
      line-height: 1.45;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.92);
    }

    .car-spacer {
      height: 430px;
    }

    .section-kicker {
      margin-top: 8px;
      font-size: clamp(18px, 2vw, 26px);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.95);
    }

    .rav4-year {
      margin-top: 8px;
      font-size: clamp(42px, 7vw, 86px);
      font-weight: 800;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      line-height: 0.9;
    }

    .rav4-year .rav4-logo {
        max-width: 100%;
        width: 450px;
    }

    .rav4-year small {
      display: block;
      margin-top: 10px;
      font-size: clamp(14px, 1.4vw, 20px);
      font-weight: 500;
      letter-spacing: 0.9em;
    }

    .desc {
      max-width: 760px;
      margin: 34px auto 0;
          font-size: 1.1em;
    line-height: 1.6em;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--soft-white);
    }

    .form-wrap {
      max-width: 680px;
      margin: 55px auto 0;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .form-grid .full {
      grid-column: 1 / -1;
    }

    .field {
      width: 100%;
      height: 68px;
      border: none;
      outline: none;
      border-radius: 8px;
      background: var(--field-bg);
      color: #fff;
      padding: 0 20px;
      font-size: 16px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      appearance: none;
      -webkit-appearance: none;
      backdrop-filter: blur(2px);
    }

    .field::placeholder {
      color: rgba(255,255,255,0.88);
    }

    .select-wrap {
      position: relative;
    }

    .select-wrap::after {
      content: "▼";
      position: absolute;
      right: 18px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 14px;
      color: rgba(255,255,255,0.95);
      pointer-events: none;
    }

    /* .cta-secondary {
      margin-top: 34px;
    }

    .cta-secondary .btn-primary {
      font-size: clamp(22px, 3vw, 36px);
      padding: 20px 34px;
      min-width: min(100%, 420px);
    } */

    .event-pill {
      margin: 56px auto 0;
      max-width: 760px;
      border-radius: 999px;
      padding: 18px 26px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
      border: 2px solid rgba(255,255,255,0.55);
      box-shadow:
        inset 0 0 12px rgba(255,255,255,0.28),
        0 12px 30px rgba(0,0,0,0.25);
      backdrop-filter: blur(4px);
    }

    .event-pill .divider {
      width: 2px;
      align-self: stretch;
      background: rgba(255,255,255,0.65);
    }

    .event-block {
      flex: 1;
      text-align: center;
    }

    .event-main {
      font-size: 2.3em;
      font-weight: 900;
      text-transform: uppercase;
      line-height: 1;
    }

    .event-sub {
      margin-top: 4px;
      font-size: 1.3em;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .footer-logos {
      margin-top: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 28px;
      flex-wrap: wrap;
    }

    .footer-logos img {
        max-width: 100%;
        width: 400px;
    }


    .cta-secondary {
      margin-top: 34px;
    }

    .success-msg {
      display: inline-block;
      padding: 18px 32px;
      background: rgba(255, 255, 255, 0.12);
      /* border: 2px solid rgba(255, 255, 255, 0.55); */
      border-radius: 999px;
      backdrop-filter: blur(4px);
      font-family: "ToyotaTypeBold", sans-serif;
      font-weight: 700;
      font-size: clamp(14px, 1.4vw, 18px);
      letter-spacing: 0.10em;
      text-transform: uppercase;
      color: #fff;
      text-shadow: 0 1px 6px rgba(0,0,0,0.4);
      animation: fadeInUp 0.4s ease both;
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 767px) {
      .container {
        padding: 32px 18px 50px;
      }

      .title-logo {
            width: 300px;
        }

        .btn-primary {
    padding: 15px 22px;
    font-size: 1.3em;
}

      .car-spacer {
        height: 320px;
      }

      .desc {
        line-height: 1.45;
        letter-spacing: 0.08em;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .event-main {
        font-size: 1.5em;
    }

    .event-sub {
        font-size: 0.9em;
    }

    .title-wrap img {
      max-width: 180px;
      margin: 10px 0 0;
    }

    /* .sub-copy {
      width: 90%;
    } */

      /* .event-pill {
        border-radius: 28px;
        flex-direction: column;
        padding: 18px;
      }

      .event-pill .divider {
        width: 100%;
        height: 2px;
      }

      .footer-logos {
        flex-direction: column;
        gap: 18px;
      }

      .footer-divider {
        width: 120px;
        height: 2px;
      } */

    }


    /* ── Hero entrance animations ───────────────── */

    @keyframes heroFadeDown {
      from { opacity: 0; transform: translateY(-28px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes heroFadeUp {
      from { opacity: 0; transform: translateY(40px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes heroPop {
      0%   { opacity: 0; transform: scale(0.86); }
      65%  { transform: scale(1.05); }
      100% { opacity: 1; transform: scale(1); }
    }

    /* Initial hidden state – animations only fire after load */
    .container-first .title-wrap,
    .container-first .headline,
    .container-first .btn-primary,
    .container-first .sub-copy {
      opacity: 0;
    }

    body.loaded .container-first .title-wrap {
      animation: heroFadeDown 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    body.loaded .container-first .headline {
      animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
    }

    body.loaded .container-first .btn-primary {
      animation: heroPop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
    }

    body.loaded .container-first .sub-copy {
      animation: heroFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
    }

    /* ── Preloader ───────────────────────────────── */

    #preloader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: #0b0f17;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.55s ease, visibility 0.55s ease;
    }

    #preloader.hidden {
      opacity: 0;
      visibility: hidden;
    }

    .preloader-spinner {
      width: 52px;
      height: 52px;
      border: 3px solid rgba(255,255,255,0.12);
      border-top-color: var(--toyota-red);
      border-radius: 50%;
      animation: spin 0.75s linear infinite;
    }

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

    .disclaimer {
      text-align: center;
      padding: 16px 24px 24px;
      font-size: 0.75em;
      color: rgba(255,255,255,0.45);
      letter-spacing: 0.04em;
    }

    .disclaimer a {
      color: rgba(255,255,255,0.65);
      text-decoration: underline;
    }

    .disclaimer a:hover {
      color: #fff;
    }

    @media (max-width: 475px) {

    /* .container-first {
        background-image: url('images/bg-mobile.jpg');
    } */

        .car-spacer {
        height: 200px;
    }

    .sub-copy {
      width: 70%;
          font-size: 0.9em;
    }

    .desc, .section-kicker{
      font-size: 0.9em;
    }

    

    }

    /* ── Confirmation Modal ──────────────────────── */

    #confirm-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(5, 8, 20, 0.93);
      z-index: 10000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    #confirm-modal.visible { display: flex; }

    .modal-box {
      background: #0e1628;
      border-radius: 12px;
      border-top: 4px solid var(--toyota-red);
      padding: 32px 28px;
      width: 100%;
      max-width: 380px;
      box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
      animation: modalIn 0.22s ease;
    }

    @keyframes modalIn {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .modal-title {
      color: #ffffff;
      font-family: "ToyotaTypeSemibold", sans-serif;
      font-size: 15px;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin: 0 0 4px;
    }

    .modal-subtitle {
      color: rgba(255,255,255,0.35);
      font-size: 12px;
      margin: 0 0 22px;
      letter-spacing: 0.5px;
    }

    .modal-field {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 7px;
      padding: 12px 16px;
      margin-bottom: 10px;
    }

    .modal-field-label {
      color: rgba(255,255,255,0.35);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 5px;
    }

    .modal-field-value {
      color: #ffffff;
      font-family: "ToyotaTypeSemibold", sans-serif;
      font-size: 15px;
      word-break: break-all;
    }

    .modal-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 24px;
    }

    .modal-btn-confirm {
      background: var(--toyota-red);
      color: #ffffff;
      border: none;
      border-radius: 999px;
      padding: 15px 32px;
      font-size: 1em;
      font-family: "ToyotaTypeBold", sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.10em;
      cursor: pointer;
      width: 100%;
      box-shadow: 0 10px 24px rgba(244,20,29,0.25);
      transition: all 0.30s ease-in-out;
    }

    .modal-btn-confirm:hover {
      background: #ffffff;
      color: #000000;
    }

    .modal-btn-back {
      background: transparent;
      color: rgba(255,255,255,0.45);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 999px;
      padding: 13px 32px;
      font-size: 12px;
      font-family: "ToyotaTypeBook", sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.10em;
      cursor: pointer;
      width: 100%;
      transition: all 0.25s ease-in-out;
    }

    .modal-btn-back:hover {
      border-color: rgba(255,255,255,0.4);
      color: #ffffff;
    }

/* ── Submit loading spinner ─────────────────────────────────────── */
.btn-primary.loading {
  pointer-events: none;
  opacity: 0.85;
}
.btn-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
  margin-bottom: 2px;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ── Checkbox consent ────────────────────────────────────────────── */
.check-wrap {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0 2px;
}
.check-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.check-wrap input[type="checkbox"]:checked {
  background: var(--toyota-red);
  border-color: var(--toyota-red);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L4 6.5L9 1' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
.check-wrap label {
  font-size: 0.0.9em;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  cursor: pointer;
}
