/* ============================================================
   CHEMISTRY WORKSHOP – MAIN STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --ink:        #0d1117;
  --cream:      #f8faff;
  --warm:       #eef2ff;
  --gold:       #2563eb;
  --gold-light: #3b82f6;
  --accent:     #1a3a5c;
  --accent2:    #2e6b9e;
  --text:       #2a2a2a;
  --muted:      #6b6b6b;
  --white:      #ffffff;
  --success:    #16a34a;
  --danger:     #dc2626;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); overflow-x: hidden; }

/* ── NAV ────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 5%;
  background: rgba(248,250,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37,99,235,.2);
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--accent); font-weight: 700; }
.nav-logo span { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: #fff; border: none;
  padding: 10px 24px; border-radius: 4px; font-family: 'DM Sans', sans-serif;
  font-size: .9rem; font-weight: 600; cursor: pointer; letter-spacing: .5px;
  transition: background .2s, transform .2s; text-decoration: none; display: inline-block;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* ── HERO ───────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding-top: 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%,rgba(37,99,235,.08) 0%,transparent 70%),
              radial-gradient(ellipse at 10% 80%,rgba(26,58,92,.06) 0%,transparent 60%);
}
.hero-text { padding: 60px 6% 60px 8%; position: relative; z-index: 2; animation: fadeUp .8s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.12); border: 1px solid rgba(37,99,235,.3);
  color: var(--gold); padding: 6px 16px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge::before { content: '⚗'; font-size: 1rem; }
.hero h1 { font-family: 'Playfair Display',serif; font-size: clamp(2.4rem,4vw,3.8rem); line-height: 1.15; color: var(--ink); margin-bottom: 22px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub  { font-size: 1.1rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; max-width: 520px; }
.hero-note { font-size: .95rem; color: var(--accent); font-weight: 500; margin-bottom: 36px; max-width: 480px; line-height: 1.6; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-primary {
  background: var(--gold); color: #fff; border: none;
  padding: 15px 34px; border-radius: 5px; font-size: 1rem; font-weight: 600;
  cursor: pointer; letter-spacing: .3px; transition: all .25s;
  box-shadow: 0 4px 20px rgba(37,99,235,.35); text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,58,92,.3); }
.btn-secondary {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent); padding: 13px 30px; border-radius: 5px;
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: all .25s; text-decoration: none; display: inline-block;
}
.btn-secondary:hover { background: var(--accent); color: #fff; }

.hero-details { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-detail  { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.hero-detail strong { color: var(--text); }
.detail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero-visual {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: flex-end;
  padding: 40px 8% 0 4%; animation: fadeIn 1s ease .3s both;
}
.photo-wrap { position: relative; width: min(400px,85%); }
.photo-wrap::before {
  content: ''; position: absolute; bottom: -20px; left: -20px; right: 20px; top: 20px;
  background: var(--gold); opacity: .12; border-radius: 12px; z-index: -1;
}
.photo-wrap::after {
  content: ''; position: absolute; bottom: -8px; left: -8px; right: 8px; top: 8px;
  border: 2px solid var(--gold); border-radius: 12px; opacity: .4; z-index: -1;
}
.hero-photo { width: 100%; border-radius: 10px; display: block; box-shadow: 0 30px 80px rgba(13,17,23,.2); }
.photo-tag {
  position: absolute; bottom: 28px; left: -28px;
  background: #fff; border-radius: 10px; padding: 14px 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12); font-size: .85rem; min-width: 160px;
}
.photo-tag strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.photo-tag span   { color: var(--muted); }
.date-badge {
  position: absolute; top: 28px; right: -18px;
  background: var(--gold); color: #fff; border-radius: 10px; padding: 12px 16px; text-align: center;
  box-shadow: 0 8px 30px rgba(37,99,235,.4);
}
.date-badge .big   { display: block; font-family: 'Playfair Display',serif; font-size: 2rem; font-weight: 900; line-height: 1; }
.date-badge .small { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }

/* ── SECTIONS ───────────────────────────── */
section { padding: 90px 8%; }
.section-label { display: inline-block; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-family: 'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.8rem); color: var(--ink); line-height: 1.25; margin-bottom: 20px; }
.section-title em { color: var(--gold); font-style: italic; }
.section-desc { font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 600px; }
.divider { width: 56px; height: 3px; background: var(--gold); margin: 20px 0 32px; }

/* ── WHO SECTION ────────────────────────── */
.who-section { background: var(--ink); }
.who-section .section-title { color: #fff; }
.who-section .section-desc  { color: rgba(255,255,255,.6); }
.who-section .section-label { color: var(--gold-light); }
.who-section .divider       { background: var(--gold-light); }
.who-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; margin-top: 44px; }
.who-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 28px; transition: border-color .3s, transform .3s; }
.who-card:hover { border-color: rgba(37,99,235,.4); transform: translateY(-4px); }
.who-icon { font-size: 1.8rem; margin-bottom: 14px; }
.who-card p { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.6; }

