/* ============================================================
   CHANDRA DIGITAL MEDIA — Booking Page
   Typography: Playfair Display (headings) + DM Sans (body)
   Palette: Midnight #0B0D12 · Cream #F9F6F1 · Copper #B5735A
============================================================ */

/* ─── VARIABLES ──────────────────────────────────────────── */
:root {
  /* Dark palette */
  --night:       #0B0D12;
  --night-card:  #13151C;
  --night-surf:  #1A1D26;
  --night-border:rgba(255,255,255,0.07);
  --night-bdr-h: rgba(255,255,255,0.13);

  /* Light palette (forms) */
  --cream:       #F9F6F1;
  --cream-card:  #F1ECE4;
  --cream-hover: #E8E2D8;
  --cream-border:#D8D2C8;
  --cream-bdr-h: #C5BEB2;

  /* Accent — warm copper / terracotta */
  --accent:      #B5735A;
  --accent-hover:#C8876D;
  --accent-dark: #9A5F47;
  --accent-glow: rgba(181,115,90,0.18);
  --accent-glow-s:rgba(181,115,90,0.30);

  /* Text on dark */
  --td:          #EAE4DA;
  --td-m:        rgba(234,228,218,0.52);
  --td-d:        rgba(234,228,218,0.26);
  --td-f:        rgba(234,228,218,0.10);

  /* Text on light */
  --tl:          #1E1E24;
  --tl-m:        #7A756D;
  --tl-d:        #ABA69E;

  /* Error */
  --err:         #C0524A;
  --err-glow:    rgba(192,82,74,0.12);

  /* Typography */
  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & shape */
  --r:      10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-pill: 100px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--night);
  color: var(--tl);
  line-height: 1.65;
  overflow: hidden;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img     { display: block; max-width: 100%; }
a       { color: inherit; text-decoration: none; }
button  { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-weight: 400; }
::selection { background: rgba(181,115,90,0.28); color: var(--tl); }

.hidden { display: none !important; }

/* ─── APP SHELL + PAGE TRANSITIONS ──────────────────────── */
.app-shell { position: fixed; inset: 0; overflow: hidden; }

.page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  will-change: transform, opacity;
}
.page.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Dark pages */
#page-hero,
#page-portfolio,
#page-thankyou { background: var(--night); color: var(--td); }

/* Light pages (forms) */
#page-step1,
#page-step2,
#page-step3,
#page-step4 { background: var(--cream); color: var(--tl); }

/* Scrollbar — dark pages */
#page-hero::-webkit-scrollbar,
#page-portfolio::-webkit-scrollbar,
#page-thankyou::-webkit-scrollbar { width: 3px; }
#page-hero::-webkit-scrollbar-thumb,
#page-portfolio::-webkit-scrollbar-thumb,
#page-thankyou::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* Scrollbar — light pages */
#page-step1::-webkit-scrollbar,
#page-step2::-webkit-scrollbar,
#page-step3::-webkit-scrollbar,
#page-step4::-webkit-scrollbar { width: 3px; }
#page-step1::-webkit-scrollbar-thumb,
#page-step2::-webkit-scrollbar-thumb,
#page-step3::-webkit-scrollbar-thumb,
#page-step4::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 4px; }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  transition: all 0.35s var(--ease);
}

/* Dark nav (hero, portfolio, thankyou) */
.nav--dark .nav-logo { color: var(--td); }
.nav--dark .btn-nav {
  color: var(--td);
  border-color: rgba(255,255,255,0.18);
}
.nav--dark .btn-nav:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}
.nav--dark.scrolled {
  background: rgba(11,13,18,0.92);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--night-border);
  padding: 14px 36px;
}

/* Light nav (form pages) */
.nav--light .nav-logo { color: var(--tl); }
.nav--light .btn-nav {
  color: var(--tl);
  border-color: rgba(30,30,36,0.15);
}
.nav--light .btn-nav:hover {
  background: rgba(30,30,36,0.05);
  border-color: rgba(30,30,36,0.25);
}
.nav--light.scrolled {
  background: rgba(249,246,241,0.92);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 36px;
}

.nav-logo {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0;
  transition: all 0.3s ease;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

/* Primary — warm copper on both dark and light */
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow-s);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost — adapts per context */
.btn-ghost {
  background: transparent;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 13.5px;
}

