/* ============================================
   Augenstein, Mapes & Co, CPAs, LLC
   Main Stylesheet — v4

   TABLE OF CONTENTS:
   1. Variables & Reset
   2. Base Typography
   3. Navigation
   4. Ticker strip
   5. Hero
   6. Sections & Cards
   7. Services Grid
   8. Values
   9. Testimonials
   10. Tax Calendar
   11. Contact bar
   12. Footer
   13. Page-specific (inner pages)
   14. Scroll Reveal
   15. Responsive
   ============================================ */


/* === 1. Variables & Reset === */

:root {
  /* Grid paper background — defined once, used everywhere */
  --grid-color:    rgba(180, 44, 44, 0.07);
  --grid-size:     28px;
  --grid-bg:       #FAFAF7;

  /* Surfaces */
  --bg:      #FAFAF7;
  --s1:      #F2F0EB;
  --s2:      #FFFFFF;

  /* Borders */
  --rule:    #E0DDD5;

  /* Text */
  --text:    #1A1A18;
  --t2:      #4A4945;
  --t3:      #8A8880;

  /* Gold */
  --gold:    #B8924A;
  --gold2:   #CAA558;
  --gold-lt: #F3EADB;

  /* Red */
  --red:     #B82C2C;
  --red2:    #C93535;
  --red-lt:  #FAEAEA;
  --red-dark:#8C1F1F;

  /* Spacing */
  --px:      clamp(20px, 5vw, 80px);
  --section: clamp(64px, 8vw, 112px);
  --max:     1180px;

  /* Type */
  --serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --mono:  'DM Mono', 'Courier New', monospace;
}

/* Grid paper helper — applied to body and any section that wants it */
.grid-paper {
  background-color: var(--grid-bg);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }


/* === 2. Base Typography === */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--t2); max-width: 68ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.75rem;
}

strong { font-weight: 600; color: var(--text); }


/* === 3. Navigation === */

#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Nav starts transparent over the hero grid */
#site-nav.scrolled {
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo color adapts: white on transparent, dark on scrolled */
.nav-logo { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1;
  transition: color 0.3s;
}
.nav-logo-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* On transparent nav (hero), logo text is dark since hero is light */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--t2);
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(26,26,24,0.06);
}
.nav-cta {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: var(--red) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red2) !important; }

#burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
#burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Drawer stays dark — it's an overlay panel, not a page section */
#drawer {
  position: fixed;
  top: 0; right: -300px;
  width: 280px;
  height: 100%;
  background: var(--text);
  z-index: 200;
  transition: right 0.3s ease;
  padding: 1.5rem;
  overflow-y: auto;
}
#drawer.open { right: 0; }

#drawer-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-bottom: 2rem;
  margin-left: auto;
}

.drawer-links { display: flex; flex-direction: column; gap: 0.25rem; }
.drawer-links a {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.drawer-links a:last-child { border-bottom: none; }
.drawer-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.drawer-cta {
  margin-top: 1.5rem;
  display: block;
  text-align: center;
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  border-bottom: none !important;
}

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#overlay.open { opacity: 1; pointer-events: auto; }


/* === 4. Ticker Strip === */

.ticker-wrap {
  background: var(--red);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.55rem 0;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 0 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.ticker-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* === 5. Hero === */

/* Hero uses the grid paper background */
.hero {
  background-color: var(--grid-bg);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Fade the grid out toward bottom for a clean transition into the ticker */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--grid-bg));
  pointer-events: none;
}

.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: calc(68px + 5rem) var(--px) 5rem;
  position: relative;
  z-index: 1;
}

.hero-editorial { width: 100%; }

/* Overline row */
.hero-overline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-overline-line {
  width: 36px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.hero-overline-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--t3);
}

/* The big headline — dark on light background */
.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  line-height: 1.0;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--red);
}

/* Horizontal divider with red dot */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
}
.hero-divider-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.hero-divider-accent {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Bottom row */
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: end;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--t2);
  max-width: 44ch;
  line-height: 1.75;
}

.hero-stats { display: flex; gap: 2.5rem; flex-shrink: 0; }
.stat-item { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t3);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Shared buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--red2); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--t2);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.arrow-icon {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* === 6. Sections & Cards === */

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

.section-header { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-header h2 { margin-top: 0.5rem; }
.section-header p { margin-top: 0.875rem; font-size: 1.05rem; }

/* All sections use grid paper now */
.section-grid {
  background-color: var(--grid-bg);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

/* Off-white alternate sections */
.section-cream { background: var(--s1); }

/* Red accent band (testimonials, why us) */
.section-red-band {
  background: var(--red);
}
.section-red-band h2,
.section-red-band h3,
.section-red-band h4 { color: #fff; }
.section-red-band .eyebrow { color: rgba(255,255,255,0.6); letter-spacing: 0.22em; }
.section-red-band p { color: rgba(255,255,255,0.75); }
.section-red-band strong { color: #fff; }

/* Cards */
.card {
  background: var(--s2);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 3px 3px 0 0;
}
.card:hover {
  border-color: rgba(184,44,44,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26,26,24,0.08);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 40px; height: 40px;
  background: var(--red-lt);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.card p { font-size: 0.93rem; max-width: none; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.65rem; }
.card-link svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.25rem;
}


/* === 7. Service list (detail pages) === */

.service-items { display: flex; flex-direction: column; }
.service-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: padding-left 0.25s;
}
.service-item:first-child { padding-top: 0; }
.service-item:last-child { border-bottom: none; }
.service-item:hover { padding-left: 0.5rem; }
.service-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 0.6rem;
  flex-shrink: 0;
}
.service-item h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.service-item p { font-size: 0.9rem; line-height: 1.65; color: var(--t2); max-width: none; }


/* === 8. Values grid === */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
}
.value-cell {
  background: var(--s2);
  padding: 2.5rem 2rem;
  position: relative;
}
.value-cell::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0.3;
}
.value-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--s1);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}
.value-cell h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.value-cell p { font-size: 0.92rem; color: var(--t3); max-width: none; }


