/* ==========================================================================
   Perez Roofing — Landing Page Styles
   Brand: Black + Yellow Accent on Warm Cream
   Colors extracted from perezroofs.com via Playwright 2026-04-02
   Mobile-first responsive (375px -> 768px -> 1440px)
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --color-primary:        #EFED13;
  --color-primary-hover:  #D8D611;
  --color-primary-light:  #F5F340;
  --color-secondary:      #1A1A1A;
  --color-secondary-hover:#2D2D2D;
  --color-accent:         #EFED13;
  --color-bg-light:       #ffffff;
  --color-bg-dark:        #1C1C1C;
  --color-bg-tint:        #F5F3EF;
  --color-bg-grey:        #EFEBE7;
  --color-text:           #1C1C1C;
  --color-text-light:     #989898;
  --color-text-white:     #ffffff;
  --color-overlay:        rgba(0, 0, 0, 0.72);
  --color-overlay-dark:   rgba(0, 0, 0, 0.65);

  /* Button colors — yellow text on dark doesn't work, so primary buttons are dark bg + yellow border */
  --btn-bg:               #1A1A1A;
  --btn-bg-hover:         #303F42;
  --btn-text:             #FFFFFF;
  --btn-border:           #EFED13;

  --font-heading:         'Outfit', sans-serif;
  --font-body:            'Figtree', sans-serif;
  --font-weight-heading:  800;
  --font-weight-body:     400;
  --font-size-hero:       clamp(2.25rem, 5vw, 4.5rem);
  --font-size-section:    clamp(1.5rem, 3vw, 2.875rem);
  --font-size-body:       1rem;
  --font-size-label:      0.875rem;
  --font-size-small:      0.75rem;

  --max-width:            1200px;
  --section-padding:      4rem 1.5rem;
  --header-height:        80px;
  --border-radius:        6px;
  --border-radius-lg:     10px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  font-size: var(--font-size-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--max-width); margin: 0 auto; width: 100%; }

/* --- Sticky Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--header-height);
  background: var(--color-secondary);
  border-bottom: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.header-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-logo-img { height: 52px; width: auto; display: block; }

.header-brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.header-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: #ffffff;
  white-space: nowrap;
}

.header-brand-sub { font-size: 0.7rem; color: rgba(255,255,255,0.6); white-space: nowrap; }

.header-vernacular { display: none; flex-direction: column; align-items: center; text-align: center; line-height: 1.3; }
.header-vernacular-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.header-vernacular-city { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--color-accent); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--btn-bg);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--border-radius);
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone:hover { background: var(--color-accent); color: var(--color-secondary); }

@media (min-width: 768px) {
  .header-vernacular { display: flex; }
  .header-logo-img { height: 58px; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background-image: url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 3rem 1.25rem;
}

@media (min-width: 768px) {
  .hero { background-attachment: fixed; min-height: 680px; padding: 4rem 1.5rem; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-content { flex-direction: row; align-items: flex-start; gap: 3rem; }
}

.hero-text { flex: 1; }

.hero-headline {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: var(--font-size-hero);
  color: var(--color-text-white);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero-headline em { color: var(--color-accent); font-style: normal; }

.hero-subhead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  max-width: 520px;
}

.hero-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin-bottom: 0.125rem;
}

.trust-icon svg { width: 28px; height: 28px; }

.trust-stars { color: var(--color-accent); font-size: 1.375rem; letter-spacing: 3px; line-height: 1; }

.trust-label { font-size: 0.8125rem; font-weight: 700; color: var(--color-text-white); text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.9; }
.trust-label strong { color: var(--color-accent); }

.btn-phone-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.btn-phone-hero:hover { opacity: 1; }

/* --- Hero Form --- */
.hero-form-wrap {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem 1.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  flex-shrink: 0;
}

@media (min-width: 768px) { .hero-form-wrap { width: 420px; } }

.form-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* --- Multi-Step Form --- */
.msf-progress { height: 6px; background: #EEE; border-radius: 3px; margin-bottom: 0.5rem; overflow: hidden; }
.msf-progress-bar { height: 100%; width: 14.28%; background: var(--color-secondary); border-radius: 3px; transition: width 0.35s ease; }
.msf-step-label { font-size: var(--font-size-small); color: var(--color-text-light); text-align: center; margin-bottom: 1rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.msf-step { display: none; flex-direction: column; gap: 0.75rem; animation: msf-fade-in 0.3s ease; }
.msf-step.active { display: flex; }

@keyframes msf-fade-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.msf-question { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--color-secondary); text-align: center; line-height: 1.3; }
.msf-options { display: flex; flex-direction: column; gap: 0.5rem; }

.msf-option {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--color-bg-grey);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  min-height: 44px;
  text-align: left;
}
.msf-option:hover { border-color: var(--color-secondary); background: var(--color-bg-tint); }
.msf-option:active { transform: scale(0.98); }
.msf-option.selected { border-color: var(--color-secondary); background: var(--color-bg-tint); }