/* Ghost on light form pages */
#page-step1 .btn-ghost,
#page-step2 .btn-ghost,
#page-step3 .btn-ghost,
#page-step4 .btn-ghost {
  color: var(--tl-m);
  border: 1.5px solid var(--cream-border);
}
#page-step1 .btn-ghost:hover,
#page-step2 .btn-ghost:hover,
#page-step3 .btn-ghost:hover,
#page-step4 .btn-ghost:hover {
  color: var(--tl);
  border-color: var(--cream-bdr-h);
  background: rgba(0,0,0,0.02);
}

/* Nav button */
.btn-nav {
  background: transparent;
  padding: 9px 20px;
  font-size: 10px;
  letter-spacing: 0.14em;
  border: 1px solid;
  border-radius: var(--r-pill);
}

.btn-large {
  padding: 18px 48px;
  font-size: 12.5px;
  border-radius: 12px;
}
.btn-submit {
  width: 100%;
  padding: 18px 40px;
  font-size: 12.5px;
  border-radius: 12px;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 36px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 20% 75%, rgba(181,115,90,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 80% 25%, rgba(181,115,90,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 520px; height: 520px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.02);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 82px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--td);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.35s forwards;
}
.hero-sub {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--td-m);
  max-width: 400px;
  margin: 0 auto 80px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SERVICE CARDS ──────────────────────────────────────── */
.hero-services {
  z-index: 1; width: 100%; max-width: 860px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.65s forwards;
}
.hero-prompt {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--td-d);
  margin-bottom: 24px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.service-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--night-border);
  border-radius: var(--r-lg);
  padding: 24px 22px 22px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(181,115,90,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(181,115,90,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}
.service-card:hover::before { opacity: 1; }
.service-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sc-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(181,115,90,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  background: rgba(181,115,90,0.06);
}
.sc-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--td);
  margin-bottom: 6px;
  line-height: 1.25;
  position: relative;
}
.sc-desc {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--td-d);
  line-height: 1.6;
  letter-spacing: 0.01em;
  position: relative;
}

/* ─── PORTFOLIO PAGE (dark) ──────────────────────────────── */
.portfolio-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 110px 36px 80px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--td-m);
  cursor: pointer;
  margin-bottom: 48px;
  transition: color 0.25s ease;
  padding: 0;
}
.back-btn:hover { color: var(--accent); }

.portfolio-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 7px 18px;
  border: 1px solid rgba(181,115,90,0.25);
  border-radius: var(--r-pill);
  background: rgba(181,115,90,0.06);
}
.portfolio-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.8vw, 50px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--td);
  margin-bottom: 20px;
}
.portfolio-desc {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--td-m);
  max-width: 500px;
  margin-bottom: 28px;
}
.portfolio-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--night-border);
  border-radius: var(--r-pill);
  padding: 7px 18px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--td-m);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 64px;
}
.p-item {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--night-card);
  aspect-ratio: 4/3;
  transition: transform 0.5s var(--ease);
}
.p-item:hover { transform: scale(1.015); }
.p-item--wide { grid-column: span 2; aspect-ratio: 21/9; }
.p-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
}
.p-placeholder svg { width: 30px; height: 30px; opacity: 0.07; color: #fff; }
.p-placeholder-label {
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--td-f);
}
.p-photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.p-item:hover .p-photo { transform: scale(1.05); }

/* Portfolio CTA */
.portfolio-cta {
  text-align: center;
  padding: 48px 0 0;
  border-top: 1px solid var(--night-border);
}
.portfolio-cta-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--td-m);
  margin-bottom: 24px;
}

/* CTA button on dark pages */
#page-portfolio .btn-primary,
#page-hero .btn-primary {
  background: var(--accent);
  color: #fff;
}

/* ─── FORM PAGES (light cream background) ────────────────── */

/* Progress bar */
.step-bar {
  position: sticky;
  top: 0; z-index: 10;
  height: 2px;
  background: rgba(0,0,0,0.06);
}
.step-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-hover));
  transition: width 0.7s var(--ease);
}

/* Form inner */
.form-page-inner {
  max-width: 520px;
  margin: 0 auto;
  min-height: calc(100vh - 2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 64px;
}

/* Step eyebrow */
.step-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* Step typography */
.step-header { margin-bottom: 40px; }
.step-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5.5vw, 48px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--tl);
  margin-bottom: 12px;
}
.step-desc {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--tl-m);
}

/* ─── FORM FIELDS (on cream bg) ──────────────────────────── */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tl-m);
}
.req { color: var(--accent); }
.hint {
  font-weight: 400; color: var(--tl-d);
  font-size: 10.5px; text-transform: none; letter-spacing: 0;
}

