/* ==========================================================================
   NM Heinze Attorneys Inc — Shared stylesheet
   Palette: red / black / white only. One disciplined accent red.
   Headings: Fraunces (serif, warm but authoritative)
   Body: Inter (clean, readable, modern)
   ========================================================================== */

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

:root {
  --black: #0C0C0C;
  --ink: #1A1A1A;
  --white: #FFFFFF;
  --paper: #FAF8F6;          /* warm off-white for section backgrounds */
  --line: #E8E3DE;           /* hairline borders on light sections */
  --line-dark: rgba(255,255,255,0.12);
  --gray: #5B5B5B;           /* secondary text on light */
  --gray-dim: #9A9A9A;       /* tertiary text on light */
  --gray-on-dark: #B8B4B0;   /* secondary text on dark */

  --red: #C8102E;
  --red-dark: #9E0C24;
  --red-tint: #FBE9EC;

  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 2px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--black);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--gray); }

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

section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  display: block;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.centered { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.btn-ghost { color: var(--red); font-weight: 700; gap: 8px; padding: 8px 0; }
.btn-ghost svg { transition: transform 0.25s ease; }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1EBE57; transform: translateY(-2px); }
.btn-whatsapp svg { width: 18px; height: 18px; fill: #fff; }

/* ==========================================================================
   NAV
   ========================================================================== */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
header.site-header.nav-hidden { transform: translateY(-100%); }

.nav-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 1;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 560px) {
  .brand-logo { height: 32px; }
}

nav.main-nav { display: flex; align-items: center; gap: 8px; }
nav.main-nav a.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s ease;
}
nav.main-nav a.nav-link::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
nav.main-nav a.nav-link:hover::after,
nav.main-nav a.nav-link.active::after { transform: scaleX(1); }
nav.main-nav a.nav-link.active { color: var(--red); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 11px 22px; font-size: 0.85rem; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 30px;
  background: none; border: none; cursor: pointer;
  z-index: 600;
}
.hamburger span {
  width: 100%; height: 2px; background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  nav.main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a.nav-link { color: var(--white); font-size: 1.1rem; width: 100%; padding: 14px 8px; }
  nav.main-nav a.nav-link::after { display: none; }
  nav.main-nav a.nav-link.active { color: var(--red); }
  .nav-actions.desktop-only { display: none; }
  .hamburger { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-scrim {
    display: none;
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 450;
  }
  .nav-scrim.open { display: block; }
}
@media (min-width: 901px) {
  .mobile-only { display: none; }
}

/* ==========================================================================
   HERO (page banner used on inner pages)
   ========================================================================== */
.page-banner {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 168px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  right: -10%; top: -30%;
  width: 480px; height: 480px;
  border: 1px solid rgba(12,12,12,0.06);
  border-radius: 50%;
}
.page-banner .breadcrumb {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 18px;
}
.page-banner .breadcrumb a:hover { color: var(--black); }
.page-banner .breadcrumb .sep { margin: 0 8px; color: rgba(12,12,12,0.25); }
.page-banner h1 { color: var(--black); max-width: 760px; }
.page-banner p.lead { color: var(--gray); max-width: 620px; margin-top: 18px; font-size: 1.1rem; }

/* ==========================================================================
   HOME HERO
   ========================================================================== */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 176px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -14%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(200,16,46,0.12), transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  left: -12%; bottom: -30%;
  width: 420px; height: 420px;
  border: 1px solid rgba(12,12,12,0.06);
  border-radius: 50%;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red); }

.hero h1 { color: var(--black); font-size: clamp(2.5rem, 5.2vw, 4.2rem); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead {
  color: var(--gray);
  font-size: 1.15rem;
  max-width: 540px;
  margin-top: 22px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.hero-stats {
  display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--black);
}
.hero-stat .num span { color: var(--red); }
.hero-stat .label {
  font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}

.hero-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
}
.hero-photo { position: relative; height: 460px; border-radius: var(--radius); overflow: hidden; }
.hero-panel img {
  width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius);
  filter: grayscale(15%);
}
.hero-panel-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--red);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 220px;
}
.hero-panel-badge .num { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; }
.hero-panel-badge .label { font-size: 0.78rem; margin-top: 2px; }
@media (max-width: 940px) { .hero-panel-badge { left: 16px; } }