.msf-fields { display: flex; flex-direction: column; gap: 0.75rem; }
.msf-fields input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid #E0E0E0;
  border-radius: var(--border-radius);
  min-height: 44px;
  transition: border-color 0.2s;
}
.msf-fields input:focus { outline: none; border-color: var(--color-secondary); }

.msf-back { display: none; align-items: center; margin-top: 0.75rem; padding: 0.5rem 0; background: none; border: none; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--color-text-light); cursor: pointer; align-self: flex-start; }
.msf-back.visible { display: flex; }
.msf-back:hover { color: var(--color-secondary); }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 2px solid var(--btn-border);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, color 0.2s;
  min-height: 44px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary:hover { background: var(--color-accent); color: var(--color-secondary); }
.btn-primary:active { transform: scale(0.98); }
.btn-submit { width: 100%; font-size: 1.1rem; padding: 1rem; margin-top: 0.25rem; }
.btn-next { width: 100%; font-size: 1rem; padding: 0.875rem; margin-top: 0.25rem; }
.btn-large { font-size: 1.1rem; padding: 1.1rem 2.5rem; }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-white);
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-phone:hover { opacity: 1; }

/* --- Section Labels & Headlines --- */
.section-label { display: block; font-size: var(--font-size-label); color: var(--color-text-light); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.5rem; font-weight: 600; }

.section-headline {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  font-size: var(--font-size-section);
  color: var(--color-secondary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-headline em { color: #303F42; font-style: normal; }

/* --- Stat Counters (dark charcoal background — NOT brand yellow) --- */
.stat-counters { padding: 3rem 1.5rem; background: var(--color-bg-dark); }
.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; }
.stat { text-align: center; }
.stat-number { display: block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.5rem, 5vw, 4rem); color: var(--color-accent); line-height: 1; }
.stat-label { font-size: 0.8125rem; font-weight: 600; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }

/* --- Benefits / Why Choose Us --- */
.benefits { padding: var(--section-padding); background: var(--color-bg-light); }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

.benefit-card {
  padding: 1.75rem;
  border-radius: var(--border-radius-lg);
  background: var(--color-bg-tint);
  border: 1px solid rgba(26,26,26,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.09); }

.benefit-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--color-secondary); margin-bottom: 0.5rem; }
.benefit-card p { color: #555; font-size: 0.95rem; line-height: 1.6; }

/* --- Service Focus --- */
.service-focus { padding: var(--section-padding); background: var(--color-bg-tint); }
.service-focus-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .service-focus-inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; } }

