/* ============================================================
   SECOND CHANCE SERVICE DOGS LLC
   Palette: Sky Blue, Golden Amber, Warm White, Forest Green
   Fonts: Lora (serif headings) + Nunito Sans (body) + Caveat (accent)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --sky:            #5B9BD5;
  --sky-light:      #a8d0f0;
  --sky-pale:       #e8f2fb;
  --sky-dark:       #3a7bc0;

  --amber:          #D4922A;
  --amber-light:    #e8b968;
  --amber-pale:     #fdf3e0;
  --amber-dark:     #B07520;

  --green:          #2B5F3E;
  --green-light:    #4a8c60;
  --green-pale:     #e6f2eb;

  --warm-white:     #FDFAF6;
  --cream:          #F8F4EE;
  --ivory:          #FFFDF9;

  /* Neutrals */
  --text-dark:      #2A2520;
  --text-body:      #4A453E;
  --text-muted:     #7A746A;
  --text-light:     #A09888;
  --border:         #E8E2D8;
  --border-light:   #F0ECE4;

  /* Semantic */
  --error:          #C44040;
  --success:        #2B5F3E;

  /* Sizing */
  --nav-h:          72px;
  --nav-h-scroll:   64px;
  --radius:         12px;
  --radius-lg:      20px;
  --radius-sm:      8px;
  --container:      1200px;

  /* Transitions */
  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);

  /* Fonts */
  --font-heading:   'Lora', Georgia, serif;
  --font-body:      'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent:    'Caveat', cursive;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 600;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Section tags */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--amber);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-title em {
  font-style: italic;
  color: var(--sky-dark);
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.btn--primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 146, 42, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}
.btn--secondary:hover {
  border-color: var(--sky);
  color: var(--sky-dark);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn__loader {
  display: none;
  animation: spin 1s linear infinite;
}

.btn--loading .btn__text { display: none; }
.btn--loading .btn__loader { display: inline-flex; }

/* --- Scroll Reveal Animation --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(253, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav--scrolled {
  height: var(--nav-h-scroll);
  background: rgba(253, 250, 246, 0.95);
  border-bottom-color: var(--border-light);
  box-shadow: 0 1px 12px rgba(42, 37, 32, 0.06);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo__icon {
  width: 100%;
  height: 100%;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.logo__sub {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.02em;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--sky-dark);
  background: var(--sky-pale);
}

.nav__link--cta {
  background: var(--amber);
  color: #fff !important;
  padding: 10px 22px;
  margin-left: 8px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--amber-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease);
}

.nav__hamburger:hover {
  background: var(--cream);
}

.nav__hamburger-line {
  display: block;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  transform-origin: center;
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 40px;
  overflow: hidden;
  background: linear-gradient(170deg, var(--warm-white) 0%, var(--sky-pale) 40%, var(--amber-pale) 80%, var(--warm-white) 100%);
}

/* Background orbs */
.hero__bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: var(--sky-light);
  top: -10%;
  right: -5%;
  animation: float 20s ease-in-out infinite;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: var(--amber-light);
  bottom: -5%;
  left: -8%;
  animation: float 25s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: var(--green-pale);
  top: 40%;
  left: 50%;
  animation: float 18s ease-in-out infinite;
  animation-delay: -5s;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero content */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(91, 155, 213, 0.1);
  border: 1px solid rgba(91, 155, 213, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-dark);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero__title em {
  font-style: italic;
  color: var(--amber);
}

.hero__description {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero illustration */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__illustration {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Tail wag */
.hero__tail {
  transform-origin: 190px 195px;
  animation: tailWag 0.6s ease-in-out infinite alternate;
}

/* Floating hearts */
.hero__float-heart--1 { animation: float 6s ease-in-out infinite; }
.hero__float-heart--2 { animation: float 8s ease-in-out infinite reverse; }
.hero__float-heart--3 { animation: float 7s ease-in-out infinite; animation-delay: -2s; }
.hero__float-paw { animation: float 10s ease-in-out infinite; }
.hero__float-paw--2 { animation: float 12s ease-in-out infinite reverse; }

/* Trust bar */
.hero__trust {
  position: relative;
  z-index: 2;
  margin-top: 48px;
}

.hero__trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.hero__trust-item svg {
  color: var(--amber);
  flex-shrink: 0;
}

.hero__trust-item strong {
  color: var(--text-dark);
}

.hero__trust-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  width: 2px;
  height: 40px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  width: 2px;
  height: 12px;
  background: var(--amber);
  border-radius: 2px;
  position: absolute;
  top: 0;
  animation: scrollDot 2s ease-in-out infinite;
}

/* ============================================================
   MISSION
   ============================================================ */
.mission {
  padding: 100px 0;
  background: var(--warm-white);
}

.mission__header {
  text-align: center;
  margin-bottom: 60px;
}

.mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

/* Image placeholder */
.mission__image-placeholder {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--sky-pale), var(--amber-pale), var(--green-pale));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.mission__image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(43, 95, 62, 0.05));
}