/* ==========================================================================
   INTRO / TRUST
   ========================================================================== */
.intro-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .intro-split { grid-template-columns: 1fr; gap: 32px; } }
.intro-split p { font-size: 1.08rem; margin-bottom: 18px; }
.intro-split p:last-child { margin-bottom: 0; }

.trust-bar {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item .num { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--black); }
.trust-item .num span { color: var(--red); }
.trust-item .label { font-size: 0.82rem; color: var(--gray); margin-top: 4px; }

/* ==========================================================================
   CARDS — services / highlights
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-tint);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.service-card .icon svg { width: 22px; height: 22px; stroke: var(--red); }
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 0; }
.service-card .btn-ghost { margin-top: 16px; font-size: 0.88rem; }

/* ==========================================================================
   SERVICES PAGE — anchored detail sections
   ========================================================================== */
.services-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.services-toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; color: var(--gray); }
.services-toc a {
  display: block;
  font-size: 0.94rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.services-toc a:last-child { border-bottom: none; }
.services-toc a:hover { color: var(--red); padding-left: 6px; }

.services-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .services-layout { grid-template-columns: 1fr; } .services-toc { position: static; } }

.service-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.service-block:first-child { padding-top: 0; }
.service-block .tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); background: var(--red-tint); padding: 5px 12px; border-radius: 20px;
  margin-bottom: 14px;
}
.service-block h2 { font-size: 1.7rem; margin-bottom: 14px; }
.service-block p { font-size: 1.02rem; margin-bottom: 14px; }
.service-block ul { margin: 16px 0 0 0; padding: 0; list-style: none; }
.service-block ul li {
  position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 0.98rem; color: var(--gray);
}
.service-block ul li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 2px; background: var(--red);
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 940px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--ink), var(--black));
  color: var(--white);
  font-family: var(--serif); font-size: 3rem; font-weight: 600;
}
.team-body { padding: 26px 24px 28px; }
.team-body .name { font-size: 1.2rem; margin-bottom: 4px; }
.team-body .role {
  color: var(--red); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px; display: block;
}
.team-body p.bio { font-size: 0.92rem; color: var(--gray); margin-bottom: 16px; }
.team-contact { display: flex; flex-direction: column; gap: 6px; font-size: 0.86rem; border-top: 1px solid var(--line); padding-top: 14px; }
.team-contact a { color: var(--ink); transition: color 0.2s ease; }
.team-contact a:hover { color: var(--red); }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-card .news-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--black), var(--ink));
  position: relative;
  display: flex; align-items: flex-end; padding: 18px;
}
.news-card .news-thumb .cat {
  background: var(--red); color: var(--white); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 20px;
}
.news-card .news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { font-size: 0.78rem; color: var(--gray-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.news-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.news-card p { font-size: 0.92rem; flex: 1; }
.news-card .btn-ghost { margin-top: 16px; font-size: 0.86rem; }

.post-article { max-width: 760px; margin: 0 auto; }
.post-article .post-meta { font-size: 0.85rem; color: var(--gray-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.post-article h1 { margin-bottom: 20px; }
.post-article .post-lead { font-size: 1.15rem; color: var(--gray); margin-bottom: 8px; }
.post-article h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; }
.post-article h3 { margin-top: 28px; margin-bottom: 12px; }
.post-article p { font-size: 1.02rem; margin-bottom: 18px; }
.post-article ul, .post-article ol { color: var(--gray); margin: 0 0 18px 22px; }
.post-article li { margin-bottom: 8px; }
.post-article blockquote {
  border-left: 3px solid var(--red);
  padding-left: 22px;
  margin: 28px 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
}
.post-share { display: flex; align-items: center; gap: 14px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-share span { font-size: 0.85rem; color: var(--gray-dim); text-transform: uppercase; letter-spacing: 0.06em; }

/* ==========================================================================
   REVIEWS CAROUSEL
   ========================================================================== */
.reviews-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); }
.stars { color: var(--red); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 16px; }

.reviews-carousel { position: relative; max-width: 760px; margin: 0 auto; }
.reviews-track-wrap { overflow: hidden; }
.reviews-track { display: flex; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.review-slide { flex: 0 0 100%; padding: 8px 8px 0; }
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.review-card p.quote { font-family: var(--serif); font-size: 1.25rem; color: var(--black); line-height: 1.5; margin-bottom: 24px; }
.review-card .reviewer { font-size: 0.9rem; font-weight: 600; color: var(--black); }
.review-card .reviewer-sub { font-size: 0.78rem; color: var(--gray); margin-top: 2px; }

.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 32px; }
.reviews-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(12,12,12,0.15);
  background: transparent; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.reviews-arrow:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.reviews-dots { display: flex; gap: 8px; }
.reviews-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(12,12,12,0.2); cursor: pointer; padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.reviews-dots button.active { background: var(--red); transform: scale(1.3); }
.reviews-badge { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; font-size: 0.88rem; color: var(--gray); }
.reviews-badge svg { width: 20px; height: 20px; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: var(--red);
  color: var(--white);
  padding: 72px 0;
}
.cta-band .cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 8px; }
.cta-band .btn-dark { background: var(--black); }
.cta-band .btn-outline-light:hover { color: var(--red); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }

.contact-info-item { display: flex; gap: 18px; margin-bottom: 28px; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--red-tint); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .ci-icon svg { width: 20px; height: 20px; stroke: var(--red); }
.contact-info-item h4 { margin-bottom: 4px; }
.contact-info-item p { margin-bottom: 2px; font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--red); }

