/* ==========================================================================
   Elson Counsel — styles.css
   Implements DESIGN.md tokens for the Law Offices of Michael K. Elson.
   ========================================================================== */

:root {
  /* Colors */
  --primary: #0E1F3A;
  --primary-dark: #081328;
  --primary-soft: #1d3152;
  --accent: #B58D41;
  --accent-soft: #E6D5AE;
  --accent-warm: #e9c675;
  --surface: #FAF7F0;
  --surface-elevated: #FFFFFF;
  --surface-alt: #f4efe2;
  --ink: #1A1C26;
  --ink-muted: #5C6478;
  --ink-subtle: #8b91a1;
  --line: #E9E4D8;
  --line-strong: #d6cfbb;
  --success: #2F6148;
  --error: #8A2A2A;

  /* Rounded */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Shadows (paper on paper) */
  --shadow-card: 0 2px 8px rgba(14, 31, 58, 0.04);
  --shadow-lift: 0 14px 40px rgba(14, 31, 58, 0.08);

  /* Transitions */
  --t-fast: .15s cubic-bezier(.4,0,.2,1);
  --t-base: .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 3.4vw, 40px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 20px; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-muted); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}

.brass-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.brass-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px; height: 2px;
  background: var(--accent);
}

blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }

section { padding: clamp(64px, 8vw, 96px) 0; }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1rem; }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 .75rem; }
.prose ul { margin: 1rem 0 1.5rem 1.5rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Topbar (thin CTA strip)
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--primary);
  color: var(--surface);
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px clamp(20px, 4vw, 32px);
  gap: 16px;
}
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { color: var(--surface); display: inline-flex; align-items: center; gap: 6px; }
.topbar-info a:hover { color: var(--accent-warm); }
.topbar-cta {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-warm);
}
@media (max-width: 760px) {
  .topbar { font-size: 12px; }
  .topbar-info { gap: 14px; }
  .topbar-info .hide-sm { display: none; }
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex; align-items: center;
  padding: 18px clamp(20px, 4vw, 32px);
  gap: 20px;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { font-family: 'Fraunces', serif; font-size: 18px; color: var(--primary); line-height: 1.15; }
.nav-logo-text small { display: block; font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-top: 2px; }

.nav-right {
  display: flex; align-items: center; gap: 20px;
  flex-shrink: 0;
}
.nav-phone {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1.15;
}
.nav-phone span { display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; margin-top: 3px; }

/* Hamburger — always visible, always on the right. When the menu is
   open, it floats to the top-right corner of the viewport. */
.nav-toggle {
  display: block;
  background: transparent; border: 0;
  padding: 10px; cursor: pointer;
  width: 44px; height: 44px;
  z-index: 60;
  flex-shrink: 0;
  transition: top var(--t-fast), right var(--t-fast);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--primary);
  margin: 6px auto; border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast);
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] {
  position: fixed;
  top: 18px;
  right: clamp(14px, 3vw, 24px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* The slide-out panel lives outside .nav (so it escapes the sticky
   header's stacking context). Wrapper element itself is inert. */
.nav-panel { display: contents; }

/* Slide-out panel — always this pattern, no responsive toggle */
.nav-links {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  padding: 92px 0 24px;
  display: flex; flex-direction: column; align-items: stretch;
  background: var(--surface);
  list-style: none;
  margin: 0;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -16px 0 40px rgba(14, 31, 58, 0.10);
  z-index: 55;
  overflow-y: auto;
  border-left: 1px solid var(--line);
}
.nav-links.open { transform: translateX(0); }
.nav-links li { list-style: none; }
.nav-links a {
  display: block;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  padding: 18px 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
  border-radius: 0;
  background: transparent;
}
.nav-links a:hover {
  background: var(--surface-alt);
  color: var(--primary);
  padding-left: 32px;
}
.nav-links a.active {
  color: var(--accent);
  background: transparent;
}
.nav-links a.active::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 4px;
}

body.nav-open { overflow: hidden; }

/* Backdrop — invisible, but blocks interaction with the page while
   the menu is open. Clicking it closes the menu. */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 54;
  pointer-events: none;
  cursor: pointer;
}
.nav-backdrop.open {
  pointer-events: auto;
}

@media (max-width: 560px) {
  .nav-logo-text { display: none; }
  .nav-phone span { display: none; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--surface-elevated);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--surface-elevated); transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-accent:hover { background: #a37e36; color: var(--primary-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--surface-alt); color: var(--primary); }

.btn-lg { font-size: 16px; padding: 16px 32px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: clamp(80px, 10vw, 128px) 0 clamp(64px, 8vw, 96px);
  background:
    radial-gradient(1200px 500px at 90% 20%, rgba(181, 141, 65, 0.08), transparent 60%),
    var(--surface);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex; gap: 36px; flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 14px;
}
.hero-trust strong { color: var(--primary); font-size: 19px; font-family: 'Fraunces', serif; font-weight: 500; display: block; }
.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  position: relative; z-index: 2;
}
.hero-media::before {
  content: '';
  position: absolute;
  top: 24px; right: -24px; width: 60%; height: 100%;
  background: var(--accent-soft);
  border-radius: var(--r-lg);
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-media::before { display: none; }
  .hero-media img { aspect-ratio: 16/10; }
}

/* --------------------------------------------------------------------------
   Value strip (3 core values)
   -------------------------------------------------------------------------- */
.values {
  background: var(--surface-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 780px) { .values-grid { grid-template-columns: 1fr; } }
.value {
  text-align: left;
}
.value-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--primary);
  margin-bottom: 20px;
}
.value-icon svg { width: 22px; height: 22px; }
.value h3 { font-size: 22px; margin-bottom: 8px; }
.value p { color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   Section header
   -------------------------------------------------------------------------- */
.section-head {
  text-align: center;
  margin-bottom: 56px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--ink-muted); font-size: 18px; }
