html{font-synthesis:none;text-rendering:optimizeSpeed;}
/* ============================================
   Sewa Academy Kenya — Pure CSS (multi-page)
   ============================================ */

:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --color-forest: #1e3a2e;
  --color-forest-deep: #152c22;
  --color-forest-light: #2a4e3a;
  --color-gold: #c9a84c;
  --color-gold-light: #dccb7a;
  --color-cream: #f8f6f2;
  --color-stone: #e8e4dc;
  --color-parchment: #faf8f5;
  --color-ink: #1a1814;
  --color-ink-soft: #3d3a36;
  --color-ink-muted: #6b6660;
  --color-white: #ffffff;

  --nav-height: 4.5rem;
  --radius: 1.5rem;
  --shadow: 0 10px 30px rgba(30, 58, 46, 0.08);
  --shadow-lg: 0 20px 40px rgba(30, 58, 46, 0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-parchment);
  color: var(--color-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul, ol { 
  list-style: none; 
}

::selection {
  background: rgba(201, 168, 76, 0.25);
  color: var(--color-forest-deep);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-forest);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { 
  top: 1rem; 
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.decorative-line {
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: 1.25rem;
}
.section-header.center .decorative-line { 
  margin-left: auto; 
  margin-right: auto; 
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  min-height: 2.75rem;
}
.btn-gold {
  background: var(--color-gold);
  color: var(--color-forest-deep);
}
.btn-gold:hover {
  background: var(--color-gold-light);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.35);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}
.btn-outline-dark {
  background: transparent;
  color: var(--color-forest);
  border: 1.5px solid var(--color-forest);
}
.btn-outline-dark:hover {
  background: var(--color-forest);
  color: white;
}
.btn-forest {
  background: var(--color-forest);
  color: white;
}
.btn-forest:hover {
  background: var(--color-forest-deep);
  box-shadow: 0 8px 20px rgba(30, 58, 46, 0.25);
}
.btn-full { 
  width: 100%; 
}

/* ========== NAVIGATION ========== */
.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
}
.site-nav.scrolled,
.site-nav.menu-open,
.site-nav.nav-solid {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(30,58,46,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 0.75rem 0;
}
.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .nav-inner { 
    padding: 0 1.5rem; 
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: white;
  transition: color var(--transition);
}
.site-nav.scrolled .nav-brand,
.site-nav.menu-open .nav-brand,
.site-nav.nav-solid .nav-brand { 
  color: var(--color-forest); 
}
.nav-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.nav-brand-text { 
  line-height: 1.15; 
}
.nav-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: block;
}
.nav-sub {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
}
.site-nav.scrolled .nav-sub,
.site-nav.menu-open .nav-sub,
.site-nav.nav-solid .nav-sub { 
  color: var(--color-ink-muted); 
  opacity: 1; 
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: 1.25rem;
  }
}
@media (min-width: 1280px) {
  .nav-links { 
    gap: 1.75rem; 
  }
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
}
.nav-links a:hover { 
  color: white; 
}
.nav-links a.active { 
  color: var(--color-gold); 
  font-weight: 600; 
}
.site-nav.scrolled .nav-links a,
.site-nav.menu-open .nav-links a,
.site-nav.nav-solid .nav-links a {
  color: var(--color-ink-soft);
}
.site-nav.scrolled .nav-links a:hover,
.site-nav.menu-open .nav-links a:hover,
.site-nav.nav-solid .nav-links a:hover {
  color: var(--color-forest);
}
.site-nav.scrolled .nav-links a.active,
.site-nav.menu-open .nav-links a.active,
.site-nav.nav-solid .nav-links a.active {
  color: var(--color-forest);
  font-weight: 600;
}
.btn-enroll {
  background: var(--color-forest) !important;
  color: white !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 9999px;
  font-weight: 600 !important;
}
.btn-enroll:hover {
  background: var(--color-forest-deep) !important;
  box-shadow: 0 6px 16px rgba(30, 58, 46, 0.25);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  color: white;
  transition: all var(--transition);
}
.site-nav.scrolled .nav-toggle,
.site-nav.menu-open .nav-toggle,
.site-nav.nav-solid .nav-toggle { 
  color: var(--color-forest); 
}
.nav-toggle:hover { 
  background: rgba(30, 58, 46, 0.08); 
}
@media (min-width: 1024px) {
  .nav-toggle { 
    display: none; 
  }
}

