/* GML Attorneys — Brand Design System
   Navy #1A2D52 · Gold #E2B02A · White #FFFFFF */

:root {
  --navy: #1a2d52;
  --navy-deep: #0f1c36;
  --navy-mid: #243a66;
  --gold: #e2b02a;
  --gold-soft: #f0c94d;
  --gold-deep: #c99612;
  --white: #ffffff;
  --cream: #f7f5f0;
  --ink: #152238;
  --muted: #5c6b82;
  --line: rgba(26, 45, 82, 0.12);
  --shadow: 0 18px 50px rgba(15, 28, 54, 0.14);
  --radius: 4px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --container: 1180px;
  --header-offset: 112px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(226, 176, 42, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(26, 45, 82, 0.06), transparent 45%),
    var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 28, 54, 0.18);
}

.top-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.top-bar a:hover {
  color: var(--gold);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.top-bar .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-bar {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: 2px solid var(--gold);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid rgba(226, 176, 42, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--white);
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.brand-text em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.primary-nav > a:not(.btn) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  position: relative;
}

.primary-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.primary-nav > a:not(.btn):hover::after,
.primary-nav > a.active::after {
  width: 100%;
}

.primary-nav > a.active {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(226, 176, 42, 0.4);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s var(--ease);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-mid);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ——— Hero / Carousel ——— */
.hero-carousel {
  position: relative;
  min-height: min(88vh, 760px);
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.06);
  transition: transform 8s linear;
}

.hero-slide.is-active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 28, 54, 0.92) 0%, rgba(15, 28, 54, 0.72) 48%, rgba(15, 28, 54, 0.35) 100%),
    linear-gradient(0deg, rgba(15, 28, 54, 0.55), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero-copy {
  max-width: 640px;
  color: var(--white);
  animation: riseIn 0.9s var(--ease) both;
}

.hero-brand-mark {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin-bottom: 0.35rem;
}

.hero-brand-sub {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-brand-sub::before,
.hero-brand-sub::after {
  content: "";
  height: 1px;
  width: 36px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 3px 0 rgba(255, 255, 255, 0.55);
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 34rem;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.hero-dot.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
}

.hero-arrows {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.hero-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 28, 54, 0.35);
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-arrow.prev { left: 1.25rem; }
.hero-arrow.next { right: 1.25rem; }

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

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.section-dark {
  background:
    linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, var(--navy-mid));
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(26, 45, 82, 0.04), transparent 40%),
    #eef1f6;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-dark .eyebrow {
  color: var(--gold);
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.gold-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 0;
}

.section-head.center .gold-rule {
  margin-inline: auto;
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 3.5rem;
  background: var(--navy-deep);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transform: scale(1.04);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 28, 54, 0.95) 10%, rgba(15, 28, 54, 0.55) 70%, rgba(15, 28, 54, 0.3));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 0.4rem;
}

.page-hero p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
}

/* ——— Stats ——— */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}

.stat-item {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 1.75rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ——— Team faces row (home) ——— */
.faces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin-inline: auto;
}

.face-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--navy);
}

.face-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: saturate(0.95);
}

.face-item:hover img {
  transform: scale(1.06);
}

.face-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(15, 28, 54, 0.92));
  color: var(--white);
}

.face-caption strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.face-caption span {
  font-size: 0.78rem;
  color: var(--gold);
}

/* ——— Services ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-tile {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  color: var(--white);
  isolation: isolate;
}

.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 28, 54, 0.2), rgba(15, 28, 54, 0.92));
}

.service-tile:hover img {
  transform: scale(1.08);
}

.service-tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem;
}

.service-tile h3 {
  color: var(--white);
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
}

.service-tile p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-tile .link-gold {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.service-detail-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 35%;
  height: 6px;
  background: var(--gold);
}

.service-detail h2 {
  font-size: 2.2rem;
}

.service-detail p {
  color: var(--muted);
}

/* ——— Values ——— */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.value-item {
  padding: 1.75rem 1.25rem;
  border-top: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

.value-item .value-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.value-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin: 0;
}

.values-light .value-item {
  background: var(--white);
  box-shadow: var(--shadow);
}

.values-light .value-item h3 {
  color: var(--navy);
}

.values-light .value-item p {
  color: var(--muted);
}

/* ——— About split ——— */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-visual .accent-frame {
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 2px solid var(--gold);
  z-index: -1;
}

.about-visual .float-portrait {
  position: absolute;
  right: -8%;
  bottom: -8%;
  width: 42%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.about-visual .float-portrait img {
  height: 220px;
  object-fit: cover;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mv-block {
  padding: 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.mv-block h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.mv-block p {
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}

/* ——— Testimonials ——— */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.testimonial .quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-author img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ——— CTA banner ——— */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  background: var(--navy);
  color: var(--white);
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.28;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 32rem;
}

/* ——— Team page ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 980px;
  margin-inline: auto;
}

.team-member {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.team-member:hover .team-photo img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem 1.4rem 1.75rem;
  border-top: 3px solid var(--gold);
}

.team-info h3 {
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.team-info .role {
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.team-info .specialty {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.team-info p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ——— Contact ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  position: relative;
  z-index: 2;
}

.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
}

.contact-form-lead {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.contact-form-call {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form-call a {
  color: var(--navy);
  font-weight: 600;
}

.contact-form-call a:hover {
  color: var(--gold-deep);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-info-panel {
  background: linear-gradient(165deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -10%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 176, 42, 0.18), transparent 70%);
}

.contact-info-panel h2 {
  color: var(--white);
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-face {
  margin: 1.5rem 0;
  overflow: hidden;
  max-height: 220px;
}

.contact-face img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
}

.contact-lines {
  display: grid;
  gap: 1.15rem;
  position: relative;
  z-index: 1;
}

.contact-line strong {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-line a:hover,
.contact-line span {
  color: var(--white);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  background: #fafbfc;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(226, 176, 42, 0.18);
}

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

.form-error {
  color: #b42318;
  font-size: 0.8rem;
}

.form-alert {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.form-alert.success {
  background: #e8f6ee;
  color: #0f6b3a;
  border-left: 3px solid #0f6b3a;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 600;
  position: relative;
  padding-right: 2.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-deep);
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.faq-answer p {
  margin: 0.9rem 0 0;
  font-size: 0.98rem;
}


.map-wrap {
  margin-top: 3rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}

.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 4rem 0 3rem;
}

.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.95rem;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.footer-phones a {
  color: var(--gold);
  font-weight: 600;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.site-footer address {
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer-map-btn {
  margin-top: 1.25rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.78rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 0;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .faces-grid,
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-strip,
  .services-grid,
  .team-grid,
  .testimonials-track,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split,
  .service-detail,
  .service-detail:nth-child(even),
  .contact-layout,
  .mission-vision {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .about-visual .float-portrait {
    right: 4%;
    bottom: -6%;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    display: none;
    border-bottom: 2px solid var(--gold);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav > a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .primary-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .top-bar-right {
    display: none;
  }

  .hero-carousel {
    min-height: 78vh;
  }

  .faces-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .values-grid,
  .stats-strip,
  .services-grid,
  .team-grid,
  .testimonials-track,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-arrow {
    display: none;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .section {
    padding: 3.75rem 0;
  }

  .brand-text strong {
    font-size: 1.5rem;
  }

  .cta-banner .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
