/* ===== Base reset ===== */
:root{
  --line: rgba(255,255,255,.10);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

/* ===== Fullscreen Video Background ===== */
.video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* 👇 zoom effect */
  
  transform-origin: center;

  z-index: -2;
  background: black;
}

/* ===== Header (ONLY) ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 20px;

  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.62);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brandMark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6300;
  box-shadow: 0 0 0 5px rgba(255,99,0,.10);
}

.brandNameLogo {
  height: 28px;
  width: auto;
  display: block;
}

.brandTag {
  font-size: 10px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.6);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav a {
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* ✅ Dropdown: first item in orange */
.header--mobileOnly .mobileMenu a:first-child{
  color: var(--accent);
  background: rgba(255,99,0,.10);
  border-color: rgba(255,99,0,.45);
  font-weight: 700;
}

/* Optional: keep it orange on hover too */
.header--mobileOnly .mobileMenu a:first-child:hover{
  color: var(--accent);
  background: rgba(255,99,0,.16);
  box-shadow: 0 0 0 6px rgba(255,99,0,.14);
}

/* =========================================================
   MOBILE-ONLY HEADER + DROPDOWN (matches your theme)
   ========================================================= */

/* Hidden by default (desktop/tablet) */
.header--mobileOnly{ display:none; }

/* Show ONLY on mobile */
@media (max-width: 480px){
  /* Hide your desktop header */
  .header:not(.header--mobileOnly){ display:none !important; }

  /* Show mobile header */
  .header--mobileOnly{
    display:flex !important;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;

    height: var(--header-h, 64px);
    padding: 12px 16px;

    align-items:center;
    justify-content: space-between;

    backdrop-filter: blur(12px);
    background: rgba(5,5,5,.78);
    border-bottom: 1px solid var(--line);
  }

  /* Keep body content below fixed header */
  body{ padding-top: var(--header-h, 64px); }

  /* Brand sizing (same vibe as desktop) */
  .header--mobileOnly .brand{
    display:flex;
    align-items:center;
    gap: 10px;
    min-width: 0;
  }

  .header--mobileOnly .brandTag{
    display:none; /* optional: saves space on mobile */
  }

  .header--mobileOnly .brandNameLogo{
    height: 22px;
    width: auto;
    display:block;
  }

  /* Right side: CTA + burger */
  .header--mobileOnly .mobileHeaderRight{
    display:flex;
    align-items:center;
    gap: 10px;
  }

  /* Make CTA compact on mobile */
  .header--mobileOnly .headerCta{
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space: nowrap;
  }

  /* Burger button matches your iconBtn */
  .header--mobileOnly .navToggle{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    color:#fff;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    transition: background .2s var(--ease), transform .15s var(--ease);
  }

  .header--mobileOnly .navToggle:hover{
    background: rgba(255,255,255,.07);
    transform: translateY(-1px);
  }

  .header--mobileOnly .navToggle:active{
    transform: translateY(0);
  }

  .header--mobileOnly .navToggle:focus-visible{
    outline:none;
    box-shadow: 0 0 0 6px rgba(255,99,0,.18);
    border-color: rgba(255,99,0,.45);
  }

  /* =========================
     DROPDOWN MENU PANEL
     ========================= */

  .header--mobileOnly{
    position: fixed; /* ensures dropdown anchors to header */
  }

  .header--mobileOnly .mobileMenu{
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);

    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);

    background: rgba(6,6,6,.96);
    backdrop-filter: blur(14px);

    box-shadow:
      0 18px 50px rgba(0,0,0,.55),
      0 0 0 1px rgba(255,255,255,.04) inset;

    display:flex;
    flex-direction: column;
    gap: 8px;

    /* hidden state */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    pointer-events: none;

    transition:
      max-height .35s var(--ease),
      opacity .22s var(--ease),
      transform .22s var(--ease);
  }

  /* orange glow behind panel (subtle) */
  .header--mobileOnly .mobileMenu::before{
    content:"";
    position:absolute;
    inset:-18px -18px auto -18px;
    height: 110px;
    background: radial-gradient(
      closest-side,
      rgba(255,99,0,.22),
      rgba(255,99,0,0) 70%
    );
    filter: blur(18px);
    pointer-events:none;
    z-index:0;
  }

  /* links as pill buttons */
  .header--mobileOnly .mobileMenu a{
    position: relative;
    z-index: 1;

    display:flex;
    align-items:center;

    padding: 12px 12px;
    border-radius: 14px;

    color: #fff;
    font-size: 14px;

    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);

    transition:
      transform .15s var(--ease),
      background .2s var(--ease),
      border-color .2s var(--ease),
      box-shadow .2s var(--ease);

    text-decoration: none;
  }

  .header--mobileOnly .mobileMenu a:hover{
    transform: translateY(-1px);
    background: rgba(255,255,255,.08);
    border-color: rgba(255,99,0,.35);
    box-shadow: 0 0 0 6px rgba(255,99,0,.10);
  }

  .header--mobileOnly .mobileMenu a:active{
    transform: translateY(0);
    background: rgba(255,99,0,.14);
    border-color: rgba(255,99,0,.45);
  }

  .header--mobileOnly .mobileMenu a:focus-visible{
    outline:none;
    box-shadow: 0 0 0 6px rgba(255,99,0,.18);
    border-color: rgba(255,99,0,.45);
  }

  /* OPEN state
     You have two choices:
     A) Toggle a class on the header: .header--menuOpen
     B) Toggle aria-hidden="false" on .mobileMenu
  */

  /* A) class-based open */
  .header--mobileOnly.header--menuOpen .mobileMenu{
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* B) aria-based open */
  .header--mobileOnly .mobileMenu[aria-hidden="false"]{
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}


