/* ==========================================================================
   The Law Office of David Martinez, Lubbock, Texas
   One stylesheet for the whole site.

   1. Fonts              8. Trust strip        15. Reviews
   2. Design tokens      9. Start here paths   16. Location and hours
   3. Base              10. Practice areas     17. Questions (FAQ)
   4. Layout helpers    11. Rights band        18. Call to action band
   5. Buttons           12. How it works       19. Footer
   6. Top strip, header 13. Why this office    20. Sticky Call bar (phones)
   7. Hero and scales   14. About, Español     21. Inner pages, contact form, 404
   ========================================================================== */

/* 1. Fonts ------------------------------------------------------------------ */
@font-face {
  font-family: "Sorts Mill Goudy";
  src: url("/fonts/sorts-mill-goudy.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sorts Mill Goudy";
  src: url("/fonts/sorts-mill-goudy-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens ---------------------------------------------------------- */
:root {
  /* Colors: the green comes from the logo, brass is the accent for calls to action */
  --ink: #101713;
  --ink-2: #2b352f;
  --muted: #5b665f;
  --green: #006b33;
  --green-hover: #00582a;
  --green-deep: #0b3a22;
  --green-night: #08261a;
  --green-soft: #6fc98e;
  --mint: #e4f1e8;
  --paper: #f7f3e9;
  --paper-2: #efe8d8;
  --white: #fffdf8;
  --brass: #b98a3a;
  --brass-ink: #86601f;
  --brass-soft: #e3c58c;
  --brass-hover: #f0d7a4;
  --dusk: #e8a070;
  --line: rgba(16, 23, 19, .14);
  --line-light: rgba(255, 255, 255, .18);

  /* Fonts */
  --font-display: "Sorts Mill Goudy", "Goudy Old Style", Garamond, "Times New Roman", serif;
  --font-text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  /* Type scale */
  --text-small: .92rem;
  --text-body: 1rem;
  --text-lede: 1.15rem;
  --h1: clamp(2.7rem, 6.4vw, 5rem);
  --h1-page: clamp(2.4rem, 5.2vw, 4rem);
  --h2: clamp(2rem, 4.2vw, 3.1rem);
  --h3: 1.45rem;

  /* Radius and shadows */
  --radius: 14px;
  --radius-large: 18px;
  --radius-card: 22px;
  --pill: 999px;
  --shadow: 0 18px 40px -22px rgba(8, 38, 26, .45);
  --shadow-deep: 0 30px 60px -30px rgba(0, 0, 0, .7);

  /* Spacing */
  --wrap: 1180px;
  --gutter: 20px;
  --section: clamp(64px, 9vw, 112px);
  --call-bar: 3.75rem;
}

/* 3. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  padding-bottom: calc(var(--call-bar) + env(safe-area-inset-bottom));
  font-family: var(--font-text);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: .6rem 1rem; border-radius: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 4. Layout helpers --------------------------------------------------------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.section { padding: var(--section) 0; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-tint { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.label {
  display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1rem;
  font-family: var(--font-display); font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green);
}
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.label-light { color: var(--brass-soft); }
.lede { font-size: var(--text-lede); color: var(--ink-2); max-width: 62ch; }
.text-link { font-weight: 700; text-underline-offset: .2em; }
.text-link:hover { color: var(--green-hover); }

/* 5. Buttons ---------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .7rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--pill);
  font-family: var(--font-text); font-weight: 700; font-size: 1.02rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; touch-action: manipulation;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: var(--green-hover); }
.button-brass { background: var(--brass-soft); color: var(--green-night); }
.button-brass:hover { background: var(--brass-hover); }
.button-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.button-ghost:hover { background: rgba(255, 255, 255, .12); }
.button-line { border-color: var(--ink); color: var(--ink); }
.button-line:hover { background: var(--ink); color: var(--paper); }
.button-small { min-height: 46px; padding: .5rem 1.15rem; font-size: .98rem; }
.button-large { min-height: 56px; padding: .85rem 1.8rem; font-size: 1.08rem; }
.button-block { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-2px); }
  .button:active { transform: translateY(0); }
}

/* 6. Top strip and header --------------------------------------------------- */
.top-strip { background: var(--green-night); color: #d9e8de; font-size: .86rem; }
.top-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.top-strip ul { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.top-strip li { display: flex; align-items: center; gap: .45rem; }
.top-strip li:nth-child(n+2) { display: none; }
.top-strip li::before { content: ""; width: 6px; height: 6px; background: var(--brass); transform: rotate(45deg); }
.top-strip a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 243, 233, .96); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; padding: .55rem 0; }
.brand { display: block; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .button { white-space: nowrap; }
.header-main-button { min-height: 44px; padding: .4rem .8rem; font-size: .875rem; }
.header-call { display: none; }

/* The menu: without JavaScript the links sit in a wrapped row under the logo;
   with it (html.js) they fold behind the Menu button until it is tapped. */
.site-nav { order: 3; width: 100%; display: flex; flex-wrap: wrap; gap: 0 1.1rem; padding-bottom: .2rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .98rem; padding: .6rem 0; border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--green); }
.nav-toggle { display: none; }
.nav-toggle-bars { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.nav-toggle-label { display: none; }
@media (max-width: 76.24rem) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-width: 46px; min-height: 46px; padding: 0 .8rem;
    border: 1px solid var(--ink); border-radius: var(--pill); background: transparent;
    font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
  }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; width: auto;
    flex-direction: column; flex-wrap: nowrap; gap: 0;
    padding: .4rem var(--gutter) 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
  }
  .js .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
}
@media (max-width: 23.49rem) {
  .header-inner { gap: .35rem; }
  .brand img { height: 40px; }
  .header-actions { gap: .35rem; }
  .header-main-button { padding: .4rem .65rem; font-size: .8125rem; }
}
@media (max-width: 20.99rem) {
  .header-main-button { display: none; }
}
@media (min-width: 26rem) {
  .brand img { height: 50px; }
  .nav-toggle-label { display: inline; }
  .js .nav-toggle { padding: 0 1rem; }
}
@media (min-width: 40rem) {
  .top-strip li:nth-child(n+2) { display: flex; }
  .header-inner { gap: .5rem 1.2rem; padding: .6rem 0; }
  .brand img { height: 62px; }
  .header-actions { gap: .7rem; }
  .header-main-button { min-height: 46px; padding: .5rem 1.15rem; font-size: .98rem; }
  .header-call { display: inline-flex; }
}
@media (min-width: 76.25rem) {
  .header-inner { flex-wrap: nowrap; justify-content: space-between; }
  .brand { margin-right: 0; }
  .site-nav { order: 0; width: auto; flex-wrap: nowrap; gap: 1.15rem; padding: 0; }
  .site-nav a { font-size: .96rem; padding: .4rem 0; white-space: nowrap; }
  .header-actions .button-small { padding: .5rem 1rem; font-size: .95rem; }
}

/* 7. Hero and the scales card ----------------------------------------------- */
.hero { position: relative; color: #fff; background: var(--green-night); isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 38, 26, .93) 0%, rgba(8, 38, 26, .9) 45%, rgba(8, 38, 26, .74) 100%);
}
.hero-inner { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px); }
.hero h1 { margin: 0 0 1.2rem; }
.hero h1 em { font-style: italic; color: var(--brass-soft); }
.h1-kicker {
  display: block; max-width: 34ch; margin-bottom: 1.3rem;
  font-size: clamp(.85rem, 1.25vw, 1rem); letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; color: var(--brass-soft);
}
.hero-sub { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: #e2ece5; max-width: 54ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.1rem; }
.hero-cta .button { width: 100%; }
.hero-more { margin: 0 0 1.5rem; }
.hero-more a { color: #fff; font-weight: 700; text-underline-offset: .25em; text-decoration-color: var(--brass-soft); }
.hero-more a:hover { color: var(--brass-soft); }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; font-size: .96rem; color: #cfe0d5; }
.status {
  display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem;
  border-radius: var(--pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font-weight: 700; font-size: .9rem;
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #5fe08f; box-shadow: 0 0 0 4px rgba(95, 224, 143, .22); }

.scales {
  position: relative; max-width: 460px; padding: 1.4rem 1.4rem 1.3rem;
  border-radius: var(--radius-card); background: rgba(8, 38, 26, .62); border: 1px solid rgba(227, 197, 140, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: var(--shadow-deep);
}
.scales svg { width: 100%; height: auto; display: block; overflow: visible; }
.scales .stroke { fill: none; stroke: var(--brass-soft); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scales .thin { stroke-width: 1.6; }
.scales .bowl { fill: rgba(227, 197, 140, .16); stroke: var(--brass-soft); stroke-width: 3; }
.scales .pivot { fill: var(--brass-soft); }
.scales .w-dark { fill: #46534b; stroke: #8e9a92; stroke-width: 1.5; }
.scales .w1 { fill: var(--brass-soft); }
.scales .w2 { fill: var(--green-soft); }
.scales .w3 { fill: #fffdf8; }
.scales text { font-family: var(--font-text); font-size: 13px; fill: #cfe0d5; text-anchor: middle; letter-spacing: .04em; }
.scales .beam, .scales .pan-l, .scales .pan-r { transform-box: view-box; }
.scales .beam { transform-origin: 200px 84px; }
.scales .pan-l { transform-origin: 70px 84px; }
.scales .pan-r { transform-origin: 330px 84px; }
.scales-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .6rem; }
.scales-chips li {
  display: grid; place-items: center; padding: .5rem .3rem; border-radius: 10px;
  border: 1px solid var(--brass-soft); background: var(--brass-soft); color: var(--green-night);
  font-size: .78rem; line-height: 1.25; text-align: center;
}
.scales-cap { margin: .9rem 0 0; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: #fff; }

/* The scales start tipped toward the other side and level out as the three weights land.
   Plain CSS, played once when the page opens; skipped for visitors who prefer less motion. */
@media (prefers-reduced-motion: no-preference) {
  .scales .beam { animation: scales-beam 3.1s cubic-bezier(.4, 0, .3, 1) .35s both; }
  .scales .pan-l, .scales .pan-r { animation: scales-pan 3.1s cubic-bezier(.4, 0, .3, 1) .35s both; }
  .scales .d1 { animation: scales-drop .5s cubic-bezier(.3, 1.3, .5, 1) 1.1s both; }
  .scales .d2 { animation: scales-drop .5s cubic-bezier(.3, 1.3, .5, 1) 1.75s both; }
  .scales .d3 { animation: scales-drop .5s cubic-bezier(.3, 1.3, .5, 1) 2.4s both; }
  .scales .c1 { animation: scales-chip .4s ease 1.4s both; }
  .scales .c2 { animation: scales-chip .4s ease 2.05s both; }
  .scales .c3 { animation: scales-chip .4s ease 2.7s both; }
  .scales-cap { animation: scales-fadeup .6s ease 3.25s both; }
}
@keyframes scales-beam { 0%, 26% { transform: rotate(-11deg); } 36%, 46% { transform: rotate(-7deg); } 57%, 67% { transform: rotate(-3.5deg); } 78% { transform: rotate(1.2deg); } 88% { transform: rotate(-.5deg); } 100% { transform: rotate(0); } }
@keyframes scales-pan { 0%, 26% { transform: rotate(11deg); } 36%, 46% { transform: rotate(7deg); } 57%, 67% { transform: rotate(3.5deg); } 78% { transform: rotate(-1.2deg); } 88% { transform: rotate(.5deg); } 100% { transform: rotate(0); } }
@keyframes scales-drop { from { opacity: 0; transform: translateY(-70px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scales-chip { from { color: #9fb3a6; background-color: transparent; border-color: rgba(255, 255, 255, .18); } }
@keyframes scales-fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 40rem) {
  .hero-cta .button { width: auto; }
  .scales-chips li { font-size: .84rem; }
}
@media (min-width: 56.25rem) {
  .hero::before {
    background:
      linear-gradient(100deg, rgba(8, 38, 26, .96) 0%, rgba(8, 38, 26, .9) 42%, rgba(8, 38, 26, .5) 72%, rgba(8, 38, 26, .3) 100%),
      linear-gradient(0deg, rgba(8, 38, 26, .7), rgba(8, 38, 26, 0) 40%);
  }
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .scales { max-width: none; }
}

/* 8. Trust strip ------------------------------------------------------------ */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-line {
  margin: 0; padding: 1.5rem 0 1.4rem; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--ink);
}
.trust-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.trust-list li { padding: 1.2rem .6rem 1.2rem 0; border-top: 1px solid var(--line); }
.trust-list li:nth-child(-n+2) { border-top: 0; }
.trust-value { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; color: var(--green); }
.trust-label { display: block; margin-top: .2rem; font-size: .96rem; color: var(--muted); }
@media (min-width: 56.25rem) {
  .trust-line { padding: 1.7rem 0 1.6rem; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .trust-list li, .trust-list li:nth-child(-n+2) { padding: 1.6rem 1.2rem; border-top: 0; border-left: 1px solid var(--line); }
  .trust-list li:first-child { border-left: 0; padding-left: 0; }
}

/* 9. Start here: three paths -------------------------------------------------- */
.paths { display: grid; gap: 1.1rem; }
.path {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem 1.5rem 1.4rem;
  border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.path:hover { box-shadow: var(--shadow); border-color: var(--green); }
.path-num { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--brass-ink); }
.path-title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.path-go { margin-top: auto; padding-top: .8rem; color: var(--green); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { .path:hover { transform: translateY(-4px); } }
@media (min-width: 56.25rem) { .paths { grid-template-columns: repeat(3, 1fr); } }

/* 10. Practice areas ---------------------------------------------------------- */
.areas { display: grid; gap: 1.4rem; align-items: stretch; max-width: 720px; margin-inline: auto; }
.area { display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); }
.area-top { position: relative; padding: 1.7rem 1.6rem 1.5rem; background: var(--green-deep); color: #fff; }
.area-top::after { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; bottom: 0; height: 3px; background: var(--brass); }
.area-kicker { display: block; margin-bottom: .7rem; font-family: var(--font-display); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); }
.area-quote { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.7rem; line-height: 1.18; quotes: none; }
.area-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.area-body h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.area-body p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .3rem 0 1.2rem; }
.chips li { padding: .28rem .75rem; border-radius: var(--pill); background: var(--mint); color: var(--green-deep); font-size: .92rem; }
.fee { margin: 0 0 1.2rem; padding: .8rem 1rem; border-left: 3px solid var(--brass); background: #faf4e4; font-size: .98rem; }
.area-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: auto; }
@media (min-width: 70rem) { .areas { grid-template-columns: repeat(3, 1fr); max-width: none; } }

/* 11. Rights band ------------------------------------------------------------- */
.rights { position: relative; color: #fff; isolation: isolate; background: var(--ink); }
.rights-bg { position: absolute; inset: 0; z-index: -2; }
.rights-bg img { width: 100%; height: 100%; object-fit: cover; }
.rights::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 23, 19, .95), rgba(16, 23, 19, .84) 55%, rgba(16, 23, 19, .66)); }
.rights-inner { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rights h2 { color: #fff; }
.rights p { color: #d8e0db; }
.rights-list { display: grid; gap: .8rem; }
.rights-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1rem 1.2rem;
  border: 1px solid rgba(227, 197, 140, .35); border-radius: 12px; background: rgba(16, 23, 19, .55); font-size: 1.1rem;
}
.rights-num { min-width: 2ch; font-family: var(--font-display); font-size: 1.5rem; color: var(--brass-soft); text-align: center; }
@media (min-width: 56.25rem) { .rights-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }

/* 12. How it works: steps ----------------------------------------------------- */
.steps { display: grid; gap: 1.2rem; }
.steps li { position: relative; padding: 1.5rem 1.3rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-display); font-size: 1.4rem; }
.steps h3 { font-size: 1.35rem; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 37.5rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* 13. Why this office ---------------------------------------------------------- */
.why { background: var(--green-deep); color: #fff; }
.why-inner { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
.why h2 { color: #fff; }
.why p { color: #d5e4da; }
.reasons li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.15rem 0; border-top: 1px solid var(--line-light); }
.reasons li:last-child { border-bottom: 1px solid var(--line-light); }
.reason-num { padding-top: .15rem; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--brass-soft); }
.reason-title { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.reason-text { display: block; color: #cfe0d5; }
@media (min-width: 56.25rem) { .why-inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }

/* 14. About and Español -------------------------------------------------------- */
.about-inner { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { max-width: 360px; margin: 0 18px 18px 0; }
.about-photo-frame { position: relative; z-index: 0; }
.about-photo-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 2px solid var(--brass); border-radius: var(--radius-large); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-large); box-shadow: var(--shadow); }
.about-photo figcaption { margin-top: 2.1rem; font-size: var(--text-small); color: var(--muted); }
.members { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.4rem; }
.members li { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: var(--pill); background: var(--white); font-size: .95rem; }
@media (min-width: 56.25rem) {
  .about-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .about-photo { max-width: 440px; }
}

.es-inner { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.es h2 em { color: var(--green); font-style: italic; }
.es-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-large); box-shadow: var(--shadow); }
@media (min-width: 56.25rem) { .es-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* 15. Reviews ------------------------------------------------------------------- */
.reviews-widget { min-height: 220px; padding: clamp(14px, 2.5vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); }

/* 16. Location, hours and map --------------------------------------------------- */
.location-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
.location-card { padding: 1.7rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-large); }
.location-card address { margin-bottom: 1rem; font-style: normal; font-size: 1.15rem; }
.location-tel { display: inline-block; margin-bottom: .6rem; font-family: var(--font-display); font-size: 1.7rem; color: var(--green); text-decoration: none; }
.location-tel:hover { text-decoration: underline; text-underline-offset: .15em; }
.location-email { margin-bottom: .6rem; overflow-wrap: anywhere; }
.location-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hours { width: 100%; border-collapse: collapse; margin: .4rem 0 1.3rem; }
.hours th, .hours td { padding: .5rem .4rem; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours-note { margin: 0; font-size: var(--text-small); color: var(--muted); }
.map { overflow: hidden; background: #dfe6e1; border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: clamp(320px, 50vw, 520px); border: 0; }
@media (min-width: 40rem) { .location-tel { font-size: 2rem; } }
@media (min-width: 56.25rem) { .location-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

/* 17. Questions (FAQ) ------------------------------------------------------------ */
.faq-list { max-width: 860px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0;
  list-style: none; cursor: pointer; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--green);
  background:
    linear-gradient(var(--green), var(--green)) center / 14px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 1.2rem; color: var(--ink-2); max-width: 70ch; }
@media (min-width: 37.5rem) { .faq-list summary { font-size: 1.35rem; } }

/* 18. Call to action band ----------------------------------------------------------- */
.cta-band { position: relative; color: #fff; text-align: center; isolation: isolate; background: var(--green-night); }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 38, 26, .88); }
.cta-band h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; }
.cta-band p { max-width: 56ch; margin-inline: auto; color: #d9e8de; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 1.6rem 0 1.2rem; }
.cta-actions .button { width: 100%; }
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; margin: 0; }
.cta-links a { color: #fff; text-underline-offset: .25em; text-decoration-color: var(--brass-soft); overflow-wrap: anywhere; }
.cta-links a:hover { color: var(--brass-soft); }
@media (min-width: 40rem) { .cta-actions .button { width: auto; } }

/* 19. Footer ---------------------------------------------------------------------------- */
.site-footer { padding: clamp(48px, 7vw, 72px) 0 2.5rem; background: var(--ink); color: #c5cec8; font-size: .97rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-logo { height: 86px; width: auto; margin-bottom: 1rem; }
.site-footer h3 { margin-bottom: .8rem; font-size: 1.2rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.site-footer a { color: #fff; }
.site-footer li { margin-bottom: .35rem; overflow-wrap: anywhere; }
.footer-legal { display: grid; gap: .7rem; max-width: 95ch; padding-top: 1.6rem; font-size: .88rem; color: #9aa69f; }
.footer-legal p { margin: 0; }
@media (min-width: 37.5rem) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 56.25rem) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

/* 20. Sticky Call bar (phones only) ------------------------------------------------------ */
.mobile-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--call-bar); padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: var(--green); color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 -6px 24px rgba(8, 38, 26, .28);
}
.mobile-call svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.mobile-call:active { background: var(--green-hover); }
@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .mobile-call { display: none; }
}
@media print {
  body { padding-bottom: 0; }
  .mobile-call, .site-header .nav-toggle { display: none; }
}

/* 21. Inner pages, contact form, 404 ------------------------------------------------------ */
.page-hero { position: relative; color: #fff; background: var(--green-night); isolation: isolate; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(8, 38, 26, .96) 0%, rgba(8, 38, 26, .9) 55%, rgba(8, 38, 26, .72) 100%);
}
.page-hero-inner { padding: clamp(48px, 7vw, 88px) 0 clamp(52px, 7vw, 92px); }
.page-hero h1 { max-width: 20ch; margin: 0 0 1.1rem; font-size: var(--h1-page); }
.page-hero h1 em { font-style: italic; color: var(--brass-soft); }
.page-hero .hero-sub { margin-bottom: 1.7rem; }
.page-hero .hero-cta { margin-bottom: 0; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-large); box-shadow: var(--shadow); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 0; }
.prose p { color: var(--ink-2); }
.prose > :last-child { margin-bottom: 0; }
.check-list { display: grid; gap: .55rem; margin: 0 0 1.3rem; }
.check-list li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: 8px; height: 8px; background: var(--brass); transform: rotate(45deg); }
.pull-line {
  margin: 0 0 1.6rem; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--brass);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.3; color: var(--ink);
}
@media (min-width: 56.25rem) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split-photo { position: sticky; top: 7.5rem; }
}

.contact-cards { display: grid; gap: 1.1rem; }
.contact-card {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem 1.5rem 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-card h3 { margin: 0; font-size: 1.5rem; }
.contact-card p { margin: 0; color: var(--ink-2); }
.contact-card-value { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; color: var(--green); text-decoration: none; overflow-wrap: anywhere; }
.contact-card-value:hover { text-decoration: underline; text-underline-offset: .15em; }
.contact-card address { font-style: normal; font-size: 1.1rem; color: var(--ink); }
.contact-card .text-link { margin-top: auto; padding-top: .5rem; }
@media (min-width: 56.25rem) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

.contact-grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-form-card { padding: clamp(1.3rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-large); box-shadow: var(--shadow); }
.form-note { margin: 1rem 0 0; font-size: var(--text-small); color: var(--muted); }
@media (min-width: 56.25rem) { .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* contact form */
.bt-form-sent { display: none; scroll-margin-top: 7rem; margin: 0 0 1rem; padding: 1rem 1.25rem; border-radius: 12px; background: var(--mint); color: var(--green-deep); border: 1px solid #b4dfc5; }
.bt-form-sent:target { display: block; }
.bt-form-sent p { margin: 0; }
.bt-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bt-form label { display: block; font-weight: 700; margin: 1rem 0 .35rem; }
.bt-form fieldset > label:first-of-type { margin-top: 0; }
.bt-form input:not([type="hidden"]), .bt-form select, .bt-form textarea {
  display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: inherit; background: #fff; border: 1.5px solid #b9c4bd; border-radius: 10px;
}
.bt-form textarea { min-height: 8rem; resize: vertical; }
.bt-form input:focus-visible, .bt-form select:focus-visible, .bt-form textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.bt-form :user-invalid { border-color: #b3261e; }
.bt-form-hint { margin: .45rem 0 0; font-size: .9rem; color: var(--muted); }
.bt-form-optional { font-weight: 400; color: var(--muted); }
.bt-form button[type="submit"] { margin-top: 1.25rem; min-height: 52px; }

.not-found { text-align: center; }
.not-found h1 { font-size: var(--h1-page); }
.not-found .lede { margin-inline: auto; }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }

/* Privacy page */
.bt-privacy-page { padding: 3rem 0 4rem; }
.bt-privacy-wrap { box-sizing: border-box; width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.bt-privacy { max-width: 46rem; overflow-wrap: break-word; }
.bt-privacy h1 { margin-top: 0; }
.bt-privacy-link { margin: 1rem 0 0; }
