/* =====================================================================
   ASHFORD & WELLS — Law Firm Website Template
   Stylesheet (style.css)
   ---------------------------------------------------------------------
   TECH: Plain CSS3. No frameworks.
   AUTHOR: Premium Marketplace Template
   YEAR: 2026
   =====================================================================
   QUICK REBRAND GUIDE
   -------------------
   To rebrand this template for your own firm, edit the CSS variables in
   the :root block below (colors + fonts), then do a find-and-replace on
   the firm name "Ashford & Wells" across the HTML files. Everything
   else cascades automatically.
   ===================================================================== */

/* ---------------------------------------------------------------------
   DESIGN TOKENS  —  edit these to rebrand
   --------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy:        #14213d;  /* primary brand color  */
  --navy-deep:   #0d1629;  /* darker navy for depth */
  --gold:        #b8860b;  /* gold accent          */
  --gold-soft:   #d4a429;  /* lighter gold hover    */
  --cream:       #ffffff;  /* main background       */
  --soft:        #f6f3ec;  /* soft alt background   */
  --ink:         #1d2330;  /* body text             */
  --muted:       #5d6470;  /* secondary text        */
  --line:        #e4ddcf;  /* hairline borders      */
  --white:       #ffffff;

  /* Typography */
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(20, 33, 61, .07);
  --shadow-md: 0 12px 40px rgba(20, 33, 61, .12);
  --shadow-lg: 0 24px 70px rgba(20, 33, 61, .18);
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
  --header-h: 78px;
}

