/* ============================================================
   Centro Cometea Málaga — Main Stylesheet
   Mobile-first, vanilla CSS
   ============================================================ */

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

/* ---------- Custom Properties ---------- */
:root {
  --color-primary: #2dba9a;
  --color-primary-dark: #1f9f83;
  --color-primary-darker: #145f55;
  --color-footer: #1b5e50;
  --color-footer-bottom: #144a3e;
  --color-accent: #fdeee7;
  --color-cta-dark: #1b5e50;
  --color-text: #1a2a26;
  --color-text-medium: #4a5568;
  --color-text-light: #718096;
  --color-bg: #ffffff;
  --color-bg-light: #f8faf9;
  --color-bg-accent: #fef5f0;
  --color-border: #e2e8f0;
  --color-white: #ffffff;
  --color-whatsapp: #25d366;

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

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

  --transition: 0.2s ease;

  --header-height: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
  font-size: .875rem;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-white {
  background: #fff;
  color: var(--color-primary-darker);
  font-weight: 700;
}
.btn-white:hover { background: #f0fdfb; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  padding: 10px 18px;
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-whatsapp-lg {
  background: var(--color-whatsapp);
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-whatsapp-lg:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Section Helpers ---------- */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 1.9rem; font-weight: 700; color: var(--color-text); margin-bottom: 12px; }
.section-header p { font-size: 1rem; color: var(--color-text-medium); max-width: 640px; margin: 0 auto; }

.section-accent { background: var(--color-bg-accent); }
.section-dark { background: var(--color-cta-dark); color: #fff; }
.section-primary { background: var(--color-primary); color: #fff; }
.section-light { background: var(--color-bg-light); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}
.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.main-nav { display: none; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-list > li > a {
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  display: block;
}
.nav-list > li > a:hover,
.nav-list > li > a.active { color: var(--color-primary); background: #f0fdfb; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 12px;
  font-size: .875rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.dropdown li a:hover { background: var(--color-bg-light); color: var(--color-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-social {
  display: none;
  align-items: center;
  color: var(--color-text-medium);
  transition: color var(--transition);
}
.header-social:hover { color: var(--color-primary); }
.header-social svg { width: 22px; height: 22px; }

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  padding: 0;
}
.menu-toggle:hover { background: var(--color-bg-light); }
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: 24px;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-list > li > a {
  display: block;
  padding: 14px 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}
.mobile-nav-list > li > a:hover { color: var(--color-primary); }
.mobile-sub { padding-left: 16px; }
.mobile-sub a {
  display: block;
  padding: 10px 12px;
  font-size: .95rem;
  color: var(--color-text-medium);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}
.mobile-sub a:hover { color: var(--color-primary); }
.mobile-nav-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb-wrapper { background: var(--color-bg-light); border-bottom: 1px solid var(--color-border); }
.breadcrumb {
  padding: 12px 0;
  font-size: .85rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.breadcrumb a { color: var(--color-primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--color-text-light); }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: var(--color-bg-light);
  padding: 48px 0 56px;
  text-align: center;
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.25;
}
.page-hero p {
  font-size: 1rem;
  color: var(--color-text-medium);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- HERO (homepage) ---------- */
.hero {
  background: var(--color-bg-light);
  padding: 48px 0 56px;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.hero-content { text-align: center; width: 100%; }
.hero-content h1 {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}
.hero-content h1 span { color: var(--color-primary); }
.hero-content p {
  font-size: 1rem;
  color: var(--color-text-medium);
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: var(--color-text-medium);
  background: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}
.hero-image { width: 100%; }
.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 420px;
  box-shadow: var(--shadow-lg);
}

/* ---------- WHO WE ARE (homepage) ---------- */
.who-we-are { padding: 64px 0; }
.who-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.who-image { width: 100%; }
.who-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 440px;
  box-shadow: var(--shadow-md);
}
.who-content { width: 100%; }
.who-content h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}
.who-content p {
  font-size: .975rem;
  color: var(--color-text-medium);
  margin-bottom: 12px;
  line-height: 1.75;
}
.who-content .btn { margin-top: 8px; }

/* ---------- SERVICES GRID (homepage) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
  display: block;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-card-body { padding: 14px 12px; }
.service-card-body h3 {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

/* ---------- SERVICES (servicios page) ---------- */
.services-grid-lg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-card-lg {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.service-card-lg:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card-lg-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.service-card-lg-body { padding: 24px; }
.service-card-lg-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--color-text); }
.service-card-lg-body p { font-size: .95rem; color: var(--color-text-medium); margin-bottom: 16px; line-height: 1.6; }
.service-card-lg-body .btn { font-size: .875rem; padding: 10px 20px; }

/* ---------- HELP SECTION ---------- */
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.help-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.help-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.help-item span {
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

/* ---------- HOW WE WORK ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.how-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.how-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.how-text h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.how-text p { font-size: .9rem; color: var(--color-text-medium); line-height: 1.6; }

/* ---------- CASA VUELA PROMO ---------- */
.casa-vuela-promo { padding: 64px 0; }
.casa-vuela-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  background: var(--color-bg-accent);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
}
.casa-vuela-image { max-width: 240px; }
.casa-vuela-image img { width: 100%; }
.casa-vuela-content { text-align: center; }
.casa-vuela-content h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 12px; }
.casa-vuela-content p { font-size: .975rem; color: var(--color-text-medium); margin-bottom: 24px; line-height: 1.7; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-text {
  font-size: .9rem;
  color: var(--color-text-medium);
  line-height: 1.7;
  margin-bottom: 14px;
  font-style: italic;
}
.testimonial-author {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ---------- CONTACT SECTION ---------- */
.contact-section { padding: 64px 0; background: var(--color-bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.contact-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-bg-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item-icon svg { width: 20px; height: 20px; color: var(--color-primary); }
.contact-item h3 { font-size: .85rem; font-weight: 600; margin-bottom: 4px; color: var(--color-text-light); text-transform: uppercase; letter-spacing: .04em; }
.contact-item a, .contact-item p { font-size: .9rem; color: var(--color-text-medium); line-height: 1.4; }
.contact-item a:hover { color: var(--color-primary); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-map img { width: 100%; height: 260px; object-fit: cover; }

/* ---------- CTA SECTIONS ---------- */
.cta-section {
  background: var(--color-cta-dark);
  padding: 56px 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 10px; }
.cta-section p { font-size: 1rem; color: rgba(255,255,255,.8); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- TEAM CARDS ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
}
.team-card-body { padding: 16px; }
.team-card-body h3 { font-size: .975rem; font-weight: 600; margin-bottom: 6px; }
.team-card-body p { font-size: .825rem; color: var(--color-text-medium); line-height: 1.5; }

/* ---------- QUOTE SECTION ---------- */
.quote-section {
  background: var(--color-primary);
  padding: 48px 0;
  text-align: center;
  color: #fff;
}
.quote-section blockquote {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ---------- INTRO 2-COL ---------- */
.intro-section { padding: 56px 0; }
.intro-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.intro-content p {
  font-size: .975rem;
  color: var(--color-text-medium);
  line-height: 1.8;
  margin-bottom: 14px;
}
.intro-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* ---------- FEATURE CARDS ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.feature-card-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: .975rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: .875rem; color: var(--color-text-medium); line-height: 1.6; }

/* ---------- THERAPY CARDS ---------- */
.therapy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.therapy-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.therapy-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.therapy-card-text h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.therapy-card-text p { font-size: .9rem; color: var(--color-text-medium); line-height: 1.6; }

/* ---------- PROCESS STEPS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.process-step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-primary);
}
.process-step-number {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.process-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: .9rem; color: var(--color-text-medium); line-height: 1.6; }

/* ---------- OTHER SERVICES (related) ---------- */
.other-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.other-service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.other-service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.other-service-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: 6px; color: var(--color-primary); }
.other-service-card p { font-size: .85rem; color: var(--color-text-medium); }

/* ---------- METHODOLOGY SECTION ---------- */
.methodology-section {
  background: var(--color-primary);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.methodology-section h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 12px; }
.methodology-section p { font-size: .975rem; color: rgba(255,255,255,.85); max-width: 680px; margin: 0 auto; line-height: 1.7; }

/* ---------- PROSE CONTENT ---------- */
.content-section { padding: 56px 0; }
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: .975rem;
  color: var(--color-text-medium);
  line-height: 1.8;
}
.prose p { margin-bottom: 16px; }
.prose h3 { font-size: 1.15rem; font-weight: 600; color: var(--color-text); margin: 28px 0 10px; }
.prose strong { color: var(--color-text); font-weight: 600; }

/* ---------- LEGAL PAGES ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 0 80px;
}
.legal-content h2 { font-size: 1.4rem; font-weight: 700; margin: 32px 0 12px; color: var(--color-text); }
.legal-content h3 { font-size: 1.05rem; font-weight: 600; margin: 24px 0 8px; color: var(--color-primary); }
.legal-content p { font-size: .95rem; color: var(--color-text-medium); line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { margin: 10px 0 14px 24px; list-style: disc; }
.legal-content ul li { font-size: .95rem; color: var(--color-text-medium); line-height: 1.7; margin-bottom: 6px; }
.legal-content strong { color: var(--color-text); font-weight: 600; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-footer);
  color: rgba(255,255,255,.85);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 48px;
}
.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: background var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,.2); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h3 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}
.footer-contact-item a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-contact-item a:hover { color: #fff; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }

.footer-bottom {
  background: var(--color-footer-bottom);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.footer-legal a {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-legal a:hover { color: #fff; }
.footer-copyright {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid var(--color-primary);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.cookie-banner p { font-size: .875rem; color: var(--color-text-medium); }
.cookie-banner p a { color: var(--color-primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions button {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 600;
  font-family: var(--font-family);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-cookie-accept {
  background: var(--color-primary);
  color: #fff;
}
.btn-cookie-accept:hover { background: var(--color-primary-dark); }
.btn-cookie-reject {
  background: transparent;
  color: var(--color-text-medium);
  border: 1px solid var(--color-border) !important;
}
.btn-cookie-reject:hover { background: var(--color-bg-light); }

/* ---------- Responsive: 640px ---------- */
@media (min-width: 640px) {
  .hero-content h1 { font-size: 2.4rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .help-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .other-services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .therapy-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Responsive: 768px ---------- */
@media (min-width: 768px) {
  :root { --header-height: 80px; }
  .section { padding: 80px 0; }
  .section-lg { padding: 100px 0; }

  .hero { padding: 64px 0; }
  .hero-inner { flex-direction: row; align-items: center; gap: 56px; }
  .hero-content { text-align: left; flex: 1; }
  .hero-actions { justify-content: flex-start; }
  .hero-badge { justify-content: flex-start; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-image { flex: 1; }
  .hero-image img { max-height: none; }

  .who-inner { flex-direction: row; gap: 56px; }
  .who-content { text-align: left; }

  .intro-inner { flex-direction: row; gap: 56px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }

  .other-services-grid { grid-template-columns: repeat(4, 1fr); }

  .casa-vuela-inner { flex-direction: row; }
  .casa-vuela-content { text-align: left; }

  .page-hero h1 { font-size: 2.6rem; }
  .page-hero { padding: 56px 0 64px; }
}

/* ---------- Responsive: 1024px ---------- */
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .header-social { display: flex; }

  .hero-content h1 { font-size: 3rem; }

  .testimonials-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Responsive: 1280px ---------- */
@media (min-width: 1280px) {
  .container { padding: 0 40px; }
}
