/*
 Theme Name: Gondim Law Divi Child
 Theme URI: https://gondimlaw.com/
 Description: Custom Divi child theme for the Gondim Law immigration landing page.
 Author: Young & Hungry
 Template: Divi
 Version: 1.0.0
 Text Domain: gondim-law-divi-child
*/

:root {
  --navy: #061820;
  --navy-2: #0b2733;
  --navy-3: #123744;
  --gold: #d0ac55;
  --cream: #f5f2eb;
  --white: #fff;
  --ink: #20292d;
  --muted: #6f777a;
  --line: #dcdad3;
  --sans: "Outfit", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

#gondim-landing, #gondim-landing *, #gondim-landing *::before, #gondim-landing *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body.gondim-landing-page { margin: 0; overflow-x: hidden; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
.gondim-landing-page ::selection { background: var(--gold); color: var(--navy); }
#gondim-landing a { color: inherit; text-decoration: none; }
#gondim-landing button { font: inherit; }
#gondim-landing img { display: block; max-width: 100%; }
#gondim-landing figure, #gondim-landing blockquote { margin: 0; }
#gondim-landing a:focus-visible, #gondim-landing button:focus-visible, #gondim-landing summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.shell { width: min(calc(100% - 48px), 1320px); margin-inline: auto; }
.section-space { padding: 120px 0; }
.eyebrow { margin: 0; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .2em; line-height: 1.35; text-transform: uppercase; }
.section-marker { display: grid; padding: 15px 0; grid-template-columns: 62px 1fr auto; align-items: center; border-top: 1px solid var(--line); color: #8b9294; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.section-marker span { color: var(--gold); }
.section-marker p, .section-marker i { margin: 0; font-style: normal; }
.section-marker.light { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.38); }

/* Header */
.site-header { position: fixed; z-index: 100; top: 0; left: 0; display: grid; width: 100%; height: 88px; padding: 0 clamp(26px, 4vw, 64px); grid-template-columns: minmax(220px, 1fr) auto minmax(210px, 1fr); align-items: center; gap: 34px; border-bottom: 1px solid rgba(255,255,255,.12); background: var(--navy); color: var(--white); transition: height .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled { height: 74px; background: rgba(255,255,255,.97); color: var(--navy); box-shadow: 0 14px 36px rgba(6,24,32,.08); backdrop-filter: blur(16px); }
.brand { width: fit-content; }
.brand img { width: 195px; height: 50px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); transition: filter .3s ease; }
.site-header.is-scrolled .brand img { filter: none; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.1vw, 35px); }
.main-nav a { position: relative; padding: 12px 0; color: rgba(255,255,255,.67); font-size: 13px; font-weight: 500; white-space: nowrap; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header.is-scrolled .main-nav a { color: #555d60; }
.site-header.is-scrolled .main-nav a:hover { color: var(--navy); }
.header-cta { justify-self: end; display: inline-flex; min-height: 50px; padding: 0 24px; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 13px; font-weight: 700; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.header-cta:hover { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.site-header.is-scrolled .header-cta { border-color: rgba(6,24,32,.2); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-button span { display: block; width: 26px; height: 2px; margin: 6px auto; background: currentColor; }

/* Full-bleed editorial hero */
.hero { position: relative; min-height: 100svh; padding-top: 88px; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.62) contrast(1.08); animation: heroScale 1.5s cubic-bezier(.16,1,.3,1) both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,22,.97) 0%, rgba(3,16,22,.9) 38%, rgba(3,16,22,.55) 67%, rgba(3,16,22,.25) 100%), linear-gradient(180deg, rgba(3,16,22,.2), rgba(3,16,22,.55)); }
.hero-frame { position: relative; z-index: 2; display: grid; min-height: calc(100svh - 88px); padding: 28px 0 42px; grid-template-columns: 1fr 330px; grid-template-rows: auto 1fr auto; gap: 24px 72px; }
.hero-topline { display: flex; padding-bottom: 17px; grid-column: 1 / -1; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.52); font-size: 9px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; animation: fadeUp .65s both; }
.hero-copy { align-self: center; max-width: 920px; padding: 42px 0 48px; }
.hero-copy h1 { margin: 28px 0 0; font-size: clamp(58px, 6.2vw, 92px); font-weight: 700; letter-spacing: -.055em; line-height: .92; animation: fadeUp .85s .06s both; }
.hero-copy h1 span { display: block; }
.hero-copy h1 em { display: block; color: var(--gold); font-family: var(--serif); font-size: 1.16em; font-style: italic; font-weight: 600; letter-spacing: -.035em; line-height: .86; }
.hero-copy > .eyebrow { animation: fadeUp .65s both; }
.hero-description { max-width: 640px; margin: 34px 0 0; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.72; animation: fadeUp .75s .16s both; }
.hero-actions { display: flex; margin-top: 36px; flex-wrap: wrap; gap: 13px; animation: fadeUp .75s .24s both; }
.button { display: inline-flex; min-height: 56px; padding: 0 31px; align-items: center; justify-content: center; gap: 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--gold); }
.button-outline { border-color: rgba(255,255,255,.26); color: var(--white); }
.button-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button-primary { background: var(--navy); color: var(--white); }
.button-primary:hover { background: var(--gold); color: var(--navy); }
.button-gold { background: var(--gold); color: var(--navy); }
.button-gold:hover { background: var(--white); }
.hero-side-note { align-self: center; width: 100%; padding: 31px 0 31px 30px; border-left: 1px solid rgba(255,255,255,.24); animation: fadeUp .8s .2s both; }
.hero-side-note > span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero-side-note > strong { display: block; margin-top: 17px; font-size: 25px; font-weight: 600; letter-spacing: -.03em; line-height: 1.18; }
.hero-side-note > p { margin: 17px 0 0; color: rgba(255,255,255,.46); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero-proof { margin-top: 31px; padding: 18px 19px; border: 1px solid rgba(255,255,255,.18); background: rgba(6,24,32,.54); backdrop-filter: blur(14px); }
.hero-proof span { color: var(--gold); font-size: 11px; letter-spacing: .13em; }
.hero-proof p { margin: 7px 0 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.45; }
.hero-facts { display: grid; max-width: 720px; padding-top: 25px; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); animation: fadeUp .75s .32s both; }
.hero-facts > div { padding-right: 18px; }
.hero-facts strong { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -.04em; }
.hero-facts span { display: block; max-width: 125px; margin-top: 7px; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 600; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.hero-scroll { align-self: end; justify-self: end; display: flex; padding-bottom: 7px; align-items: center; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.38); color: rgba(255,255,255,.65); font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.trust-strip { display: flex; min-height: 78px; padding: 21px 5vw; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 52px); overflow: hidden; background: #031016; color: rgba(255,255,255,.42); font-size: 11px; font-weight: 500; letter-spacing: .05em; white-space: nowrap; }
.trust-strip i { color: var(--gold); font-size: 6px; font-style: normal; }

/* Perspective */
.perspective { background: var(--cream); }
.perspective-intro { display: grid; padding: 82px 0 74px; grid-template-columns: 1.12fr .68fr; align-items: end; gap: clamp(60px, 9vw, 150px); }
.perspective-intro h2 { margin: 0; font-size: clamp(55px, 6.4vw, 90px); font-weight: 700; letter-spacing: -.055em; line-height: .97; }
.perspective-intro h2 em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; }
.perspective-copy .lead { margin: 0 0 20px; color: var(--ink); font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }
.perspective-copy > p:not(.lead) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.perspective-copy a { display: flex; width: fit-content; margin-top: 29px; padding-bottom: 8px; gap: 25px; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid article { min-height: 270px; padding: 34px 34px 38px; border-right: 1px solid var(--line); }
.principle-grid article:last-child { border-right: 0; }
.principle-grid article > span { color: var(--gold); font-size: 11px; font-weight: 700; }
.principle-grid h3 { margin: 73px 0 0; font-size: 29px; font-weight: 600; letter-spacing: -.035em; }
.principle-grid p { max-width: 340px; margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Interactive practice */
.services { padding: 110px 0 120px; background: var(--navy); color: var(--white); }
.services-header { margin-bottom: 72px; }
.services-title { display: grid; margin-top: 63px; grid-template-columns: 1.05fr .55fr; align-items: end; gap: 80px; }
.services-title h2 { max-width: 780px; margin: 18px 0 0; font-size: clamp(50px, 5.6vw, 78px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.services-title > p:last-child { margin: 0; color: rgba(255,255,255,.54); font-size: 15px; line-height: 1.7; }
.services-stage { display: grid; min-height: 760px; grid-template-columns: .9fr 1.1fr; border: 1px solid rgba(255,255,255,.14); }
.service-visual { position: sticky; top: 74px; height: calc(100vh - 74px); min-height: 680px; max-height: 900px; overflow: hidden; background: #020d12; }
.service-visual > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.45) contrast(1.08); animation: imageSwap .55s ease both; }
.service-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,14,19,.12), rgba(3,14,19,.8)), linear-gradient(90deg, rgba(3,14,19,.1), rgba(3,14,19,.34)); }
.service-mark { position: absolute; bottom: 22px; left: 24px; color: transparent; font-size: clamp(90px, 12vw, 180px); font-weight: 800; letter-spacing: -.07em; line-height: .75; -webkit-text-stroke: 1px rgba(208,172,85,.68); }
.service-visual figcaption { position: absolute; top: 26px; right: 24px; left: 24px; display: grid; grid-template-columns: 1fr auto; gap: 6px 28px; color: var(--white); }
.service-visual figcaption > span { font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.service-visual figcaption p { margin: 0; grid-column: 1; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-visual figcaption a { grid-row: 1 / 3; grid-column: 2; align-self: center; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.5); font-size: 11px; font-weight: 600; }
.service-menu { display: flex; flex-direction: column; }
.service-item { position: relative; display: grid; min-height: 190px; padding: 27px 31px; grid-template-columns: 50px 1fr 38px; align-items: start; gap: 18px; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); background: transparent; color: var(--white); text-align: left; cursor: pointer; transition: background .3s ease; }
.service-item:last-child { border-bottom: 0; }
.service-item:hover, .service-item.is-active { background: rgba(255,255,255,.055); }
.service-item.is-active::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--gold); }
.service-number { padding-top: 3px; color: rgba(255,255,255,.35); font-size: 10px; font-weight: 700; }
.service-content small { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.service-title { display: block; margin: 9px 0 0; font-size: clamp(26px, 2.6vw, 37px); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; }
.service-description { display: block; max-width: 600px; max-height: 0; margin: 0; overflow: hidden; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.6; opacity: 0; transition: max-height .35s ease, margin .35s ease, opacity .35s ease; }
.service-item.is-active .service-description { max-height: 80px; margin-top: 12px; opacity: 1; }
.service-tags { display: flex; max-height: 0; margin-top: 0; flex-wrap: wrap; gap: 6px; overflow: hidden; opacity: 0; transition: max-height .35s ease, margin .35s ease, opacity .35s ease; }
.service-item.is-active .service-tags { max-height: 60px; margin-top: 13px; opacity: 1; }
.service-tags i { padding: 5px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.6); font-size: 9px; font-style: normal; }
.service-arrow { display: grid; width: 35px; height: 35px; place-items: center; justify-self: end; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; color: rgba(255,255,255,.58); transition: background .25s ease, color .25s ease, transform .25s ease; }
.service-item.is-active .service-arrow { background: var(--gold); color: var(--navy); transform: rotate(45deg); }

