/* ============================================================
   Irving Homes Inc - Main Stylesheet
   Renovation Website Template
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --green-dark:    #064e3b;
  --green-accent:  #22c55e;
  --charcoal:      #000000;
  --gray-light:    #f4f4f4;
  --gray-mid:      #e0e0e0;
  --gray-text:     #555555;
  --white:         #ffffff;
  --overlay:       rgba(15, 30, 20, 0.65);

  --font-head:     'Poppins', sans-serif;
  --font-body:     'Open Sans', sans-serif;

  --radius:        8px;
  --radius-lg:     16px;
  --shadow:        0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.18);
  --transition:    0.3s ease;

  --max-width:     1200px;
  --nav-height:    110px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
  .section .container {
    overflow-x: hidden;
  }
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section {
  padding: 96px 0;
}

.section--gray {
  background: var(--gray-light);
}

.section--sickkids {
  background: #e8f5f0;
  border-top: 4px solid var(--green-accent);
  border-bottom: 4px solid var(--green-accent);
}

.section--dark {
  background: var(--green-dark);
  color: var(--white);
}

.section--charcoal {
  background: var(--charcoal);
  color: var(--white);
}

.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle--white { color: rgba(255,255,255,0.75); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.divider {
  width: 60px;
  height: 4px;
  background: var(--green-accent);
  border-radius: 2px;
  margin: 20px 0 40px;
}

.divider--center { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-accent);
  color: var(--charcoal);
  border-color: var(--green-accent);
}
.btn-primary:hover {
  background: #79b030;
  border-color: #79b030;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(140,198,63,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-dark:hover {
  background: #162d1f;
  border-color: #162d1f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31,61,43,0.35);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 15px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 104px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-transform: uppercase;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
  color: var(--green-accent);
}

.nav-links .btn {
  padding: 10px 22px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green-accent);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--charcoal);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition), background var(--transition);
}

.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn).active {
  color: var(--green-accent);
  background: rgba(140,198,63,0.08);
}

.nav-mobile .btn {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg picture,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Desktop: only show picture (main.avif/main.jpg); hide mobile image */
.hero-bg .hero-img-mobile {
  display: none !important;
}
.hero-bg .hero-img-desktop {
  display: block !important;
}

/* Mobile: only show mobile-hero.png; hide desktop picture */
@media (max-width: 768px) {
  .hero-bg .hero-img-desktop {
    display: none !important;
  }
  .hero-bg .hero-img-mobile {
    display: block !important;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-accent);
  background: rgba(140,198,63,0.12);
  border: 1px solid rgba(140,198,63,0.3);
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
  color: var(--green-accent);
  animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(140, 198, 63, 0.3); }
  50%       { text-shadow: 0 0 18px rgba(140, 198, 63, 0.65), 0 0 35px rgba(140, 198, 63, 0.2); }
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-family: var(--font-head);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Page hero (shorter, for inner pages) */
.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--charcoal);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,30,20,0.85) 0%, rgba(15,30,20,0.4) 60%, transparent 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 12px;
  display: block;
}

.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--green-dark);
  padding: 0;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  color: var(--green-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--gray-mid);
}

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(140,198,63,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-accent);
  stroke: var(--green-accent);
}

.service-card-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.service-card-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.service-card-link:hover {
  color: var(--green-accent);
  gap: 10px;
}

.service-card-link svg {
  width: 16px; height: 16px;
}

/* ============================================================
   PROJECT GRID
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 40px;
  border: 2px solid var(--gray-mid);
  background: transparent;
  color: var(--gray-text);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.project-group {
  margin-bottom: 56px;
}
.project-group:last-child {
  margin-bottom: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-mid);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card-overlay {
  display: none;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.why-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-image {
  position: relative;
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.why-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(140,198,63,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green-accent);
}

.why-feature-text h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.why-feature-text p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================================
   FINANCING BANNER
   ============================================================ */
.financing-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, #2d5a3d 100%);
  padding: 80px 0;
}

.financing-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.financing-text h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.financing-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.6;
}

.financing-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 40px;
}

.financing-badge-amount {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: var(--green-accent);
  line-height: 1;
}

.financing-badge-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--charcoal);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-section h2 span { color: var(--green-accent); }

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT STRIP
   ============================================================ */
.contact-strip {
  background: var(--green-accent);
  padding: 20px 0;
}

.contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
}

.contact-strip-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(140,198,63,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green-accent);
}

.contact-info-item h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-accent);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
  transition: color var(--transition);
}

