/* ==========================================================================
   International Caribbean Veterans Care - Punta Cana, DR
   Shared stylesheet
   ========================================================================== */

:root {
  --navy: #1e3a5f;
  --navy-dk: #142845;
  --navy-alt: #2C373F;
  --navy-light: #2d5184;
  --red: #c1272d;
  --red-dk: #9a1f25;
  --red-lt: #9a1f25;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --ink: #111827;
  --ink-soft: #374151;
  --stone: #6b7280;
  --stone-lt: #9ca3af;
  --line: #e5e7eb;
  --line-dk: #d1d5db;
  --brand-gray: #A8B7B6;  
  --brand-olive: #41483C; 

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  --container: 1200px;
  --container-narrow: 880px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  color: var(--navy);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 var(--space-2); }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-3); }
.container--narrow { max-width: var(--container-narrow); }
section { padding: var(--space-7) 0; }
@media (max-width: 720px) { section { padding: var(--space-5) 0; } }

.crisis-banner {
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.6rem var(--space-3);
  font-weight: 500;
}
.crisis-banner a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.crisis-banner a:hover { color: #ffe5ea; }
.crisis-banner strong { font-weight: 700; letter-spacing: 0.04em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.4rem 0; gap: var(--space-3); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.brand:hover { color: var(--navy); }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; }
.brand-text { display: flex; flex-direction: column; }
.brand-text .top { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; color: var(--red); text-transform: uppercase; }
.brand-text .main { font-size: 1rem; font-weight: 700; color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--red);
}

.nav-cta { display: inline-flex; gap: 0.5rem; }

.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--navy);
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: var(--space-2);
    align-items: stretch;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 0.85rem 0.5rem; }
  .nav-cta { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--primary:hover { background: var(--red-dk); border-color: var(--red-dk); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-dk); border-color: var(--navy-dk); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line-dk); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--outline-white:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.08); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.82rem; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-6);
  background: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 50%, var(--red) 50%, var(--red) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: var(--space-4); } }

.hero h1 { animation: riseIn 0.9s var(--ease) both; color: var(--navy); }
.hero h1 .accent { color: var(--red); }
.hero .lead { max-width: 56ch; animation: riseIn 0.9s 0.1s var(--ease) both; margin-top: var(--space-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-4); animation: riseIn 0.9s 0.2s var(--ease) both; }
.hero-meta {
  margin-top: var(--space-4);
  display: flex; gap: var(--space-3); flex-wrap: wrap;
  color: var(--ink-soft); font-size: 0.88rem;
  animation: riseIn 0.9s 0.3s var(--ease) both;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--red); }

.hero-visual { position: relative; aspect-ratio: 4 / 5; animation: riseIn 1s 0.15s var(--ease) both; }
.hero-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dk) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(30, 58, 95, 0.4);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 40%, var(--white) 40%, var(--white) 60%, var(--red) 60%);
}
.hero-card::after {
  content: "";
  position: absolute;
  bottom: -20px; right: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(193, 39, 45, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-card-content {
  position: absolute;
  inset: 0;
  padding: var(--space-4);
  padding-top: calc(var(--space-4) + 16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  z-index: 1;
}
.hero-card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A8b7B6;
  margin-bottom: var(--space-2);
}
.hero-card-location svg { width: 14px; height: 14px; }
.hero-card-headline {
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 var(--space-2);
}
.hero-card-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
}
.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-2);
}
.hero-card-stat .num { font-size: 1.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-card-stat .label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.3rem; font-weight: 600; }