/* Staggered photo grid */
.service-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-photo { border-radius: var(--border-radius-lg); overflow: hidden; height: 260px; }
.service-photo--2 { margin-top: 40px; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.service-photo:hover img { transform: scale(1.04); }

.service-focus-content .section-headline { margin-bottom: 1rem; }
.service-focus-lead { font-size: 1.05rem; color: #444; line-height: 1.7; margin-bottom: 1.75rem; }

.service-checklist { list-style: none; padding: 0; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.service-checklist li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1rem; color: var(--color-text); line-height: 1.5; }
.service-checklist li::before { content: ''; display: block; flex-shrink: 0; width: 20px; height: 20px; background: var(--color-secondary); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFED13' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; margin-top: 2px; }

.service-focus-cta { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 480px) { .service-focus-cta { flex-direction: row; align-items: center; } }

.service-focus .btn-phone {
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
}
.service-focus .btn-phone:hover { background: var(--color-secondary); color: #fff; opacity: 1; }

/* --- CTA Banners --- */
.cta-banner { padding: 3.5rem 1.5rem; background: var(--color-secondary); text-align: center; }
.cta-banner h2 { font-family: var(--font-heading); font-weight: var(--font-weight-heading); font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--color-text-white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

@media (min-width: 768px) { .cta-actions { flex-direction: row; justify-content: center; gap: 1.5rem; } }

.cta-banner .btn-primary { background: var(--btn-bg); border-color: var(--color-accent); }
.cta-banner .btn-primary:hover { background: var(--color-accent); color: var(--color-secondary); }

/* --- Testimonials (static 3-card grid) --- */
.testimonials { padding: var(--section-padding); background: var(--color-bg-tint); text-align: center; }
.t-header { margin-bottom: 2.5rem; }
.t-subhead { font-size: 1rem; color: var(--color-text-light); margin-top: 0.5rem; }

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.t-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.t-stars { color: var(--color-accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.t-body { font-size: 0.9rem; line-height: 1.7; color: #444; font-style: italic; margin-bottom: 1.25rem; }
.t-author { display: flex; align-items: center; gap: 0.625rem; }
.t-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: #fff; }
.t-avatar--accent { background: var(--color-secondary); }
.t-avatar--dark { background: #303F42; }
.t-name { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; color: var(--color-text); line-height: 1.2; }
.t-source { display: block; font-size: 0.75rem; color: var(--color-text-light); line-height: 1.2; }

/* --- Process Steps --- */
.process { padding: var(--section-padding); background: var(--color-bg-light); }
.process-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }

.process-step { text-align: center; padding: 1.5rem; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-secondary); color: var(--color-accent); font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem; }
.process-step h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--color-secondary); margin-bottom: 0.5rem; }
.process-step p { color: #555; font-size: 0.95rem; line-height: 1.6; }

/* --- Areas Served --- */
.areas-served { padding: var(--section-padding); background: var(--color-bg-tint); text-align: center; }

.areas-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; max-width: 900px; margin: 0 auto; }

.area-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: var(--color-bg-light);
  border: 1px solid rgba(26,26,26,0.12);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-secondary);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.area-item:hover { background: var(--color-secondary); color: var(--color-accent); border-color: var(--color-secondary); }
.area-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* --- Final CTA --- */
.final-cta {
  position: relative;
  padding: 7rem 1.5rem;
  background-image: url('../assets/hero-image.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  text-align: center;
}
@media (min-width: 768px) { .final-cta { background-attachment: fixed; padding: 9rem 1.5rem; } }
.final-cta::before { content: ''; position: absolute; inset: 0; background: var(--color-overlay-dark); }
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { font-family: var(--font-heading); font-weight: var(--font-weight-heading); font-size: clamp(1.5rem, 3vw, 2.5rem); color: var(--color-text-white); margin-bottom: 0.75rem; }
.final-cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- Simple Form (bottom + popup) --- */
.simple-form { max-width: 560px; margin: 0 auto; }
.form-row { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 0.75rem; }
@media (min-width: 600px) { .form-row { flex-direction: row; } }

.simple-form input,
.simple-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid #E0E0E0;
  border-radius: var(--border-radius);
  min-height: 44px;
  transition: border-color 0.2s;
  resize: vertical;
}
.simple-form textarea { min-height: 80px; margin-bottom: 0.75rem; }
.simple-form input:focus,
.simple-form textarea:focus { outline: none; border-color: var(--color-secondary); }

/* --- Bottom Form --- */
.bottom-form { padding: var(--section-padding); background: var(--color-bg-grey); text-align: center; }

/* --- Popup --- */
.popup-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.6); align-items: center; justify-content: center; padding: 1rem; }
.popup-overlay.active { display: flex; }

.popup-inner {
  background: var(--color-bg-light);
  border-radius: var(--border-radius-lg);
  padding: 2rem 1.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.popup-close { position: absolute; top: 0.75rem; right: 1rem; background: none; border: none; font-size: 1.75rem; color: var(--color-text-light); cursor: pointer; min-height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; }
.popup-close:hover { color: var(--color-text); }
.popup-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--color-secondary); text-align: center; margin-bottom: 1.25rem; }

.popup-inner .simple-form input { margin-bottom: 0.75rem; }

/* --- Footer --- */
.footer { background: var(--color-bg-dark); padding: 2.5rem 1.5rem 1rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }

.footer-logo-img { height: 44px; width: auto; margin: 0 auto 0.75rem; display: block; }
@media (min-width: 768px) { .footer-logo-img { margin: 0 0 0.75rem; } }

.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0.25rem; }
.footer-hours { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-contact { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; }
.footer-phone { display: block; font-size: 1.1rem; font-weight: 700; color: var(--color-accent); margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-phone:hover { color: var(--color-primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1rem; text-align: center; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }

/* --- Scroll Animations --- */
.animate { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate.visible { opacity: 1; transform: translateY(0); }

.stagger > * { opacity: 0; transform: translateY(25px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.07s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.21s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.42s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.49s; }

@media (prefers-reduced-motion: reduce) {
  .animate, .stagger > * { transition: none; opacity: 1; transform: none; }
}
