/* ==========================================================================
   Law Offices of Dorfman & Dorfman — site styles
   Palette taken from the office's maroon & gold-leaf sign.
   ========================================================================== */

:root {
  --maroon-950: #2a0e0e;
  --maroon-900: #3b1414;
  --maroon-800: #561a1a;
  --maroon: #800000;          /* the original site's brand color */
  --maroon-600: #9a2222;
  --gold: #c39a45;
  --gold-light: #e2c983;
  --gold-pale: #f3e7c4;
  --cream: #faf6ef;
  --paper: #fffdf9;
  --sand: #efe6d6;
  --ink: #2b2220;
  --ink-soft: #4d4340;
  --muted: #776a64;
  --line: #e3d7c4;

  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(43, 34, 32, .06), 0 8px 24px rgba(43, 34, 32, .08);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--maroon-600); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--maroon-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--gold); color: var(--maroon-950); padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.eyebrow--dark { color: var(--maroon); }

.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--gold { background: var(--gold); color: var(--maroon-950); }
.btn--gold:hover { background: var(--gold-light); color: var(--maroon-950); }
.btn--maroon { background: var(--maroon); color: #fff; }
.btn--maroon:hover { background: var(--maroon-800); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--outline { border-color: var(--maroon); color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--maroon-950);
  color: var(--gold-pale);
  font-size: .875rem;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 40px;
}
.topbar a { color: var(--gold-pale); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__notes { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar__notes span::before { content: "◆"; color: var(--gold); font-size: .6em; margin-right: .5em; vertical-align: .2em; }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar__contact a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__contact svg { width: 14px; height: 14px; color: var(--gold); }
.topbar__contact { align-items: center; }
.topbar .lang-switch {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .15rem .7rem; border: 1px solid rgba(226, 201, 131, .55); border-radius: 999px;
  color: var(--gold-light); font-weight: 700; font-size: .8rem; letter-spacing: .04em;
}
.topbar .lang-switch:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-950); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: var(--header-h);
}

/* Logo modeled on the carved wooden office sign:
   stained board with wood grain, notched corners, an inset gilt
   line and gold-leaf lettering. */
.brand {
  --r: 9px;   /* corner notch radius */
  --o: 0px;   /* inset of each layer */
  --wood:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.42' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.02 0 0 0 0 0.01 1.4 0 0 0 -0.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(179deg, rgba(0,0,0,.07) 0 1px, transparent 1px 5px),
    radial-gradient(120% 140% at 50% 45%, transparent 55%, rgba(20,5,4,.45) 100%),
    linear-gradient(180deg, #5c2a25 0%, #4d221e 55%, #421c19 100%);
  position: relative; isolation: isolate;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none;
  background: var(--wood);
  -webkit-mask: var(--notch); mask: var(--notch);
  padding: .6rem 1.35rem .62rem;
  font-family: var(--font-display);
  line-height: 1;
  flex: none;
}
.brand, .brand::before, .brand::after {
  --notch:
    radial-gradient(circle at calc(0px - var(--o)) calc(0px - var(--o)), #0000 calc(var(--r) + var(--o)), #000 calc(var(--r) + var(--o) + .6px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--o)) calc(0px - var(--o)), #0000 calc(var(--r) + var(--o)), #000 calc(var(--r) + var(--o) + .6px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(0px - var(--o)) calc(100% + var(--o)), #0000 calc(var(--r) + var(--o)), #000 calc(var(--r) + var(--o) + .6px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--o)) calc(100% + var(--o)), #0000 calc(var(--r) + var(--o)), #000 calc(var(--r) + var(--o) + .6px)) 100% 100% / 51% 51% no-repeat;
}
/* gilt inset line (gold layer with the wood laid over it 1.5px further in) */
.brand::before, .brand::after {
  content: ""; position: absolute; inset: var(--o); z-index: -1;
  -webkit-mask: var(--notch); mask: var(--notch);
}
.brand::before { --o: 4px; background: linear-gradient(135deg, #f0d98f, #b8892f 45%, #e9cd7c 70%, #9c7226); }
.brand::after  { --o: 5.5px; background: var(--wood); background-position: -5.5px -5.5px; }
/* gold-leaf lettering, slightly raised off the board */
.brand > span {
  background: linear-gradient(180deg, #f8e7a6 0%, #e3bf5f 38%, #b88a2c 62%, #e8c96e 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(22,6,4,.85)) drop-shadow(0 0 1px rgba(22,6,4,.5));
  transition: filter .2s ease;
}
.brand:hover > span { filter: brightness(1.15) drop-shadow(0 1px 0 rgba(22,6,4,.85)) drop-shadow(0 0 1px rgba(22,6,4,.5)); }
.brand__small { font-size: .74rem; letter-spacing: .2em; font-weight: 700; }
.brand__name { font-size: 1.6rem; font-weight: 700; letter-spacing: .03em; margin: .22rem 0 .18rem; white-space: nowrap; padding: 0 .05em; }
.brand__phone { font-family: var(--font-display); font-variant-numeric: lining-nums; font-size: .95rem; letter-spacing: .1em; font-weight: 700; }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__list > li { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .7rem;
  font-size: .95rem; font-weight: 600; white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link.is-active { color: var(--maroon); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__ext svg { width: 11px; height: 11px; opacity: .6; }

.dropdown {
  list-style: none; margin: 0; padding: .5rem 0;
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover > .nav__link svg, .has-dropdown.is-open > .nav__link svg { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: .5rem 1.1rem;
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--cream); color: var(--maroon); }

.nav__cta { display: none; padding: .7rem 1.1rem; font-size: .95rem; white-space: nowrap; } /* shown inside the mobile menu only */

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 46px; height: 46px; padding: 0; cursor: pointer; color: var(--maroon-900);
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--maroon-950) url("../images/handshake.jpg") center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(42, 14, 14, .94) 0%, rgba(59, 20, 20, .82) 45%, rgba(59, 20, 20, .35) 100%);
}
.hero .wrap { padding-block: clamp(4.5rem, 10vw, 8rem); }
.hero__content { max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 600; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero__tags {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 2.25rem; padding: 0; list-style: none;
  font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light);
}
.hero__tags li + li::before { content: "•"; margin-right: 1.25rem; color: var(--gold); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative; isolation: isolate;
  color: #fff;
  background-color: var(--maroon-900);
  background-position: center; background-size: cover;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(42,14,14,.95) 0%, rgba(59,20,20,.85) 55%, rgba(59,20,20,.55) 100%);
}
.page-hero .wrap { padding-block: clamp(3rem, 7vw, 5rem); }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 640px; margin: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: var(--gold-light); }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; opacity: .6; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--maroon { background: var(--maroon-900); color: rgba(255,255,255,.88); }
.section--maroon h2, .section--maroon h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 2.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }

.rule {
  width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.5rem;
}
.section__head--center .rule { margin-inline: auto; }

.split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.split--even { grid-template-columns: 1fr 1fr; }
.split--reverse > :first-child { order: 2; }

.figure { margin: 0; position: relative; }
.figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.figure--framed::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 2px solid var(--gold); border-radius: var(--radius);
}
.figure--framed { isolation: isolate; margin-right: 14px; margin-bottom: 14px; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }

.img-stack { display: grid; gap: 1.25rem; }

/* Prose */
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 2rem; }
.prose strong { color: var(--maroon-900); }

