
:root{
  --navy:#0B2F5B;--navy-deep:#072344;--gold:#C99337;--cream:#FBF8F2;--white:#fff;
  --ink:#12223a;--muted:#667085;--line:#e9e2d8;--max:1180px;
  --grammar:#F2C56B;--practice:#B49AD8;--vocab:#93C9CB;
  --ai:#B7D99B;--games:#F1A7B7;--music:#C5A2D8;--reading:#F2D5A8;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.55}
a{color:inherit;text-decoration:none} img{max-width:100%;display:block}
.wrap{width:min(var(--max),calc(100% - 36px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(11,47,91,.08);backdrop-filter:blur(8px)}
.nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-family:Georgia,serif;font-size:1.45rem;font-style:italic;font-weight:700;color:var(--gold)}
.nav-links{display:flex;gap:22px;align-items:center;font-size:.94rem}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--gold)}
.shop-btn{
  background:#C96552;
  color:#fff;
  padding:11px 19px;
  border-radius:10px;
  font-weight:800;
  box-shadow:0 5px 14px rgba(201,101,82,.18);
  transition:background-color .25s ease,transform .25s ease,box-shadow .25s ease;
}
.shop-btn:hover,.shop-btn:focus-visible{
  background:#A94E3D;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 7px 18px rgba(169,78,61,.22);
}
.hero{position:relative;overflow:hidden;min-height:610px;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 36%,rgba(255,255,255,.25) 63%,rgba(255,255,255,0) 100%),url("amafully-spanish-hero.png") 72% center/cover no-repeat}
.hero .wrap{min-height:610px;display:flex;align-items:center}
.hero-copy{max-width:620px;padding:65px 0}
.kicker{font:italic 700 clamp(2rem,4vw,3.15rem) Georgia,serif;color:var(--gold);margin:0 0 12px}
h1,h2,h3{color:var(--navy)} h1{font:700 clamp(3rem,6vw,5.8rem)/.98 Georgia,serif;margin:0 0 18px}
.hero p{font-size:1.13rem;color:#334155;max-width:520px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:10px;font-weight:800;border:1px solid transparent}
.btn-gold{background:var(--gold);color:white} .btn-navy{background:var(--navy);color:white}
.btn-outline{border-color:var(--navy);color:var(--navy);background:white} .btn-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.features{background:linear-gradient(180deg,var(--navy),var(--navy-deep));color:white;padding:40px 0 28px}
.feature-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}
.feature{text-align:center} .dot{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;color:var(--navy);font-size:1.5rem;font-weight:900}
.feature strong{display:block;color:#fff} .feature small{color:#dce5ef}
.divider{display:flex;align-items:center;gap:16px;margin-top:22px;color:var(--gold)} .divider:before,.divider:after{content:"";height:1px;background:var(--gold);flex:1}
.section{padding:82px 0} .section-soft{background:var(--cream)} .section-head{max-width:760px;margin-bottom:35px}
.eyebrow{color:var(--gold);font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;font-weight:900;margin:0 0 7px}
.section h2{font:700 clamp(2rem,4vw,3.4rem)/1.06 Georgia,serif;margin:0 0 12px}
.lead{font-size:1.08rem;color:var(--muted)}
.ecosystem-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.eco-card{border:1px solid var(--line);border-radius:22px;padding:24px;background:#fff;text-align:center;box-shadow:0 12px 30px rgba(11,47,91,.06)}
.eco-icon{font-size:2rem;color:var(--gold);margin-bottom:10px} .eco-card p{color:var(--muted);min-height:76px}
.eco-media{height:235px;display:flex;align-items:center;justify-content:center;margin:18px 0}
.eco-media img{max-height:235px;width:auto;object-fit:contain}
.levels{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;align-items:start}
.level{text-align:center;position:relative} .bubble{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;color:var(--navy);font-weight:900}
.level:not(:last-child):after{content:"→";position:absolute;right:-13px;top:28px;color:var(--gold);font-size:1.6rem}
.level b{display:block;font-size:1.3rem} .level span{font-size:.67rem}
.bonus{background:linear-gradient(135deg,var(--navy),var(--navy-deep));color:white}
.bonus-grid{display:grid;grid-template-columns:.8fr 1.2fr .7fr;gap:36px;align-items:center}
.bonus h2{color:#fff} .bonus p{color:#dce5ef} .gold{color:var(--gold)}
.classes-strip{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.classes-grid{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}
.footer{background:var(--navy-deep);color:#d7e0ea;text-align:center;padding:24px 0;font-size:.9rem}
/* Form */
.form-hero{background:linear-gradient(180deg,#fff,var(--cream));padding:70px 0 40px;border-bottom:1px solid var(--line)}
.form-card{max-width:900px;margin:45px auto 80px;padding:32px;border:1px solid var(--line);border-radius:24px;box-shadow:0 15px 40px rgba(11,47,91,.08)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px} .full{grid-column:1/-1}
label,legend{font-weight:800;color:var(--navy)} input,select,textarea{width:100%;padding:13px 14px;border:1px solid #d8dce2;border-radius:12px;margin-top:7px}
textarea{min-height:140px;resize:vertical} fieldset{border:0;padding:0;margin:0} .check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}
.check{display:flex;gap:10px;align-items:flex-start;border:1px solid #e4e6ea;border-radius:12px;padding:11px;background:#fcfcfd} .check input{width:auto;margin-top:4px}
.help{font-size:.86rem;color:var(--muted)}
@media(max-width:980px){.nav-links{display:none}.feature-grid{grid-template-columns:repeat(4,1fr)}.ecosystem-grid{grid-template-columns:repeat(2,1fr)}.bonus-grid,.classes-grid{grid-template-columns:1fr}.levels{grid-template-columns:repeat(3,1fr)}.level:nth-child(3):after{display:none}}
@media(max-width:640px){.hero{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.9)),url("amafully-spanish-hero.png") center/cover no-repeat}.feature-grid{grid-template-columns:repeat(2,1fr)}.ecosystem-grid,.levels,.form-grid,.check-grid{grid-template-columns:1fr}.full{grid-column:auto}.level:after{display:none}}


/* ===== Amafully Spanish approved hero + larger level circles ===== */
.hero.hero-image{
  position:relative;
  min-height:0;
  width:100%;
  overflow:hidden;
  background:#fff;
}
.hero.hero-image .hero-art{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.hero.hero-image .hero-overlay{
  position:absolute;
  left:4.6%;
  bottom:6.5%;
  z-index:2;
}
.hero.hero-image .hero-explore{
  background:rgba(255,255,255,.96);
  color:var(--navy);
  border:1px solid var(--navy);
  box-shadow:0 10px 28px rgba(7,35,68,.18);
  backdrop-filter:blur(5px);
}
.levels{
  gap:24px;
}
.bubble{
  width:122px;
  height:122px;
}
.level b{
  font-size:1.55rem;
}
.level span{
  font-size:.74rem;
}
.level:not(:last-child):after{
  top:40px;
  right:-18px;
}
@media(max-width:980px){
  .bubble{width:112px;height:112px}
}
@media(max-width:640px){
  .hero.hero-image .hero-overlay{
    left:5%;
    bottom:5%;
  }
  .hero.hero-image .hero-explore{
    min-height:42px;
    padding:0 14px;
    font-size:.86rem;
  }
  .bubble{width:104px;height:104px}
}


/* ===== Final live hero: image is background only; text/button are real HTML ===== */
.hero.hero-live{
  min-height:620px;
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 30%,
      rgba(255,255,255,.86) 45%,
      rgba(255,255,255,.18) 66%,
      rgba(255,255,255,0) 100%),
    url("amafully-spanish-hero.png") 72% center / cover no-repeat;
}
.hero-live-grid{
  min-height:620px;
  display:flex;
  align-items:center;
}
.hero-live-copy{
  max-width:640px;
  padding:64px 0;
}
.hero-live-copy .kicker{
  margin:0 0 14px;
  color:var(--gold);
  font:italic 700 clamp(2rem,4vw,3.15rem) Georgia,serif;
  line-height:1;
}
.hero-live-copy h1{
  margin:0 0 20px;
  color:var(--navy);
  font:700 clamp(3rem,6vw,5.8rem)/.98 Georgia,serif;
}
.hero-live-sub{
  margin:0 0 28px;
  color:#334155;
  font-size:1.14rem;
  line-height:1.55;
}
.hero-real-button{
  border-radius:12px;
  box-shadow:0 10px 26px rgba(7,35,68,.14);
}

/* Make the six level circles visibly larger on desktop */
.levels{
  gap:30px !important;
}
.bubble{
  width:148px !important;
  height:148px !important;
}
.level b{
  font-size:1.8rem !important;
}
.level span{
  font-size:.82rem !important;
}
.level:not(:last-child):after{
  top:52px !important;
  right:-22px !important;
  font-size:2rem !important;
}

@media(max-width:1100px){
  .bubble{width:128px !important;height:128px !important}
}
@media(max-width:980px){
  .hero.hero-live{
    background:
      linear-gradient(90deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,.98) 42%,
        rgba(255,255,255,.55) 67%,
        rgba(255,255,255,.08) 100%),
      url("amafully-spanish-hero.png") 68% center / cover no-repeat;
  }
  .bubble{width:118px !important;height:118px !important}
}
@media(max-width:640px){
  .hero.hero-live{
    min-height:560px;
    background:
      linear-gradient(180deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.92) 56%,
        rgba(255,255,255,.55) 100%),
      url("amafully-spanish-hero.png") 67% center / cover no-repeat;
  }
  .hero-live-grid{min-height:560px;align-items:flex-start}
  .hero-live-copy{padding-top:54px}
  .bubble{width:112px !important;height:112px !important}
}


/* ===== ONLY HERO REPAIR — do not alter other page sections ===== */
.hero.hero-approved{
  position:relative;
  width:100%;
  max-width:none;
  min-height:0;
  margin:0;
  padding:0;
  overflow:hidden;
  background:#fff;
}
.hero-approved-image{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  margin:0;
  padding:0;
}
.hero-approved-button{
  position:absolute;
  left:14.3%;
  top:88%;
  z-index:3;
  border-radius:12px;
  box-shadow:0 10px 26px rgba(7,35,68,.16);
}
@media(max-width:980px){
  .hero-approved-button{
    left:4.5%;
    top:71%;
  }
}
@media(max-width:640px){
  .hero-approved-button{
    left:5%;
    top:70%;
    min-height:40px;
    padding:0 13px;
    font-size:.82rem;
  }
}


/* ===== Amafully Spanish footer social links ===== */
.footer-social{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}
.footer-social-title{
  margin:0;
  color:#fff;
  font-weight:800;
  letter-spacing:.02em;
}
.footer-social-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px;
  color:#d7e0ea;
}
.footer-social-links a{
  color:#d7e0ea;
  text-decoration:none;
  transition:color .2s ease;
}
.footer-social-links a:hover,
.footer-social-links a:focus-visible{
  color:var(--gold);
}
.footer-copy{
  color:#aebdca;
}


/* ===== Amafully Spanish ecosystem clickable previews ===== */
.eco-media{
  height:255px;
}

.eco-image-button,
.eco-visual{
  width:100%;
  height:100%;
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  cursor:zoom-in;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.eco-image-button img{
  max-height:245px;
  width:auto;
  object-fit:contain;
  transition:transform .2s ease;
}

.eco-image-button:hover img,
.eco-image-button:focus-visible img{
  transform:scale(1.035);
}

.eco-visual{
  flex-direction:column;
  gap:8px;
  border:1px solid var(--line);
  background:linear-gradient(135deg,#f7efe4,#fff);
  color:var(--navy);
  box-shadow:0 8px 22px rgba(11,47,91,.05);
  transition:transform .2s ease,box-shadow .2s ease;
}

.eco-visual:hover,
.eco-visual:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(11,47,91,.1);
  outline:none;
}

.eco-visual strong{
  font-size:1.02rem;
}

.eco-visual small{
  color:var(--muted);
  font-size:.78rem;
}

.eco-visual-icon{
  font-size:4.6rem;
  line-height:1;
}

.eco-computer .computer-emoji{
  font-size:7.2rem;
  line-height:1;
}

.eco-course .eco-visual-icon{
  font-size:5.2rem;
}

/* Lightbox */
.eco-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(7,35,68,.78);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

.eco-lightbox.is-open{
  display:flex;
}

.eco-lightbox-dialog{
  position:relative;
  width:min(94vw,920px);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border-radius:22px;
  box-shadow:0 28px 80px rgba(0,0,0,.32);
  display:grid;
  grid-template-columns:minmax(280px,.95fr) minmax(320px,1.05fr);
  gap:30px;
  align-items:center;
  padding:28px;
}

.eco-lightbox-media{
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
}

.eco-lightbox-media img{
  max-width:100%;
  max-height:480px;
  width:auto;
  height:auto;
  object-fit:contain;
}

.eco-lightbox-media .is-lightbox-clone{
  width:100%;
  min-height:360px;
  cursor:default;
  transform:none!important;
}

.eco-lightbox-media .is-lightbox-clone.eco-computer .computer-emoji{
  font-size:10rem;
}

.eco-lightbox-copy h2{
  margin:0 0 14px;
  font:700 clamp(2rem,4vw,3rem)/1.06 Georgia,serif;
  color:var(--navy);
}

.eco-lightbox-copy p:last-child{
  margin:0;
  color:var(--muted);
  font-size:1.04rem;
  line-height:1.65;
}

.eco-lightbox-close{
  position:absolute;
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:var(--navy);
  font-size:28px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 4px 16px rgba(11,47,91,.14);
}

.eco-lightbox-close:hover{
  background:var(--cream);
}

body.eco-lightbox-open{
  overflow:hidden;
}

@media(max-width:760px){
  .eco-lightbox{
    padding:14px;
  }

  .eco-lightbox-dialog{
    grid-template-columns:1fr;
    width:96vw;
    max-height:92vh;
    padding:20px;
    gap:18px;
  }

  .eco-lightbox-media{
    min-height:280px;
  }

  .eco-lightbox-media .is-lightbox-clone{
    min-height:280px;
  }

  .eco-computer .computer-emoji{
    font-size:6.2rem;
  }

  .eco-lightbox-media .is-lightbox-clone.eco-computer .computer-emoji{
    font-size:8rem;
  }
}

/* ===== Unified Amafully top header for Amafully Spanish ===== */
.site-header.spanish-unified-header{
  position:relative;
  top:auto;
  z-index:50;
  background:#fff;
  border-bottom:0;
  backdrop-filter:none;
}

.spanish-brand-bar{
  text-align:center;
  padding:24px 20px 10px;
  background:#fff;
}

.spanish-brand-logo{
  display:inline-block;
  margin:0;
  font-family:'Montserrat','Segoe UI',sans-serif;
  font-size:2.6rem;
  font-weight:300;
  line-height:1.2;
  letter-spacing:8px;
  text-transform:uppercase;
  color:#3d342d;
}

.spanish-main-nav{
  position:sticky;
  top:0;
  z-index:1000;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
  margin-top:6px;
  padding:15px 20px;
  border-top:1px solid #e0dbd1;
  border-bottom:1px solid #e0dbd1;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.spanish-main-nav > a{
  font-family:'Montserrat','Segoe UI',sans-serif;
  font-size:.8rem;
  font-weight:400;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#3d342d;
}

.spanish-main-nav > a:hover,
.spanish-main-nav > a:focus-visible,
.spanish-main-nav > a[aria-current="page"]{
  color:var(--gold);
}

.spanish-main-nav .shop-btn{
  background:#C96552;
  color:#fff;
  padding:9px 16px;
  border-radius:9px;
  font-weight:600;
  letter-spacing:1.2px;
  box-shadow:0 5px 14px rgba(201,101,82,.18);
}

.spanish-main-nav .shop-btn:hover,
.spanish-main-nav .shop-btn:focus-visible{
  background:#A94E3D;
  color:#fff;
}

@media(max-width:980px){
  .spanish-brand-bar{
    padding:18px 14px 6px;
  }

  .spanish-brand-logo{
    font-size:2rem;
    letter-spacing:5px;
  }

  .spanish-main-nav{
    margin-top:6px;
    padding:10px 8px;
    gap:6px 12px;
  }

  .spanish-main-nav > a{
    font-size:.66rem;
    letter-spacing:1.2px;
  }

  .spanish-main-nav .shop-btn{
    padding:7px 12px;
    border-radius:8px;
  }
}