/* === 9. Testimonials (on red band) === */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  padding: 2rem;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem; right: 1.25rem;
  font-family: var(--serif);
  font-size: 4rem;
  color: rgba(255,255,255,0.2);
  line-height: 1;
}
.testimonial-text {
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.5rem;
  max-width: none;
}
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.1rem;
}
.testimonial-detail { font-size: 0.73rem; color: rgba(255,255,255,0.5); }


/* === 10. Tax Calendar === */

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
}
.calendar-item {
  background: var(--s2);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.calendar-date {
  background: var(--text);
  border-radius: 3px;
  width: 52px; height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.calendar-date.urgent { background: var(--red); }
.calendar-month {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1;
}
.calendar-day {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1;
}
.calendar-item-label { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.calendar-item-desc { font-size: 0.8rem; color: var(--t3); max-width: none; line-height: 1.55; }


/* === 11. Contact bar === */

.contact-bar {
  background: var(--red);
  padding: clamp(40px, 5vw, 64px) var(--px);
}
.contact-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact-bar h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.25rem; }
.contact-bar p { color: rgba(255,255,255,0.72); font-size: 1rem; }

.btn-primary-inv {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary-inv:hover { background: rgba(255,255,255,0.92); transform: translateY(-1px); }

.btn-outline-inv {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-inv:hover { border-color: #fff; color: #fff; }


/* === 12. Footer === */

footer {
  background: var(--text);
  padding: clamp(40px, 5vw, 64px) var(--px) clamp(24px, 3vw, 36px);
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.88);
  display: block;
  margin-bottom: 0.3rem;
}
.footer-brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}
.footer-address { font-size: 0.88rem; line-height: 1.9; color: rgba(255,255,255,0.42); }
.footer-address a { color: inherit; transition: color 0.2s; }
.footer-address a:hover { color: var(--red2); }
.footer-col-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  display: block;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--red2); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
}
.footer-red-line {
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
  margin-bottom: 3rem;
}


/* === 13. Page-specific (inner pages) === */

/* Page heroes use grid paper on light background */
.page-hero {
  background-color: var(--grid-bg);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  padding: calc(68px + clamp(40px, 5vw, 72px)) var(--px) clamp(40px, 5vw, 72px);
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { color: var(--text); margin-top: 0.75rem; margin-bottom: 1rem; }
.page-hero p { color: var(--t2); font-size: 1.05rem; max-width: 54ch; }

.page-content { padding: var(--section) var(--px); background: var(--bg); }
.page-content-inner { max-width: var(--max); margin: 0 auto; }

/* Give page content a subtle grid too */
.page-content {
  background-color: var(--grid-bg);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.sidebar-panel {
  background: var(--s2);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--red);
  border-radius: 3px;
  padding: 2rem;
  position: sticky;
  top: 88px;
}
.sidebar-panel h4 {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 1.5rem;
}
.contact-item { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 1.25rem; }
.contact-item-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.contact-item-value { font-size: 0.95rem; color: var(--text); }
.contact-item-value a { color: var(--text); transition: color 0.2s; }
.contact-item-value a:hover { color: var(--red); }
.sidebar-cta {
  display: block;
  text-align: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1.5rem;
  border-radius: 3px;
  margin-top: 1.75rem;
  transition: background 0.2s;
}
.sidebar-cta:hover { background: var(--red2); }

.intro-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--t2);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  background: var(--s2);
  padding: 2rem;
  border-radius: 3px;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
}

.tip-box {
  padding: 1.75rem;
  background: var(--red-lt);
  border-left: 3px solid var(--red);
  border-radius: 3px;
  margin-top: 2.5rem;
}
.tip-box h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.tip-box p { font-size: 0.9rem; margin-bottom: 1rem; max-width: none; }
.tip-box a { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 0.4rem; }


/* === 14. Scroll Reveal === */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* === 15. Responsive === */

@media (max-width: 960px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .sidebar-panel { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  #burger { display: flex; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .contact-bar-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .hero-headline { font-size: clamp(2.6rem, 11vw, 4rem); }
  .services-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: 1fr; }
}
