/* The Precision Lab — shared styles
   Light & airy body with dark hero/nav/footer bookends. Warm cream, gold accents.
   Foundation First. Precision Always. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Light body palette */
  --ink:      #211C15;   /* darkest text / headings */
  --ink-soft: #4E4636;   /* body text */
  --muted:    #8B8270;   /* secondary text */
  --bg:       #FCF8F0;   /* page background */
  --bg-alt:   #F4ECDB;   /* alternate section */
  --card:     #FFFFFF;   /* cards / surfaces */
  --line:     rgba(160,116,28,.22);
  --line-2:   rgba(160,116,28,.42);

  /* Gold brand */
  --gold:      #C4973A;  /* fills, large accents */
  --gold-deep: #9C6E1C;  /* readable gold for small text on light */
  --accent:      var(--gold-deep);
  --accent-soft: #B5852A;
  --accent-glow: rgba(196,151,58,.16);
  --accent-dk:   #A9772A;

  /* Dark bookends (hero / nav / footer) */
  --d-bg:      #141312;
  --d-surface: #1C1A17;
  --d-card:    #211E1A;
  --d-text:    #FDF9F0;
  --d-text-2:  #E9E1D2;
  --d-muted:   #A79F90;
  --d-line:    rgba(196,151,58,.22);
  --d-line-2:  rgba(196,151,58,.40);

  --whatsapp: #25d366;
  --radius:   16px;
  --shadow:   0 18px 44px -26px rgba(120,90,20,.40);
  --shadow-d: 0 26px 60px -28px rgba(0,0,0,.7);
  --maxw:     1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); margin: 0 0 .4em; }
h1 em, h2 em { color: var(--gold-deep); font-style: italic; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 .5em; }
h3 { font-size: 1.22rem; margin: 0 0 .4em; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }
em { font-style: italic; }
a  { color: var(--gold-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dk); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  font-family: var(--sans); font-size: .76rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 14px;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; font-weight: 400; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary, .btn--wa {
  background: linear-gradient(145deg, var(--gold), var(--accent-dk)); color: #2a2010;
  box-shadow: 0 12px 30px -12px rgba(196,151,58,.6);
}
.btn--primary:hover, .btn--wa:hover { color: #2a2010; box-shadow: 0 16px 38px -12px rgba(196,151,58,.7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav (dark) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,19,18,.88); backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--d-line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--d-text); }
.brand:hover { color: var(--d-text); }
.brand .mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: url('assets/logo/pl-circle.png') center/contain no-repeat;
  display: grid; place-items: center;
  color: transparent; font-size: 0; text-indent: -9999px;
  flex: 0 0 auto;
}
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--d-muted); font-weight: 500; font-size: .96rem; }
.nav__links a:hover, .nav__links a.active { color: var(--accent-soft); }
.nav__cta { display: inline-flex; }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--d-text); }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--d-surface);
    padding: 22px 24px; border-bottom: 1px solid var(--d-line); box-shadow: var(--shadow-d);
  }
  .nav__toggle { display: block; }
}