/* ---------- Practice area cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem;
}
.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--ink); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { font-size: 1.55rem; margin-bottom: .35rem; }
.card__body p { font-size: .98rem; color: var(--ink-soft); }
.card__more {
  margin-top: auto; padding-top: 1rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon);
}
.card__more::after { content: " →"; }

/* ---------- Check lists ---------- */
.checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .55rem; }
.checklist--cols { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem 1.5rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-weight: 600; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .38em;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--maroon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2c983' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.checklist--plain li { font-weight: 400; }

.panel {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--maroon);
  border-radius: var(--radius); padding: 1.75rem 1.75rem 1.5rem; box-shadow: var(--shadow);
}
.panel h3 { font-size: 1.45rem; }

/* Service listing on Areas of Practice */
.service-list { display: grid; gap: 1.25rem; }
.service {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
}
.service__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--maroon-900); color: var(--gold-light);
}
.service__icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.55rem; margin-bottom: .35rem; }
.service p { color: var(--ink-soft); }
.service a { font-weight: 700; font-size: .95rem; }

/* ---------- Amenities strip ---------- */
.amenities { background: var(--maroon-900); color: var(--gold-pale); }
.amenities ul {
  list-style: none; margin: 0; padding: 1.6rem 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem;
}
.amenities li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.amenities svg { width: 30px; height: 30px; flex: none; color: var(--gold); }