/* =========================================================
   LEGAL SECTION (Aviso Legal + Términos) — matches your theme
   ========================================================= */

.section.legal{
  padding-top: 26px;                 /* keeps your current spacing */
  padding-bottom: 72px;
}

/* Card */
.legalCard{
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 480px at 10% 0%, rgba(255,99,0,.10), transparent 60%),
    rgba(255,255,255,.02);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}

/* subtle inner shine */
.legalCard::before{
  content:"";
  position:absolute;
  inset: 0;
  background: radial-gradient(700px 260px at 20% 0%, rgba(255,255,255,.06), transparent 60%);
  pointer-events:none;
}

/* Orange top accent line */
.legalCard::after{
  content:"";
  position:absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255,99,0,0),
    rgba(255,99,0,.90),
    rgba(255,99,0,0)
  );
  box-shadow: 0 0 12px rgba(255,99,0,.25);
  pointer-events:none;
}

/* Headings */
.legalCard h2{
  position: relative;
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -.02em;
}

.legalCard h2::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255,99,0,.12);
  display:inline-block;
  margin-right: 10px;
  transform: translateY(-1px);
}

/* h3 helper class already exists, but this makes it consistent inside legal */
.legalCard .h3{
  margin: 16px 0 8px;
  font-size: 14px;
  letter-spacing: -.01em;
  color: #fff;
}

/* Paragraphs */
.legalCard p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.86);
  line-height: 1.7;
}

.legalCard p:last-child{
  margin-bottom: 0;
}

.legalCard .muted{
  color: var(--muted);
}

/* Key/Value grid */
.legalCard .kv{
  position: relative;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 10px 14px;
}

.legalCard .k{
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.4;
}

.legalCard .v{
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

/* Make emails/phones inside values feel clickable if you later wrap with <a> */
.legalCard .v a{
  color: var(--accent);
  text-decoration: none;
}
.legalCard .v a:hover{
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px){
  .section.legal{ padding-bottom: 56px; }
  .legalCard{ padding: 16px; }
  .legalCard .kv{
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .legalCard h2{
    font-size: 20px;
  }
}


/* ✅ More space between the two legal cards */
.section.legal .split{
  gap: 32px;          /* was 18px in your base .split */
}

/* Optional: add extra spacing ONLY in the legal section on desktop */
@media (min-width: 981px){
  .section.legal .split{
    column-gap: 40px; /* bigger horizontal gap */
    row-gap: 32px;    /* if it ever wraps */
  }
}
