/* ============================================================
   Proof Positive Tutoring — Stylesheet
   ============================================================ */

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

/* ---- Variables ---- */
:root {
  --deep-teal:  #052A2E;
  --mid-teal:   #1A5C63;
  --sky-teal:   #7DBDC2;
  --cream:      #F5F3F0;
  --linen:      #E8E2D9;
  --slate:      #3D5A5C;
  --gold:       #D4A853;
  --gold-dark:  #b8913c;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --nav-h:   78px;
  --max-w:   1160px;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(5,42,46,.10);
  --shadow-lg: 0 10px 44px rgba(5,42,46,.16);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--slate); background: var(--cream); line-height: 1.65; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
p    { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Type ---- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--deep-teal); line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 90px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---- Eyebrow / Section labels ---- */
.eyebrow {
  display: block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading p { color: var(--slate); font-size: 1.05rem; max-width: 580px; margin: 12px auto 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto;
  z-index: 900; height: var(--nav-h);
  background: var(--deep-teal);
  box-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { height: 52px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  color: rgba(245,243,240,.78);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 13px; border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a.active { color: var(--gold); }
.nav__links .nav-cta {
  background: var(--gold); color: var(--deep-teal) !important;
  font-weight: 700; padding: 9px 20px; border-radius: 8px;
  margin-left: 8px; transition: background .2s, transform .15s;
}
.nav__links .nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--cream); border-radius: 2px; transition: all .3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 8px;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  letter-spacing: .02em; border: 2px solid transparent;
  cursor: pointer; transition: all .2s; text-align: center;
}
.btn-gold { background: var(--gold); color: var(--deep-teal); }
.btn-gold:hover {
  background: var(--gold-dark); transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212,168,83,.4);
}
.btn-outline-light {
  background: transparent; border-color: rgba(245,243,240,.4); color: var(--cream);
}
.btn-outline-light:hover { background: rgba(245,243,240,.1); border-color: var(--cream); }
.btn-outline-dark { background: transparent; border-color: var(--mid-teal); color: var(--mid-teal); }
.btn-outline-dark:hover { background: var(--mid-teal); color: var(--cream); }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
  min-height: 100vh; background: var(--deep-teal);
  display: flex; align-items: center;
  padding-top: var(--nav-h); position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 72% 38%, rgba(26,92,99,.6) 0%, transparent 70%),
    radial-gradient(ellipse 35% 45% at 8% 85%, rgba(125,189,194,.1) 0%, transparent 60%);
}
.hero__inner { position: relative; z-index: 1; max-width: 680px; }
.hero__tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero__inner h1 { color: var(--cream); margin-bottom: 18px; }
.hero__inner h1 em { font-style: normal; color: var(--sky-teal); }
.hero__inner > p { color: rgba(245,243,240,.8); font-size: 1.1rem; max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  color: rgba(245,243,240,.3); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll::after {
  content: ''; width: 1px; height: 44px;
  background: rgba(245,243,240,.2);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .2; transform: scaleY(1); }
  50%      { opacity: .6; transform: scaleY(.55); }
}

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  background: var(--deep-teal);
  padding: calc(var(--nav-h) + 64px) 0 76px;
  text-align: center;
}
.page-hero h1 { color: var(--cream); margin-bottom: 14px; }
.page-hero p { color: var(--sky-teal); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* ============================================================
   SUBJECTS SECTION
   ============================================================ */
.subjects-section { background: var(--linen); }
.subject-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.subject-card--accent { background: var(--deep-teal); }
.subject-card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--mid-teal); display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 1.15rem; margin-bottom: 4px;
}
.subject-card--accent .subject-card__icon { background: var(--gold); color: var(--deep-teal); }
.subject-card__level {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sky-teal);
}
.subject-card--accent .subject-card__level { color: var(--gold); }
.subject-card h3 { font-size: 1rem; color: var(--deep-teal); }
.subject-card--accent h3 { color: var(--cream); }

/* ============================================================
   FEATURES / WHY PPT
   ============================================================ */
