/* ===== Tokens ===== */
:root {
  --cream:      #FBF6EE;
  --cream-2:    #F4EAD9;
  --card:       #FFFFFF;
  --ink:        #2E2A26;
  --ink-soft:   #6E645A;
  --clay:       #C2703D;
  --clay-dark:  #A85A2E;
  --clay-soft:  #F4E3D2;
  --sage:       #7C8B6B;
  --line:       #ECE0CF;
  --shadow:     0 18px 40px -22px rgba(122, 82, 45, .35);
  --shadow-sm:  0 8px 20px -14px rgba(122, 82, 45, .4);
  --radius:     22px;
  --radius-sm:  14px;
  --maxw:       1140px;
  --font-head:  "Fraunces", Georgia, serif;
  --font-body:  "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: .7rem;
}
.eyebrow-light { color: #F3D9C3; }

.hl { color: var(--clay); font-style: italic; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn .ic { width: 19px; height: 19px; fill: currentColor; }

.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--clay-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }
.btn-white { background: #fff; color: var(--clay); }
.btn-white:hover { background: #fff6ef; }
.btn-white-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-white-ghost:hover { background: rgba(255,255,255,.16); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.2rem; height: 72px; }

.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(145deg, var(--clay), #d98a52);
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  display: grid; place-items: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.05rem; }
.brand-text em { font-style: normal; font-size: .76rem; color: var(--ink-soft); letter-spacing: .04em; }

.nav { display: flex; gap: 1.7rem; }
.nav a { font-weight: 500; font-size: .98rem; color: var(--ink-soft); position: relative; padding: .2rem 0; }
.nav a:hover { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--clay); transition: width .22s ease; }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 5%, rgba(194,112,61,.10), transparent 60%),
    radial-gradient(45% 40% at 5% 90%, rgba(124,139,107,.10), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); margin: 1.2rem 0 1.8rem; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-badges li { font-size: .92rem; color: var(--ink-soft); }
.hero-badges strong { color: var(--clay); }

.hero-promo {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: -0.7rem 0 1.6rem; padding: .55rem 1.05rem;
  background: var(--clay-soft); color: var(--clay-dark);
  border-radius: 999px; font-size: .94rem; font-weight: 600;
}

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.avatar-ring { position: relative; width: min(340px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 38s linear infinite; }
.orbit-line { fill: none; stroke: var(--clay); stroke-opacity: .28; stroke-width: 1.4; stroke-dasharray: 3 7; }
.orbit-line-2 { stroke: var(--sage); stroke-opacity: .3; }
.atom { fill: var(--clay); }
.atom-b { fill: var(--sage); }
.atom-c { fill: #d98a52; }
.avatar {
  width: 64%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(155deg, var(--clay) 0%, #d9905a 55%, #e7b07f 100%);
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 11vw, 6.5rem);
  display: grid; place-items: center; box-shadow: 0 30px 60px -28px rgba(168,90,46,.7);
}

.float-card {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .8rem 1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .6rem; font-size: .82rem; line-height: 1.3;
}
.float-card .fc-emoji { font-size: 1.4rem; }
.float-card-1 { top: 8%; left: -4%; animation: floaty 6s ease-in-out infinite; }
.float-card-2 { bottom: 6%; right: -4%; animation: floaty 6s ease-in-out infinite .8s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ===== Strip ===== */
.strip { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2rem 24px; }
.strip-item { display: flex; flex-direction: column; gap: .15rem; }
.strip-item strong { font-family: var(--font-head); font-size: 1.05rem; }
.strip-item span { font-size: .88rem; color: var(--ink-soft); }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--cream-2); }
.section-head { max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-sub { color: var(--ink-soft); margin-top: .8rem; font-size: 1.05rem; }

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media { display: flex; flex-direction: column; gap: 1.2rem; }
.about-photo {
  position: relative; border-radius: var(--radius); aspect-ratio: 4/4.4;
  background: linear-gradient(160deg, var(--clay-soft), #fff);
  border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow);
}
.about-photo > span { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 8rem); color: var(--clay); opacity: .9; }
.photo-note { position: absolute; bottom: 16px; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }

.project-card { background: var(--ink); color: #f3ece2; border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.project-card .pc-tag { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #e8b288; font-weight: 700; margin-bottom: .5rem; }
.project-card h3 { color: #fff; font-style: italic; margin-bottom: .5rem; }
.project-card p { font-size: .92rem; color: #cdc3b6; }
.project-card strong { color: #fff; }
.pc-pills { display: flex; gap: .5rem; margin-top: 1rem; }
.pc-pills span { font-size: .76rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: rgba(232,178,136,.18); color: #e8b288; }

.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-text em { color: var(--clay); font-style: italic; }
.check-list { list-style: none; margin: 1.3rem 0 1.8rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink); font-size: .98rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--clay-soft); color: var(--clay);
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
}

/* Feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); transition: transform .2s ease; }
.feature-card:hover { transform: translateY(-4px); }
.fc-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--clay-soft); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1.1rem; }
.feature-card h3 { margin-bottom: .5rem; }
.feature-card p { color: var(--ink-soft); font-size: .96rem; }

.subjects { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; justify-content: center; margin-top: 2.6rem; }
.subjects-label { font-weight: 600; color: var(--ink-soft); }
.subjects ul { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.subjects li { background: var(--card); border: 1px solid var(--line); padding: .45rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-sm); }

/* ===== Tabs ===== */
.tabs { display: inline-flex; gap: .3rem; background: var(--cream-2); border: 1px solid var(--line); padding: .35rem; border-radius: 999px; margin: 0 auto 2.2rem; }
.tabs { display: flex; max-width: max-content; }
.tab { border: none; background: transparent; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--ink-soft); padding: .65rem 1.3rem; border-radius: 999px; cursor: pointer; transition: .2s; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--clay); color: #fff; box-shadow: var(--shadow-sm); }
.tabs-wrap { display: flex; justify-content: center; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel-note { text-align: center; color: var(--ink-soft); background: var(--clay-soft); border-radius: var(--radius-sm); padding: .8rem 1.2rem; max-width: 760px; margin: 0 auto 2rem; font-size: .95rem; }
.panel-note strong { color: var(--clay-dark); }

.campaign-banner {
  display: flex; align-items: center; gap: 1rem;
  max-width: 760px; margin: 0 auto 2.2rem;
  background: linear-gradient(135deg, var(--clay), #d98a52);
  color: #fff; padding: 1.1rem 1.6rem;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.campaign-banner .cb-emoji { font-size: 2rem; flex: none; }
.campaign-banner strong { display: block; font-family: var(--font-head); font-size: 1.18rem; line-height: 1.2; margin-bottom: .2rem; }
.campaign-banner span { font-size: .92rem; opacity: .93; line-height: 1.4; }

/* Price cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.price-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .4rem;
  transition: transform .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--clay); }
.price-card-feature { border-color: var(--clay); box-shadow: 0 24px 48px -24px rgba(168,90,46,.5); }
.price-card h3 { margin-top: .3rem; }
.pc-desc { font-size: .9rem; color: var(--ink-soft); min-height: 2.6em; }
.badge { position: absolute; top: -11px; left: 1.4rem; background: var(--sage); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .25rem .75rem; border-radius: 999px; }
.badge-dark { background: var(--clay); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1.1rem; }
.price .old { text-decoration: line-through; color: #b6a995; font-size: 1rem; font-weight: 600; }
.price .now { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--ink); }
.price small { color: var(--ink-soft); font-size: .82rem; width: 100%; margin-top: -.3rem; }

/* Single lessons */
.single-list { max-width: 720px; margin: 0 auto; display: grid; gap: .8rem; }
.single-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .18s ease; }
.single-row:hover { transform: translateX(4px); }
.sr-info h3 { font-size: 1.15rem; }
.sr-info span { font-size: .86rem; color: var(--ink-soft); }
.sr-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--clay); white-space: nowrap; }
.sr-price small { font-family: var(--font-body); font-size: .8rem; color: var(--ink-soft); font-weight: 500; margin-left: .2rem; }
.single-cta { text-align: center; margin-top: 2rem; }

/* ===== CTA ===== */
.section-cta { background: linear-gradient(155deg, #3a322b, #2E2A26); color: #f3ece2; text-align: center; }
.cta-inner { max-width: 680px; margin: 0 auto; }
.section-cta h2 { color: #fff; }
.cta-sub { color: #cdc3b6; margin: 1rem 0 2rem; font-size: 1.08rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ===== Footer ===== */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding-top: 2.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand strong { font-family: var(--font-head); font-size: 1.1rem; }
.footer-brand p { font-size: .88rem; color: var(--ink-soft); }
.footer-contact { display: flex; flex-direction: column; gap: .35rem; text-align: right; }
.footer-contact a { font-size: .92rem; color: var(--ink-soft); }
.footer-contact a:hover { color: var(--clay); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 1.2rem 24px; font-size: .85rem; color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--clay); }

/* ===== Floating WhatsApp ===== */
.float-wa { position: fixed; bottom: 22px; right: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); display: none; place-items: center; transition: transform .2s ease; }
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .lead { max-width: 52ch; margin-inline: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin: 0 auto; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 24px 1rem;
  }
  .site-header.open .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .cards-3 { grid-template-columns: 1fr; }
  .float-wa { display: grid; }
  .footer-contact { text-align: left; }
  .tabs { width: 100%; overflow-x: auto; justify-content: flex-start; }
}

@media (max-width: 460px) {
  .cards-4 { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; gap: 1rem; }
  .float-card { display: none; }
  .price .now { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
