/* Garza Law Firm, 2026 rebuild. One stylesheet, mobile first. Fonts come from fonts.css. */
:root {
  --navy: #122a44; --navy-deep: #0b1a2c; --navy-soft: #1d3b5e;
  --gold: #b4912f; --gold-soft: #d9bb6b; --gold-text: #86691c;
  --ink: #1b2430; --muted: #5a6473; --paper: #f6f4ee; --white: #fff; --line: #e3dfd6;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1160px; --radius: 12px; --shadow: 0 10px 30px rgba(18, 42, 68, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: rgba(18, 42, 68, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 .9rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: .2s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; }

/* header: photo, then title, tagline, email + phone, all left-justified; the nav bar below holds only the nav */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.15rem 0 1.1rem; }
.brand img { width: 88px; height: 88px; object-fit: cover; object-position: top; border-radius: 10px; flex: none; box-shadow: var(--shadow); }
.brand-title { font: 600 clamp(1.5rem, 2.6vw, 1.95rem)/1.1 var(--serif); color: var(--navy); text-decoration: none; display: block; margin-top: .05rem; }
.brand-tag { margin: .45rem 0 .55rem; font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.brand-contact { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; font-size: .95rem; margin: 0; }
.brand-contact a { text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.brand-contact a:hover { color: var(--navy); text-decoration: underline; }
.brand-contact svg { width: 15px; height: 15px; color: var(--gold); }
.nav { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav ul a { display: block; padding: 1.05rem .85rem; color: #fff; text-decoration: none; font-weight: 500; font-size: .93rem; border-bottom: 3px solid transparent; opacity: .92; white-space: nowrap; }
.nav ul a:hover, .nav ul a[aria-current="page"] { border-bottom-color: var(--gold); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font: 600 .9rem var(--sans); padding: .9rem 0; cursor: pointer; align-items: center; gap: .5rem; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-call { color: var(--gold-soft); text-decoration: none; font-weight: 600; font-size: .93rem; white-space: nowrap; }
.nav-call:hover { color: #fff; }
@media (max-width: 900px) {
  .nav .wrap { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav ul { display: none; flex-direction: column; width: 100%; padding-bottom: .5rem; }
  .nav.open ul { display: flex; }
  .nav ul a { padding: .8rem .25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-call { font-size: .88rem; }
  .brand img { width: 66px; height: 66px; }
}

/* hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; background: var(--navy-deep); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 26, 44, .94) 0%, rgba(11, 26, 44, .78) 45%, rgba(11, 26, 44, .3) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: 5rem 0; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 54ch; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* credentials strip */
.creds { background: var(--paper); border-bottom: 1px solid var(--line); }
.creds ul { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.creds li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--navy); font-weight: 500; }
.creds svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
@media (max-width: 860px) { .creds ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .creds ul { grid-template-columns: 1fr; } }

/* sections */
.section { padding: 5rem 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 64ch; margin-bottom: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem 1.4rem; position: relative; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: .25s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--gold); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin: .7rem 0 .5rem; font-size: 1.3rem; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card .more { font-weight: 600; color: var(--navy); font-size: .93rem; }
.card svg { width: 34px; height: 34px; color: var(--gold); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-portrait { grid-template-columns: .8fr 1.2fr; align-items: start; }
.split-portrait img { aspect-ratio: 3 / 4; object-position: top; max-width: 448px; } /* the only portrait on file is 448px wide */
@media (max-width: 900px) { .split, .split-portrait { grid-template-columns: 1fr; gap: 2rem; } .split-portrait img { max-width: 420px; } }

/* inner pages */
.page-head { background: var(--navy); color: #fff; padding: 3.6rem 0 3.2rem; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -12%; top: -60%; width: 55%; height: 220%; background: radial-gradient(closest-side, rgba(29, 59, 94, .9), transparent); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .35em; }
.page-head .lead { color: rgba(255, 255, 255, .82); margin: 0; }
.page-head .eyebrow { color: var(--gold-soft); }
.prose { max-width: 66ch; font-size: 1.05rem; }
.prose p { margin-bottom: 1.2em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .3rem 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.facts div { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.facts strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.15rem; margin-bottom: .2rem; }
.facts span { font-size: .92rem; color: var(--muted); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-block; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .92rem; background: #fff; }
.chips a:hover { border-color: var(--gold); }
.cta { background: var(--navy-deep); color: #fff; padding: 4rem 0; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; margin: 0 0 .3rem; }
.cta p { margin: 0; color: rgba(255, 255, 255, .75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* contact */
.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
@media (max-width: 860px) { .contact-tiles { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.tile h2 { font-size: 1.1rem; margin: .7rem 0 .4rem; }
.faq h3 { font-size: 1.08rem; margin: 1.3rem 0 .3rem; }
.faq .prose p { color: var(--muted); }
.faq .split { align-items: start; }
picture { display: block; }
.tile p { margin: 0; color: var(--muted); }
.tile a { font-weight: 600; text-decoration: none; }
.tile svg { width: 28px; height: 28px; color: var(--gold); }
.map { border: 0; width: 100%; height: 440px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* footer */
footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: 3.5rem 0 2rem; font-size: .93rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-h { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: 0 0 .8rem; }
footer p { margin: 0 0 .5rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--gold-soft); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: .35rem 0; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