.placeholder-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* Quote */
.mission__quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dark);
  padding: 24px 28px;
  border-left: 3px solid var(--amber);
  background: var(--amber-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 28px;
  line-height: 1.6;
}

.mission__content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Values */
.mission__values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.mission__value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.mission__value:hover {
  background: var(--sky-pale);
  transform: translateX(4px);
}

.mission__value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(91, 155, 213, 0.1);
  color: var(--sky-dark);
  flex-shrink: 0;
}

.mission__value strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.mission__value span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Stats */
.mission__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  text-align: center;
}

.mission__stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.mission__stat-plus {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--amber);
}

.mission__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs {
  padding: 100px 0;
  background: var(--cream);
}

.programs__header {
  text-align: center;
  margin-bottom: 60px;
}

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

/* Program card */
.program-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border-light);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--amber));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 37, 32, 0.08);
  border-color: var(--sky-light);
}

.program-card:hover::before {
  opacity: 1;
}

.program-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--sky-pale);
  color: var(--sky-dark);
  margin-bottom: 20px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.program-card:hover .program-card__icon {
  background: var(--sky);
  color: #fff;
}

.program-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.program-card__description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.program-card__features {
  list-style: none;
  margin-bottom: 20px;
}

.program-card__features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 6px;
}

.program-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-light);
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sky-dark);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.program-card__link:hover {
  gap: 10px;
  color: var(--amber);
}

/* Featured wide card */
.program-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0 32px;
  background: linear-gradient(135deg, var(--sky-pale) 0%, #fff 50%, var(--amber-pale) 100%);
  border-color: var(--amber-light);
}

.program-card--featured .program-card__icon {
  grid-column: 1;
  grid-row: 1;
  background: var(--amber);
  color: #fff;
}

.program-card--featured .program-card__title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 1.3rem;
}

.program-card--featured .program-card__description {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 800px;
}

.program-card--featured .program-card__features {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.program-card--featured .program-card__link {
  grid-column: 1 / -1;
  grid-row: 4;
}

/* ============================================================
   SUCCESS STORIES
   ============================================================ */
.stories {
  padding: 100px 0;
  background: var(--warm-white);
}

.stories__header {
  text-align: center;
  margin-bottom: 60px;
}

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

/* Story card */
.story-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 37, 32, 0.08);
}

.story-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.story-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-card__image-placeholder--1 {
  background: linear-gradient(135deg, var(--sky-pale) 0%, var(--sky-light) 50%, var(--amber-pale) 100%);
  color: var(--sky);
}

.story-card__image-placeholder--2 {
  background: linear-gradient(135deg, var(--amber-pale) 0%, var(--amber-light) 50%, var(--green-pale) 100%);
  color: var(--amber);
}

.story-card__image-placeholder--3 {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--green-light) 40%, var(--sky-pale) 100%);
  color: var(--green);
}

.story-card__body {
  padding: 24px;
}

.story-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.story-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--sky-pale);
  color: var(--sky-dark);
}

.story-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.story-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.story-card__stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
}

/* Featured story (dark) */
.story-card--featured {
  background: var(--text-dark);
  border-color: var(--text-dark);
}

.story-card--featured .story-card__title {
  color: #fff;
}

.story-card--featured .story-card__text {
  color: rgba(255, 255, 255, 0.7);
}

.story-card--featured .story-card__tag {
  background: rgba(91, 155, 213, 0.2);
  color: var(--sky-light);
}

.story-card--featured .story-card__stars {
  color: var(--amber-light);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 100px 0;
  background: var(--cream);
}

.process__header {
  text-align: center;
  margin-bottom: 60px;
}

.process__timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.process__step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 24px;
  padding-bottom: 48px;
  position: relative;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__step-number {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sky-pale);
  border: 2px solid var(--sky-light);
  position: relative;
  z-index: 2;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.process__step:hover .process__step-number {
  background: var(--sky);
  border-color: var(--sky);
}

.process__step-number span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sky-dark);
  transition: color 0.3s var(--ease);
}

.process__step:hover .process__step-number span {
  color: #fff;
}

/* Connecting line */
.process__step-line {
  position: absolute;
  left: 30px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.process__step:last-child .process__step-line {
  display: none;
}

.process__step-content {
  padding-top: 6px;
}

.process__step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--amber-pale);
  color: var(--amber);
  margin-bottom: 12px;
}

.process__step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.process__step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 100px 0;
  background: var(--warm-white);
}

.faq__header {
  text-align: center;
  margin-bottom: 60px;
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq__item[open] {
  border-color: var(--sky-light);
  box-shadow: 0 4px 20px rgba(91, 155, 213, 0.08);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s var(--ease);
  list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question:hover {
  color: var(--sky-dark);
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
  color: var(--sky);
}

.faq__answer {
  padding: 0 24px 20px;
}

.faq__answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green) 0%, #1d4a2e 50%, var(--green) 100%);
  overflow: hidden;
}

