/* ============================================================
   Scarface Law — shared stylesheet
   Warm, approachable personal-injury firm
   ============================================================ */

:root {
  --cream:      #FBF6EE;
  --paper:      #FFFFFF;
  --paper-warm: #FFFCF6;
  --ink:        #2B2622;
  --ink-soft:   #5C544B;
  --ink-faint:  #8A8076;
  --clay:       #BE5631;   /* primary warm accent */
  --clay-deep:  #97401F;
  --clay-tint:  #F6E7DE;
  --sage:       #5C6B55;
  --sage-tint:  #E8EBE2;
  --gold:       #D6A23E;
  --border:     rgba(43, 38, 34, 0.12);
  --border-2:   rgba(43, 38, 34, 0.20);
  --shadow:     0 1px 2px rgba(43,38,34,0.04), 0 8px 28px rgba(43,38,34,0.06);
  --shadow-lg:  0 2px 6px rgba(43,38,34,0.06), 0 24px 60px rgba(43,38,34,0.12);
  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1140px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-deep); text-decoration: none; }
a:hover { color: var(--clay); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-optical-sizing: auto; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
p  { color: var(--ink-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* Accessibility ---------------------------------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

/* Eyebrow / labels ------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--clay); display: inline-block; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--clay); display: inline-block; }

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1;
}
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 8px 22px rgba(190,86,49,0.28); }
.btn-primary:hover { background: var(--clay-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--clay-deep); }
.btn-white:hover { background: var(--cream); color: var(--clay-deep); transform: translateY(-2px); }

/* Header ----------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,238,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--clay); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--ink); letter-spacing: -0.01em; }
.brand-name span { color: var(--clay); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: 1rem; position: relative; padding: 4px 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--clay); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--clay);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav-phone:hover { color: var(--clay); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--border-2); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .25s; }

/* Hero ------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 88% -10%, var(--clay-tint) 0%, transparent 55%),
    radial-gradient(90% 70% at -5% 110%, var(--sage-tint) 0%, transparent 50%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: clamp(48px, 8vw, 96px) 0; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-lede { font-size: 1.2rem; max-width: 33ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; color: var(--ink-soft); font-size: 0.95rem; }
.hero-trust strong { color: var(--ink); font-weight: 600; }

.hero-card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px; position: relative;
}
.hero-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.hero-card .sub { font-size: 0.95rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--border-2); border-radius: 11px; background: var(--paper-warm);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--clay); outline: none; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 10px; }
.badge-free { position: absolute; top: -13px; right: 24px; background: var(--sage); color: #fff; font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; letter-spacing: 0.02em; }

/* Logos / trust strip ---------------------------------------- */
.strip { background: var(--ink); color: var(--cream); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 18px 48px; justify-content: center; align-items: center; padding: 26px 24px; text-align: center; }
.strip .stat { display: flex; flex-direction: column; }
.strip .stat b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: #fff; line-height: 1; }
.strip .stat span { font-size: 0.85rem; color: rgba(251,246,238,0.7); margin-top: 4px; }

/* Section heads ---------------------------------------------- */
.sec-head { max-width: 640px; margin-bottom: 48px; }
.center.sec-head { margin-left: auto; margin-right: auto; }
.sec-head h2 { margin: 14px 0 14px; }

/* Cards grid ------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; background: var(--clay-tint); color: var(--clay-deep);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.98rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 0.95rem; }

/* Steps ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: #fff;
  width: 40px; height: 40px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 7px; }
.step p { font-size: 0.95rem; }

/* Split feature ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, var(--sage-tint), var(--clay-tint)); min-height: 380px;
  display: grid; place-items: center; color: var(--sage); position: relative;
}
.split-media .ph { text-align: center; padding: 24px; color: var(--ink-soft); font-size: 0.9rem; }
.split-media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sage-tint); color: var(--sage); display: grid; place-items: center; margin-top: 2px; }
.check-list .tick svg { width: 14px; height: 14px; }
.check-list b { color: var(--ink); }

/* Testimonials ----------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.quote { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 12px; }
.quote p { font-size: 1.02rem; color: var(--ink); }
.quote .who { margin-top: 16px; font-size: 0.9rem; color: var(--ink-faint); font-weight: 600; }

/* FAQ -------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 24px; margin-bottom: 14px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.1rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border-2); display: grid; place-items: center; transition: .2s; }
.faq details[open] summary .pm { background: var(--clay); border-color: var(--clay); color: #fff; transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; font-size: 1rem; }

/* CTA band --------------------------------------------------- */
.cta-band { background: var(--clay); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,64px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 52ch; margin: 0 auto 26px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Page hero (inner pages) ------------------------------------ */
.page-hero { background: radial-gradient(110% 90% at 90% -20%, var(--clay-tint), transparent 55%), var(--cream); padding: clamp(40px,6vw,80px) 0 0; }
.crumbs { font-size: 0.88rem; color: var(--ink-faint); margin-bottom: 18px; }
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--clay); }
.page-hero h1 { margin-bottom: 16px; max-width: 18ch; }
.page-hero p { font-size: 1.18rem; max-width: 56ch; }

/* Prose ------------------------------------------------------ */
.prose { max-width: 720px; }
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }

/* Contact layout --------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 22px; margin-top: 8px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--clay-tint); color: var(--clay-deep); display: grid; place-items: center; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list b { display: block; color: var(--ink); }
.contact-list a, .contact-list span { color: var(--ink-soft); }
.map-embed { border: 0; width: 100%; height: 280px; border-radius: var(--radius); margin-top: 30px; }

/* Footer ----------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(251,246,238,0.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 16px; text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(251,246,238,0.78); }
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name { color: #fff; margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: rgba(251,246,238,0.65); font-size: 0.95rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.85rem; color: rgba(251,246,238,0.55); }
.disclaimer { font-size: 0.78rem; color: rgba(251,246,238,0.45); margin-top: 14px; max-width: 90ch; }

/* Reveal animation ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive ------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .quotes, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 6px; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border); padding: 16px 24px 22px;
  }
  .nav-links.open a { padding: 10px 0; font-size: 1.1rem; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .grid-3, .grid-2, .quotes, .steps, .footer-grid { grid-template-columns: 1fr; }
  .strip .wrap { gap: 18px 28px; }
  .nav-cta .btn { display: none; }
}

/* honeypot spam-trap field — hidden from humans, visible to bots */
.hp-field{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}

/* ============ logo + media / instagram / gallery (classy add-ons) ============ */
.brand-logo{height:46px;width:auto;display:block}
@media (max-width:560px){ .brand-logo{height:38px} }

/* featured video (commercial) */
.video-wrap{position:relative;aspect-ratio:16/9;border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow-lg);border:1px solid var(--border);background:var(--ink)}
.video-wrap iframe,.video-wrap video{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.video-ph{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#EFE7DA;
  background:radial-gradient(120% 120% at 30% 20%,#3a322c 0%,#211c18 70%);padding:24px;font-size:.95rem;line-height:1.6}
.video-ph .play{width:74px;height:74px;border-radius:50%;background:var(--clay);display:grid;place-items:center;margin:0 auto 16px;
  box-shadow:0 14px 36px -10px rgba(190,86,49,.8)}
.video-ph .play svg{width:28px;height:28px;fill:#fff;margin-left:4px}

/* instagram follow buttons */
.ig-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.ig-btn{display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:.95rem;padding:11px 18px;border-radius:999px;
  border:1px solid var(--border-2);color:var(--ink);background:var(--paper);transition:transform .18s ease,box-shadow .18s ease}
.ig-btn:hover{text-decoration:none;transform:translateY(-2px);box-shadow:var(--shadow)}
.ig-btn svg{width:18px;height:18px;color:var(--clay)}
.ig-btn .at{color:var(--ink-faint);font-weight:500}

/* photo gallery */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:30px}
.gallery a,.gallery .tile{position:relative;display:block;aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--border);background:linear-gradient(160deg,var(--clay-tint),var(--sage-tint))}
.gallery img{width:100%;height:100%;object-fit:cover;display:block}
.gallery .tile-ph{position:absolute;inset:0;display:grid;place-items:center;color:var(--ink-faint);font-size:.8rem;text-align:center;padding:12px}
@media (max-width:760px){ .gallery{grid-template-columns:repeat(2,1fr)} }

/* live instagram feed embed container */
.ig-feed{margin-top:8px;min-height:40px}

/* small classy refinements */
.eyebrow{letter-spacing:.18em}
.hero-card,.card,.quote{border-color:var(--border)}

/* real monogram logo lockup */
.brand-mark-img{width:40px;height:40px;border-radius:9px;object-fit:cover;display:block;flex:none}

/* ============ mobile hardening ============ */
html, body { overflow-x: hidden; }
img, iframe, video, .video-wrap { max-width: 100%; }
.field input, .field textarea, .field select { font-size: 16px; } /* prevents iOS zoom-on-focus */

@media (max-width: 900px) {
  /* Always-visible tap-to-call in the header (replaces hidden phone text) */
  .nav-phone {
    display: inline-grid !important; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--clay); color: #fff; font-size: 0; flex: none; text-decoration: none;
  }
  .nav-phone::before {
    content: ""; width: 21px; height: 21px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='2'%3E%3Cpath%20d='M22%2016.92v3a2%202%200%200%201-2.18%202%2019.79%2019.79%200%200%201-8.63-3.07%2019.5%2019.5%200%200%201-6-6%2019.79%2019.79%200%200%201-3.07-8.67A2%202%200%200%201%204.11%202h3a2%202%200%200%201%202%201.72c.13%201%20.37%201.96.7%202.88a2%202%200%200%201-.45%202.11L8.09%209.91a16%2016%200%200%200%206%206l1.2-1.2a2%202%200%200%201%202.11-.45c.92.33%201.88.57%202.88.7A2%202%200%200%201%2022%2016.92z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .nav-cta { gap: 10px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero-card { padding: 22px; }
  .gallery { grid-template-columns: 1fr 1fr; }   /* keep 2 across on phones */
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; } /* easy thumb targets */
  .strip .stat b { font-size: 1.6rem; }
  .badge-free { right: 16px; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.1rem; }   /* keep logo lockup from crowding the menu button */
}