/* Method */
.method { background: var(--white); }
.method-heading { display: grid; grid-template-columns: 1fr .55fr; align-items: end; gap: 100px; }
.method-heading h2 { margin: 18px 0 0; font-size: clamp(50px, 5.7vw, 78px); font-weight: 700; letter-spacing: -.052em; line-height: .98; }
.method-heading h2 em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; }
.method-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.process-grid { position: relative; display: grid; margin-top: 82px; grid-template-columns: repeat(4, 1fr); }
.process-grid::before { content: ""; position: absolute; top: 44px; right: 10%; left: 10%; height: 1px; background: var(--line); }
.process-grid article { position: relative; z-index: 2; padding: 0 25px; text-align: center; }
.process-number { display: grid; width: 88px; height: 88px; margin: 0 auto 28px; place-items: center; border: 7px solid var(--white); border-radius: 50%; outline: 1px solid rgba(208,172,85,.65); background: var(--navy); color: var(--gold); font-size: 20px; font-weight: 700; }
.process-grid h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.process-grid p { max-width: 270px; margin: 15px auto 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.method-action { display: flex; margin-top: 70px; padding: 31px 34px; align-items: center; justify-content: space-between; gap: 40px; background: var(--cream); }
.method-action p { display: flex; margin: 0; flex-direction: column; }
.method-action strong { font-size: 18px; }
.method-action span { margin-top: 5px; color: var(--muted); font-size: 13px; }

/* Team */
.team { background: var(--cream); }
.team-heading { display: grid; grid-template-columns: 1fr .55fr; align-items: end; gap: 100px; }
.team-heading h2 { margin: 18px 0 0; font-size: clamp(50px, 5.6vw, 78px); font-weight: 700; letter-spacing: -.052em; line-height: .98; }
.team-heading h2 em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; }
.team-heading > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.team-grid { display: grid; max-width: 1160px; margin: 72px auto 45px; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.attorney-card { position: relative; aspect-ratio: .76; overflow: hidden; background: var(--navy); box-shadow: 0 15px 40px rgba(6,24,32,.09); }
.attorney-card:nth-child(2) { transform: translateY(42px); }
.attorney-card::after { content: ""; position: absolute; inset: 36% 0 0; background: linear-gradient(transparent, rgba(3,14,19,.94)); }
.attorney-card > img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.68); transition: transform .75s ease, filter .6s ease; }
.attorney-card:hover > img { transform: scale(1.035); filter: saturate(1); }
.attorney-index { position: absolute; z-index: 2; top: 18px; right: 18px; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 700; }
.attorney-card > div { position: absolute; z-index: 2; right: 24px; bottom: 23px; left: 24px; color: var(--white); }
.attorney-card > div p { margin: 0 0 8px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.attorney-card h3 { margin: 0; font-size: clamp(25px, 2.3vw, 32px); font-weight: 600; letter-spacing: -.035em; }
.attorney-card a { display: inline-block; margin-top: 17px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.42); color: rgba(255,255,255,.68); font-size: 10px; font-weight: 600; }