/* ── LEARN SECTION ──────────────────────── */
.learn-section { background: var(--warm); }
.learn-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 22px; margin-top: 44px; }
.learn-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 26px; box-shadow: 0 2px 20px rgba(0,0,0,.05); transition: box-shadow .3s,transform .3s; }
.learn-item:hover { box-shadow: 0 8px 40px rgba(0,0,0,.1); transform: translateY(-3px); }
.learn-num { background: var(--gold); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.learn-item p { color: var(--text); font-size: .95rem; line-height: 1.6; padding-top: 6px; }

/* ── WHY SECTION ────────────────────────── */
.why-section { background: linear-gradient(135deg,var(--accent) 0%,#0d2a45 100%); color: #fff; }
.why-section .section-title  { color: #fff; }
.why-section .section-label  { color: var(--gold-light); }
.why-section .divider        { background: var(--gold-light); }
.why-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; }
.why-card { background: rgba(255,255,255,.07); border-radius: 14px; padding: 36px 28px; border-top: 3px solid var(--gold); }
.why-before { color: rgba(255,255,255,.45); font-size: .9rem; margin-bottom: 10px; }
.why-arrow  { color: var(--gold-light); font-size: 1.2rem; margin: 10px 0; }
.why-after  { color: #fff; font-size: 1rem; font-weight: 500; line-height: 1.5; }

/* ── ABOUT SECTION ──────────────────────── */
.about-section { background: var(--cream); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-photo-wrap { position: relative; }
.about-photo-wrap::before { content: ''; position: absolute; inset: -12px; background: var(--gold); opacity: .07; border-radius: 14px; }
.about-photo { width: 100%; border-radius: 12px; display: block; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.about-name-tag { position: absolute; bottom: 20px; right: -20px; background: #fff; border-radius: 10px; padding: 14px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.12); }
.about-name-tag strong { display: block; font-family: 'Playfair Display',serif; font-size: 1.1rem; color: var(--ink); }
.about-name-tag span   { font-size: .85rem; color: var(--gold); font-weight: 600; }

/* ── DETAILS SECTION ────────────────────── */
.details-section { background: var(--ink); }
.details-section .section-title { color: #fff; }
.details-section .section-label { color: var(--gold-light); }
.details-section .divider       { background: var(--gold-light); }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 20px; margin-top: 44px; margin-bottom: 50px; }
.detail-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 28px 20px; text-align: center; }
.detail-card .d-icon  { font-size: 2rem; margin-bottom: 12px; }
.detail-card .d-label { font-size: .75rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.detail-card .d-value { font-size: 1.05rem; color: #fff; font-weight: 600; }
.detail-card .d-value.gold { color: var(--gold-light); font-size: 1.2rem; }

/* ── FORM SECTION ───────────────────────── */
.form-section { background: var(--warm); }
.form-wrap    { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-card    { background: #fff; border-radius: 16px; padding: 44px; box-shadow: 0 20px 80px rgba(0,0,0,.1); }
.form-card h3 { font-family: 'Playfair Display',serif; font-size: 1.7rem; color: var(--ink); margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 28px; line-height: 1.5; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label  { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; letter-spacing: .3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 15px; border: 1.5px solid #e5e5e5; border-radius: 7px;
  font-family: 'DM Sans',sans-serif; font-size: .95rem; color: var(--text);
  background: var(--cream); outline: none; transition: border-color .2s; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: #fff; }
.btn-submit {
  width: 100%; background: var(--gold); color: #fff; border: none;
  padding: 15px; border-radius: 7px; font-family: 'DM Sans',sans-serif;
  font-size: 1rem; font-weight: 700; cursor: pointer; letter-spacing: .5px;
  transition: all .25s; box-shadow: 0 4px 20px rgba(37,99,235,.3); margin-top: 8px;
}
.btn-submit:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,58,92,.3); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-note strong { color: var(--gold); }

/* Alert messages */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: .9rem; display: none; }
.alert.error   { background: #fef2f2; border: 1px solid #fca5a5; color: var(--danger); }
.alert.success { background: #f0fdf4; border: 1px solid #86efac; color: var(--success); }
.alert.show    { display: block; }

.trust-points { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; }
.trust-point  { display: flex; gap: 16px; align-items: flex-start; }
.trust-icon   { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.trust-point h4 { font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.trust-point p  { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ── PARENT SECTION ─────────────────────── */
.parent-section { background: #fff; }
.parent-inner   { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.parent-icon-big { font-size: 5rem; text-align: center; }
.parent-points  { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.parent-point   { display: flex; gap: 14px; align-items: flex-start; }
.pp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 7px; }
.parent-point p { font-size: .95rem; color: var(--text); line-height: 1.6; }

/* ── CLOSING ────────────────────────────── */
.closing-section { background: linear-gradient(135deg,#0d1117 60%,#1a2a3a 100%); text-align: center; padding: 100px 8%; }
.closing-section h2 { font-family: 'Playfair Display',serif; font-size: clamp(2rem,4vw,3.2rem); color: #fff; line-height: 1.2; margin-bottom: 20px; }
.closing-section h2 em { color: var(--gold-light); font-style: italic; }
.closing-section p  { color: rgba(255,255,255,.6); font-size: 1.05rem; max-width: 550px; margin: 0 auto 40px; line-height: 1.7; }
.closing-btn {
  display: inline-block; background: var(--gold); color: #fff;
  padding: 18px 48px; border-radius: 6px; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; border: none; transition: all .25s; letter-spacing: .5px;
  box-shadow: 0 6px 30px rgba(37,99,235,.4); text-decoration: none;
}
.closing-btn:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.urgency-note { margin-top: 24px; font-size: .9rem; color: rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; gap: 8px; }
.urgency-dot  { width: 8px; height: 8px; border-radius: 50%; background: #e74c3c; animation: pulse 1.5s infinite; }

/* ── FOOTER ─────────────────────────────── */
footer { background: #08090c; padding: 30px 8%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer p { color: rgba(255,255,255,.3); font-size: .82rem; }
.footer-brand { font-family: 'Playfair Display',serif; color: var(--gold); font-size: 1.1rem; }

/* ── LAB SYMBOL BACKGROUNDS ────────────── */
.hero::after,
.learn-section::after,
.form-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M25 8 L25 25 L15 42 C13 46 16 50 20 50 L40 50 C44 50 47 46 45 42 L35 25 L35 8 Z' fill='none' stroke='%231a3a5c' stroke-width='1.5'/%3E%3Cline x1='20' y1='8' x2='40' y2='8' stroke='%231a3a5c' stroke-width='1.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='8' fill='none' stroke='%232563eb' stroke-width='1'/%3E%3Ccircle cx='20' cy='8' r='3' fill='none' stroke='%232563eb' stroke-width='1'/%3E%3Ccircle cx='12' cy='26' r='3' fill='none' stroke='%232563eb' stroke-width='1'/%3E%3Ccircle cx='28' cy='26' r='3' fill='none' stroke='%232563eb' stroke-width='1'/%3E%3Cline x1='20' y1='12' x2='20' y2='11' stroke='%232563eb' stroke-width='1'/%3E%3Cline x1='15' y1='24' x2='16' y2='23' stroke='%232563eb' stroke-width='1'/%3E%3Cline x1='25' y1='24' x2='24' y2='23' stroke='%232563eb' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 120px 120px, 80px 80px;
  background-position: 0 0, 40px 40px;
  z-index: 0;
}
.hero { position: relative; }
.learn-section { position: relative; overflow: hidden; }
.form-section { position: relative; overflow: hidden; }

.who-section::after,
.why-section::after,
.details-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath d='M10 40 L10 20 Q10 10 20 10 L30 10 Q40 10 40 20 L40 25 L45 25 L45 30 L40 30 L40 40 Z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='10' fill='none' stroke='%23ffffff' stroke-width='.8'/%3E%3Ccircle cx='22' cy='22' r='4' fill='none' stroke='%23ffffff' stroke-width='.8'/%3E%3Cline x1='22' y1='8' x2='22' y2='2' stroke='%23ffffff' stroke-width='.8'/%3E%3Cline x1='22' y1='42' x2='22' y2='36' stroke='%23ffffff' stroke-width='.8'/%3E%3Cline x1='8' y1='22' x2='2' y2='22' stroke='%23ffffff' stroke-width='.8'/%3E%3Cline x1='42' y1='22' x2='36' y2='22' stroke='%23ffffff' stroke-width='.8'/%3E%3C/svg%3E");
  background-size: 100px 100px, 88px 88px;
  background-position: 0 0, 50px 44px;
  z-index: 0;
}
.who-section { position: relative; overflow: hidden; }
.why-section { position: relative; overflow: hidden; }
.details-section { position: relative; overflow: hidden; }

.who-section > *,
.why-section > *,
.details-section > *,
.learn-section > *,
.form-section > * {
  position: relative;
  z-index: 1;
}

/* ── TESTIMONIALS SECTION ──────────────── */
.testimonials-section { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(340px,1fr)); gap: 28px; margin-top: 44px; }
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  border-top: 3px solid var(--gold);
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.testimonial-quote { font-size: 2.5rem; color: var(--gold); font-family: 'Playfair Display',serif; line-height: 1; margin-bottom: 8px; }
.testimonial-text { font-size: .95rem; color: var(--text); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-info strong { display: block; font-size: .95rem; color: var(--ink); }
.testimonial-info span { font-size: .82rem; color: var(--muted); }

/* ── ANIMATIONS ─────────────────────────── */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse   { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .6; } }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text   { padding: 40px 6% 30px; }
  .hero-visual { padding: 10px 8% 50px; }
  .photo-tag   { display: none; }
  .date-badge  { top: 16px; right: 10px; }
  .why-cards   { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .form-wrap   { grid-template-columns: 1fr; }
  .parent-inner { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 60px 5%; }
  .hero-btns { flex-direction: column; }
  .about-name-tag { right: 10px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 28px 22px; }
}
