/* ============================================================
   DFW ABA Center — Frisco · Site stylesheet
   ============================================================ */

:root {
  --navy: #1F2D4F;
  --navy-deep: #16203A;
  --terracotta: #D9814A;
  --terracotta-deep: #C06B37;
  --sage: #8FAE79;
  --sage-deep: #718F5C;
  --cream: #F7F5F0;
  --paper: #FFFFFF;
  --charcoal: #33363D;
  --muted: #6B6F78;
  --line: #E4E1D8;

  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Lora', Georgia, 'Times New Roman', serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .eyebrow, nav, .btn, .stat-num, .card-title {
  font-family: var(--font-head);
}

h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; max-width: 62ch; }
a  { color: inherit; }

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-navy  { background: var(--navy); color: #E7EAF2; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #C4CBDD; }

.tight > p:last-child { margin-bottom: 0; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-outline { border-color: currentColor; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------------- Nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--maxw); margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 42px; width: auto; }
.nav-brand span { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; letter-spacing: 0.2px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--charcoal); font-family: var(--font-head);
  font-size: 0.95rem; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--terracotta); color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; font-size: 0.95rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 20px 28px 26px; gap: 16px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.18s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-brand span { font-size: 0.92rem; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,20,40,0.88) 12%, rgba(15,20,40,0.35) 55%, rgba(15,20,40,0.15) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 60px 28px 68px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-eyebrow { color: var(--terracotta); font-family: var(--font-head); font-weight: 600; letter-spacing: 0.3px; margin-bottom: 14px; font-size: 1.02rem; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 0.35em; }
.hero p.lead { color: #DCE1EE; font-size: 1.15rem; max-width: 46ch; margin-bottom: 1.6em; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page header (non-home hero, shorter) */
.page-header { position: relative; color: #fff; padding: 150px 0 70px; overflow: hidden; }
.page-header img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-header::after { content:""; position:absolute; inset:0; background: linear-gradient(100deg, rgba(21,29,58,0.93) 30%, rgba(21,29,58,0.55) 100%); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; margin-bottom: 0.3em; }
.page-header p { color: #C9CFDF; font-size: 1.08rem; max-width: 52ch; }

/* ---------------- Editorial row (image + text alternating) ---------------- */
.row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.row.reverse .row-media { order: 2; }
.row-media img { border-radius: 4px; }
.row-eyebrow { color: var(--terracotta); font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; }

@media (max-width: 840px) {
  .row, .row.reverse .row-media { grid-template-columns: 1fr; order: initial; }
  .row { grid-template-columns: 1fr; }
}

/* ---------------- Specialty list ---------------- */
.spec-list { list-style: none; margin: 28px 0 0; padding: 0; max-width: 640px; }
.spec-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.spec-list li:first-child { border-top: none; }
.spec-num { font-family: var(--font-head); font-weight: 700; color: var(--terracotta); font-size: 1.1rem; min-width: 2ch; }
.spec-list h4 { margin: 0 0 4px; font-size: 1.05rem; }
.spec-list p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ---------------- Services ---------------- */
.service-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.service-row:first-of-type { border-top: none; }
.service-tag { font-family: var(--font-head); font-weight: 600; color: var(--terracotta); font-size: 0.92rem; letter-spacing: 0.2px; }
.service-row h3 { margin-bottom: 8px; }
@media (max-width: 700px) { .service-row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.gallery-grid figure {
  margin: 0; position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 3;
}
.gallery-grid figure.feature { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 14px 16px 10px;
  background: linear-gradient(0deg, rgba(15,20,40,0.75), transparent);
  color: #fff; font-family: var(--font-head); font-size: 0.86rem; font-weight: 500;
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid figure.feature { grid-column: span 2; }
}

/* ---------------- Stat strip ---------------- */
.stat-strip { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 40px; }
.stat-num { font-size: 2.2rem; font-weight: 700; color: var(--terracotta); }
.stat-label { color: var(--muted); font-size: 0.92rem; max-width: 18ch; }

/* ---------------- Quote block ---------------- */
.pull-quote {
  border-left: 4px solid var(--terracotta); padding-left: 24px; margin: 40px 0;
  font-size: 1.2rem; font-style: italic; color: var(--navy); max-width: 56ch;
}

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.contact-card { border-top: 1px solid var(--line); padding: 22px 0; display: flex; gap: 18px; }
.contact-card:first-child { border-top: none; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; flex: none; color: var(--terracotta); font-size: 1.2rem;
}
.contact-card h4 { margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); }
.map-frame { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: #A9B0C4; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--font-head); font-size: 0.98rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; color: #A9B0C4; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------- Misc ---------------- */
.eyebrow { color: var(--terracotta); font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; display: block; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.cta-band { background: var(--sage); color: #16321F; padding: 60px 0; text-align: center; }
.cta-band h2 { color: #16321F; }
.cta-band .btn-primary { background: var(--navy); }
.cta-band .btn-primary:hover { background: var(--navy-deep); }
