/* =========================================================
   Sigma Tutoring — stylesheet
   Palette: warm cream base, orange + golden yellow primary,
   deep plum for text, cyan as a delight pop (sparingly).
   ========================================================= */

:root {
  /* core palette */
  --cream: #FEF9EF;
  --cream-2: #FDF4EF;
  --cream-3: #FAEEDF;
  --orange: #EB8F48;
  --orange-deep: #BD7238;
  --orange-soft: #F5C3A1;
  --yellow: #F5CD6A;
  --yellow-soft: #FCE8B5;
  --plum: #3A2044;
  --plum-2: #643B73;
  --plum-soft: #E6D5ED;
  --cyan: #44DDF1;
  --cyan-soft: #CCF7FD;

  --ink: #2B2109;
  --ink-2: #5D3617;
  --muted: #7B642A;
  --line: rgba(58, 32, 68, 0.12);
  --line-strong: rgba(58, 32, 68, 0.22);

  /* type */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* radii / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(58, 32, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(58, 32, 68, 0.08);
  --shadow-lg: 0 18px 48px rgba(58, 32, 68, 0.12);
  --shadow-pop: 0 12px 32px rgba(235, 143, 72, 0.28);

  /* layout */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--plum);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--orange-deep); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--plum);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 100;
}
.skip-link:focus { left: 12px; }

::selection { background: var(--yellow); color: var(--plum); }

/* ---------- shared eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: rgba(245, 205, 106, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--center { margin-left: auto; margin-right: auto; }
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(235, 143, 72, 0.6);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(235, 143, 72, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(235, 143, 72, 0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease, color 200ms ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.btn--primary {
  background: var(--orange);
  color: var(--cream);
  box-shadow: var(--shadow-pop);
}
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(235, 143, 72, 0.34);
}
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--plum);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--plum);
  color: var(--cream);
  border-color: var(--plum);
  transform: translateY(-2px);
}
.btn--block { width: 100%; }
.btn__loading { display: none; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn.is-loading .btn__label { opacity: 0.5; }
.btn.is-loading .btn__loading { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 249, 239, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav__brand:hover .nav__logo { transform: rotate(-8deg) scale(1.05); }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--plum); }
.nav__brand-tag { font-size: 0.78rem; color: var(--muted); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__links a {
  text-decoration: none;
  color: var(--plum);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.nav__links a:hover { background: var(--cream-3); }
.nav__cta {
  background: var(--plum) !important;
  color: var(--cream) !important;
  padding: 10px 20px !important;
  margin-left: 8px;
}
.nav__cta:hover {
  background: var(--orange) !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.nav__mobile a {
  text-decoration: none;
  color: var(--plum);
  font-weight: 500;
  padding: 12px 14px;
  border-radius: var(--r-sm);
}
.nav__mobile a:hover { background: var(--cream-3); }
.nav__mobile .nav__cta {
  margin-top: 8px;
  text-align: center;
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile[data-open="true"] { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(245, 205, 106, 0.4), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 50%, rgba(235, 143, 72, 0.18), transparent 65%),
    var(--cream);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__sigma {
  position: absolute;
  font-family: var(--display);
  font-weight: 600;
  color: var(--orange);
  opacity: 0.06;
  user-select: none;
}
.hero__sigma--1 { font-size: 22rem; top: -40px; left: -40px; transform: rotate(-12deg); }
.hero__sigma--2 { font-size: 14rem; bottom: -60px; right: 10%; color: var(--yellow); opacity: 0.08; transform: rotate(8deg); }
.hero__sigma--3 { font-size: 9rem; top: 30%; right: -20px; color: var(--plum-2); opacity: 0.05; }

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__title {
  margin: 0 0 18px;
}
.hero__sub {
  font-size: 1.18rem;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero__trust {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  flex-wrap: wrap;
}
.hero__trust li {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.hero__trust strong {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--plum);
}
.hero__trust span {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* hero art column */
.hero__art {
  position: relative;
  min-height: 460px;
}
.hero__logo-wrap {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 30vw, 320px);
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  z-index: 1;
  overflow: hidden;
}
.hero__logo {
  width: 75%;
  height: 75%;
  object-fit: contain;
  transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: float 6s ease-in-out infinite;
}
.hero__logo-wrap:hover .hero__logo { transform: rotate(8deg) scale(1.04); }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.hero__card {
  position: absolute;
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 1px solid var(--line);
  max-width: 240px;
}
.hero__card--score {
  top: 8%;
  right: 0;
  animation: bobA 7s ease-in-out infinite;
}
.hero__card--quote {
  bottom: 8%;
  left: 0;
  max-width: 270px;
  animation: bobB 8s ease-in-out infinite;
}
@keyframes bobA {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes bobB {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 8px; }
}