.page-banner {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-6) 0 var(--space-5);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, var(--white) 50%, var(--white) 100%);
}
.page-banner-inner { position: relative; z-index: 1; max-width: 780px; }
.page-banner h1 { color: var(--white); margin-bottom: var(--space-2); }
.page-banner h1 .accent { color: #a8b7b6; }
.page-banner .lead { color: rgba(255,255,255,0.85); }
.page-banner .eyebrow { color: #a8b7b6; }
.page-banner .eyebrow::before { background: #dc474f; }

.breadcrumb {
  display: flex;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span.sep { color: #a8b7b6; }

.honor-band {
  background: var(--off-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.honor-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.honor-row span { display: inline-flex; align-items: center; gap: 0.5rem; }
.honor-row svg { width: 16px; height: 16px; color: var(--red); }
.honor-divider { color: var(--line-dk); }

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
  align-items: end;
}
@media (max-width: 820px) { .section-intro { grid-template-columns: 1fr; gap: var(--space-2); } }
.section-intro h2 { margin: 0; }

.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  transition: all 0.25s var(--ease);
}
.card:hover { border-color: var(--navy); box-shadow: 0 10px 30px -15px rgba(30,58,95,0.15); }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  position: relative;
  transition: all 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.service-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(30, 58, 95, 0.15);
}
.service-card:hover::before { width: 100%; }

.service-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(193, 39, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.service-icon svg { width: 22px; height: 22px; color: var(--red); }
.service-card h3 { margin: 0 0 0.5rem; color: var(--navy); }
.service-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 var(--space-2); }
.service-card .learn {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card .learn:hover { color: var(--red-dk); }

.service-num {
  color: var(--red);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-value { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 0.4rem; letter-spacing: -0.03em; }
.stat-value .amp { color: var(--red); }
.stat-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

.pullquote {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-3);
  text-align: center;
  position: relative;
}
.pullquote::before {
  content: "\201C";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  line-height: 1;
  color: var(--red);
  font-weight: 700;
}
.pullquote blockquote {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--navy);
  margin: var(--space-3) 0 var(--space-2);
  letter-spacing: -0.01em;
}
.pullquote cite { font-style: normal; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
.split--offset { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 820px) { .split, .split--offset { grid-template-columns: 1fr; gap: var(--space-3); } }

.prose p { margin-bottom: var(--space-2); color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { color: var(--navy); margin-top: var(--space-3); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; margin: var(--space-2) 0; }
.prose ul li { padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; color: var(--ink-soft); }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--red);
}
.prose strong { color: var(--navy); font-weight: 600; }

.callout {
  background: var(--off-white);
  border-left: 3px solid var(--red);
  padding: var(--space-3);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: var(--space-3) 0;
}
.callout h4 {
  margin: 0 0 0.5rem;
  color: var(--red);
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
}
.callout p:last-child { margin: 0; }

.timeline { display: grid; gap: var(--space-3); position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--red) 0%, var(--navy) 100%);
}
.timeline-step { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-2); align-items: start; position: relative; }
.timeline-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  font-size: 0.95rem;
  z-index: 1;
}
.timeline-content h4 { margin: 0.35rem 0 0.3rem; font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.timeline-content p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.fmp-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dk) 100%);
  color: var(--white);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.fmp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, var(--white) 50%);
}
.fmp-card h2 { color: var(--white); margin-bottom: var(--space-2); }
.fmp-card h2 .accent { color: #a8b7b6; }
.fmp-card p { color: rgba(255,255,255,0.85); }
.fmp-card .btn--primary { margin-top: var(--space-3); }

.team-card { background: transparent; }
.team-photo {
  aspect-ratio: 4 / 5;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2);
  position: relative;
}
.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dk) 100%);
  letter-spacing: -0.02em;
}
.team-photo-placeholder::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, var(--white) 50%);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.team-role {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.team-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.team-creds {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 100px;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: var(--space-7) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 33%, var(--white) 33%, var(--white) 66%, var(--red) 66%);
}
.cta-band .container { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.cta-band h2 { color: var(--white); margin-bottom: var(--space-2); }
.cta-band h2 .accent { color: #a8b7b6; }
.cta-band .lead { color: rgba(255,255,255,0.85); margin-bottom: var(--space-4); }
.cta-band .hero-actions { justify-content: center; }

.site-footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,0.75);
  padding: var(--space-6) 0 var(--space-3);
  font-size: 0.92rem;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-5); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-3); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: var(--space-2); line-height: 1.2; }