.assessment-note {
  background: var(--paper);
  border-left: 3px solid var(--red);
  padding: 22px 24px;
  border-radius: var(--radius);
  margin: 32px 0;
}
.assessment-note h4 { margin-bottom: 8px; font-size: 1rem; }
.assessment-note p { font-size: 0.92rem; margin-bottom: 0; }

.social-row { display: flex; gap: 14px; margin-top: 32px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-row a:hover { background: var(--red); border-color: var(--red); }
.social-row a:hover svg { stroke: var(--white); fill: var(--white); }
.social-row svg { width: 18px; height: 18px; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 540px) { .form-two { grid-template-columns: 1fr; } }
.form-consent { font-size: 0.82rem; color: var(--gray-dim); margin-top: 4px; }
.form-fee-note { font-size: 0.85rem; color: var(--gray); margin-top: 18px; }
#form-status { margin-top: 16px; font-size: 0.9rem; }
#form-status.success { color: #1a7d3a; }
#form-status.error { color: var(--red); }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site-footer { background: var(--black); color: var(--gray-on-dark); padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--white); }
.footer-brand .brand-name span { color: var(--red); }
.footer-brand p { color: var(--gray-on-dark); font-size: 0.92rem; margin-top: 14px; max-width: 280px; }

.footer-col h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: var(--gray-on-dark); margin-bottom: 12px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--red); }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social svg { width: 16px; height: 16px; stroke: var(--gray-on-dark); }
.footer-social a:hover svg { stroke: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; font-size: 0.82rem; color: var(--gray-dim);
}
.footer-bottom a:hover { color: var(--red); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 400;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 600px) {
  .whatsapp-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   PAGE-SPECIFIC HELPERS
   ========================================================================== */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; font-size: 0.98rem; }
.legal-content ul { margin: 0 0 16px 22px; color: var(--gray); }
.legal-content li { margin-bottom: 8px; }
.legal-content .updated { font-size: 0.85rem; color: var(--gray-dim); margin-bottom: 40px; }

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.divider-red { width: 60px; height: 3px; background: var(--red); margin: 0 auto 20px; }

.bg-paper { background: var(--paper); }
.bg-black { background: var(--black); color: var(--white); }
.bg-black h2, .bg-black h3 { color: var(--white); }