.hero__card-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hero__card-bigrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
  color: var(--orange-deep);
}
.hero__card-was {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(123, 100, 42, 0.5);
}
.hero__card-now {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--plum);
}
.hero__card-foot {
  font-size: 0.85rem;
  color: var(--muted);
}
.hero__card--quote p {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--plum);
  margin: 0 0 8px;
  line-height: 1.35;
}
.hero__card--quote span {
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { min-height: 360px; max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ---------- sections ---------- */
.section {
  padding: clamp(70px, 9vw, 120px) 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.section__head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}
.section__head .eyebrow { display: inline-flex; }
.section__lede {
  font-size: 1.12rem;
  color: var(--ink-2);
}

/* ---------- steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  position: relative;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-soft);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(235, 143, 72, 0.3);
}
.step:nth-child(2) .step__num { background: var(--yellow); color: var(--plum); box-shadow: 0 6px 16px rgba(245, 205, 106, 0.45); }
.step:nth-child(3) .step__num { background: var(--plum); box-shadow: 0 6px 16px rgba(58, 32, 68, 0.28); }
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-2); }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-soft);
}
.card--featured {
  background: linear-gradient(180deg, #FFF7E6, var(--cream));
  border-color: rgba(235, 143, 72, 0.35);
  box-shadow: var(--shadow-md);
}
.card--featured:hover { box-shadow: var(--shadow-lg); }
.card__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--plum);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.card__head h3 { margin-bottom: 8px; }
.card__desc { color: var(--ink-2); margin-bottom: 18px; }
.card__prices {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 22px;
}
.card__price { display: flex; flex-direction: column; }
.card__price-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--plum);
  line-height: 1;
}
.card__price-unit {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}
.card__list {
  margin: 0 0 24px;
  flex: 1;
}
.card__list li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(45deg, transparent 45%, var(--orange) 45%, var(--orange) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--orange) 45%, var(--orange) 55%, transparent 55%);
  border-radius: 50%;
  background-color: rgba(235, 143, 72, 0.15);
}
.card__list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  background: rgba(235, 143, 72, 0.18);
  color: var(--orange-deep);
  font-size: 0.7rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  top: 11px;
}
.card .btn { margin-top: auto; }
.services__note {
  text-align: center;
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.about__copy h2 { margin-bottom: 18px; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--plum);
  line-height: 1;
  display: inline-block;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}
.about__card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 92px;
}
.about__card h3 { margin-bottom: 18px; }
.about__card dl { margin: 0; }
.about__card dl > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.about__card dl > div:last-child { border-bottom: 0; }
.about__card dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.about__card dd { margin: 0; color: var(--plum); font-weight: 500; }

@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .about__card { position: static; }
}

/* ---------- quotes / testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.quote {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.quote__body {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--plum);
  line-height: 1.45;
  margin-bottom: 18px;
}
.quote__by {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote__by strong { color: var(--plum); }
.quote__by span { color: var(--muted); font-size: 0.88rem; }
.quote--soon {
  background: linear-gradient(180deg, var(--yellow-soft), var(--cream));
  border: 1px dashed var(--orange-soft);
  text-align: center;
}
.quote--soon .quote__body { font-size: 1rem; color: var(--ink-2); font-family: var(--body); }
.quote__cta {
  display: inline-block;
  color: var(--orange-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--orange-soft);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.quote__cta:hover { color: var(--plum); border-color: var(--plum); }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.faq details[open] {
  border-color: var(--orange-soft);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--plum);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  transition: transform 220ms ease;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: "−";
  transform: rotate(0);
}
.faq summary:hover { background: var(--cream-3); }
.faq details > p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--ink-2);
}

/* ---------- contact ---------- */
.section--contact {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(68, 221, 241, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(245, 205, 106, 0.25), transparent 60%),
    var(--cream);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
  position: relative;
}
.contact__copy h2 { margin-bottom: 18px; }
.contact__direct {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__direct li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact__direct-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.contact__direct a, .contact__direct span:not(.contact__direct-label) {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--plum);
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms ease;
}
.contact__direct a:hover { color: var(--orange-deep); }

.contact__form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--plum);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.field__opt { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--plum);
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  width: 100%;
  font-family: var(--body);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--cream);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(235, 143, 72, 0.18);
}
.field--error input,
.field--error select,
.field--error textarea {
  border-color: #c0392b;
  background: #fff5f4;
}
.contact__form .btn { grid-column: 1 / -1; margin-top: 6px; }
.contact__form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--orange-deep);
  min-height: 1em;
  text-align: center;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact__success {
  grid-column: 1 / -1;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
  color: var(--plum);
  animation: pop 480ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact__success-check {
  color: var(--orange);
  margin-bottom: 16px;
  display: inline-block;
}
.contact__success-check svg circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw-circle 600ms ease forwards; }
.contact__success-check svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-check 400ms 500ms ease forwards; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
@keyframes pop {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}
.contact__success h3 { margin-bottom: 8px; }
.contact__success a { color: var(--orange-deep); }

@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--plum);
  color: rgba(254, 249, 239, 0.78);
  padding: 44px 0;
  font-size: 0.95rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cream);
  padding: 4px;
}
.footer__brand strong {
  display: block;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}
.footer__brand span { font-size: 0.88rem; }
.footer__links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.footer__links a {
  text-decoration: none;
  color: rgba(254, 249, 239, 0.78);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color 160ms ease, background 160ms ease;
}
.footer__links a:hover {
  color: var(--cream);
  background: rgba(254, 249, 239, 0.08);
}
.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.85rem;
}
@media (max-width: 720px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__meta { align-items: flex-start; }
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__logo, .hero__card--score, .hero__card--quote { animation: none; }
}
