/* ============================================================
   NISSRINE BELBADAOUI — PORTFOLIO · STYLE.CSS
   Black & White · Minimalist · Professional
============================================================ */

/* ── 1. VARIABLES ────────────────────────────────────────── */
:root {
  --black:    #0a0a0a;
  --white:    #ffffff;
  --gray-50:  #fafafa;
  --gray-100: #f4f4f4;
  --gray-200: #e8e8e8;
  --gray-300: #d1d1d1;
  --gray-400: #a8a8a8;
  --gray-500: #888888;
  --gray-600: #666666;
  --gray-700: #444444;
  --gray-800: #2a2a2a;

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

  --nav-h: 76px;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --t:     0.3s;
  --t-slow: 0.65s;

  --max-w: 1200px;
  --px:    clamp(1.25rem, 4vw, 2.5rem);
}

/* ── 2. RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 3. UTILITIES ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section-pad { padding: clamp(4rem, 10vw, 7rem) 0; }

.bg-light { background: var(--gray-100); }
.bg-dark  { background: var(--black); }

.tag-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.9rem;
}
.tag-label::before {
  content: '';
  display: inline-block;
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.tag-label.light { color: rgba(255,255,255,0.38); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--black);
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gray-600);
}
.section-title.light, .section-title.light em { color: var(--white); }

.section-header.centered { text-align: center; max-width: 560px; margin: 0 auto 4rem; }
.section-header.centered .tag-label { justify-content: center; }

.section-intro {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ── 4. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: background var(--t) var(--ease),
              color     var(--t) var(--ease),
              border-color var(--t) var(--ease);
  white-space: nowrap;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: transparent;
  color: var(--black);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-white-sm {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
  padding: 0.6rem 1.25rem;
  letter-spacing: 0.04em;
  transition: opacity var(--t);
}
.btn-white-sm:hover { opacity: 0.8; }

.btn-full { width: 100%; justify-content: center; }

/* ── 5. SCROLL ANIMATIONS ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease);
}
.fade-up.in-view { opacity: 1; transform: none; }

/* ── 6. NAVIGATION ───────────────────────────────────────── */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background var(--t) var(--ease),
              box-shadow  var(--t) var(--ease);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  gap: 0;
}
.logo-first {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--t);
}
.logo-last {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  transition: color var(--t);
}
#navbar.scrolled .logo-first,
#navbar.scrolled .logo-last { color: var(--black); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--t) var(--ease);
}
.nav-links a:hover::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--black); }

.btn-nav {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 0.5rem 1.4rem;
  font-weight: 500;
  border-radius: 0;
  transition: background var(--t), border-color var(--t), color var(--t) !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
}
#navbar.scrolled .btn-nav {
  background: var(--black) !important;
  color: var(--white) !important;
  border-color: var(--black) !important;
}
#navbar.scrolled .btn-nav:hover {
  background: transparent !important;
  color: var(--black) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--t) var(--ease), opacity var(--t);
}
#navbar.scrolled .hamburger span { background: var(--black); }

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

/* ── 7. HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

/* Text side */
.hero-text-panel {
  background: var(--black);
  display: flex;
  align-items: center;
  padding: var(--nav-h) var(--px) 4rem calc(var(--px) + max(0px, calc((100vw - var(--max-w)) / 2)));
  position: relative;
  z-index: 2;
}
.hero-text-inner { max-width: 520px; }

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: 1.0;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 380px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3.5rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.badge { display: flex; flex-direction: column; }
.badge-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.badge-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
  margin-top: 0.2rem;
}
.badge-sep {
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.1);
}