.features-section { background: var(--cream); }
.feature-card {
  background: var(--linen); border-radius: var(--radius);
  padding: 36px 30px; transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(140deg, var(--mid-teal), var(--deep-teal));
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 1.4rem; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--linen); }
.testimonial-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow);
  border-top: 3px solid var(--gold); position: relative;
}
.quote-mark {
  font-family: var(--serif); font-size: 5rem; color: var(--gold);
  opacity: .18; line-height: 1; position: absolute; top: 14px; left: 22px;
}
.testimonial-card blockquote {
  font-style: italic; color: var(--slate);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.testimonial-card cite { font-style: normal; font-weight: 600; font-size: .85rem; color: var(--mid-teal); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: var(--mid-teal); padding: 80px 0; text-align: center; }
.cta-banner h2 { color: var(--cream); margin-bottom: 14px; }
.cta-banner p { color: rgba(245,243,240,.75); max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-section { background: var(--cream); }
.pricing-card {
  background: var(--linen); border-radius: var(--radius);
  padding: 44px 38px; box-shadow: var(--shadow);
  border: 2px solid transparent; transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.pricing-card.featured { background: var(--cream); border-color: var(--gold); }
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pricing-badge {
  display: inline-block; background: var(--gold); color: var(--deep-teal);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 18px; align-self: flex-start;
}
.pricing-card h3 { margin-bottom: 10px; }
.pricing-card__desc { font-size: .95rem; margin-bottom: 24px; color: var(--slate); }
.price {
  font-family: var(--serif); font-size: 3rem; font-weight: 700;
  color: var(--deep-teal); line-height: 1; margin-bottom: 4px;
}
.price sup { font-size: 1.5rem; vertical-align: super; }
.price-unit { font-size: .875rem; color: var(--slate); margin-bottom: 28px; }
.pricing-card__features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; flex: 1; }
.pricing-card__features li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.pricing-card__features li i { color: var(--sky-teal); flex-shrink: 0; margin-top: 3px; }

/* ============================================================
   LEVEL BLOCKS (Sessions)
   ============================================================ */
.levels-section { background: var(--linen); }
.level-block {
  background: var(--cream); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow);
}
.level-block__header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--linen);
}
.level-badge {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--mid-teal); color: var(--cream);
  font-family: var(--serif); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; text-align: center; line-height: 1.1;
}
.level-block__header div h3 { margin-bottom: 4px; }
.level-block__header div p { font-size: .875rem; }
.subject-rows { display: flex; flex-direction: column; gap: 10px; }
.subject-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; background: var(--linen); border-radius: 8px;
}
.subject-row i { color: var(--sky-teal); width: 18px; text-align: center; flex-shrink: 0; }
.subject-row span { font-weight: 500; color: var(--deep-teal); font-size: .95rem; }

/* ============================================================
   HOW SESSIONS WORK
   ============================================================ */