.site-footer p { color: rgba(255,255,255,0.65); margin-bottom: var(--space-2); max-width: 40ch; }
.site-footer h4 { color: var(--white); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--space-2); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: #a8b7b6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-crisis {
  background: rgba(193, 39, 45, 0.2);
  border: 1px solid rgba(193, 39, 45, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  margin-bottom: var(--space-4);
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}
.footer-crisis strong { color: var(--white); letter-spacing: 0.04em; font-weight: 700; }
.footer-crisis a { color: #a8b7b6; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.skip-link { position: absolute; top: -40px; left: 0; background: var(--navy); color: var(--white); padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { top: 0; color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* Testimonials carousel */
.testimonials {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-3);
  position: relative;
}
.testimonials::before {
  content: "\201C";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  line-height: 1;
  color: var(--red);
  font-weight: 700;
}
.testimonials-track {
  position: relative;
  min-height: 240px;
}
.testimonial {
  position: absolute;
  inset: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.testimonial blockquote {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--navy);
  margin: var(--space-3) 0 var(--space-2);
  letter-spacing: -0.01em;
  font-style: normal;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.testimonials-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.testimonials-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dk);
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.testimonials-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.testimonials-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-dk);
  border: 0;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  padding: 0;
}
.testimonials-dot.is-active {
  background: var(--red);
  transform: scale(1.3);
}
.testimonials-dot:hover {
  background: var(--navy);
}

/* Hero photo carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(30, 58, 95, 0.4);
}
.hero-carousel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 40%, var(--white) 40%, var(--white) 60%, var(--red) 60%);
  z-index: 3;
}
.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(20, 40, 69, 0.92) 0%, rgba(20, 40, 69, 0.6) 60%, transparent 100%);
  color: var(--white);
  z-index: 2;
}
.hero-slide-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gray);
  margin-bottom: var(--space-2);
}
.hero-slide-location svg {
  width: 14px;
  height: 14px;
}
.hero-slide-headline {
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0;
}
.hero-carousel-dots {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  gap: 0.4rem;
  z-index: 3;
}
.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  padding: 0;
}
.hero-carousel-dot.is-active {
  background: var(--white);
  width: 24px;
  border-radius: 4px;
}
.hero-carousel-dot:hover {
  background: var(--white);
}

/* Real logo */
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
  max-width: 280px;
}
.footer-logo {
  height: 68px;
  width: auto;
  display: block;
  max-width: 280px;
}

/* En móvil, logo un poco más pequeño */
@media (max-width: 560px) {
  .brand-logo { height: 36px; max-width: 220px; }
  .footer-logo { height: 38px; max-width: 240px; }
}

/* Services 3-column layout */
.services-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
}
@media (max-width: 900px) {
  .services-columns { grid-template-columns: 1fr; gap: var(--space-3); }
}

.service-column {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  position: relative;
  transition: all 0.25s var(--ease);
  text-align: center;
}
.service-column::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.service-column:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(30, 58, 95, 0.15);
}
.service-column:hover::before { width: 120px; }

.service-column-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(154, 31, 37, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
}
.service-column-icon svg {
  width: 28px;
  height: 28px;
  color: var(--red);
}

.service-column h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

.service-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}
.service-column ul li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  line-height: 1.4;
}
.service-column ul li:last-child {
  border-bottom: 0;
}
.service-column ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 8px;
  height: 2px;
  background: var(--red);
}

/* Mindfulness section */
.mindfulness-main-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(30, 58, 95, 0.3);
  position: relative;
}
.mindfulness-main-image::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 40%, var(--white) 40%, var(--white) 60%, var(--red) 60%);
  z-index: 2;
}
.mindfulness-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mindfulness-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
@media (max-width: 820px) {
  .mindfulness-details { grid-template-columns: 1fr; gap: var(--space-3); }
}

.mindfulness-block h3 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.mindfulness-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mindfulness-block ul li {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-soft);
  padding: var(--space-1) 0 var(--space-1) 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.mindfulness-block ul li:last-child {
  border-bottom: 0;
}
.mindfulness-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 2px;
  background: var(--red);
}
.mindfulness-block ul li strong {
  color: var(--navy);
  font-weight: 600;
  display: block;
  margin-bottom: 0.15rem;
}

/* Gallery */
/* Gallery — 3 columnas iguales */
.mindfulness-gallery {
  margin-top: var(--space-4);
}
.mindfulness-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 720px) {
  .mindfulness-gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .gallery-item {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 900px) {
  .service-column ul {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    text-align: left;
  }
}