/* ── Image side ── */
.hero-image-panel {
  position: relative;
  overflow: hidden;
  /*
   * Rich layered background:
   * 1. Deep warm-charcoal corner vignette (outermost)
   * 2. Mid warm-taupe transition
   * 3. Luminous warm-ivory center spotlight where she stands
   */
  background:
    radial-gradient(ellipse 55%  60%  at 58% 45%,
      #f5f0e8 0%,          /* bright ivory center */
      #e2d8cc 30%,         /* warm linen */
      #c4b8a8 58%,         /* taupe mid-tone */
      #8c7d6e 82%,         /* deep warm brown */
      #3d3028 100%);       /* near-black charcoal edge */
}

/* Glowing halo ring behind the figure */
.hero-image-panel::before {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -52%);
  border-radius: 50%;
  /* Frosted luminous disc — brighter centre, fades out */
  background: radial-gradient(
    circle at 42% 38%,
    rgba(255,252,245,0.72) 0%,
    rgba(245,240,230,0.35) 42%,
    transparent 72%
  );
  border: 1px solid rgba(255,255,255,0.22);
  z-index: 1;
  pointer-events: none;
}

/* Top-right corner accent lines */
.hero-image-panel::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 64px;
  height: 64px;
  border-top: 1px solid rgba(255,255,255,0.35);
  border-right: 1px solid rgba(255,255,255,0.35);
  z-index: 5;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 48px rgba(40,28,18,0.38))
          drop-shadow(0  3px 10px rgba(40,28,18,0.18));
}

/* Layered overlay: seam blend + corner darkening */
.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    /* Left seam — smooth merge into black text panel */
    linear-gradient(to right,
      rgba(10,10,10,0.97)  0%,
      rgba(10,10,10,0.60)  7%,
      rgba(10,10,10,0.18) 17%,
      rgba(10,10,10,0.0)  26%),
    /* Top darkening */
    linear-gradient(to bottom,
      rgba(25,18,10,0.45) 0%,
      transparent         22%),
    /* Right-edge deep vignette */
    linear-gradient(to left,
      rgba(30,20,12,0.55) 0%,
      transparent         32%),
    /* Bottom vignette — label backdrop */
    linear-gradient(to top,
      rgba(35,24,14,0.72) 0%,
      transparent         35%);
}

.hero-image-label {
  position: absolute;
  bottom: 2.5rem;
  left: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 5;
  /* Small frosted pill behind the label */
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255,255,255,0.28);
}
.hero-image-label span {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #2a2018;
}
.hero-image-sublabel {
  font-family: var(--sans) !important;
  font-size: 0.67rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42,32,24,0.62) !important;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 5;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── 8. ABOUT ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

/* Visual / image side */
.about-visual { position: relative; padding-top: 1rem; }

.about-img-wrap {
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  background: var(--gray-100);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-img {
  width: 90%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: transform 0.5s var(--ease);
}
.about-img-wrap:hover .about-img { transform: scale(1.03); }

.about-quote-card {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 2rem 2rem 2rem 2.5rem;
  margin-top: -3rem;
  margin-right: -1.5rem;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.6;
  color: rgba(255,255,255,0.15);
  margin-bottom: 0.75rem;
}
.about-quote-card blockquote {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
}

/* Content side */
.about-content { padding-top: 1rem; }

.about-lead {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-800);
  margin: 1.25rem 0 1.2rem;
}

.about-body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 0.9rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.pillar-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  margin-top: 2px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.pillar p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── 9. SERVICES ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--gray-300);
  border: 1.5px solid var(--gray-300);
}

.svc-card {
  background: var(--white);
  padding: 2.5rem 2.25rem;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-card:hover { background: var(--black); color: var(--white); }

.svc-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--black);
  transition: color var(--t);
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-icon { color: var(--white); }

.svc-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.9rem;
}
.svc-card p {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--gray-500);
  transition: color var(--t);
}
.svc-card:hover p { color: rgba(255,255,255,0.65); }

/* ── 10. ONLINE SESSIONS ─────────────────────────────────── */
.online-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.online-left { padding-top: 0.5rem; }

.online-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin: 1.25rem 0 2.5rem;
  max-width: 480px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.75rem;
}
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3.5rem;
}
.step-body h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.3rem;
}
.step-body p {
  font-size: 0.83rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Features grid */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--gray-200);
  border: 1.5px solid var(--gray-200);
  margin-bottom: 1.5px;
}
.feat-card {
  background: var(--gray-100);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background var(--t);
}
.feat-card:hover { background: var(--white); }