.process-section { background: var(--cream); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.step { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.step__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--deep-teal); color: var(--cream);
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step h3 { margin-bottom: 6px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-section { background: var(--cream); }
.story-placeholder {
  background: var(--linen); border-radius: var(--radius);
  border: 2px dashed var(--sky-teal);
  padding: 56px 48px; text-align: center;
  color: var(--slate); font-size: 1.05rem; font-style: italic;
  max-width: 760px; margin: 0 auto;
}
.story-placeholder strong { display: block; font-size: 1.3rem; font-style: normal; color: var(--deep-teal); margin-bottom: 8px; font-family: var(--serif); }
.approach-section { background: var(--linen); }
.approach-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 36px 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.approach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.approach-card__num {
  font-family: var(--serif); font-size: 2.8rem; font-weight: 700;
  color: var(--gold); opacity: .35; line-height: 1; margin-bottom: 12px;
}
.approach-card h3 { margin-bottom: 10px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { background: var(--cream); }
.contact-card {
  background: var(--linen); border-radius: var(--radius);
  padding: 52px 44px; max-width: 560px; margin: 0 auto; text-align: center;
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 76px; height: 76px; border-radius: 20px;
  background: linear-gradient(140deg, var(--mid-teal), var(--deep-teal));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; font-size: 1.9rem; color: var(--cream);
}
.contact-card h3 { margin-bottom: 10px; font-size: 1.5rem; }
.contact-card p { margin-bottom: 24px; }
.email-link {
  display: inline-block; font-size: 1.1rem; font-weight: 600;
  color: var(--mid-teal); border-bottom: 2px solid var(--gold);
  padding-bottom: 2px; transition: color .2s;
}
.email-link:hover { color: var(--gold); }
.contact-note {
  background: var(--cream); border-radius: var(--radius);
  padding: 32px 36px; max-width: 560px; margin: 28px auto 0;
  border-left: 4px solid var(--sky-teal);
}
.contact-note h4 { color: var(--mid-teal); margin-bottom: 6px; font-family: var(--sans); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   BOOKING FORM
   ============================================================ */
.booking-section { background: var(--linen); }
.booking-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 64px; }
.booking-step {
  background: var(--cream); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow);
}
.booking-step__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--deep-teal); color: var(--cream);
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.booking-step h3 { margin-bottom: 8px; font-size: 1rem; }
.booking-step p { font-size: .9rem; }

.booking-form {
  background: var(--cream); border-radius: var(--radius);
  padding: 52px 48px; box-shadow: var(--shadow-lg); max-width: 740px; margin: 0 auto;
}
.booking-form h3 { margin-bottom: 32px; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--deep-teal); letter-spacing: .03em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--linen); border-radius: 8px;
  font-family: var(--sans); font-size: .95rem; color: var(--slate);
  background: var(--cream); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D5A5C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--mid-teal);
  box-shadow: 0 0 0 3px rgba(26,92,99,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: .78rem; color: var(--slate); opacity: .65; }
.form-section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin: 28px 0 18px; border-top: 1px solid var(--linen); padding-top: 28px;
}
.time-slots { display: flex; flex-direction: column; gap: 12px; }
.time-slot-row { display: flex; align-items: center; gap: 12px; }
.time-slot-label {
  font-size: .78rem; font-weight: 600; color: var(--slate);
  white-space: nowrap; min-width: 56px;
}
.form-submit { text-align: center; margin-top: 10px; }
.form-submit .btn { min-width: 240px; padding: 15px 40px; font-size: 1rem; }
.form-note { font-size: .82rem; color: var(--slate); opacity: .65; margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--deep-teal); padding: 68px 0 34px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__brand img { height: 46px; margin-bottom: 18px; }
.footer__brand p { color: rgba(245,243,240,.5); font-size: .875rem; max-width: 260px; line-height: 1.65; }
.footer__col h4 {
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer__col ul li { margin-bottom: 9px; }
.footer__col ul li a { color: rgba(245,243,240,.55); font-size: .875rem; transition: color .2s; }
.footer__col ul li a:hover { color: var(--cream); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer__bottom p { color: rgba(245,243,240,.3); font-size: .78rem; margin: 0; }
.footer__bottom a { color: rgba(245,243,240,.45); transition: color .2s; }
.footer__bottom a:hover { color: var(--cream); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .grid-4      { grid-template-columns: repeat(2, 1fr); }
  .grid-3      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid  { grid-template-columns: 1fr; gap: 28px; }
  .booking-steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none; position: fixed;
    top: var(--nav-h); inset-inline: 0;
    background: var(--deep-teal); flex-direction: column;
    padding: 18px 24px 24px; gap: 4px;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 32px rgba(0,0,0,.3);
  }
  .nav__links.open { display: flex; }
  .nav__links a { width: 100%; }
  .nav__links .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .hero { min-height: auto; padding: 130px 0 90px; }
  .hero__actions { flex-direction: column; }
  .hero__scroll { display: none; }
  .booking-form { padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 36px 24px; }
  .story-placeholder { padding: 40px 28px; }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .pricing-card { padding: 36px 28px; }
}