/* Reviews */
.reviews { background: var(--navy); color: var(--white); }
.reviews-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 70px; }
.reviews-heading h2 { margin: 18px 0 0; font-size: clamp(50px, 5.8vw, 80px); font-weight: 700; letter-spacing: -.052em; line-height: .97; }
.reviews-heading h2 em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; }
.review-score { display: flex; padding-bottom: 9px; align-items: flex-end; gap: 18px; }
.review-score strong { color: var(--gold); font-size: clamp(58px, 6vw, 88px); font-weight: 600; letter-spacing: -.06em; line-height: .8; }
.review-score span { color: rgba(255,255,255,.48); font-size: 10px; font-weight: 600; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; }
.review-grid { display: grid; margin-top: 68px; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { display: flex; min-height: 370px; padding: 33px; flex-direction: column; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.035); transition: border-color .3s ease, background .3s ease, transform .3s ease; }
.review-card:hover { border-color: rgba(208,172,85,.48); background: rgba(255,255,255,.06); transform: translateY(-5px); }
.stars { color: var(--gold); font-size: 12px; letter-spacing: .15em; }
.review-card blockquote { margin-top: 28px; color: rgba(255,255,255,.68); font-size: 16px; font-style: italic; line-height: 1.75; }
.review-card footer { display: flex; margin-top: auto; padding-top: 27px; align-items: center; gap: 14px; }
.review-card footer > span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; }
.review-card footer strong { display: block; font-size: 15px; }
.review-card footer p { margin: 4px 0 0; color: rgba(255,255,255,.38); font-size: 11px; }
.reviews-link { display: flex; width: fit-content; margin: 38px auto 0; padding-bottom: 7px; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.7); font-size: 12px; font-weight: 600; }

