  @import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

  :root{
    --black:#ffffff;
    --charcoal:#f8f5ee;
    --charcoal2:#efe7d6;
    --gold-1:#8a651e;
    --gold-2:#9c7420;
    --gold-3:#b8860b;
    --cream:#221b12;
    --muted:#6b6355;
    --line:#e6ddc8;
    --nav-bg:rgba(255,255,255,0.88);
  }
  html[data-theme="dark"]{
    --black:#0a0908;
    --charcoal:#171310;
    --charcoal2:#211b15;
    --gold-1:#f6d878;
    --gold-2:#e0ab2e;
    --gold-3:#8a651e;
    --cream:#f6f0e2;
    --muted:#a89d87;
    --line:#332a1e;
    --nav-bg:rgba(10,9,8,0.9);
  }
  *{ box-sizing:border-box; margin:0; padding:0; }
  html{ scroll-behavior:smooth; }
  body{
    background:var(--black);
    color:var(--cream);
    font-family:'Inter',sans-serif;
    -webkit-font-smoothing:antialiased;
    transition:background-color .25s ease, color .25s ease;
  }
  img{ max-width:100%; display:block; }
  a{ color:inherit; }

  .gold-text{
    background:linear-gradient(120deg,var(--gold-1),var(--gold-2) 55%,var(--gold-1));
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }

  .wrap{ max-width:1080px; margin:0 auto; padding:0 22px; }

  /* ---- Nav ---- */
  nav{
    position:sticky; top:0; z-index:40;
    background:var(--nav-bg); backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
    transition:background-color .25s ease, border-color .25s ease;
  }
  nav .wrap{ display:flex; align-items:center; justify-content:space-between; padding:12px 22px; }
  .nav-logo{ height:36px; }
  .nav-links{ display:none; gap:26px; font-size:13.5px; font-weight:600; letter-spacing:0.3px; }
  .nav-links a{ text-decoration:none; color:var(--muted); transition:color 0.15s; }
  .nav-links a:hover{ color:var(--gold-1); }
  .nav-cta{
    background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
    color:#241a05; font-weight:700; font-size:13px; padding:9px 16px; border-radius:8px;
    text-decoration:none; white-space:nowrap;
  }
  @media(min-width:760px){ .nav-links{ display:flex; } }

  /* ---- Hero ---- */
  .hero{
    padding:64px 22px 50px; text-align:center;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(224,171,46,0.14), transparent 60%),
      var(--black);
    border-bottom:1px solid var(--line);
  }
  .hero-logo{ max-width:340px; margin:0 auto 28px; }
  .eyebrow{
    font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:3px;
    text-transform:uppercase; color:var(--gold-2); margin-bottom:10px;
  }
  h1{
    font-family:'League Spartan',sans-serif; font-weight:900; font-size:38px;
    line-height:1.08; letter-spacing:-0.5px; max-width:600px; margin:0 auto 14px;
  }
  .hero p.sub{
    color:var(--muted); font-size:15px; max-width:440px; margin:0 auto 28px; line-height:1.6;
  }
  .hero-ctas{ display:flex; flex-direction:column; gap:12px; max-width:300px; margin:0 auto; }
  .hero-stats{
    display:flex; justify-content:center; flex-wrap:wrap;
    margin:40px auto 0; padding-top:28px; border-top:1px solid var(--line);
    max-width:600px;
  }
  .hero-stat{
    flex:1; min-width:120px; text-align:center; padding:0 10px 14px;
    border-right:1px solid var(--line);
  }
  .hero-stat:last-child{ border-right:none; }
  .hero-stat .num{
    font-family:'League Spartan',sans-serif; font-weight:900; font-size:26px;
    color:var(--gold-1); line-height:1;
  }
  .hero-stat .lbl{
    font-size:10.5px; color:var(--muted); text-transform:uppercase;
    letter-spacing:1px; margin-top:6px; line-height:1.3;
  }
  @media(max-width:480px){
    .hero-stat{ min-width:44%; border-right:none; padding-bottom:18px; }
    .hero-stat:nth-child(odd){ border-right:1px solid var(--line); }
  }
  .btn{
    display:flex; align-items:center; justify-content:center; gap:8px;
    padding:14px 20px; border-radius:12px; font-weight:700; font-size:14.5px;
    text-decoration:none; border:none; cursor:pointer; font-family:'Inter',sans-serif;
  }
  .btn-gold{ background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#241a05; }
  .btn-outline{ background:transparent; color:var(--gold-1); border:1.5px solid var(--gold-3); }

  .tagline-strip{
    padding:14px 22px; text-align:center; background:var(--charcoal);
    border-bottom:1px solid var(--line);
  }
  .tagline-strip span{
    font-family:'League Spartan',sans-serif; font-style:italic; font-weight:700; font-size:15px;
    color:var(--gold-1);
  }

  /* ---- Section shell ---- */
  section{ padding:56px 0; }
  .section-head{ text-align:center; margin-bottom:32px; }
  .section-head .eyebrow{ margin-bottom:8px; }
  .section-head h2{
    font-family:'League Spartan',sans-serif; font-weight:800; font-size:28px; letter-spacing:-0.3px;
  }
  .section-head p{ color:var(--muted); font-size:14px; margin-top:8px; }

  /* ---- Promo banner ---- */
  .promo{
    margin:0 22px 50px; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
    border-radius:16px; padding:20px 22px; display:flex; align-items:center; gap:16px;
    color:#241a05; max-width:1036px; margin-left:auto; margin-right:auto;
  }
  .promo .pct{ font-family:'League Spartan',sans-serif; font-weight:900; font-size:34px; line-height:0.9; }
  .promo .pct sup{ font-size:15px; }
  .promo .txt{ font-size:13.5px; font-weight:600; line-height:1.4; }

  /* ---- Sede (landing individual por sucursal) ---- */
  .sede-hero{
    padding:56px 22px 44px; text-align:center;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(224,171,46,0.14), transparent 60%),
      var(--black);
    border-bottom:1px solid var(--line);
  }
  .sede-hero .eyebrow{ margin-bottom:10px; }
  .sede-hero h1{ margin-bottom:10px; }
  .sede-hero .sub{ max-width:560px; margin:0 auto; }
  .sede-detail{ max-width:520px; margin:0 auto; }
  .sede-detail .sedes{ display:block !important; }
  .cat-pills-wrap{
    display:flex; flex-wrap:wrap; gap:10px; justify-content:center; max-width:760px; margin:0 auto;
  }
  .cat-pill{
    font-family:'League Spartan',sans-serif; font-weight:800; font-size:13px;
    letter-spacing:0.4px; text-transform:uppercase; color:#241a05; padding:10px 18px;
    border-radius:999px; background:linear-gradient(100deg,var(--gold-2),var(--gold-1) 70%,var(--gold-2));
  }
  .sede-inscribite{ max-width:560px; margin:0 auto; text-align:center; }
  .sede-inscribite .btn{ width:100%; margin-bottom:12px; justify-content:center; }
  .sede-back-link{
    display:inline-block; margin:0 0 18px; color:var(--muted); font-size:13px; text-decoration:none;
  }
  .sede-back-link:hover{ color:var(--gold-1); }

  /* ---- Course catalog (plaque accordion) ---- */
  .catalog-grid{ display:flex; flex-direction:column; gap:14px; }
  .cat{
    background:var(--charcoal); border:1px solid var(--line); border-radius:14px; overflow:hidden;
  }
  .cat-head{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:14px 18px; cursor:pointer; user-select:none;
    background:linear-gradient(100deg,var(--gold-2),var(--gold-1) 70%,var(--gold-2));
  }
  .cat-head h3{
    font-family:'League Spartan',sans-serif; font-weight:800; font-size:16px;
    letter-spacing:0.5px; text-transform:uppercase; color:#241a05;
  }
  .cat-head .count{
    font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:#241a05; opacity:0.75;
  }
  .cat-head .chev{
    font-size:14px; color:#241a05; transition:transform 0.25s ease; flex-shrink:0;
  }
  .cat.open .chev{ transform:rotate(180deg); }
  .cat-body{
    max-height:0; overflow:hidden; transition:max-height 0.3s ease;
  }
  .cat.open .cat-body{ max-height:9000px; }
  .cat-list{ list-style:none; padding:14px 18px 18px; }
  .cat-list li{
    font-size:14px; color:var(--cream); padding:7px 0 7px 18px; position:relative;
    border-bottom:1px solid var(--line);
  }
  .cat-list li:last-child{ border-bottom:none; }
  .cat-list li::before{
    content:"›"; position:absolute; left:0; color:var(--gold-1); font-weight:700;
  }

  .cat-list li.has-detail{ padding:0; }
  .cat-list li.has-detail::before{ content:none; }
  .course-item-toggle{
    display:flex; justify-content:space-between; align-items:center; gap:8px;
    padding:9px 0 9px 18px; cursor:pointer; position:relative;
  }
  .course-item-toggle::before{
    content:"›"; position:absolute; left:0; color:var(--gold-1); font-weight:700;
  }
  .course-item-toggle span:first-child{ font-size:14px; color:var(--cream); font-weight:600; }
  .course-item-toggle .mini-chev{
    font-size:11px; color:var(--gold-2); white-space:nowrap; font-weight:600;
    text-transform:uppercase; letter-spacing:0.3px;
  }
  .course-item-detail{
    max-height:0; overflow:hidden; transition:max-height 0.4s ease;
  }
  li.has-detail.open .course-item-detail{ max-height:6000px; }
  li.has-detail.open .course-item-toggle .mini-chev::after{ content:" ▴"; }
  .course-item-detail .course-card{
    margin:10px 0 16px; padding:18px 16px; border-radius:14px;
    background:var(--black); border:1px solid var(--line);
  }

  /* ---- Price block ---- */
  .price-block{
    margin:0 0 16px; padding:16px; border-radius:14px;
    background:var(--charcoal2); border:1px solid var(--line);
  }
  .price-top{
    display:flex; flex-direction:column; gap:10px; margin-bottom:14px;
  }
  .price-item{
    background:var(--black); border:1px solid var(--line); border-radius:10px;
    padding:10px 12px; display:flex; flex-direction:column; gap:2px;
  }
  .price-item .pl{ font-size:11px; text-transform:uppercase; letter-spacing:0.5px; color:var(--muted); }
  .price-item .pv{ font-size:19px; font-weight:800; font-family:'League Spartan',sans-serif; color:var(--gold-1); }
  .price-item .pn{ font-size:11px; color:var(--muted); }

  .promo-box{
    background:linear-gradient(135deg,#3a0f0f,#1a0808); border:1px solid #7a2020;
    border-radius:12px; padding:14px; text-align:center; margin-bottom:14px;
  }
  .promo-label{ font-size:12px; color:#ff9b8a; font-weight:700; margin-bottom:6px; }
  .promo-timer{
    font-family:'IBM Plex Mono',monospace; font-size:26px; font-weight:700; color:#fff;
    letter-spacing:1px; margin-bottom:10px;
  }
  .promo-cta{ width:100%; }
  .promo-cta-alt{ width:100%; margin-top:8px; padding:9px 16px; font-size:12.5px; }

  /* ---- Inscripción modal ---- */
  .insc-overlay{
    position:fixed; inset:0; background:rgba(10,9,8,0.75); backdrop-filter:blur(3px);
    display:none; align-items:flex-end; justify-content:center; z-index:70; padding:0;
  }
  .insc-overlay.show{ display:flex; }
  .insc-modal{
    background:var(--charcoal); width:100%; max-width:480px; border-radius:20px 20px 0 0;
    padding:24px 22px 28px; position:relative; max-height:88vh; overflow-y:auto;
    border-top:1px solid var(--line);
  }
  .insc-close{
    position:absolute; top:14px; right:16px; background:none; border:none;
    color:var(--muted); font-size:16px; cursor:pointer;
  }
  .insc-eyebrow{
    font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:2px;
    text-transform:uppercase; color:var(--gold-2); margin-bottom:6px;
  }
  .insc-title{
    font-family:'League Spartan',sans-serif; font-weight:800; font-size:20px; margin-bottom:6px;
  }
  .insc-course-name{ font-size:13px; color:var(--muted); margin-bottom:18px; }

  .sede-option{
    display:flex; flex-direction:column; align-items:flex-start; gap:3px; width:100%;
    background:var(--black); border:1.5px solid var(--line); border-radius:12px;
    padding:14px 16px; margin-bottom:12px; cursor:pointer; text-align:left;
  }
  .sede-option:active{ border-color:var(--gold-2); }
  .sede-option .sede-name{
    font-family:'League Spartan',sans-serif; font-weight:700; font-size:16px; color:var(--gold-1);
  }
  .sede-option .sede-addr{ font-size:12.5px; color:var(--muted); }

  .insc-summary{
    background:var(--black); border:1px solid var(--line); border-radius:12px;
    padding:14px 16px; margin:14px 0;
  }
  .insc-row{
    display:flex; justify-content:space-between; gap:10px; font-size:13px;
    padding:7px 0; border-bottom:1px solid var(--line);
  }
  .insc-row:last-child{ border-bottom:none; }
  .insc-row span{ color:var(--muted); }
  .insc-row strong{ color:var(--cream); text-align:right; }
  .insc-row-amount strong{ color:var(--gold-1); font-size:16px; }

  .insc-note{
    font-size:12.5px; color:var(--muted); line-height:1.6; margin-bottom:16px;
  }
  .insc-note strong{ color:var(--gold-2); }
  .insc-back{
    display:block; width:100%; text-align:center; background:none; border:none;
    color:var(--muted); font-size:12.5px; margin-top:10px; cursor:pointer; text-decoration:underline;
  }

  .price-terms{ font-size:12px; color:var(--muted); line-height:1.7; }
  .price-terms p{ margin-bottom:8px; }
  .price-terms strong{ color:var(--cream); }
  .price-terms ul{ margin:0 0 8px 16px; }
  .price-terms li{ margin-bottom:4px; }
  .price-loc{ color:var(--gold-2) !important; font-weight:600; }

  @media(min-width:640px){
    .price-top{ flex-direction:row; }
    .price-item{ flex:1; }
  }

  /* ---- Insumos strip ---- */
  .insumos{
    margin-top:16px; background:var(--charcoal2); border:1px dashed var(--gold-3);
    border-radius:14px; padding:18px 20px; display:flex; flex-wrap:wrap; align-items:center;
    justify-content:space-between; gap:14px;
  }
  .insumos .left h3{ font-family:'League Spartan',sans-serif; font-size:16px; color:var(--gold-1); margin-bottom:4px; }
  .insumos .left p{ font-size:13px; color:var(--muted); }
  .insumos .right{ font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--gold-1); text-align:right; }

  /* ---- Featured course card ---- */
  .course-card{
    background:var(--charcoal); border:1px solid var(--line); border-radius:18px;
    padding:26px 22px; max-width:720px; margin:0 auto;
  }
  .course-intro{ font-size:14.5px; line-height:1.7; color:var(--cream); margin-bottom:20px; }
  .course-subtitle{
    font-family:'League Spartan',sans-serif; font-weight:800; font-size:15.5px;
    color:var(--gold-1); margin:20px 0 10px;
  }
  .course-list{ list-style:none; }
  .course-list li{
    font-size:14px; padding:7px 0 7px 22px; position:relative; border-bottom:1px solid var(--line);
  }
  .course-list li:last-child{ border-bottom:none; }
  .course-list li::before{ content:"✔️"; position:absolute; left:0; font-size:12px; }
  .course-note{
    margin-top:12px; font-size:13px; color:var(--gold-2); background:rgba(224,171,46,0.08);
    border:1px dashed var(--gold-3); border-radius:10px; padding:10px 12px;
  }
  .course-grid{
    display:grid; grid-template-columns:1fr; gap:10px; margin:22px 0;
  }
  .course-fact{
    background:var(--black); border:1px solid var(--line); border-radius:10px; padding:12px 14px;
  }
  .cf-label{
    display:block; font-size:10.5px; text-transform:uppercase; letter-spacing:1px;
    color:var(--muted); margin-bottom:4px;
  }
  .cf-value{ font-size:14px; font-weight:600; color:var(--cream); }
  .course-disclaimer{
    font-size:12px; color:var(--muted); line-height:1.6; border-top:1px solid var(--line);
    padding-top:14px; margin-bottom:6px;
  }
  .course-cert{ font-size:14px; line-height:1.7; color:var(--cream); }
  .course-cert strong{ color:var(--gold-1); }
  .course-highlight{
    font-size:14.5px; font-weight:600; color:var(--gold-1); margin:10px 0 18px;
  }
  .cert-sample{
    width:100%; border-radius:10px; border:1px solid var(--line); margin:14px 0 6px;
  }
  .cert-caption{
    font-size:11.5px; color:var(--muted); text-align:center; margin-bottom:18px;
  }
  .course-location{
    display:flex; gap:8px; align-items:flex-start; font-size:13.5px; color:var(--cream);
    border-top:1px solid var(--line); padding-top:16px; margin-bottom:18px;
  }
  .course-ctas{ display:flex; flex-direction:column; gap:10px; }

  .temario-toggle{
    display:flex; justify-content:space-between; align-items:center; cursor:pointer;
    background:var(--black); border:1px solid var(--line); border-radius:10px;
    padding:12px 14px; margin:16px 0 0; font-size:13.5px; font-weight:600; color:var(--gold-1);
    user-select:none;
  }
  .temario-toggle .chev{ transition:transform 0.25s ease; }
  .temario-toggle.open .chev{ transform:rotate(180deg); }
  .temario-body{ max-height:0; overflow:hidden; transition:max-height 0.35s ease; }
  .temario-body.open{ max-height:2200px; }
  .temario-table{
    width:100%; border-collapse:collapse; margin-top:12px; font-size:12.5px;
  }
  .temario-table th{
    text-align:left; background:var(--black); color:var(--gold-1); padding:8px 10px;
    font-size:10.5px; text-transform:uppercase; letter-spacing:0.5px; border:1px solid var(--line);
  }
  .temario-table td{
    padding:9px 10px; border:1px solid var(--line); color:var(--cream); vertical-align:top; line-height:1.5;
  }
  .temario-table tr:nth-child(even) td{ background:rgba(255,255,255,0.02); }

  @media(min-width:640px){
    .course-grid{ grid-template-columns:repeat(3,1fr); }
    .course-ctas{ flex-direction:row; }
    .course-ctas .btn{ flex:1; }
  }

  /* ---- Photos gallery placeholder ---- */
  .gallery{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
  .gallery .ph{
    aspect-ratio:1; border-radius:12px; border:1.5px dashed var(--line);
    display:flex; align-items:center; justify-content:center; flex-direction:column; gap:6px;
    color:var(--muted); font-size:12px; text-align:center; padding:10px; background:var(--charcoal);
  }
  .gallery .ph .icon{ font-size:22px; opacity:0.5; }

  .photo-gallery{ grid-template-columns:repeat(2,1fr); }
  .pg-item{
    position:relative; border-radius:12px; overflow:hidden; aspect-ratio:1;
    border:1px solid var(--line);
  }
  .pg-item img{ width:100%; height:100%; object-fit:cover; display:block; }
  .pg-item span{
    position:absolute; left:0; right:0; bottom:0; padding:8px 10px 7px;
    background:linear-gradient(to top, rgba(10,9,8,0.85), transparent);
    color:var(--cream); font-size:11.5px; font-weight:600;
  }
  @media(min-width:700px){ .photo-gallery{ grid-template-columns:repeat(3,1fr); } }

  /* ---- Sedes ---- */
  .sedes{ display:flex; flex-direction:column; gap:20px; }
  .sede-card{
    background:var(--charcoal); border:1px solid var(--line); border-radius:16px; overflow:hidden;
  }
  .sede-map{ width:100%; height:200px; border:0; filter:grayscale(0.3) contrast(1.05); }
  .sede-photo{ width:100%; height:260px; object-fit:cover; object-position:center 30%; display:block; }
  .sede-info{ padding:20px; }
  .sede-info h3{
    font-family:'League Spartan',sans-serif; font-weight:800; font-size:19px; color:var(--gold-1); margin-bottom:10px;
  }
  .sede-row{
    display:flex; align-items:flex-start; gap:10px; font-size:13.5px; color:var(--cream);
    margin-bottom:8px;
  }
  .sede-row .ic{ color:var(--gold-2); flex-shrink:0; margin-top:1px; }
  .sede-row .muted-note{ color:var(--muted); font-size:12px; display:block; margin-top:2px; }
  .sede-cta{ margin-top:14px; display:block; text-align:center; }
  .sede-cta + .sede-cta{ margin-top:10px; }

  /* ---- Redes ---- */
  .redes{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
  .red-btn{
    display:flex; flex-direction:column; align-items:center; gap:8px;
    background:var(--charcoal); border:1px solid var(--line); border-radius:14px;
    padding:18px 26px; text-decoration:none; min-width:100px;
  }
  .red-btn .ic{
    width:48px; height:48px; border-radius:50%; display:flex; align-items:center;
    justify-content:center; overflow:hidden;
  }
  .red-btn span:last-child{ font-size:12px; font-weight:600; color:var(--muted); }
  .red-btn:hover{ border-color:var(--gold-3); }

  /* ---- Footer (ancla oscura, fija en ambos temas) ---- */
  footer{
    background:#15100a;
    border-top:1px solid #2a2114;
    padding:56px 22px 0;
  }
  .footer-grid{
    max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr; gap:36px;
    text-align:center;
  }
  @media(min-width:760px){
    .footer-grid{ grid-template-columns:1.3fr 1fr 1fr 1fr; text-align:left; gap:28px; }
  }
  .footer-col-brand{ display:flex; flex-direction:column; align-items:center; }
  @media(min-width:760px){ .footer-col-brand{ align-items:flex-start; } }
  .footer-logo{ max-width:120px; width:100%; height:auto; margin:0 0 14px; display:block; }
  .footer-col-brand .tag{
    color:#f6d878; font-family:'League Spartan',sans-serif; font-style:italic; font-weight:700;
    font-size:15px; margin-bottom:10px;
  }
  .footer-col-brand p{
    color:#a89d87; font-size:12.5px; line-height:1.7; max-width:280px; margin:0 0 16px;
  }
  .footer-col h4{
    font-family:'League Spartan',sans-serif; font-weight:700; font-size:12.5px;
    color:#f6d878; text-transform:uppercase; letter-spacing:1.2px; margin-bottom:16px;
  }
  .footer-col ul{ list-style:none; }
  .footer-col li{ margin-bottom:11px; }
  .footer-col a{ color:#c9c2b3; font-size:13px; text-decoration:none; transition:color .15s; }
  .footer-col a:hover{ color:#f6d878; }
  .footer-social{
    display:flex; align-items:center; gap:10px; justify-content:center;
  }
  @media(min-width:760px){ .footer-social{ justify-content:flex-start; } }
  .footer-social a{
    width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    flex-shrink:0; transition:transform .15s;
  }
  .footer-social a:hover{ transform:translateY(-2px) scale(1.06); }
  .footer-social svg{ width:16px; height:16px; }
  .footer-bottom{
    max-width:1100px; margin:40px auto 0; padding:20px 0; border-top:1px solid #2a2114;
    text-align:center; color:#7f7566; font-size:11.5px; line-height:1.7;
  }

  /* ---- Contact form ---- */
  .contact-form{
    max-width:480px; margin:0 auto; background:var(--charcoal); border:1px solid var(--line);
    border-radius:16px; padding:26px 22px;
  }
  .contact-form .field{ margin-bottom:16px; }
  .contact-form label{
    display:block; font-size:12px; font-weight:600; color:var(--muted);
    text-transform:uppercase; letter-spacing:0.5px; margin-bottom:6px;
  }
  .contact-form input, .contact-form textarea, .contact-form select{
    width:100%; padding:12px 13px; border-radius:9px; border:1.5px solid var(--line);
    background:var(--black); color:var(--cream); font-size:15px; font-family:'Inter',sans-serif;
    resize:vertical;
  }
  .contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus{ outline:none; border-color:var(--gold-2); }
  .contact-form .btn{ width:100%; }
  .form-note{ margin-top:12px; font-size:13px; text-align:center; color:var(--gold-1); min-height:18px; }

  /* ---- Legales: arrepentimiento / baja de servicio ---- */
  #legales{ padding:40px 0 28px; }
  .legal-updated-top{
    font-size:12.5px; color:var(--muted); text-align:center; margin:-8px auto 22px;
  }
  .legal-actions{
    display:flex; flex-wrap:wrap; gap:12px; justify-content:center; max-width:560px;
    margin:0 auto 18px;
  }
  .legal-actions .btn{
    flex:1 1 220px; background:var(--charcoal); color:var(--gold-1);
    border:1.5px solid var(--gold-3);
  }
  .legal-actions .btn:hover{ border-color:var(--gold-2); background:var(--charcoal2); }
  .legal-action-hints{
    display:grid; grid-template-columns:1fr; gap:10px; max-width:560px; margin:0 auto 30px;
  }
  .legal-action-hints .hint{ font-size:12.5px; line-height:1.6; color:var(--muted); text-align:center; }
  .legal-action-hints .hint strong{ color:var(--gold-2); }
  @media(min-width:640px){
    .legal-action-hints{ grid-template-columns:1fr 1fr; }
  }

  .legal-cards{
    max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:12px;
  }
  .legal-details{
    background:var(--charcoal2); border:1px solid rgba(224,171,46,0.22); border-radius:16px;
    padding:16px 18px; box-shadow:0 4px 16px rgba(0,0,0,0.22);
  }
  .legal-details summary{
    cursor:pointer; list-style:none; display:flex; align-items:center; gap:14px;
  }
  .legal-details summary::-webkit-details-marker{ display:none; }
  .legal-card-icon{
    flex:none; width:38px; height:38px; border-radius:10px; background:rgba(224,171,46,0.1);
    border:1px solid var(--gold-3); display:flex; align-items:center; justify-content:center;
    font-size:17px;
  }
  .legal-card-copy{ flex:1; min-width:0; }
  .legal-card-title{
    font-family:'League Spartan',sans-serif; font-weight:700; font-size:14.5px; color:var(--gold-1);
  }
  .legal-card-desc{ font-size:12.5px; color:var(--muted); margin-top:2px; }
  .legal-card-arrow{
    flex:none; color:var(--gold-2); font-size:14px; transition:transform .2s ease;
  }
  .legal-details[open] .legal-card-arrow{ transform:rotate(180deg); }

  .legal-text{ margin-top:16px; padding-top:16px; border-top:1px solid var(--line); font-size:13.5px; line-height:1.75; color:var(--cream); }
  .legal-text h3{
    font-family:'League Spartan',sans-serif; font-weight:800; font-size:15px; color:var(--gold-1);
    margin:22px 0 8px;
  }
  .legal-text h3:first-child{ margin-top:0; }
  .legal-text p{ margin-bottom:10px; color:var(--muted); }
  .legal-text ul{ margin:0 0 12px 18px; color:var(--muted); }
  .legal-text li{ margin-bottom:6px; }
  .legal-text strong{ color:var(--cream); }
  .legal-updated{ font-size:12px; color:var(--muted); margin-bottom:14px; }

  .legal-help{
    max-width:720px; margin:26px auto 0; background:var(--charcoal); border:1px dashed var(--gold-3);
    border-radius:16px; padding:18px 20px; text-align:center;
  }
  .legal-help p{ font-size:13px; color:var(--muted); line-height:1.6; }
  .legal-help p:first-child{
    font-family:'League Spartan',sans-serif; font-weight:700; font-size:14.5px; color:var(--gold-1);
    margin-bottom:4px;
  }
  .legal-help a{ color:var(--gold-2); text-decoration:none; }
  .legal-help a:hover{ text-decoration:underline; }


  /* ---- Sticky WhatsApp ---- */
  .float-wa{
    position:fixed; bottom:18px; right:18px; z-index:50;
    background:#25D366; color:#fff; width:54px; height:54px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:26px;
    text-decoration:none; box-shadow:0 6px 18px rgba(0,0,0,0.4);
  }

  @media(min-width:700px){
    h1{ font-size:46px; }
    .catalog-grid{ display:grid; grid-template-columns:1fr 1fr; align-items:start; }
    .sedes{ display:grid; grid-template-columns:1fr 1fr; }
    .gallery{ grid-template-columns:repeat(4,1fr); }
  }

  /* ===== Animaciones al hacer scroll ===== */
  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .7s ease, transform .7s ease;
    will-change:opacity, transform;
  }
  .reveal.reveal-visible{
    opacity:1;
    transform:translateY(0);
  }
  .reveal-stagger.reveal-visible{ transition-delay:var(--rd, 0ms); }
  @media (prefers-reduced-motion: reduce){
    .reveal, .reveal.reveal-visible{ opacity:1; transform:none; transition:none; }
  }

  /* Contador animado (números) */
  .count-up{ display:inline-block; }

  /* Parallax sutil del hero-logo */
  #heroLogoParallax{ transition:transform .1s linear; will-change:transform; }

  /* Barra de progreso de lectura */
  #scrollProgress{
    position:fixed; top:0; left:0; height:3px; width:0%;
    background:linear-gradient(90deg, var(--gold-2), var(--gold-1));
    z-index:9998; transition:width .1s linear;
  }

  /* ===== Cursor personalizado ===== */
  @media (hover:hover) and (pointer:fine){
    html, body, a, button, .pill, li, input, textarea, [role="button"], [onclick]{
      cursor:none !important;
    }
    #cursorDot, #cursorRing{
      position:fixed; top:0; left:0; pointer-events:none; z-index:99999;
      border-radius:50%; transform:translate(-50%,-50%);
      will-change:transform, width, height, opacity;
    }
    #cursorDot{
      width:6px; height:6px; background:var(--gold-1);
      box-shadow:0 0 8px 1px rgba(138,101,30,.55);
      transition:opacity .2s ease;
    }
    #cursorRing{
      width:34px; height:34px;
      border:1.5px solid var(--gold-2);
      background:radial-gradient(circle, rgba(156,116,32,.08), transparent 70%);
      transition:width .18s ease, height .18s ease, border-color .18s ease, opacity .2s ease, background .18s ease;
    }
    body.cursor-hover #cursorRing{
      width:52px; height:52px;
      border-color:var(--gold-1);
      background:radial-gradient(circle, rgba(138,101,30,.14), transparent 70%);
    }
    body.cursor-down #cursorRing{
      width:26px; height:26px;
    }
    body.cursor-hidden #cursorDot, body.cursor-hidden #cursorRing{
      opacity:0;
    }
  }

  /* ---- Nav tools: mini social icons, search, contact ---- */
  .nav-tools{ display:flex; align-items:center; gap:10px; margin-left:auto; margin-right:14px; }
  .nav-social{ display:none; align-items:center; gap:7px; }
  @media(min-width:560px){ .nav-social{ display:flex; } }
  .nav-social a{
    width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    flex-shrink:0; transition:transform .15s;
  }
  .nav-social a:hover{ transform:translateY(-2px) scale(1.06); }
  .nav-social svg{ width:14px; height:14px; }
  .nav-icon-btn{
    width:32px; height:32px; border-radius:50%; border:1px solid var(--line); background:var(--charcoal);
    color:var(--gold-1); display:flex; align-items:center; justify-content:center; font-size:14px;
    cursor:pointer; flex-shrink:0; transition:border-color .15s, color .15s;
  }
  .nav-icon-btn:hover{ border-color:var(--gold-2); color:var(--gold-1); }
  .nav-search-wrap{ position:relative; display:flex; align-items:center; }
  .nav-search-box{
    max-width:0; overflow:hidden; transition:max-width .25s ease, margin-left .25s ease;
    margin-left:0;
  }
  .nav-search-box.open{ max-width:180px; margin-left:8px; }
  .nav-search-box input{
    width:180px; background:var(--charcoal2); border:1px solid var(--line); border-radius:20px;
    color:var(--cream); font-size:12.5px; padding:7px 12px; font-family:'Inter',sans-serif;
  }
  .nav-search-box input::placeholder{ color:var(--muted); }
  .nav-search-box input:focus{ outline:none; border-color:var(--gold-2); }
  .nav-contact-link{
    display:none; align-items:center; gap:6px; color:var(--gold-1); font-size:13px; font-weight:600;
    text-decoration:none; white-space:nowrap;
  }
  @media(min-width:760px){ .nav-contact-link{ display:flex; } }

  /* ---- Theme toggle (modo claro / oscuro) ---- */
  .theme-toggle{ position:relative; overflow:hidden; }
  .theme-toggle .ti{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    transition:transform .3s ease, opacity .3s ease;
  }
  .theme-toggle .ti-sun{ transform:translateY(0); opacity:1; }
  .theme-toggle .ti-moon{ transform:translateY(24px); opacity:0; }
  html[data-theme="dark"] .theme-toggle .ti-sun{ transform:translateY(-24px); opacity:0; }
  html[data-theme="dark"] .theme-toggle .ti-moon{ transform:translateY(0); opacity:1; }

  /* ---- Top carousel (hero highlights, estilo Eddis: un slide grande deslizante) ---- */
  .top-carousels{ padding:8px 0 46px; background:var(--black); }
  .hero-carousel{
    position:relative; max-width:1080px; margin:0 auto; border-radius:18px; overflow:hidden;
    border:1px solid var(--line); background:var(--charcoal);
    height:340px;
  }
  @media(min-width:700px){ .hero-carousel{ height:420px; } }
  .hc-track{
    position:absolute; inset:0; display:flex; height:100%;
    transition:transform .6s cubic-bezier(.65,0,.35,1);
    will-change:transform;
  }
  .hc-slide{
    position:relative; flex:0 0 100%; height:100%; overflow:hidden;
    display:flex; align-items:center; justify-content:center;
  }
  .hc-slide-inner{
    position:relative; z-index:2; width:100%; height:100%;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    text-align:center; padding:24px; gap:10px;
  }
  .hc-icon{ font-size:52px; line-height:1; filter:drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
  .hc-eyebrow{
    font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:3px; text-transform:uppercase;
    color:var(--gold-2); margin-bottom:2px;
  }
  .hc-title{
    font-family:'League Spartan',sans-serif; font-weight:900; font-size:26px; line-height:1.15;
    color:#f6f0e2; max-width:640px;
    text-shadow:0 2px 10px rgba(0,0,0,.35);
  }
  @media(min-width:700px){ .hc-title{ font-size:36px; } }
  .hc-sub{ font-size:14px; color:rgba(246,240,226,0.85); max-width:480px; }
  @media(min-width:700px){ .hc-sub{ font-size:15.5px; } }
  .hc-pills{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:6px; }
  .hc-pill{
    font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:700; letter-spacing:.5px;
    padding:7px 14px; border-radius:20px; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
    color:#241a05;
  }
  .hc-tag{
    display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:1.5px;
    text-transform:uppercase; color:#241a05; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
    padding:6px 13px; border-radius:20px; font-weight:700; margin-top:4px;
  }
  .hc-arrow{
    position:absolute; top:50%; transform:translateY(-50%); z-index:4; width:38px; height:38px;
    border-radius:50%; border:1px solid var(--line); background:rgba(10,9,8,0.55); backdrop-filter:blur(4px);
    color:var(--cream); font-size:17px; display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition:background .15s, border-color .15s;
  }
  .hc-arrow:hover{ background:rgba(10,9,8,0.8); border-color:var(--gold-2); }
  .hc-arrow.prev{ left:14px; }
  .hc-arrow.next{ right:14px; }
  .hc-dots{
    position:absolute; left:0; right:0; bottom:16px; z-index:4; display:flex; gap:7px; justify-content:center;
  }
  .hc-dots span{
    width:7px; height:7px; border-radius:50%; background:rgba(246,240,226,0.35); cursor:pointer;
    transition:background .2s, width .2s;
  }
  .hc-dots span.active{ background:var(--gold-1); width:22px; border-radius:4px; }

  /* Fondos de cada slide (placeholder degradado, listo para reemplazar por fotos propias) */
  .cs-bg-1{ background:radial-gradient(ellipse at 30% 20%, rgba(224,171,46,.35), transparent 60%), linear-gradient(150deg,#2a2011,#171310 60%); }
  .cs-bg-2{ background:radial-gradient(ellipse at 70% 30%, rgba(224,171,46,.28), transparent 60%), linear-gradient(160deg,#241c0f,#171310 65%); }
  .cs-bg-3{ background:radial-gradient(ellipse at 50% 80%, rgba(224,171,46,.3), transparent 60%), linear-gradient(170deg,#211a10,#171310 60%); }
  .cs-bg-4{ background:radial-gradient(ellipse at 20% 70%, rgba(224,171,46,.25), transparent 55%), linear-gradient(140deg,#231c10,#171310 65%); }