.field-input {
  padding: 14px 16px;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--tl);
  background: var(--cream-card);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}
.field-input:hover {
  border-color: var(--cream-bdr-h);
  background: var(--cream-hover);
}
.field-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #fff;
}
.field-input::placeholder { color: var(--tl-d); font-weight: 400; }
.field-input.invalid {
  border-color: var(--err);
  box-shadow: 0 0 0 3px var(--err-glow);
}

.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B5735A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.field-textarea { resize: vertical; min-height: 100px; line-height: 1.7; }
.field-error {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--err);
  margin-top: 2px;
}

/* ─── RADIO & CHECKBOX PILLS (on cream) ──────────────────── */
.radio-group, .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.radio-option, .checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--tl-m);
  cursor: pointer;
  padding: 11px 20px;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--r-pill);
  transition: all 0.25s ease;
  line-height: 1.3;
  white-space: nowrap;
  background: var(--cream-card);
}
.radio-option:hover, .checkbox-option:hover {
  border-color: var(--cream-bdr-h);
  color: var(--tl);
  background: var(--cream-hover);
}
.radio-option input, .checkbox-option input { display: none; }
.radio-option.selected, .checkbox-option.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 500;
}

/* ─── STEP ACTIONS ───────────────────────────────────────── */
.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
}

/* ─── THANK YOU PAGE (dark) ──────────────────────────────── */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 36px 64px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.thankyou-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 26px; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 10px 36px var(--accent-glow-s);
  animation: popIn 0.5s var(--ease) forwards;
}
@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.thankyou-title {
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 62px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--td);
  margin-bottom: 18px;
}
.thankyou-sub {
  font-family: var(--sans);
  font-size: 15px; font-weight: 400;
  line-height: 1.8;
  color: var(--td-m);
  margin-bottom: 48px;
}
.thankyou-steps {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--night-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  margin-bottom: 40px;
  text-align: left;
  width: 100%;
}
.thankyou-steps h3 {
  font-family: var(--serif);
  font-size: 24px; font-weight: 400;
  font-style: italic;
  color: var(--td);
  margin-bottom: 24px;
}
.next-step-list { display: flex; flex-direction: column; gap: 22px; }
.next-step-item { display: flex; gap: 18px; align-items: flex-start; }
.next-num {
  font-family: var(--sans);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  min-width: 22px; padding-top: 3px;
}
.next-step-item strong {
  display: block;
  font-family: var(--sans);
  font-size: 13.5px; font-weight: 500;
  color: var(--td); margin-bottom: 4px;
}
.next-step-item p {
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 400;
  color: var(--td-d); line-height: 1.65;
}
.thankyou-social {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  margin-bottom: 40px;
}
.thankyou-social p {
  font-family: var(--sans);
  font-size: 13px; font-weight: 400;
  color: var(--td-d);
}
.btn-outline-thankyou {
  border: 1px solid rgba(181,115,90,0.3);
  color: var(--accent);
  background: transparent;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  text-transform: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}
.btn-outline-thankyou:hover {
  background: rgba(181,115,90,0.1);
  border-color: var(--accent);
}
.footer-copy {
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--td-f);
}

/* ─── RESPONSIVE — 600px+ ────────────────────────────────── */
@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── RESPONSIVE — 800px+ ────────────────────────────────── */
@media (min-width: 800px) {
  .hero { padding: 130px 48px 80px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sc-name { font-size: 19px; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .p-item--wide { grid-column: span 2; aspect-ratio: 16/7; }
}

/* ─── RESPONSIVE — small mobile ─────────────────────────── */
@media (max-width: 480px) {
  .nav { padding: 18px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-logo { font-size: 9px; letter-spacing: 0.18em; }
  .hero { padding: 100px 24px 56px; }
  .hero-sub { font-size: 13.5px; margin-bottom: 56px; }
  .services-grid { gap: 8px; }
  .service-card { padding: 22px 14px 18px; }
  .sc-icon { font-size: 20px; margin-bottom: 10px; }
  .sc-name { font-size: 15px; }
  .sc-desc { font-size: 10px; }
  .fields-row { grid-template-columns: 1fr; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
  .form-page-inner { padding: 80px 22px 48px; }
  .portfolio-page { padding: 90px 22px 64px; }
  .radio-option, .checkbox-option { font-size: 12px; padding: 10px 14px; }
  .thankyou-page { padding: 80px 22px 48px; }
}