/* ---------- Hero (dark band) ---------- */
.hero {
  padding: 72px 0 84px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 78% -8%, var(--accent-glow), transparent 62%),
    radial-gradient(700px 520px at 6% 110%, rgba(196,151,58,.07), transparent 60%),
    var(--d-bg);
  color: var(--d-text-2);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(196,151,58,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,151,58,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 60% 20%, #000 0%, transparent 78%);
          mask-image: radial-gradient(circle at 60% 20%, #000 0%, transparent 78%);
}
.hero h1 { color: var(--d-text); }
.hero h1 em { color: var(--gold); }
.hero .lead { color: var(--d-text-2); font-weight: 300; }
.hero .eyebrow { color: var(--accent-soft); }
.hero .btn--ghost { color: var(--d-text); border-color: var(--d-line-2); }
.hero .btn--ghost:hover { border-color: var(--gold); color: var(--accent-soft); }
.hero__wordmark {
  position: relative; z-index: 1; display: block;
  width: 100%; max-width: 460px; height: auto; margin: 0 auto 40px;
  mix-blend-mode: screen;
}
@media (max-width: 600px) { .hero__wordmark { max-width: 320px; margin-bottom: 28px; } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__note { margin-top: 18px; font-size: .9rem; color: var(--d-muted); }
.hero__card {
  background: linear-gradient(165deg, var(--d-card), #15120d);
  border: 1px solid var(--d-line); border-radius: 20px; padding: 32px;
  box-shadow: var(--shadow-d); position: relative; overflow: hidden;
}
.hero__card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 130px; height: 130px;
  background: radial-gradient(circle at 70% 30%, var(--accent-glow), transparent 70%);
}
.hero__card h3 { color: var(--accent-soft); font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; }
.quote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--ink); margin: 10px 0 14px; font-weight: 500; }
.quote span { color: var(--muted); font-family: var(--sans); font-size: .92rem; font-style: normal; }
/* Quotes inside the dark card are always light, wherever the card sits */
.hero__card .quote { color: var(--d-text); }
.hero__card .quote span { color: var(--d-muted); }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Founder / tutor photo ---------- */
.founder { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; gap: 32px; } .founder__photo { order: -1; } }
.founder__photo, .tutor-photo { margin: 0; position: relative; }
.founder__photo img, .tutor-photo img {
  display: block; width: 100%; border-radius: 20px;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  object-fit: cover; object-position: 50% 22%;
}
.hero .founder__photo img { border-color: var(--d-line-2); box-shadow: var(--shadow-d); }
.founder__photo img { aspect-ratio: 4 / 5; }
.tutor-photo img { aspect-ratio: 4 / 3; }
.founder__photo figcaption, .tutor-photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(20,19,18,.78); backdrop-filter: blur(6px);
  border: 1px solid var(--d-line); border-radius: 999px;
  padding: 7px 15px; font-size: .82rem; font-weight: 600; color: var(--accent-soft);
}