.hamburger {
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.site-nav.menu-open .hamburger { 
  background: transparent; 
}
.site-nav.menu-open .hamburger::before { 
  transform: translateY(7px) rotate(45deg); 
}
.site-nav.menu-open .hamburger::after { 
  transform: translateY(-7px) rotate(-45deg); 
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-top: 1px solid var(--color-stone);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    padding: 1rem 1.25rem 1.5rem;
    max-height: calc(100svh - 4.5rem);
    overflow-y: auto;
    gap: 0.25rem;
    animation: slideDown 0.25s ease;
  }
  .site-nav.menu-open .nav-links { 
    display: flex; 
  }
  .nav-links a {
    color: var(--color-ink-soft) !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: var(--color-cream);
    color: var(--color-forest) !important;
  }
  .nav-links .btn-enroll {
    margin-top: 0.5rem;
    justify-content: center;
    background: var(--color-forest) !important;
    color: white !important;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== PAGE HERO (INNER PAGES) ========== */
.page-hero {
  background: var(--color-forest-deep);
  color: white;
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.06);
  filter: blur(60px);
  top: -20%;
  right: -10%;
}
.page-hero .container { 
  position: relative; 
  z-index: 1; 
}
.page-hero .section-tag { 
  margin-bottom: 1rem; 
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  width: 100%;
  min-height: 620px;
  height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-forest-deep);
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 44, 34, 0.75) 0%,
    rgba(21, 44, 34, 0.65) 50%,
    rgba(21, 44, 34, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 4.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 5rem);
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.hero-title em {
  font-style: italic;
  color: var(--color-gold-light);
  font-weight: 400;
}

.hero-lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.65;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.6rem;
  border-radius: 9999px;
}

.hero-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50%;
  transition: background 0.2s;
}

.hero-btn:hover { 
  background: rgba(255,255,255,0.15); 
}

.hero-dots {
  display: flex;
  gap: 0.35rem;
  padding: 0 0.25rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.hero-dot.active {
  background: var(--color-gold);
  width: 22px;
  border-radius: 4px;
}

/* ========== MARQUEE ========== */
.marquee {
  background: var(--color-forest-deep);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  overflow: hidden;
  padding: 0.7rem 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 1.5rem;
  animation: marquee-scroll 28s linear infinite;
  width: max-content;
}

.marquee-track:hover { 
  animation-play-state: paused; 
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SECTIONS ========== */
.section { 
  padding: 5rem 0; 
}
@media (min-width: 1024px) {
  .section { 
    padding: 7rem 0; 
  }
}

.section-header { 
  margin-bottom: 3.5rem; 
}
.section-header.center { 
  text-align: center; 
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-forest);
  margin-bottom: 0.75rem;
}
.section-header.light h2 { 
  color: white; 
}
.section-header p {
  color: var(--color-ink-muted);
  font-size: 1.1rem;
  max-width: 36rem;
}
.section-header.center p { 
  margin-left: auto; 
  margin-right: auto; 
}
.section-header.light p { 
  color: rgba(255,255,255,0.7); 
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-gold);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* ========== ABOUT SECTION ========== */
.about { 
  background: var(--color-parchment); 
}
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-forest);
  margin-bottom: 0.75rem;
}
.section-lead {
  color: var(--color-ink-soft);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.about-content > p {
  color: var(--color-ink-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(232, 228, 220, 0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all var(--transition);
}
.stat-card:hover {
  box-shadow: 0 6px 16px rgba(30,58,46,0.08);
  border-color: rgba(201, 168, 76, 0.3);
}
.stat-card svg {
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ink-muted);
  font-weight: 600;
}
.stat-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  margin-top: 0.15rem;
}

/* ========== PROGRAMS SECTION ========== */
.programs {
  background: var(--color-forest-deep);
  color: white;
  position: relative;
  overflow: hidden;
}
.programs::before,
.programs::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.05);
  filter: blur(60px);
}
.programs::before {
  width: 400px;
  height: 400px;
  top: -20%;
  right: -10%;
}
.programs::after {
  width: 300px;
  height: 300px;
  bottom: -15%;
  left: -10%;
}
.programs-grid {
  display: grid;
  gap: 1.25rem;
  position: relative;
}
@media (min-width: 640px) {
  .programs-grid { 
    grid-template-columns: 1fr 1fr; 
  }
}
@media (min-width: 1024px) {
  .programs-grid { 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem; 
  }
}
.program-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.35s ease;
  display: block;
  color: inherit;
}
.program-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.program-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--color-gold);
  color: var(--color-forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.25);
  transition: transform 0.3s;
}
.program-card:hover .program-icon { 
  transform: scale(1.08); 
}
.program-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}
.program-age {
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.program-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.65;
}

