 *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --navy: #07032B;
      --teal: #4ADEDD;
      --white: #FFFFFF;
      --white-dim: rgba(255, 255, 255, 0.45);
      --white-faint: rgba(255, 255, 255, 0.1);
    }

    html {
      min-height: 100%;
      background: var(--navy);
    }

    body {
      min-height: 100vh;
      min-height: 100dvh;
      background: var(--navy);
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      overflow-x: hidden;
      overflow-y: auto;
    }

    /* =========================
       FONDO
    ========================= */

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        radial-gradient(
          circle,
          rgba(74, 222, 221, 0.08) 1px,
          transparent 1px
        );
      background-size: 40px 40px;
      pointer-events: none;
      z-index: 0;
    }

    body::after {
      content: '';
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: min(600px, 100vw);
      height: min(600px, 100vw);
      background:
        radial-gradient(
          ellipse,
          rgba(74, 222, 221, 0.07) 0%,
          transparent 70%
        );
      pointer-events: none;
      z-index: 0;
    }

    /* =========================
       CONTENEDOR PRINCIPAL
    ========================= */

    .container {
      position: relative;
      z-index: 1;

      min-height: 100vh;
      min-height: 100dvh;

      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      width: 100%;
      max-width: 1100px;

      margin: 0 auto;

      padding:
        max(32px, env(safe-area-inset-top))
        24px
        max(100px, calc(32px + env(safe-area-inset-bottom)));

      text-align: center;
    }

    /* =========================
       LOGO
    ========================= */

    .logo-wrap {
      margin-bottom: clamp(20px, 3.5vh, 32px);

      opacity: 0;
      animation: fadeUp 0.5s ease 0.1s forwards;
    }

    .logo-img {
      width: clamp(58px, 7vw, 72px);
      height: clamp(58px, 7vw, 72px);

      border-radius: clamp(15px, 2vw, 18px);

      display: block;
      margin: 0 auto;

      box-shadow:
        0 0 0 1px rgba(74, 222, 221, 0.15),
        0 8px 32px rgba(74, 222, 221, 0.08);
    }

    /* =========================
       TAG SUPERIOR
    ========================= */

    .tag {
      font-family: 'Space Grotesk', sans-serif;

      font-size: clamp(9px, 1.2vw, 11px);
      font-weight: 500;

      letter-spacing: 0.2em;
      text-transform: uppercase;

      color: var(--teal);

      margin-bottom: clamp(24px, 5vh, 40px);

      opacity: 0;
      animation: fadeUp 0.6s ease 0.3s forwards;
    }

    /* =========================
       MARCA
    ========================= */

    .brand {
      font-family: 'Space Grotesk', sans-serif;

      font-size: clamp(42px, 8vw, 80px);
      font-weight: 700;

      line-height: 0.98;
      letter-spacing: -0.04em;

      color: var(--white);

      margin: 0;

      width: 100%;
    }

    .brand-line {
      display: block;
      overflow: hidden;
    }

    .brand-line.reveal {
      clip-path: inset(0 100% 0 0);

      animation:
        revealLine
        0.7s
        cubic-bezier(0.77, 0, 0.18, 1)
        forwards;
    }

    .brand-line.reveal:nth-child(1) {
      animation-delay: 0.5s;
    }

    .brand-line.reveal:nth-child(2) {
      animation-delay: 0.85s;
    }

    .typed-line {
      display: block;
      color: var(--teal);
      min-height: 1em;
    }

    .cursor {
      display: inline-block;

      width: 3px;
      height: 0.8em;

      background: var(--teal);

      margin-left: 4px;

      vertical-align: middle;

      animation: blink 1s step-end infinite;

      border-radius: 1px;
    }

    /* =========================
       TAGLINE
    ========================= */

    .tagline {
      font-size: clamp(13px, 1.8vw, 17px);
      font-weight: 300;

      color: var(--white-dim);

      margin-top: clamp(20px, 3.5vh, 28px);
      margin-bottom: clamp(28px, 5vh, 48px);

      line-height: 1.6;

      width: 100%;
      max-width: 440px;

      opacity: 0;

      animation:
        fadeUp
        0.6s
        ease
        1.6s
        forwards;
    }

    /* =========================
       SEPARADOR
    ========================= */

    .sep {
      width: 40px;
      height: 1px;

      background: var(--white-faint);

      margin: 0 auto clamp(28px, 5vh, 48px);

      opacity: 0;

      animation:
        fadeUp
        0.4s
        ease
        1.9s
        forwards;
    }

    /* =========================
       CTA
    ========================= */

    .cta-group {
      display: flex;
      flex-direction: column;
      align-items: center;

      gap: 14px;

      width: 100%;

      opacity: 0;

      animation:
        fadeUp
        0.6s
        ease
        2s
        forwards;
    }

    .cta-label {
      font-size: 12px;
      font-weight: 400;

      color: var(--white-dim);

      letter-spacing: 0.05em;
    }

    .cta-email {
      display: inline-flex;
      align-items: center;
      justify-content: center;

      gap: 10px;

      max-width: 100%;

      background: transparent;

      border: 1px solid rgba(74, 222, 221, 0.4);

      border-radius: 100px;

      padding: 13px 24px;

      font-family: 'Space Grotesk', sans-serif;

      font-size: clamp(13px, 1.5vw, 15px);
      font-weight: 500;

      color: var(--teal);

      text-decoration: none;

      transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;

      letter-spacing: 0.01em;

      overflow-wrap: anywhere;
    }

    .cta-email:hover {
      background: rgba(74, 222, 221, 0.08);
      border-color: var(--teal);
    }

    .cta-email svg {
      width: 16px;
      height: 16px;

      flex-shrink: 0;
    }

    /* =========================
       WHATSAPP
    ========================= */

    .cta-wa {
      display: inline-flex;
      align-items: center;
      justify-content: center;

      gap: 8px;

      font-size: 13px;
      font-weight: 400;

      color: var(--white-dim);

      text-decoration: none;

      transition: color 0.2s ease;

      padding: 6px 0;

      max-width: 100%;
    }

    .cta-wa:hover {
      color: var(--white);
    }

    .cta-wa svg {
      width: 16px;
      height: 16px;

      flex-shrink: 0;
    }

   .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    padding:
        16px 24px
        max(16px, env(safe-area-inset-bottom));

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;

    opacity: 0;
    animation: fadeUp 0.6s ease 2.4s forwards;
}