/* ---------- Stats (light cards) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  text-align: center; padding: 28px 16px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat__num { font-family: var(--serif); font-size: 2.3rem; color: var(--gold-deep); line-height: 1; font-weight: 600; }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.card h3 { color: var(--ink); }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--accent-glow); border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 18px; font-size: 1.4rem;
}
.card p { margin-bottom: 0; font-size: .98rem; color: var(--ink-soft); }
.card em { color: var(--gold-deep); font-style: normal; font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 22px; align-items: start;
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.step__n {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--accent-dk)); color: #2a2010;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
  box-shadow: 0 8px 20px -10px rgba(196,151,58,.7);
}
.step h3 { color: var(--ink); }
.step p { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 760px; margin: 0 auto; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  background: var(--card); border:1px solid var(--line); border-radius: 18px; padding: 36px 30px; text-align: center;
  position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; box-shadow: var(--shadow);
}
.price:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(120,90,20,.5); border-color: var(--line-2); }
.price__level { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); }
.price__sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.price__amt { font-family: var(--serif); font-size: 3rem; color: var(--gold-deep); line-height: 1; font-weight: 600; }
.price__amt small { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 22px 0; text-align: left; }
.price li { padding: 10px 0 10px 28px; position: relative; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: .96rem; }
.price li:last-child { border-bottom: 0; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }

.tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(145deg, var(--gold), var(--accent-dk)); color: #2a2010; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 15px; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(196,151,58,.7);
}

/* ---------- Schedule (by day) ---------- */
.week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
@media (max-width: 880px) { .week { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .week { grid-template-columns: 1fr; } }
.day {
  display: block; text-decoration: none; color: inherit; cursor: pointer;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 12px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.day:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(120,90,20,.5); }
.day__name {
  font-family: var(--serif); font-size: 1.25rem; color: var(--gold-deep);
  margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.ses { padding: 11px 0; border-bottom: 1px dashed rgba(160,116,28,.18); }
.ses:last-child { border-bottom: 0; }
.ses__hr { display: block; font-size: .8rem; letter-spacing: .02em; color: var(--muted); }
.ses__lvl { display: block; font-weight: 600; color: var(--ink); font-size: 1rem; margin-top: 2px; }
.ses__lvl em { font-style: normal; font-weight: 400; color: var(--gold-deep); font-size: .82rem; }

/* ---------- Promotions ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .promo-grid { grid-template-columns: 1fr; } }
.promo {
  display: block; text-decoration: none; color: inherit; cursor: pointer;
  position: relative; padding: 26px 28px; border-radius: 16px;
  background: linear-gradient(160deg, #FBF3E0, #FFFFFF);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.promo:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(120,90,20,.5); border-color: var(--gold); }
.promo:hover h3 { color: var(--gold-deep); }
.promo__pill {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #2a2010; background: linear-gradient(145deg, var(--gold), var(--accent-dk));
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.promo h3 { color: var(--ink); font-size: 1.18rem; }
.promo p { color: var(--ink-soft); margin-bottom: 0; font-size: .96rem; }
.promo--feature { grid-column: 1 / -1; border-color: var(--gold); background: linear-gradient(135deg, #F7EACB, #FFFDF8); }
.promo--feature h3 { font-size: 1.4rem; }
.bundle-note { text-align: center; margin-top: 26px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.bundle-note b { color: var(--gold-deep); }

/* Registration / materials fees */
.otherfees { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 34px; }
.otherfee {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 26px; box-shadow: var(--shadow); min-width: 300px;
}
.otherfee__amt { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--gold-deep); line-height: 1; flex: 0 0 auto; }
.otherfee__amt small { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 500; }
.otherfee__lbl { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.otherfee__lbl small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: 3px; }

/* ---------- CTA band (dark highlight) ---------- */
.cta-band {
  background: linear-gradient(135deg, #221c12, #15120c); color: var(--d-text);
  border: 1px solid var(--d-line-2); border-radius: 24px; padding: 60px 44px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 50% -10%, var(--accent-glow), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--d-text); }
.cta-band p { color: var(--d-text-2); max-width: 56ch; margin-left:auto; margin-right:auto; font-weight: 300; }
.cta-band .btn--ghost { color: var(--d-text); border-color: rgba(226,192,121,.45); }
.cta-band .btn--ghost:hover { border-color: var(--gold); color: var(--accent-soft); }

/* ---------- Contact ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.info-list .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-glow); border: 1px solid var(--line); display:grid; place-items:center; font-size:1.2rem; }
.info-list strong { display:block; color: var(--ink); }
.info-list span { color: var(--muted); font-size: .96rem; }
.map { width:100%; border:0; border-radius: var(--radius); min-height: 320px; border: 1px solid var(--line); }

/* ---------- Misc ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; }
.prose p { color: var(--ink-soft); }
.pull {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin: 28px 0;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.42; font-style: italic;
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--ink); list-style: none; display:flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 1.5rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--ink-soft); }

/* ---------- Footer (dark) ---------- */
.footer { background: #100F0D; color: var(--d-muted); padding: 60px 0 30px; border-top: 1px solid var(--d-line); }
.footer a { color: var(--d-muted); }
.footer a:hover { color: var(--accent-soft); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 38px; }
.footer .brand { color: var(--d-text); margin-bottom: 14px; }
.footer p { color: var(--d-muted); font-weight: 300; }
.footer h4 { color: var(--accent-soft); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display:grid; gap: 10px; font-size:.95rem; }
.footer__bot { border-top: 1px solid var(--d-line); padding-top: 24px; font-size: .85rem; color: #7d7567; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; } }

/* Social icons (in dark footer) */
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--d-line-2); color: var(--accent-soft);
  transition: transform .18s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.socials a:hover { transform: translateY(-3px); border-color: var(--gold); background: var(--accent-glow); color: var(--gold); }
.socials a svg { width: 20px; height: 20px; fill: currentColor; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp);
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.55);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.in { opacity: 1; transform: none; }