/* ---------------------------------------------------------------------
   RESET & BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 700; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

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

ul { list-style: none; }

p { color: var(--muted); }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.section-head p { font-size: 18px; }
.section-head--left { margin-left: 0; text-align: left; }

.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--gold-soft); }
.section--navy p { color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-soft); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------------------------------------------------------------------
   HEADER  (shared, sticky)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--navy); letter-spacing: .01em; }
.brand__tag { font-family: var(--font-body); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius);
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.open span::after { transform: rotate(-45deg); top: 0; }

/* ---------------------------------------------------------------------
   HERO  (homepage)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(125deg, rgba(13,22,41,.95) 0%, rgba(20,33,61,.82) 55%, rgba(20,33,61,.7) 100%),
    radial-gradient(circle at 80% 20%, rgba(184,134,11,.35), transparent 45%),
    linear-gradient(140deg, #14213d, #0d1629);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  /* subtle column / pillar motif */
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 42%;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 60px);
  opacity: .6;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 130px;
  max-width: 760px;
}
.hero h1 { color: var(--white); font-size: clamp(38px, 6vw, 68px); line-height: 1.05; margin-bottom: 24px; }
.hero h1 .accent { color: var(--gold-soft); }
.hero__lead { font-size: 20px; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; color: rgba(255,255,255,.7); font-size: 14px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .star { color: var(--gold-soft); }

/* ---------------------------------------------------------------------
   PAGE BANNER  (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  position: relative;
  background:
    linear-gradient(120deg, rgba(13,22,41,.93), rgba(20,33,61,.85)),
    radial-gradient(circle at 90% 10%, rgba(184,134,11,.3), transparent 50%),
    linear-gradient(140deg, #14213d, #0d1629);
  color: var(--white);
  padding: 84px 0 76px;
  text-align: center;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 70px);
  pointer-events: none;
}
.page-banner__inner { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: clamp(34px, 5vw, 52px); margin-bottom: 16px; }
.page-banner p { color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto; font-size: 18px; }

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  margin-top: 22px;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: var(--gold-soft); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.55); }

/* ---------------------------------------------------------------------
   GRID UTILITIES
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------------
   CARDS
   --------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--soft);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { font-size: 15.5px; margin-bottom: 18px; }
.card__link { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.card__link::after { content: "→"; transition: transform var(--transition); }
.card:hover .card__link::after { transform: translateX(5px); }

/* Practice area card top accent */
.card--practice { border-top: 3px solid var(--gold); }

/* ---------------------------------------------------------------------
   FEATURE / WHY-CHOOSE rows
   --------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media {
  border-radius: var(--radius);
  min-height: 420px;
  background:
    linear-gradient(135deg, rgba(20,33,61,.9), rgba(13,22,41,.95)),
    radial-gradient(circle at 30% 30%, rgba(184,134,11,.35), transparent 55%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
}
.split__media .crest { font-size: 120px; color: rgba(212,164,41,.85); }
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 48px);
}

.feature-list { display: grid; gap: 22px; margin-top: 28px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-item .tick {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--soft);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  font-weight: 700;
}
.feature-item h4 { font-family: var(--font-body); font-size: 17px; color: var(--navy); margin-bottom: 3px; }
.feature-item p { font-size: 15px; margin: 0; }

/* ---------------------------------------------------------------------
   STATS
   --------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: clamp(40px, 5vw, 58px); color: var(--gold-soft); font-weight: 700; line-height: 1; }
.stat__label { color: rgba(255,255,255,.75); font-size: 15px; margin-top: 12px; letter-spacing: .03em; }

/* ---------------------------------------------------------------------
   TESTIMONIAL
   --------------------------------------------------------------------- */
.quote {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.quote__mark { font-family: var(--font-head); font-size: 90px; color: var(--gold); line-height: .6; }
.quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
  margin: 14px 0 28px;
}
.quote__author { font-weight: 600; color: var(--navy); }
.quote__role { color: var(--muted); font-size: 15px; }
.section--navy .quote blockquote { color: var(--white); }
.section--navy .quote__author { color: var(--white); }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.testi .stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 3px; }
.testi p { font-size: 16px; color: var(--ink); font-style: italic; margin-bottom: 20px; }
.testi__by { display: flex; align-items: center; gap: 12px; }
.testi__by .ava {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700;
}
.testi__by strong { display: block; color: var(--navy); font-size: 15px; }
.testi__by small { color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA STRIP
   --------------------------------------------------------------------- */
.cta-strip {
  background:
    linear-gradient(120deg, rgba(13,22,41,.96), rgba(20,33,61,.9)),
    radial-gradient(circle at 85% 50%, rgba(184,134,11,.4), transparent 55%),
    var(--navy);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 { color: var(--white); font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
.cta-strip .hero__actions { justify-content: center; margin-bottom: 0; }

/* ---------------------------------------------------------------------
   PRACTICE AREA DETAIL  (services page)
   --------------------------------------------------------------------- */
.practice-detail {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  transition: all var(--transition);
}
.practice-detail:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.practice-detail__icon {
  width: 72px; height: 72px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--gold-soft);
  font-size: 34px;
  display: grid; place-items: center;
}
.practice-detail h3 { font-size: 25px; margin-bottom: 10px; }
.practice-detail ul.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.practice-detail ul.tags li {
  font-size: 13px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 100px;
  color: var(--navy);
}

/* Process steps */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process__step { text-align: center; position: relative; }
.process__num {
  width: 62px; height: 62px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700; font-size: 24px;
  display: grid; place-items: center;
}
.process__step h4 { color: var(--navy); font-family: var(--font-body); font-size: 18px; margin-bottom: 8px; }
.process__step p { font-size: 15px; }

/* ---------------------------------------------------------------------
   ATTORNEYS
   --------------------------------------------------------------------- */
.attorney {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}
.attorney:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.attorney__avatar {
  height: 200px;
  display: grid; place-items: center;
  background:
    linear-gradient(135deg, var(--navy), var(--navy-deep)),
    radial-gradient(circle at 70% 30%, rgba(184,134,11,.4), transparent 60%);
  position: relative;
}
.attorney__avatar .mono {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2px solid var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 38px; font-weight: 700;
  color: var(--gold-soft);
  background: rgba(255,255,255,.04);
}
.attorney__body { padding: 26px 24px 30px; }
.attorney__body h3 { font-size: 21px; margin-bottom: 4px; }
.attorney__role { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: .03em; }
.attorney__spec { font-size: 13px; color: var(--muted); margin: 4px 0 14px; text-transform: uppercase; letter-spacing: .12em; }
.attorney__body p { font-size: 15px; }
.attorney__social { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.attorney__social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--navy);
  font-size: 14px;
}
.attorney__social a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------------------------------------------------------------------
   VALUES / AWARDS  (about page)
   --------------------------------------------------------------------- */
.value { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.value__icon { font-size: 30px; margin-bottom: 14px; }
.value h3 { font-size: 20px; margin-bottom: 10px; }
.value p { font-size: 15px; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding-bottom: 38px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -36px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--soft);
}
.timeline__year { font-family: var(--font-head); color: var(--gold); font-weight: 700; font-size: 20px; }
.timeline__item h4 { font-family: var(--font-body); color: var(--navy); margin: 4px 0 6px; font-size: 18px; }
.timeline__item p { font-size: 15px; margin: 0; }

.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.award { text-align: center; padding: 28px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.award__icon { font-size: 36px; margin-bottom: 10px; }
.award strong { display: block; color: var(--navy); font-size: 15px; }
.award small { color: var(--muted); }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  transition: all var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,134,11,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #b8312f; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #b8312f; background: #fdf3f3; }
.field.invalid .error-msg { display: block; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.form-success {
  display: none;
  background: #eef6ee;
  border: 1px solid #bcd9bc;
  color: #2f6b34;
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 15px;
}
.form-success.show { display: block; }

.info-block { margin-bottom: 30px; }
.info-block h3 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.info-block h3 .ico { color: var(--gold); }
.info-block p, .info-block address { font-size: 15px; color: var(--muted); font-style: normal; line-height: 1.7; }
.info-block a { color: var(--navy); font-weight: 500; }

.hours-table { width: 100%; font-size: 15px; border-collapse: collapse; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hours-table td:last-child { text-align: right; color: var(--navy); font-weight: 500; }

.map-placeholder {
  margin-top: 16px;
  height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(20,33,61,.06), rgba(184,134,11,.08)),
    repeating-linear-gradient(0deg, var(--soft) 0 28px, #efeadf 28px 29px),
    repeating-linear-gradient(90deg, var(--soft) 0 28px, #efeadf 28px 29px);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
  position: relative;
}
.map-placeholder .pin { font-size: 42px; }
.map-placeholder strong { display: block; color: var(--navy); margin-top: 6px; }

/* ---------------------------------------------------------------------
   FOOTER  (shared)
   --------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: rgba(255,255,255,.7); font-size: 15px; }
.footer-col ul a:hover { color: var(--gold-soft); }
.footer-brand .brand__name { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 15px; margin-top: 16px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center; color: rgba(255,255,255,.8); font-size: 14px;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-contact li { display: flex; gap: 10px; font-size: 15px; margin-bottom: 12px; color: rgba(255,255,255,.7); }
.footer-contact .ico { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------------------------------------------------------------------
   SCROLL REVEAL
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
/* Fallback: if JS disabled, show everything */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .awards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__media { min-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 16px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 14px 12px; border-bottom: 1px solid var(--soft); }
  .nav-menu a::after { display: none; }
  .nav-cta .btn { display: none; }          /* hide desktop CTA; menu has one */
  .nav-menu .nav-menu__cta { margin-top: 10px; }
  .nav-menu .nav-menu__cta .btn { display: inline-flex; width: 100%; justify-content: center; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .practice-detail { grid-template-columns: 1fr; gap: 18px; }
  .practice-detail__icon { width: 60px; height: 60px; font-size: 28px; }
  .hero__inner { padding: 84px 0 90px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .stats, .awards, .process { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
  .cta-strip { padding: 44px 22px; }
}
