:root{
  --bg:#050505;
  --card:rgba(255,255,255,.03);
  --line:rgba(255,255,255,.10);
  --text:#fff;
  --muted:rgba(255,255,255,.70);

  --accent:#ff6300;
  --accentLine:rgba(255,99,0,.35);

  --shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
  --ease: cubic-bezier(.2,.8,.2,1);

  --radius:18px;
  --container: 1040px;
  --header-h: 64px;
}

*{ 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: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{ color:inherit; }
.muted{ color: var(--muted); }
strong{ font-weight: 700; }

/* Header (desktop) */
.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,.62);
  border-bottom: 1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brandMark{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  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 var(--line);
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav a{
  font-size:14px;
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration:none;
  color: rgba(255,255,255,.74);
  transition: background .2s var(--ease), transform .15s var(--ease), color .2s var(--ease);
}
.nav a:hover{
  color:#fff;
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}
.nav .navCta{
  color: var(--accent);
  background: rgba(255,99,0,.10);
  border: 1px solid var(--accentLine);
  font-weight: 800;
}
.nav .navCta:hover{
  background: rgba(255,99,0,.16);
  box-shadow: 0 0 0 6px rgba(255,99,0,.10);
}

/* Mobile header */
.header--mobileOnly{ display:none; }

@media (max-width: 480px){
  .header:not(.header--mobileOnly){ display:none !important; }

  .header--mobileOnly{
    display:flex !important;
    position: fixed;
    top:0; left:0; right:0;
    z-index: 1000;
    height: var(--header-h);
    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);
  }

  body{ padding-top: var(--header-h); }
  .header--mobileOnly .brandTag{ display:none; }
  .header--mobileOnly .brandNameLogo{ height: 22px; }

  .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);
  }
  .navToggle:hover{ background: rgba(255,255,255,.07); transform: translateY(-1px); }
  .navToggle:active{ transform: translateY(0); }
  .navToggle:focus-visible{
    outline:none;
    box-shadow: 0 0 0 6px rgba(255,99,0,.18);
    border-color: rgba(255,99,0,.45);
  }

  .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: var(--shadow);

    display:flex;
    flex-direction: column;
    gap: 8px;

    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);
  }

  .mobileMenu a{
    text-decoration:none;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color:#fff;
  }
  .mobileMenu a:hover{
    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.header--menuOpen .mobileMenu,
  .mobileMenu[aria-hidden="false"]{
    max-height: 420px; /* slightly taller due to extra "Ubicación" tab */
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Layout */
.main{ padding: 22px 0 70px; }
.wrap{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.intro{ margin-top: 16px; margin-bottom: 16px; }
.pill{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.76);
  font-size: 12px;
}

h1{
  margin: 10px 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -.03em;
}

.tabs{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.tab{
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.82);
  transition: background .2s var(--ease), transform .15s var(--ease), border-color .2s var(--ease);
}
.tab:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,99,0,.35);
  box-shadow: 0 0 0 6px rgba(255,99,0,.10);
}

/* Cards grid */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

.card{
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}
.card::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;
}

.card--wide{
  grid-column: 1 / -1;
}

h2{
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -.02em;
}
h3{
  margin: 16px 0 8px;
  font-size: 14px;
  letter-spacing: -.01em;
}
p{ margin: 0 0 12px; line-height: 1.7; }

ul{
  margin: 0 0 12px;
  padding-left: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
}
ul li{ margin: 0 0 8px; }

/* KV */
.kv{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 12px;
}
.k{ color: rgba(255,255,255,.62); font-size: 13px; }
.v{ color: #fff; font-size: 13px; }

@media (max-width: 980px){
  .kv{ grid-template-columns: 1fr; }
}

/* Prominent box */
.prominent{
  margin-top: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--accentLine);
  background: radial-gradient(700px 240px at 20% 0%, rgba(255,99,0,.18), transparent 60%),
              rgba(255,255,255,.02);
}

.badges{ display:flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.badge{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,99,0,.45);
  background: rgba(255,99,0,.10);
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
}
.badge.soft{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.85);
  font-weight: 600;
}

.promTitle{ margin-top: 0; }

/* Notes */
.note{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.84);
}

.warn{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,99,0,.30);
  background: rgba(255,99,0,.08);
  color: rgba(255,255,255,.90);
}

/* Copy */
.copy{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  overflow:hidden;
}
.copy pre{
  margin:0;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}

@media (max-width: 480px){
  .mobileMenu a:last-child{
    color: var(--accent);
    background: rgba(255,99,0,.10);
    border-color: rgba(255,99,0,.45);
    font-weight: 800;
  }

  .mobileMenu a:last-child:hover{
    background: rgba(255,99,0,.16);
    box-shadow: 0 0 0 6px rgba(255,99,0,.10);
  }
}