.contact-info-item a:hover { color: var(--green-dark); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select { cursor: pointer; }

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-section {
  height: 400px;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 140px;
  height: 140px;
  background: var(--green-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1;
}

.about-badge-text {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  line-height: 1.3;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-card-img {
  height: 260px;
  background: var(--gray-mid);
  object-fit: cover;
  width: 100%;
}

.team-card-body {
  padding: 24px;
}

.team-card-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 13px;
  color: var(--green-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Core values on mobile: full-width cards, stacked vertically */
@media (max-width: 768px) {
  .values-grid--core {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .values-grid--core .value-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* About page: prevent horizontal overflow on mobile */
@media (max-width: 768px) {
  .about-service-area-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    min-width: 0;
  }
  .about-trust-stats-grid {
    grid-template-columns: 1fr !important;
    min-width: 0;
  }
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-accent);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(140,198,63,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 28px; height: 28px;
  stroke: var(--green-accent);
}

.value-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ============================================================
   SERVICES PAGE - FULL
   ============================================================ */
.services-full-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-row-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
}

.service-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-row:hover .service-row-img img {
  transform: scale(1.03);
}

.service-row-content h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.service-row-content p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--charcoal);
}

.service-feature-item::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--green-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' 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") center/14px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   FINANCING PAGE
   ============================================================ */
.financing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.financing-step {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.financing-step h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.financing-step p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

.financing-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.financing-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.financing-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(140,198,63,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.financing-feature-icon svg {
  width: 24px; height: 24px;
  stroke: var(--green-accent);
}

.financing-feature h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.financing-feature p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================================
   BOOK PAGE
   ============================================================ */
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
  align-items: start;
}

.book-info h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 16px;
}

.book-info p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.book-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.book-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--charcoal);
}

.book-feature-dot {
  width: 24px;
  height: 24px;
  background: var(--green-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.book-feature-dot svg {
  width: 12px; height: 12px;
  stroke: var(--charcoal);
}

.calendly-embed {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 700px;
}

.calendly-embed iframe {
  width: 100%;
  height: 700px;
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0f1a13;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 48px;
  margin-bottom: 20px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--green-accent);
  color: var(--charcoal);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a:hover { color: var(--green-accent); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--green-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  line-height: 1.5;
}

.footer-contact-item a:hover { color: var(--green-accent); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--green-accent); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonials-slider {
  margin-top: 56px;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.testimonial-card {
  flex: 1 1 calc(33.333% - 16px);
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .testimonial-card {
    flex: 1 1 100%;
  }
}

.testimonials-dot.is-filling::before {
  animation: testimonial-progress 7s linear forwards;
}

@keyframes testimonial-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
}

.testimonial-stars svg {
  width: 18px; height: 18px;
  fill: #f59e0b;
  stroke: none;
}

.testimonial-text {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.testimonial-google {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-text);
}

.google-logo {
  width: 32px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.sickkids-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-block: 36px;
}

.sickkids-copy {
  flex: 1 1 400px;
  min-width: 0;
}

.sickkids-logo-wrap {
  flex: 0 0 auto;
  order: 2;
}

.sickkids-logo-wrap img {
  max-width: 360px;
  height: auto;
  display: block;
}

.sickkids-copy .section-title {
  margin-bottom: 12px;
}

.sickkids-copy .section-subtitle {
  max-width: 720px;
  margin-bottom: 12px;
}

.sickkids-copy strong {
  color: #000;
  font-weight: 800;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-mid);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
}

.testimonial-location {
  font-size: 12px;
  color: var(--gray-text);
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--gray-mid);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 3px solid var(--green-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
}

.process-step h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.process-step p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================================
   MERCH / REDIRECT PAGE
   ============================================================ */
.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  text-align: center;
  padding: 40px 24px;
}

.redirect-content h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.redirect-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
}

.redirect-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--green-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 36px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .projects-grid       { grid-template-columns: repeat(2, 1fr); }
  .why-grid            { grid-template-columns: 1fr; }
  .why-image           { height: 400px; }
  .why-content         { padding: 60px 40px; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid          { grid-template-columns: 1fr; }
  .about-image-wrap    { max-width: 560px; }
  .about-badge         { right: 0; }
  .service-row         { grid-template-columns: 1fr; gap: 32px; }
  .service-row.reverse { direction: ltr; }
  .book-grid           { grid-template-columns: 1fr; }
  .contact-grid        { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item           { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .financing-banner .container { flex-direction: column; text-align: center; }
  .financing-steps     { grid-template-columns: 1fr; }
  .financing-features  { grid-template-columns: 1fr; }
  .process-steps       { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-steps::before { display: none; }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
  .team-grid           { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 90px; }

  .section { padding: 72px 0; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }

  .hero-cta { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  .why-content { padding: 40px 24px; }

  .financing-badge { width: 100%; padding: 24px; }

  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(3) { grid-column: 1 / -1; }
  .book-expect-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .stats-bar .stat-item:nth-child(3) { grid-column: 1 / -1; }
  .btn-lg { padding: 14px 28px; font-size: 14px; }
  .process-steps { grid-template-columns: 1fr; }
  .filter-bar { justify-content: center; }
}