/* ---------- CTA / location band ---------- */
.cta-band { background: var(--sand); }
.cta-band .wrap {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { color: var(--ink-soft); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.address-card {
  background: var(--maroon-900); color: var(--gold-pale);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.address-card img { width: 100%; aspect-ratio: 940 / 370; object-fit: cover; }
.address-card__body { padding: 1.4rem 1.6rem 1.6rem; }
.address-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.address-card address { font-style: normal; line-height: 1.6; }
.address-card a { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.address-card a:hover { color: #fff; }
.address-card__phone { display: block; font-family: var(--font-display); font-size: 1.8rem; margin-top: .4rem; }

.service-area { font-size: .95rem; color: var(--muted); }

/* ---------- Attorney profiles ---------- */
.attorney {
  display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
.attorney + .attorney { margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: clamp(3.5rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.attorney__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.attorney__photo {
  margin: 0 0 1.25rem; padding: 8px; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.attorney__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; }
.attorney__name { margin-bottom: .1rem; }
.attorney__role { font-weight: 700; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1.25rem; }
.attorney__badge { display: inline-block; margin-top: 1rem; }
.attorney__badge img { width: 150px; }
.attorney__aside .btn { width: 100%; justify-content: center; margin-top: .5rem; }

.cases { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
.case {
  border-left: 3px solid var(--gold); padding: .25rem 0 .25rem 1.25rem;
}
.case__year { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--maroon); display: block; line-height: 1.2; }

.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.creds .panel { box-shadow: none; padding: 1.4rem 1.5rem; }
.creds h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.creds li { line-height: 1.45; font-size: .97rem; }
.creds li strong { display: block; color: var(--ink); font-weight: 700; }
.creds li span { color: var(--muted); font-size: .92rem; }
.creds--wide { grid-column: 1 / -1; }
.creds--wide ul { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem 1.5rem; }

/* ---------- Resources ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.resource-group h2 { font-size: 1.6rem; display: flex; align-items: center; gap: .6rem; }
.resource-group h2 svg { width: 24px; height: 24px; color: var(--gold); }
.resource-group ul { list-style: none; margin: 0; padding: 0; }
.resource-group li { border-bottom: 1px solid var(--line); }
.resource-group li:last-child { border-bottom: 0; }
.resource-group a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .6rem 0; text-decoration: none; color: var(--ink); font-weight: 600;
}
.resource-group a::after { content: "↗"; color: var(--gold); font-weight: 400; }
.resource-group a:hover { color: var(--maroon); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-top: 1.75rem; }
.form__field { display: flex; flex-direction: column; gap: .35rem; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 700; font-size: .92rem; color: var(--maroon-900); }
.form label .req { color: var(--maroon-600); }
.form input, .form textarea {
  font: inherit; font-size: 1rem;
  padding: .8rem .9rem;
  border: 1px solid #d4c6b0; border-radius: var(--radius);
  background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(128,0,0,.15); }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); margin: 0; }
.form__actions { grid-column: 1 / -1; }
.form__status { grid-column: 1 / -1; font-weight: 600; margin: 0; }
.form__status.is-ok { color: #2f6b2f; }
.form__status.is-error { color: var(--maroon-600); }
.form button[disabled] { opacity: .65; cursor: progress; }

.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.contact-list__icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--maroon-900); color: var(--gold-light);
  display: grid; place-items: center;
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--maroon-900); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a { font-weight: 600; }

.map {
  border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand);
}

.notice {
  font-size: .9rem; color: var(--ink-soft);
  background: var(--sand); border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Spanish page ---------- */
.lang-note {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(226,201,131,.4);
  border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; color: var(--gold-light); margin-top: 1.25rem;
}
.promise {
  text-align: center; padding: 2rem; border: 2px solid var(--gold); border-radius: var(--radius); background: var(--paper);
}
.promise p { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--maroon-900); line-height: 1.25; margin: 0; }
.promise p + p { font-size: 1.3rem; color: var(--maroon); margin-top: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-950); color: rgba(243, 231, 196, .78); font-size: .95rem; }
.site-footer a { color: rgba(243, 231, 196, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__main {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.5rem;
  padding-block: 4rem 3rem;
}
.footer__brand .brand { margin-bottom: 1.25rem; }
.footer__brand p { max-width: 320px; }
.site-footer h3 {
  font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer__phone { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--gold-light) !important; display: inline-block; margin-top: .4rem; }
.footer__legal {
  border-top: 1px solid rgba(195, 154, 69, .25);
  padding-block: 1.75rem 2rem;
  font-size: .82rem; line-height: 1.6; color: rgba(243, 231, 196, .6);
}
.footer__legal p { margin-bottom: .6rem; }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1440px) {
  .topbar__notes span:nth-child(3) { display: none; }
  .nav__link { padding: .6rem .55rem; font-size: .92rem; }
}

@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .topbar__notes { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    border-top: 1px solid var(--line);
    background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1.25rem 6rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 .75rem .75rem; min-width: 0;
    display: none; background: transparent;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; }
  .nav__cta { display: inline-flex; justify-content: center; margin-top: 1.5rem; padding: 1rem; }

  .amenities ul { grid-template-columns: repeat(2, 1fr); }
  .amenities li:last-child { grid-column: 1 / -1; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .attorney { grid-template-columns: 220px 1fr; }
}

@media (max-width: 820px) {
  .topbar__notes { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar__addr { display: none !important; }
  .split, .split--even, .cta-band .wrap, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .attorney { grid-template-columns: 1fr; }
  .attorney__aside { position: static; display: grid; grid-template-columns: 140px 1fr; gap: 0 1.25rem; align-items: center; }
  .attorney__photo { margin: 0; grid-row: span 4; }
  .attorney__aside .btn { width: auto; justify-self: start; }
  .hero::before { background: linear-gradient(180deg, rgba(42,14,14,.85), rgba(59,20,20,.92)); }
}

@media (max-width: 600px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .brand__name { font-size: 1.2rem; }
  .brand__small { font-size: .62rem; }
  .brand__phone { font-size: .8rem; }
  .brand { padding: .5rem .95rem; --r: 7px; }
  .topbar__contact > a:not(.lang-switch) { display: none !important; }
  .topbar .wrap { min-height: 34px; }
  .amenities ul { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; }
  .attorney__aside { grid-template-columns: 110px 1fr; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__tags { gap: .4rem .9rem; }
  .hero__tags li + li::before { display: none; }

  .callbar {
    display: grid; grid-template-columns: repeat(2, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--maroon-950); border-top: 2px solid var(--gold);
  }
  .callbar a {
    display: flex; flex-direction: column; align-items: center; gap: .15rem;
    padding: .55rem 0 .6rem; color: var(--gold-pale); text-decoration: none; font-size: .75rem; font-weight: 700;
  }
  .callbar a:first-child { background: var(--gold); color: var(--maroon-950); }
  .callbar svg { width: 20px; height: 20px; }
}

@media print {
  .topbar, .site-header, .callbar, .amenities, .cta-band__actions, .nav-toggle { display: none !important; }
  .page-hero, .hero { background: none !important; color: #000; }
  .page-hero::before, .hero::before { display: none; }
  .page-hero h1, .hero h1 { color: #000; }
}

@media (max-width: 400px) {
  .brand { padding: .45rem .75rem; --r: 6px; }
  .brand__name { font-size: 1.02rem; }
  .brand__small { font-size: .56rem; }
  .brand__phone { font-size: .72rem; }
}