/* FAQ */
.faq { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: clamp(70px, 9vw, 135px); }
.faq-layout > header { position: sticky; top: 112px; }
.faq-layout h2 { margin: 18px 0 0; font-size: clamp(44px, 4.4vw, 61px); font-weight: 700; letter-spacing: -.045em; line-height: 1.03; }
.faq-layout h2 em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; }
.faq-layout header > p:last-child { margin: 23px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-list { border-top: 1px solid #d5d2ca; }
.faq-list details { border-bottom: 1px solid #d5d2ca; }
.faq-list summary { display: grid; min-height: 92px; padding: 23px 0; grid-template-columns: 1fr 42px; align-items: center; gap: 20px; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; width: 36px; height: 36px; place-items: center; justify-self: end; border: 1px solid #cbc8c0; border-radius: 50%; transition: transform .25s ease, background .25s ease, color .25s ease; }
.faq-list details[open] summary span { background: var(--navy); color: var(--gold); transform: rotate(45deg); }
.faq-list details > p { max-width: 690px; margin: -3px 60px 27px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Contact and footer */
.final-cta { padding: 105px 0; background: var(--navy-2); color: var(--white); }
.cta-layout { display: grid; grid-template-columns: 1.08fr .66fr; align-items: center; gap: clamp(70px, 10vw, 150px); }
.cta-layout h2 { max-width: 780px; margin: 18px 0 0; font-size: clamp(48px, 5.1vw, 70px); font-weight: 700; letter-spacing: -.05em; line-height: 1.01; }
.cta-layout h2 em { color: var(--gold); font-family: var(--serif); font-style: italic; font-weight: 600; }
.cta-layout > div:first-child > p:not(.eyebrow) { max-width: 620px; margin: 25px 0 0; color: rgba(255,255,255,.56); font-size: 16px; line-height: 1.7; }
.cta-buttons { display: flex; margin-top: 35px; flex-wrap: wrap; gap: 13px; }
.contact-details { border-top: 1px solid rgba(255,255,255,.14); }
.contact-details > div { display: grid; min-height: 78px; padding: 17px 0; grid-template-columns: 86px 1fr; align-items: center; gap: 17px; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-details span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.contact-details a, .contact-details p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; }
.site-footer { padding: 62px 0 25px; background: #020d12; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: .72fr 1fr 1fr; align-items: start; gap: 55px; }
.footer-brand img { width: 190px; height: 52px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.footer-grid > p { max-width: 340px; margin: 5px 0 0; color: rgba(255,255,255,.42); font-size: 13px; line-height: 1.65; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.footer-grid nav a { color: rgba(255,255,255,.54); font-size: 12px; }
.footer-bottom { display: flex; padding-top: 24px; grid-column: 1 / -1; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.28); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.contact-dock { position: fixed; z-index: 90; right: 22px; bottom: 0; display: grid; grid-template-columns: repeat(3, 94px); border: 1px solid rgba(255,255,255,.16); border-bottom: 0; background: var(--navy); box-shadow: 0 -10px 35px rgba(0,0,0,.17); }
.contact-dock a { display: flex; min-height: 68px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border-right: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8); font-size: 8px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; transition: background .25s ease, color .25s ease; }
.contact-dock a:last-child { border-right: 0; }
.contact-dock a:hover { background: var(--gold); color: var(--navy); }
.contact-dock a span { font-size: 18px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .85s cubic-bezier(.16,1,.3,1); transition-delay: var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes imageReveal { from { opacity: 0; clip-path: inset(0 0 0 100%); } to { opacity: 1; clip-path: inset(0); } }
@keyframes imageSwap { from { opacity: .3; transform: scale(1.025); } to { opacity: 1; transform: none; } }
@keyframes heroScale { from { opacity: .35; transform: scale(1.06); } to { opacity: 1; transform: none; } }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: flex; max-height: 0; padding: 0 28px; flex-direction: column; align-items: flex-start; gap: 0; overflow: hidden; background: rgba(255,255,255,.99); box-shadow: 0 18px 30px rgba(6,24,32,.08); transition: max-height .35s ease, padding .35s ease; }
  .main-nav.is-open { max-height: 460px; padding-top: 12px; padding-bottom: 20px; }
  .main-nav a, .site-header .main-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid #e6e4de; color: var(--navy); }
  .header-cta { display: none; }
  .menu-button { display: block; }
  .hero-frame { grid-template-columns: 1fr 280px; gap: 24px 45px; }
  .hero-copy h1 { font-size: 66px; }
  .services-stage { grid-template-columns: .82fr 1.18fr; }
  .service-item { padding-inline: 24px; }
  .process-grid article { padding-inline: 14px; }
}

@media (max-width: 860px) {
  .shell { width: min(calc(100% - 36px), 720px); }
  .section-space { padding: 88px 0; }
  .site-header { height: 72px; padding: 0 18px; }
  .site-header.is-scrolled { height: 68px; }
  .brand img { width: 166px; height: 44px; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero-frame { min-height: calc(100svh - 72px); padding: 23px 0 42px; grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; gap: 30px; }
  .hero-copy { padding: 50px 0 10px; }
  .hero-copy h1 { font-size: clamp(51px, 10vw, 72px); }
  .hero-side-note { max-width: 430px; padding: 24px 0 24px 25px; }
  .hero-facts { width: 100%; max-width: none; }
  .hero-scroll { display: none; }
  .trust-strip { justify-content: flex-start; overflow-x: auto; }
  .perspective-intro, .services-title, .method-heading, .team-heading, .faq-layout, .cta-layout { grid-template-columns: 1fr; gap: 45px; }
  .perspective-intro { padding: 65px 0 56px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid article:last-child { border-bottom: 0; }
  .principle-grid h3 { margin-top: 40px; }
  .services { padding: 88px 0; }
  .services-stage { grid-template-columns: 1fr; }
  .service-visual { position: relative; top: 0; height: 640px; min-height: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 20px; }
  .process-grid::before { display: none; }
  .team-grid { gap: 17px; }
  .attorney-card:nth-child(2) { transform: translateY(25px); }
  .reviews-heading { grid-template-columns: 1fr; }
  .review-score { margin-top: 30px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 310px; }
  .faq-layout > header { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 620px) {
  .section-marker { grid-template-columns: 42px 1fr; }
  .section-marker i { display: none; }
  .hero-topline span:last-child { display: none; }
  .hero-copy { padding-top: 38px; }
  .hero-copy h1 { font-size: clamp(43px, 12.5vw, 58px); }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 19px; }
  .hero-facts > div { display: grid; grid-template-columns: 86px 1fr; align-items: center; }
  .hero-facts span { margin-top: 0; }
  .hero-side-note { display: none; }
  .perspective-intro h2, .services-title h2, .method-heading h2, .team-heading h2, .reviews-heading h2 { font-size: 45px; }
  .perspective-copy .lead { font-size: 19px; }
  .principle-grid article { padding: 28px 20px; }
  .services-stage { width: 100%; border-right: 0; border-left: 0; }
  .service-visual { height: 500px; }
  .service-visual figcaption { grid-template-columns: 1fr; }
  .service-visual figcaption a { display: none; }
  .service-item { min-height: 168px; padding: 24px 18px; grid-template-columns: 34px 1fr 34px; gap: 11px; }
  .service-title { font-size: 27px; }
  .service-item.is-active .service-description { max-height: 105px; }
  .process-grid { grid-template-columns: 1fr; }
  .method-action { align-items: stretch; flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; gap: 22px; }
  .attorney-card:nth-child(2) { transform: none; }
  .review-score strong { font-size: 68px; }
  .faq-layout h2, .cta-layout h2 { font-size: 43px; }
  .faq-list summary { font-size: 16px; }
  .faq-list details > p { margin-right: 42px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .button { width: 100%; }
  .contact-details > div { grid-template-columns: 1fr; gap: 7px; }
  .contact-dock { right: 0; left: 0; grid-template-columns: repeat(3, 1fr); }
  .contact-dock a { min-height: 58px; }
  .site-footer { padding-bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #gondim-landing, #gondim-landing *, #gondim-landing *::before, #gondim-landing *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* WordPress and Divi template adjustments */
body.gondim-landing-page {
  padding: 0 !important;
  line-height: 1.45;
}
body.gondim-landing-page #gondim-landing {
  position: relative;
  width: 100%;
  max-width: none;
}
body.gondim-landing-page #wpadminbar {
  z-index: 100000;
}
body.admin-bar.gondim-landing-page .site-header {
  top: 32px;
}
body.gondim-landing-page h1,
body.gondim-landing-page h2,
body.gondim-landing-page h3,
body.gondim-landing-page h4,
body.gondim-landing-page h5,
body.gondim-landing-page h6 {
  padding: 0;
  color: inherit;
  font-family: var(--sans);
}
body.gondim-landing-page p {
  padding-bottom: 0;
}
body.gondim-landing-page .service-tags {
  padding-bottom: 0;
}
body.gondim-landing-page .service-tags i {
  line-height: 1.2;
}
@media (max-width: 782px) {
  body.admin-bar.gondim-landing-page .site-header {
    top: 46px;
  }
}
