/* ============================================================
   Aima Eman — Clinical Psychologist & Therapist
   Theme: Calm Teal & Gold
   ============================================================ */

:root {
  /* palette */
  --bg-0:        #06141b;
  --bg-1:        #0b1f2a;
  --bg-2:        #103039;
  --bg-soft:     #0e2630;
  --teal:        #2dd4bf;
  --teal-deep:   #0d9488;
  --teal-soft:   #5eead4;
  --gold:        #e6c068;
  --gold-deep:   #c9a14a;
  --gold-soft:   #f3dca0;
  --ink:         #e7f3f1;
  --ink-soft:    #a9c6c2;
  --ink-mute:    #7a9794;
  --line:        rgba(45, 212, 191, 0.14);
  --line-strong: rgba(45, 212, 191, 0.28);
  --glass:       rgba(14, 38, 48, 0.55);
  --glass-2:     rgba(11, 31, 42, 0.72);
  --shadow:      0 30px 80px -30px rgba(0,0,0,0.7);
  --shadow-soft: 0 20px 50px -25px rgba(0,0,0,0.6);

  /* type */
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Outfit', system-ui, -apple-system, sans-serif;

  /* layout */
  --maxw: 1200px;
  --pad:   clamp(20px, 5vw, 80px);
  --radius: 22px;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* layered background */
body {
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(45,212,191,0.10), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(230,192,104,0.07), transparent 60%),
    radial-gradient(1000px 900px at 50% 120%, rgba(13,148,136,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-0));
  background-attachment: fixed;
}

::selection { background: var(--teal); color: var(--bg-0); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.gold { color: var(--gold); }

/* ============ 3D CANVAS ============ */
#scene3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg-0);
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--teal);
  animation: spin 1.4s linear infinite;
}
.loader-ring--2 { inset: 24px; border-top-color: var(--gold); animation-duration: 1.8s; animation-direction: reverse; }
.loader-ring--3 { inset: 48px; border-top-color: var(--teal-soft); animation-duration: 2.2s; }
.loader-text {
  font-family: var(--f-display); font-size: 1.6rem; letter-spacing: 0.04em;
  color: var(--ink); z-index: 2;
}
.loader-sub { position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%); font-size: 0.78rem; color: var(--ink-mute); white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--glass-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px var(--pad);
  border-bottom-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; }
.nav-brand-mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--teal-soft), var(--teal-deep));
  box-shadow: 0 0 18px var(--teal);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 0.86rem; font-weight: 400; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: 0.3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--bg-0); font-weight: 600;
  box-shadow: 0 14px 40px -12px rgba(45,212,191,0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -12px rgba(45,212,191,0.7); }
.btn-ghost {
  border: 1px solid var(--line-strong); color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold); }
.btn-soft {
  background: rgba(230,192,104,0.12); color: var(--gold);
  border: 1px solid rgba(230,192,104,0.3);
}
.btn-soft:hover { background: rgba(230,192,104,0.2); transform: translateY(-3px); }

/* ============ HERO ============ */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px var(--pad) 80px;
}
.hero-content { max-width: 760px; }
.hero-eyebrow {
  font-size: 0.82rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--teal-soft); margin-bottom: 22px; font-weight: 500;
}
.hero-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: 0.95;
  letter-spacing: -0.01em; margin-bottom: 18px;
}
.hero-roles {
  font-size: clamp(0.9rem, 2vw, 1.1rem); color: var(--ink-soft);
  margin-bottom: 26px; font-weight: 400;
}
.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.25rem); color: var(--ink-soft);
  max-width: 560px; margin-bottom: 38px; font-weight: 300;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: clamp(24px, 5vw, 56px); flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num {
  font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600; color: var(--gold); line-height: 1;
}
.hero-stat .lbl { font-size: 0.78rem; color: var(--ink-mute); margin-top: 6px; letter-spacing: 0.04em; }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-mute); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-scroll span {
  width: 22px; height: 36px; border: 1px solid var(--line-strong); border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; border-radius: 2px; background: var(--teal);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 70% { opacity: 1; transform: translate(-50%, 12px); } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ============ SECTIONS ============ */
.section {
  position: relative; z-index: 2;
  padding: clamp(80px, 12vw, 140px) var(--pad);
  max-width: var(--maxw); margin: 0 auto;
}
.section--alt {
  max-width: none;
  background:
    linear-gradient(180deg, transparent, rgba(13,148,136,0.04) 30%, rgba(13,148,136,0.04) 70%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: clamp(40px, 6vw, 70px); max-width: 720px; }
.section-kicker {
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--teal-soft); margin-bottom: 16px; font-weight: 500;
}
.section-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.01em;
}
.section-sub { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; max-width: 640px; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.about-portrait { display: grid; place-items: center; }
.portrait-frame {
  position: relative; width: clamp(220px, 30vw, 320px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.portrait-orb {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(94,234,212,0.5), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(230,192,104,0.35), transparent 55%),
    linear-gradient(135deg, var(--teal-deep), var(--bg-2));
  box-shadow: 0 0 80px -10px rgba(45,212,191,0.5), inset 0 0 60px rgba(0,0,0,0.4);
  animation: orbfloat 8s ease-in-out infinite;
}
.portrait-ring {
  position: absolute; inset: -18px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  animation: ringspin 22s linear infinite;
}
.portrait-ring::before {
  content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}
.portrait-initial {
  position: relative; z-index: 2;
  font-family: var(--f-display); font-size: clamp(3rem, 8vw, 5rem); font-weight: 600;
  color: var(--ink); letter-spacing: 0.04em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
@keyframes orbfloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-14px) scale(1.03); } }
@keyframes ringspin { to { transform: rotate(360deg); } }

