/* ============================================================
   Mehnaz Academic Consulting — styles
   Palette: off-white canvas, deep slate navy, warm gold, emerald
   ============================================================ */

:root {
  --canvas: #F8FAFC;
  --canvas-deep: #EEF2F7;
  --ink: #0F172A;
  --ink-soft: #475569;
  --gold: #D97706;
  --gold-soft: #FDF3E3;
  --green: #059669;
  --green-deep: #047857;
  --line: #E2E8F0;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .04);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, .05), 0 14px 34px rgba(15, 23, 42, .07);
  --shadow-lg: 0 8px 20px rgba(15, 23, 42, .08), 0 32px 64px rgba(15, 23, 42, .10);
  --shadow-green: 0 6px 16px rgba(5, 150, 105, .28), 0 18px 38px rgba(5, 150, 105, .20);

  --shell: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: .95rem 1.6rem;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.btn-wa {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
}

.btn-wa:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(5, 150, 105, .32), 0 24px 48px rgba(5, 150, 105, .22);
}

.btn-wa:active { transform: translateY(0); }

.btn-wa--sm {
  padding: .6rem 1.05rem;
  font-size: .85rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, .22);
}

.btn-wa--lg {
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-cap {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, .18);
}

.brand-text { display: flex; flex-direction: column; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.brand-sub {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .5rem .9rem;
  white-space: nowrap;
}

.hours-badge svg { color: var(--gold); flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav { border-top: 1px solid transparent; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-block: .55rem .85rem;
  font-size: .9rem;
  font-weight: 600;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s ease;
}

.nav-list a:hover { color: var(--ink); }

.nav-list .nav-cta {
  color: var(--green);
  border-bottom: 2px solid rgba(5, 150, 105, .3);
  padding-bottom: 1px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70vw;
  height: 70vw;
  max-width: 820px;
  max-height: 820px;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 119, 6, .13), transparent 62%),
    radial-gradient(circle at 30% 70%, rgba(5, 150, 105, .10), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-visual {
  position: relative;
  margin: 0;
  order: 2;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--canvas-deep);
}

.hero-photo img {
  width: 100%;
  height: clamp(320px, 52vw, 560px);
  object-fit: cover;
}

.photo-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(15, 23, 42, 0) 45%, rgba(15, 23, 42, .38));
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, .9);
}

.hero-card--top { top: 1rem; left: 1rem; }

.hero-card--bottom { bottom: 1rem; right: 1rem; }

.hero-card-num, .hero-card-grade {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold);
}

.hero-card-label {
  font-size: .74rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-copy { order: 1; }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 1.15rem;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 34rem;
}

.trust-list {
  display: grid;
  gap: .65rem;
  margin-top: 1.7rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}

.trust-list svg {
  flex: none;
  color: var(--green);
  background: rgba(5, 150, 105, .1);
  border-radius: 50%;
  padding: 3px;
  width: 24px;
  height: 24px;
}

.hero-cta { margin-top: 2rem; }

.hero-cta .btn {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .86rem;
  padding: 1.05rem 1.4rem;
}

.hero-note {
  margin-top: .85rem;
  font-size: .85rem;
  color: var(--ink-soft);
  max-width: 32rem;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}

.section-lede {
  margin-top: .9rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */
.services {
  background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
  border-block: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 119, 6, .35);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: .4rem;
}

.service-card h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.service-card p {
  color: var(--ink-soft);
  font-size: .95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

.card-link svg { transition: transform .22s ease; }

.card-link:hover svg { transform: translateX(4px); }

/* ---------- Advantage ---------- */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.advantage-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.advantage-panel--dark {
  background:
    radial-gradient(120% 120% at 100% 0%, #1c2b45 0%, var(--ink) 55%);
  border-color: transparent;
  color: #E8EDF5;
  box-shadow: var(--shadow-lg);
}

.panel-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}

.advantage-panel h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.tick-list { display: grid; gap: .7rem; }

.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .95rem;
  color: var(--ink-soft);
}

.advantage-panel--dark .tick-list li { color: #C7D2E1; }

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, .16);
}

/* ---------- Founder ---------- */
.founder { background: var(--canvas-deep); border-block: 1px solid var(--line); }

.founder-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}

.founder-quote blockquote {
  font-size: clamp(1.35rem, 2.9vw, 2rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.founder-byline {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.6rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
}

.founder-byline strong {
  display: block;
  font-size: .98rem;
}

.byline-sub {
  display: block;
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.founder-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-md);
}

.stat { text-align: left; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: .4rem;
}

.stat-label {
  display: block;
  font-size: .74rem;
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.faq-head { max-width: 30rem; }

.faq-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.12;
}

.faq-list { display: grid; gap: .75rem; align-content: start; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .22s ease, box-shadow .22s ease;
}

.faq-item.is-open {
  border-color: rgba(217, 119, 6, .4);
  box-shadow: var(--shadow-md);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.faq-mark {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-soft);
  transition: background-color .22s ease, transform .25s ease;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s ease; }

.faq-q[aria-expanded="true"] .faq-mark { transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-mark::after { opacity: 0; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.faq-a > p {
  overflow: hidden;
  padding-inline: 1.25rem;
  color: var(--ink-soft);
  font-size: .95rem;
}

.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

.faq-item.is-open .faq-a > p { padding-bottom: 1.25rem; }

/* ---------- Closing CTA ---------- */
.closing {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(90% 140% at 15% 0%, #1e2d47 0%, var(--ink) 60%);
  color: #EDF2F9;
}

.closing-inner {
  max-width: 44rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.closing h2 {
  font-size: clamp(1.95rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.closing p { color: #BFCBDB; max-width: 34rem; }

.closing .btn { margin-top: .6rem; }

/* ---------- Footer (clean, mirrors the header) ---------- */
.site-footer {
  background: rgba(248, 250, 252, .96);
  border-top: 1px solid var(--line);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: .85rem;
}

.brand--footer .brand-name { font-size: .95rem; }

.footer-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.footer-mail {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}

.footer-mail:hover {
  color: var(--ink);
  border-color: var(--gold);
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
  transition: transform .22s ease, background-color .22s ease;
}

.fab:hover { background: var(--green-deep); transform: scale(1.06); }

.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: fabPulse 2.6s ease-out infinite;
  z-index: -1;
}

@keyframes fabPulse {
  0% { transform: scale(1); opacity: .55; }
  70% { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ---------- Reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy .reveal:nth-child(1) { transition-delay: .05s; }
.hero-copy .reveal:nth-child(2) { transition-delay: .13s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .21s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .29s; }
.hero-copy .reveal:nth-child(5) { transition-delay: .37s; }
.hero-visual.reveal { transition-delay: .1s; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: span 2; }
  .hero-cta .btn { width: auto; }
  .founder-stats { gap: 1rem; }
}

@media (max-width: 899px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--canvas);
  }

  .site-nav.is-open { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    padding-block: .75rem 1.1rem;
    font-size: .95rem;
  }

  .nav-list a {
    display: block;
    padding: .55rem 0;
  }

  .hours-badge { display: none; }

  .header-actions .btn-wa--sm { display: none; }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.04fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .hero-copy { order: 2; }
  .hero-visual { order: 1; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:last-child { grid-column: auto; }

  .advantage-grid { grid-template-columns: 1fr 1fr; }

  .founder-inner { grid-template-columns: 1.15fr .85fr; }

  .faq-inner { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .faq-head { position: sticky; top: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}