.feat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.35rem;
}
.feat-card p {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.online-cta-card {
  background: var(--black);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.online-cta-card p {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

/* ── 11. TESTIMONIALS ────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(255,255,255,0.08);
}

.testi-card {
  background: var(--black);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background var(--t);
}
.testi-card:hover { background: #111; }
.testi-featured { background: #141414; }

.testi-stars {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.testi-card blockquote {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
  flex: 1;
  margin-bottom: 2rem;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}
.testi-footer cite {
  display: block;
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}
.testi-footer span {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.35);
}

/* ── 12. CONTACT ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.contact-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin: 1.25rem 0 2.5rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}
.contact-icon svg { width: 16px; height: 16px; }
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.15rem;
}
.contact-item span,
.contact-email-link {
  font-size: 0.87rem;
  color: var(--black);
}
.contact-email-link {
  text-decoration: none;
  border-bottom: 1px solid var(--gray-300);
  transition: border-color var(--t), color var(--t);
}
.contact-email-link:hover {
  color: var(--gray-700);
  border-bottom-color: var(--gray-700);
}

.contact-social {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.social-link:hover {
  border-color: var(--black);
  color: var(--white);
  background: var(--black);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.form-group label span { color: var(--gray-400); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.1rem;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--black);
  outline: none;
  transition: border-color var(--t), background var(--t);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--black);
  background: var(--white);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { color: var(--black); }

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

#submitBtn {
  font-size: 0.8rem;
  margin-top: 0.25rem;
  position: relative;
  overflow: hidden;
}
.btn-arrow { transition: transform var(--t); }
#submitBtn:hover .btn-arrow { transform: translateX(4px); }

.form-note {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-align: center;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--gray-100);
  border-left: 3px solid var(--black);
  font-size: 0.875rem;
  color: var(--gray-700);
}
.form-success[hidden] { display: none; }

/* ── 13. FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--white);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}
.footer-nav a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--white); }

.footer-social-wrap { display: flex; gap: 0.75rem; }
.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: border-color var(--t), color var(--t);
}
.footer-social-link:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.75rem 0;
}
.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.25);
}

/* ── 14. BACK TO TOP ─────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  transition: opacity var(--t), transform var(--t), background var(--t);
  opacity: 0;
  transform: translateY(12px);
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-top:hover { background: var(--gray-800); }
.back-top[hidden] { display: none; }

/* ── 15. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid    { grid-template-columns: repeat(2, 1fr); }
  .testi-grid .testi-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
  }
  .hero-image-panel {
    display: none;
  }
  .hero-text-panel {
    padding-left: var(--px);
    padding-right: var(--px);
    justify-content: center;
    text-align: center;
    min-height: 100svh;
  }
  .hero-text-inner { max-width: 600px; }
  .hero-eyebrow,
  .hero-eyebrow::before { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-badges  { justify-content: center; }
  .hero-scroll-hint { display: none; }

  .about-grid,
  .contact-grid,
  .online-grid { grid-template-columns: 1fr; gap: 3rem; }

  .about-quote-card { margin-right: 0; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem var(--px) 2rem;
    gap: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-top: 1px solid var(--gray-200);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    color: var(--black) !important;
    font-size: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links a::after { display: none; }
  .btn-nav {
    margin-top: 1rem;
    background: var(--black) !important;
    color: var(--white) !important;
    border-color: var(--black) !important;
    text-align: center;
    padding: 0.875rem 1.4rem !important;
  }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
  .testi-grid .testi-card:last-child { grid-column: auto; }

  .form-row { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .online-cta-card { flex-direction: column; text-align: center; }
  .hero-badges { flex-wrap: wrap; gap: 1rem; }
}

/* ── 16. PRINT ───────────────────────────────────────────── */
@media print {
  #navbar, .hero-scroll-hint, .back-top { display: none; }
  * { color: #000 !important; background: #fff !important; }
}