.about-text p { margin-bottom: 20px; color: var(--ink-soft); font-size: 1.05rem; }
.about-text strong { color: var(--ink); font-weight: 500; }

/* ============ QUALIFICATIONS ============ */
.qual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.qual-card {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.qual-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(45,212,191,0.12), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.qual-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.qual-card:hover::before { opacity: 1; }
.qual-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 22px;
  font-family: var(--f-display); font-size: 1.1rem; font-weight: 600;
  background: linear-gradient(135deg, rgba(45,212,191,0.18), rgba(230,192,104,0.12));
  border: 1px solid var(--line-strong); color: var(--teal-soft);
}
.qual-card h3 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; }
.qual-card p { color: var(--ink-mute); font-size: 0.92rem; }

/* ============ EXPERIENCE TABS ============ */
.exp-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.exp-tab {
  padding: 12px 24px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--ink-soft);
  font-size: 0.88rem; font-weight: 500; transition: all 0.35s var(--ease);
}
.exp-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.exp-tab.active {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--bg-0); border-color: transparent; font-weight: 600;
}
.exp-panel { display: none; }
.exp-panel.active { display: block; }
.exp-panel-inner {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 48px);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.exp-lead { font-size: 1.1rem; color: var(--ink); margin-bottom: 26px; font-weight: 400; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.chip {
  padding: 10px 18px; border-radius: 100px;
  background: rgba(45,212,191,0.08); border: 1px solid var(--line);
  font-size: 0.86rem; color: var(--ink-soft); transition: 0.3s;
}
.chip:hover { background: rgba(45,212,191,0.16); color: var(--ink); border-color: var(--line-strong); transform: translateY(-2px); }
.exp-note { color: var(--ink-mute); font-size: 0.95rem; font-style: italic; border-left: 2px solid var(--gold); padding-left: 16px; }

/* ============ SERVICES ============ */
.services-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
.service-col {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 44px);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.service-col:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.service-col-head { margin-bottom: 26px; }
.service-badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  background: rgba(45,212,191,0.14); color: var(--teal-soft); border: 1px solid var(--line-strong);
  margin-bottom: 16px;
}
.service-badge--gold { background: rgba(230,192,104,0.14); color: var(--gold); border-color: rgba(230,192,104,0.3); }
.service-col-head h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; }
.service-list { list-style: none; display: grid; gap: 12px; }
.service-list li {
  position: relative; padding-left: 26px; color: var(--ink-soft);
  font-size: 0.98rem; transition: color 0.3s, transform 0.3s;
}
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 0 10px rgba(45,212,191,0.5);
}
.service-list li:hover { color: var(--ink); transform: translateX(4px); }

/* Assessments */
.assess {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 44px);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.assess-head { margin-bottom: 28px; }
.assess-head h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.assess-head p { color: var(--ink-soft); }
.assess-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 22px; }
.assess-item {
  padding: 18px 22px; border-radius: 16px;
  background: rgba(11,31,42,0.5); border: 1px solid var(--line);
  font-size: 0.95rem; color: var(--ink); font-weight: 400;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.assess-item:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(230,192,104,0.08); }
.assess-note { color: var(--ink-mute); font-size: 0.9rem; font-style: italic; }

/* ============ APPROACH ============ */
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.approach-card {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 30px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.approach-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.approach-num {
  font-family: var(--f-display); font-size: 2.6rem; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 18px; line-height: 1;
}
.approach-card h3 { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.approach-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ============ BOOKING FORM ============ */
.booking-form {
  max-width: 820px; margin: 0 auto;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 48px);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 8px; letter-spacing: 0.04em; font-weight: 500; }
.field input, .field select, .field textarea {
  background: rgba(6,20,27,0.6); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; color: var(--ink);
  font-family: var(--f-body); font-size: 0.95rem; font-weight: 300;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,212,191,0.15); background: rgba(6,20,27,0.8);
}
.field select { cursor: pointer; appearance: none; -webkit-appearance: none;
  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 fill='%23a9c6c2' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.form-hint { margin-top: 18px; font-size: 0.9rem; min-height: 22px; color: var(--ink-mute); transition: color 0.3s; }
.form-hint.ok { color: var(--teal-soft); }
.form-hint.err { color: #ff8a8a; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.contact-card {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-soft); }
.contact-ico {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem; color: var(--teal-soft);
  background: linear-gradient(135deg, rgba(45,212,191,0.18), rgba(230,192,104,0.12));
  border: 1px solid var(--line-strong); margin-bottom: 8px;
}
.contact-lbl { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.contact-val { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); }

/* ============ FOOTER ============ */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  padding: 60px var(--pad) 40px;
  background: rgba(6,20,27,0.6); backdrop-filter: blur(12px);
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.footer-brand { flex: 1; min-width: 240px; }
.footer-brand .gold { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; }
.footer-brand p { color: var(--ink-mute); font-size: 0.86rem; margin-top: 6px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-soft); font-size: 0.88rem; transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { width: 100%; text-align: center; color: var(--ink-mute); font-size: 0.8rem; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-dev { width: 100%; text-align: center; color: var(--ink-mute); font-size: 0.8rem; margin-top: 10px; }
.footer-dev a { color: var(--ink-soft); font-weight: 500; transition: color 0.3s; border-bottom: 1px solid transparent; }
.footer-dev a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ============ 3D TILT CARDS ============ */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 80vw); padding: 100px 36px 40px;
    background: var(--glass-2); backdrop-filter: blur(20px);
    flex-direction: column; gap: 8px;
    transform: translateX(100%); transition: transform 0.5s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; z-index: 110; }
  .about-grid { grid-template-columns: 1fr; }
  .services-cols { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { justify-content: center; }
  .hero-stats { gap: 24px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