.footer-left {
    font-size: 12px;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.55);

    letter-spacing: 0.04em;

    text-align: center;
}

.footer-right {
    position: absolute;
    right: 24px;

    display: flex;
    gap: 12px;
}

    .social-link {
      width: 32px;
      height: 32px;

      border: 1px solid var(--white-faint);

      border-radius: 50%;

      display: flex;

      align-items: center;
      justify-content: center;

      color: var(--white-dim);

      text-decoration: none;

      transition:
        border-color 0.2s ease,
        color 0.2s ease;
    }

    .social-link:hover {
      border-color: var(--teal);
      color: var(--teal);
    }

    .social-link svg {
      width: 14px;
      height: 14px;
    }

    /* =========================
       ANIMACIONES
    ========================= */

    @keyframes revealLine {
      to {
        clip-path: inset(0 0% 0 0);
      }
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes blink {
      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0;
      }
    }

    /* =========================
       TABLETS
    ========================= */

    @media (max-width: 768px) {

      .container {
        padding-left: 20px;
        padding-right: 20px;
      }

      .tag {
        letter-spacing: 0.16em;
      }

      .brand {
        font-size: clamp(42px, 11vw, 64px);
      }

      .tagline {
        max-width: 380px;
      }

    }

    /* =========================
       MÓVILES
    ========================= */

    @media (max-width: 480px) {

      .container {
        justify-content: center;

        padding-left: 18px;
        padding-right: 18px;

        padding-top:
          max(24px, env(safe-area-inset-top));

        padding-bottom:
          max(90px, calc(24px + env(safe-area-inset-bottom)));
      }

      .logo-wrap {
        margin-bottom: 18px;
      }

      .logo-img {
        width: 58px;
        height: 58px;
        border-radius: 15px;
      }

      .tag {
        font-size: 9px;

        letter-spacing: 0.14em;

        margin-bottom: 26px;
      }

      .brand {
        font-size: clamp(40px, 15vw, 58px);
        letter-spacing: -0.045em;
      }

      .tagline {
        font-size: 13px;

        margin-top: 20px;
        margin-bottom: 28px;

        line-height: 1.55;

        max-width: 330px;
      }

      .sep {
        margin-bottom: 28px;
      }

      .cta-group {
        gap: 10px;
      }

      .cta-label {
        font-size: 11px;
      }

      .cta-email {
        font-size: 12px;

        padding: 12px 18px;

        gap: 8px;
      }

      .cta-wa {
        font-size: 12px;
      }

      .footer {
        flex-direction: column;

        justify-content: center;

        gap: 10px;

        padding-left: 18px;
        padding-right: 18px;
      }

      .footer-right {
        gap: 10px;
      }

    }

    /* =========================
       MÓVIL MUY PEQUEÑO
    ========================= */

    @media (max-width: 380px) {

      .container {
        padding-bottom: 86px;
      }

      .logo-img {
        width: 52px;
        height: 52px;
      }

      .logo-wrap {
        margin-bottom: 14px;
      }

      .tag {
        margin-bottom: 20px;
        font-size: 8px;
      }

      .brand {
        font-size: clamp(36px, 14vw, 50px);
      }

      .tagline {
        font-size: 12px;

        margin-top: 16px;
        margin-bottom: 22px;
      }

      .sep {
        margin-bottom: 22px;
      }

      .cta-email {
        padding: 11px 15px;
        font-size: 11px;
      }

      .cta-wa {
        font-size: 11px;
      }

    }

    /* =========================
       PANTALLAS CON POCA ALTURA
       Ej. celular horizontal,
       laptops pequeñas, etc.
    ========================= */

    @media (max-height: 700px) {

      .container {
        padding-top: 20px;
        padding-bottom: 82px;
      }

      .logo-wrap {
        margin-bottom: 12px;
      }

      .logo-img {
        width: 52px;
        height: 52px;
      }

      .tag {
        margin-bottom: 18px;
      }

      .brand {
        font-size: clamp(38px, 7vw, 60px);
      }

      .tagline {
        margin-top: 16px;
        margin-bottom: 20px;
      }

      .sep {
        margin-bottom: 20px;
      }

      .cta-group {
        gap: 8px;
      }

    }

    /* =========================
       PANTALLAS MUY BAJAS
       ========================= */

    @media (max-height: 560px) {

      .container {
        justify-content: flex-start;

        padding-top:
          max(16px, env(safe-area-inset-top));

        padding-bottom: 70px;
      }

      .logo-wrap {
        display: none;
      }

      .tag {
        margin-bottom: 14px;
      }

      .brand {
        font-size: clamp(34px, 7vw, 52px);
      }

      .tagline {
        margin-top: 12px;
        margin-bottom: 14px;
      }

      .sep {
        margin-bottom: 14px;
      }

    }

    /* =========================
       MÓVIL HORIZONTAL
    ========================= */

    @media (max-width: 900px) and (orientation: landscape) {

      .container {
        justify-content: flex-start;

        padding-top:
          max(16px, env(safe-area-inset-top));

        padding-bottom: 70px;
      }

      .logo-wrap {
        display: none;
      }

      .tag {
        margin-bottom: 12px;
      }

      .brand {
        font-size: clamp(34px, 8vw, 56px);
      }

      .tagline {
        margin-top: 12px;
        margin-bottom: 14px;
      }

      .sep {
        margin-bottom: 14px;
      }

      .cta-group {
        gap: 7px;
      }

      .footer {
        padding-top: 8px;
        padding-bottom:
          max(8px, env(safe-area-inset-bottom));
      }

    }

    /* =========================
       REDUCIR MOVIMIENTO
    ========================= */

    @media (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        animation: none !important;
        transition: none !important;
      }

      .brand-line.reveal {
        clip-path: none;
      }

      .tagline,
      .sep,
      .cta-group,
      .tag,
      .footer,
      .logo-wrap {
        opacity: 1;
      }

    }