.section-head.align-left { text-align: left; margin-left: 0; }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.service-card .icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 24px;
  padding: 10px;
}
.service-card .icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--ink-muted); margin-bottom: 20px; flex: 1; }
.service-card .more {
  font-weight: 600; font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card .more::after {
  content: '→';
  transition: transform var(--t-fast);
}
.service-card:hover .more::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  background: var(--surface-alt);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  position: relative;
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: 8px; left: 20px;
  font-family: 'Fraunces', serif;
  font-size: 90px;
  color: var(--accent-soft);
  line-height: 1;
}
.testimonial p {
  position: relative;
  font-size: 16px;
  line-height: 1.65;
  padding-top: 16px;
  margin-bottom: 20px;
  color: var(--ink);
}
.testimonial cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--primary);
  color: var(--surface);
  text-align: center;
  padding: clamp(64px, 8vw, 96px) 0;
}
.cta-band h2 { color: var(--surface); margin-bottom: 16px; }
.cta-band p { color: rgba(250, 247, 240, 0.8); font-size: 18px; margin-bottom: 32px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--accent); color: var(--primary-dark); }
.cta-band .btn-primary:hover { background: var(--accent-warm); }
.cta-band .btn-ghost { border-color: rgba(230, 213, 174, 0.4); color: var(--surface); }
.cta-band .btn-ghost:hover { background: var(--primary-dark); color: var(--surface); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Blog preview
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-base);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-2px); }
.blog-card .cover { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-base); }
.blog-card:hover .cover img { transform: scale(1.04); }
.blog-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.blog-card h3 { font-size: 22px; margin-bottom: 12px; line-height: 1.25; }
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { color: var(--ink-muted); font-size: 15px; margin-bottom: 16px; flex: 1; }
.blog-card .read {
  font-weight: 600; font-size: 13px; color: var(--primary); letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Page header (internal page hero)
   -------------------------------------------------------------------------- */
.page-header {
  background: var(--primary);
  color: var(--surface);
  padding: clamp(64px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
}
.page-header h1 { color: var(--surface); margin-bottom: 16px; }
.page-header p { color: rgba(250, 247, 240, 0.8); font-size: 18px; max-width: 680px; }
.page-header .eyebrow { color: var(--accent-warm); margin-bottom: 20px; }
.page-header .breadcrumb {
  display: flex; gap: 8px; font-size: 13px; color: rgba(250, 247, 240, 0.6); margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.page-header .breadcrumb a { color: rgba(250, 247, 240, 0.8); }
.page-header .breadcrumb a:hover { color: var(--accent-warm); }

/* --------------------------------------------------------------------------
   Two-column content (image + prose)
   -------------------------------------------------------------------------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); width: 100%; }

/* --------------------------------------------------------------------------
   Pricing tables
   -------------------------------------------------------------------------- */
.price-table {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 32px;
}
.price-table h3 {
  padding: 20px 28px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  margin: 0;
}
.price-table ul { list-style: none; margin: 0; padding: 0; }
.price-table li {
  display: flex; justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.price-table li:last-child { border-bottom: 0; }
.price-table li .amount { font-weight: 600; color: var(--primary); font-family: 'Fraunces', serif; font-size: 18px; white-space: nowrap; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq h2 {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
  cursor: default;
}
.faq-item p { color: var(--ink); margin-bottom: 1rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
}
.contact-block h3 { margin-bottom: 16px; }
.contact-block .info-line {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-block .info-line:last-of-type { border-bottom: 0; }
.contact-block .info-line svg { flex-shrink: 0; color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.contact-block .info-line strong { display: block; color: var(--primary); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.contact-block .info-line p, .contact-block .info-line a { color: var(--ink); font-size: 16px; }

.form label {
  display: block;
  font-size: 14px; font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  margin-top: 16px;
}
.form label:first-child { margin-top: 0; }
.form input, .form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
  background: var(--surface-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: border var(--t-fast);
}
.form input:focus, .form textarea:focus {
  outline: 0;
  border-color: var(--accent);
}
.form textarea { min-height: 120px; resize: vertical; }
.form button { margin-top: 24px; width: 100%; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--primary-dark);
  color: var(--surface);
  padding: clamp(56px, 7vw, 80px) 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--accent-warm);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer p, .site-footer li, .site-footer a { color: rgba(250, 247, 240, 0.75); font-size: 14px; line-height: 1.7; }
.site-footer a:hover { color: var(--accent-warm); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer .brand img { height: 56px; filter: brightness(0) invert(1); margin-bottom: 16px; opacity: 0.9; }
.site-footer .brand p { max-width: 320px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(250, 247, 240, 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13px;
  color: rgba(250, 247, 240, 0.5);
}

/* --------------------------------------------------------------------------
   Sticky mobile phone bar
   -------------------------------------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--primary);
  padding: 10px 16px;
  gap: 8px;
  z-index: 45;
  box-shadow: 0 -4px 20px rgba(14, 31, 58, 0.2);
}
.mobile-cta a {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background var(--t-fast);
}
.mobile-cta .phone { background: var(--accent); color: var(--primary-dark); }
.mobile-cta .consult { background: var(--surface); color: var(--primary); }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.mb-lg { margin-bottom: 40px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
}