.programs-light {
  background: var(--color-parchment);
  color: var(--color-ink);
}
.programs-light .program-card {
  background: white;
  border: 1px solid rgba(232, 228, 220, 0.7);
  color: var(--color-ink);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.programs-light .program-card:hover {
  box-shadow: var(--shadow-lg);
  background: white;
}
.programs-light .program-card p {
  color: var(--color-ink-muted);
}

/* ========== APPROACH SECTION ========== */
.approach { 
  background: var(--color-cream); 
}
.approach-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .approach-grid { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
  }
}
.approach-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(232, 228, 220, 0.6);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.35s ease;
}
.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.approach-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.approach-icon.forest { 
  background: var(--color-forest); 
  color: white; 
}
.approach-icon.deep { 
  background: var(--color-forest-deep); 
  color: white; 
}
.approach-icon.gold { 
  background: var(--color-gold); 
  color: var(--color-forest-deep); 
}
.approach-card h3 {
  font-size: 1.35rem;
  color: var(--color-ink);
  margin-bottom: 0.75rem;
}
.approach-card p {
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ========== EXTRAS SECTION ========== */
.extras { 
  background: var(--color-parchment); 
}
.extras-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .extras-grid { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
  }
}
.extra-card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(232, 228, 220, 0.6);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: all 0.35s ease;
}
.extra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.extra-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  color: var(--color-forest-deep);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.extra-body { 
  padding: 1.5rem 1.75rem; 
}
.extra-body h3 {
  font-size: 1.25rem;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}
.extra-body > p {
  color: var(--color-ink-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}
.extra-more {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-stone);
}
.extra-more p {
  color: var(--color-ink-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-forest);
  min-height: 2.75rem;
  transition: color var(--transition);
}
.read-more:hover { 
  color: var(--color-gold); 
}
.read-more svg { 
  transition: transform 0.25s; 
}
.read-more[aria-expanded="true"] svg { 
  transform: rotate(90deg); 
}

/* ========== MESSAGES SECTION ========== */
.messages { 
  background: var(--color-parchment); 
}
.messages-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .messages-grid { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5rem; 
  }
}
.message-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(232, 228, 220, 0.7);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.message-num {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}
.message-card h3 {
  font-size: 1.25rem;
  color: var(--color-forest);
  margin-bottom: 1rem;
}
.message-card p {
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.message-card footer {
  font-size: 0.8rem;
  color: var(--color-ink-soft);
  font-weight: 500;
}

/* ========== GALLERY SECTION ========== */
.gallery {
  background: var(--color-forest-deep);
  color: white;
}
.gallery-alt {
  background: var(--color-parchment);
  color: var(--color-ink);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* ========== CONTACT SECTION ========== */
.contact { 
  background: var(--color-cream); 
}
.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--color-forest);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.2rem;
}
.contact-item p,
.contact-item a {
  color: var(--color-ink-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-item a:hover { 
  color: var(--color-forest); 
  text-decoration: underline; 
}

.contact-form {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(232, 228, 220, 0.7);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 500px) {
  .form-row { 
    grid-template-columns: 1fr 1fr; 
  }
}
.form-group { 
  margin-bottom: 1.15rem; 
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-ink-soft);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-stone);
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-parchment);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}
.form-group textarea { 
  resize: vertical; 
  min-height: 100px; 
}
.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  text-align: center;
}
.form-note a {
  color: var(--color-forest);
  font-weight: 600;
  text-decoration: underline;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: var(--color-forest);
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-forest-deep);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}
.footer-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-nav a {
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-nav a:hover { 
  color: var(--color-gold); 
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  padding: 0.7rem 1.15rem 0.7rem 0.85rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.25s;
}
.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float span { 
  display: none; 
}
@media (min-width: 640px) {
  .whatsapp-float span { 
    display: inline; 
  }
}

/* ========== MAP EMBED WRAPPER ========== */
.map-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(232, 228, 220, 0.9);
  box-shadow: 0 8px 24px rgba(30, 58, 46, 0.08);
}
.map-wrap iframe {
  width: 100%;
  min-height: 320px;
}

/* ========== RESPONSIVE, CLEAR CONTENT IMAGES (FIXED) ========== */
.about-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover; /* Keeps image sharp, clear, and naturally scaled */
  object-position: center;
}

.extra-image,
.gallery-item {
  height: auto;
  min-height: 0;
  overflow: visible;
}

.extra-image img,
.gallery-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.gallery-item figcaption {
  position: static;
  padding: 0.8rem 0.25rem 0;
}

.extra-image {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.extra-badge {
  top: 0.75rem;
  right: 0.75rem;
}

/* ========== MOBILE / SMALL DISPLAY OVERRIDES ========== */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .hero-slide {
    object-fit: contain;
    object-position: center top;
  }

  .hero-content {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.75rem);
    line-height: 1.1;
  }

  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-controls {
    bottom: 0.75rem;
  }

  .gallery-grid,
  .extras-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .gallery-grid,
  .extras-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { 
    scroll-behavior: auto; 
  }
  .marquee-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