.cta-banner__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

.contact__header {
  text-align: center;
  margin-bottom: 60px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Info card */
.contact__info-card {
  background: var(--text-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
}

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__info-item:last-of-type {
  border-bottom: none;
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(91, 155, 213, 0.15);
  color: var(--sky-light);
  flex-shrink: 0;
}

.contact__info-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #fff;
}

.contact__info-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.contact__info-item a {
  color: var(--sky-light);
  transition: color 0.3s var(--ease);
}

.contact__info-item a:hover {
  color: var(--amber-light);
}

/* Map placeholder */
.contact__map-placeholder {
  margin-top: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 0.85rem;
}

/* Areas */
.contact__areas {
  padding: 20px 0;
}

.contact__areas strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact__area-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.area-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--sky-pale);
  color: var(--sky-dark);
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.area-tag:hover {
  background: var(--sky);
  color: #fff;
  border-color: var(--sky);
}

/* Form */
.contact__form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.form-group:not(.form-row .form-group) {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.required {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--warm-white);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A746A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-error {
  font-size: 0.78rem;
  color: var(--error);
  min-height: 20px;
  padding-top: 4px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(196, 64, 64, 0.1);
}

/* Success state */
.contact__success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.contact__success-inner {
  text-align: center;
  padding: 48px;
}

.contact__success-inner svg {
  color: var(--green);
  margin-bottom: 20px;
}

.contact__success-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.contact__success-inner p {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo--footer .logo__name {
  color: #fff;
}

.logo--footer .logo__sub {
  color: var(--amber-light);
}

.footer__tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer__social-link:hover {
  background: var(--amber);
  color: #fff;
  transform: translateY(-2px);
}

.footer__col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s var(--ease);
}

.footer__links a:hover {
  color: var(--amber-light);
}

.footer__links--contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.footer__links--contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--amber-light);
}

/* Footer bottom */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s var(--ease);
}

.footer__legal a:hover {
  color: var(--amber-light);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  box-shadow: 0 4px 16px rgba(212, 146, 42, 0.3);
  z-index: 999;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  pointer-events: none;
}

.back-to-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes tailWag {
  0% { transform: rotate(-10deg); }
  100% { transform: rotate(15deg); }
}

@keyframes scrollDot {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 28px; opacity: 0; }
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE — Tablet (< 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 0;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__illustration {
    max-width: 320px;
  }

  .hero__trust-divider {
    display: none;
  }

  .hero__trust-inner {
    gap: 16px;
  }

  .mission__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .program-card--featured .program-card__title {
    grid-column: 1;
    grid-row: auto;
  }

  .program-card--featured .program-card__description,
  .program-card--featured .program-card__features,
  .program-card--featured .program-card__link {
    grid-column: 1;
    grid-row: auto;
  }

  .stories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stories__grid .story-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (< 640px)
   ============================================================ */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  /* Nav mobile */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(253, 250, 246, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 24px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 999;
  }

  .nav--scrolled + .nav__links,
  .nav--scrolled .nav__links {
    top: var(--nav-h-scroll);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.05rem;
    padding: 14px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  /* Hero mobile */
  .hero {
    padding-top: calc(var(--nav-h) + 20px);
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__badge {
    font-size: 0.78rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__illustration {
    max-width: 260px;
  }

  .hero__trust-inner {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .hero__scroll {
    display: none;
  }

  /* Sections */
  .mission,
  .programs,
  .stories,
  .process,
  .faq,
  .contact {
    padding: 60px 0;
  }

  .mission__stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 16px;
  }

  .programs__grid {
    grid-template-columns: 1fr;
  }

  .program-card--featured {
    grid-template-columns: 1fr;
  }

  .program-card--featured .program-card__features {
    flex-direction: column;
    gap: 6px;
  }

  .stories__grid {
    grid-template-columns: 1fr;
  }

  .stories__grid .story-card:last-child {
    max-width: none;
  }

  /* Process */
  .process__step {
    grid-template-columns: 48px 1fr;
    gap: 0 16px;
  }

  .process__step-number {
    width: 48px;
    height: 48px;
  }

  .process__step-line {
    left: 24px;
    top: 48px;
  }

  /* FAQ */
  .faq__question {
    padding: 16px 20px;
    font-size: 0.9rem;
  }

  .faq__answer {
    padding: 0 20px 16px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner__actions .btn {
    justify-content: center;
  }

  /* Contact */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 16px;
  }

  .contact__form {
    padding: 24px;
  }

  .contact__info-card {
    padding: 24px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: 1;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer__legal {
    justify-content: center;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav,
  .hero__bg-orbs,
  .hero__scroll,
  .back-to-top,
  .cta-banner,
  .nav__hamburger {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
  }

  section {
    padding: 30px 0;
    break-inside: avoid;
  }
}
