/* ============================================================
   PSICÓLOGO GABRIEL P. LEÓN — STYLE.CSS
   ============================================================ */

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

:root {
  /* === PALETA ORIGINAL /vl/ === */
  --navy:      #1a3a4a;        /* azul marino oscuro — sidebar, hero, secciones dark */
  --navy-mid:  #1e4a5f;        /* navy medio — gradientes */
  --blue:      #0e7490;        /* azul-teal — acento principal */
  --blue-lt:   #22b0d4;        /* azul cielo brillante */
  --sky:       #aadff7;        /* celeste original /vl/ placeholder color */
  --lime:      #c1f274;        /* verde lima original /vl/ — segundo acento */
  --lime-d:    #a0dc4a;        /* verde lima oscuro para hover */
  --cream:     #f0f8ff;        /* fondo muy claro con toque azulado */
  --cream-lt:  #f7fbff;        /* fondo principal */
  --warm:      #d0eaf5;        /* separadores / bordes suaves */
  --text:      #0f2a3a;        /* texto principal oscuro */
  --text-mid:  #2d5a6e;        /* texto medio */
  --text-lt:   #5a8a9f;        /* texto suave */
  --white:     #ffffff;
  --green-wa:  #25D366;
  --green-wa-d:#1da851;
  --sidebar-w: 72px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(26,45,74,0.10);
  --shadow-lg: 0 8px 40px rgba(26,45,74,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream-lt);
  overflow-x: hidden;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--blue-lt); border-radius: 3px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed;
  left: 0; top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
  z-index: 1000;
  box-shadow: 3px 0 20px rgba(0,0,0,0.15);
}

.sidebar-logo { margin-bottom: 2rem; }

.logo-initials {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--sky), var(--lime));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
}

.sidebar-nav {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
  font-size: 1.1rem;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.nav-link.active::before {
  content: '';
  position: absolute;
  left: -8px;
  width: 4px; height: 24px;
  background: var(--sky);
  border-radius: 0 4px 4px 0;
}

/* Tooltip */
.nav-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  background: var(--navy-mid);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 400;
  box-shadow: var(--shadow);
}
.nav-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Sidebar social */
.sidebar-social {
  display: flex; flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}
.sidebar-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}
.sidebar-social a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.sidebar-social a.whatsapp-icon:hover { color: var(--green-wa); }

/* ============================================================
   MOBILE HEADER
   ============================================================ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--navy);
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.logo-initials-mobile {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--sky), var(--lime));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  color: var(--navy);
}
.mobile-menu-btn {
  background: none; border: none;
  color: var(--white); font-size: 1.3rem;
  cursor: pointer; padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.1); }

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.mobile-overlay.open { display: flex; }
.close-mobile {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.1); border: none;
  color: var(--white); font-size: 1.3rem;
  width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.close-mobile:hover { background: rgba(255,255,255,0.2); }
.mobile-overlay ul { list-style: none; text-align: center; }
.mobile-link {
  display: flex; align-items: center; gap: 1rem;
  color: var(--white); text-decoration: none;
  font-size: 1.25rem; font-weight: 400;
  padding: 1rem 2rem;
  border-radius: 12px;
  transition: var(--transition);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}
.mobile-link:hover { background: rgba(255,255,255,0.08); }
.mobile-link i { color: var(--sky); width: 24px; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 45%, #0c3d52 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  pointer-events: none;
}

/* SVG del lóbulo frontal — correctamente posicionado */
.brain-svg {
  width: min(520px, 55vw);
  height: auto;
  opacity: 0.7;
  margin-right: 4%;
  filter: drop-shadow(0 0 40px rgba(170,223,247,0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 4rem 4rem 4rem;
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--sky);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.5px;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hero-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.hero-card i {
  font-size: 1.5rem;
  color: var(--lime);
  margin-bottom: 0.75rem;
  display: block;
}
.hero-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.hero-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--green-wa);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-primary:hover {
  background: var(--green-wa-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}

/* ============================================================
   SECTIONS SHARED
   ============================================================ */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  background: rgba(170,223,247,0.2);
  padding: 4px 14px;
  border-radius: 50px;
}
.section-header.light .section-label {
  color: var(--sky);
  background: rgba(170,223,247,0.15);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.section-header.light h2 { color: var(--white); }
.section-header p { color: var(--text-lt); font-size: 1rem; }
.section-header.light p { color: rgba(255,255,255,0.65); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about { background: var(--cream-lt); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

/* Carousel */
.about-carousel-wrapper { position: relative; }

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
}
.photo-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #aadff7, #7bc8e8);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  color: rgba(0,0,0,0.5);
}
.photo-placeholder i { font-size: 4rem; }
.photo-placeholder span { font-size: 0.9rem; font-weight: 400; letter-spacing: 1px; }

/* Si hay imágenes reales */
.carousel-slide img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--navy);
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 2;
}
.carousel-btn:hover { background: var(--white); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer; border: none;
  transition: var(--transition);
}
.carousel-dot.active { background: var(--white); width: 20px; border-radius: 4px; }

/* About text */
.about-text { display: flex; flex-direction: column; gap: 2rem; }

.about-block {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--sky);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.about-block:hover { transform: translateX(4px); }
.about-block h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.about-block h3 i { color: var(--sky); font-size: 1rem; }
.about-block p { color: var(--text-mid); line-height: 1.75; font-size: 0.95rem; }

/* ============================================================
   MODALIDADES SECTION
   ============================================================ */
.modalidades {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}

.modalidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.modalidad-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.modalidad-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); }
.modalidad-card.featured {
  background: rgba(170,223,247,0.15);
  border-color: var(--sky);
}

.modalidad-icon {
  width: 68px; height: 68px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.8rem;
  color: var(--sky);
}
.modalidad-card.featured .modalidad-icon {
  background: rgba(193,242,116,0.2);
  color: var(--lime);
}
.modalidad-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.modalidad-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.65; }

/* ============================================================
   ENFOQUES SECTION
   ============================================================ */
.enfoques { background: var(--cream-lt); }

.enfoques-grid { display: flex; flex-direction: column; gap: 2rem; }

.enfoque-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.enfoque-card:hover { box-shadow: var(--shadow-lg); }

.enfoque-header {
  padding: 1.75rem 2rem;
  display: flex; align-items: center; gap: 1rem;
  color: var(--white);
}
.enfoque-header.cbt { background: linear-gradient(135deg, #0e7490, #aadff7); }
.enfoque-header.humanista { background: linear-gradient(135deg, #4a7c2f, #c1f274); }
.enfoque-header i { font-size: 1.6rem; opacity: 0.9; }
.enfoque-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.enfoque-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
}
.enfoque-col {
  padding: 1.75rem;
  border-right: 1px solid var(--warm);
}
.enfoque-col:last-child { border-right: none; }
.enfoque-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.enfoque-col ul { list-style: none; }
.enfoque-col ul li {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  padding: 0.35rem 0 0.35rem 1rem;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.enfoque-col ul li:last-child { border-bottom: none; }
.enfoque-col ul li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 5px; height: 5px;
  background: var(--sky);
  border-radius: 50%;
  transform: translateY(-50%);
}
.enfoque-header.humanista + .enfoque-body .enfoque-col h4 { color: #4a7c2f; }
.enfoque-header.humanista + .enfoque-body .enfoque-col ul li::before { background: var(--lime); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq { background: var(--white); }

.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  border: 1px solid var(--warm);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { box-shadow: var(--shadow); }

.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none; border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition);
}
.faq-question:hover { background: var(--cream); }
.faq-item.open .faq-question { background: var(--navy); color: var(--sky); }

.faq-icon { transition: var(--transition); flex-shrink: 0; font-size: 0.85rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  background: var(--cream-lt);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: linear-gradient(160deg, var(--navy) 0%, #0c3d52 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

/* Contact info card */
.contact-info-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  margin-bottom: 0.75rem;
  transition: var(--transition);
  border: 1px solid transparent;
}
.contact-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.contact-item.whatsapp-btn { background: rgba(37,211,102,0.15); border-color: rgba(37,211,102,0.3); }
.contact-item.whatsapp-btn:hover { background: rgba(37,211,102,0.25); }

.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-item-icon.whatsapp { background: rgba(37,211,102,0.25); color: var(--green-wa); }
.contact-item-icon.email { background: rgba(170,223,247,0.2); color: var(--sky); }
.contact-item-icon.phone { background: rgba(193,242,116,0.15); color: var(--lime); }

.contact-item-text { flex: 1; }
.contact-label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 2px; }
.contact-value { font-size: 0.9rem; font-weight: 400; }

.contact-arrow { color: rgba(255,255,255,0.3); font-size: 0.75rem; }

.contact-social {
  display: flex; gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.social-btn.whatsapp:hover { background: rgba(37,211,102,0.2); color: var(--green-wa); }

/* Contact form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.required { color: var(--blue); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--warm);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--cream-lt);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(58,110,165,0.1);
}
.form-group input.error,
.form-group textarea.error { border-color: #e53e3e; }

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

.field-error { display: block; font-size: 0.78rem; color: #e53e3e; margin-top: 4px; min-height: 18px; }

.btn-submit {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--navy);
  color: var(--sky);
  border: 2px solid var(--sky);
  padding: 0.95rem 2rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--sky); color: var(--navy); transform: translateY(-2px); }

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 10px;
  color: #2d6a4f;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.form-success i { color: var(--green-wa); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #111d2e;
  padding: 2.5rem 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.25rem;
  text-align: center;
}
.footer-logo {
  display: flex; align-items: center; gap: 1rem;
}
.footer-name { color: var(--white); font-weight: 500; font-size: 0.95rem; }
.footer-tag { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--sky); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.78rem; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  text-decoration: none;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.75), 0 0 0 8px rgba(37,211,102,0.1); }
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--navy);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-family: var(--font-body);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .mobile-header { display: flex; }
  .main-content { margin-left: 0; padding-top: 60px; }

  .hero-content { padding: 3rem 1.5rem 3rem; }
  .hero-cards { grid-template-columns: 1fr; }
  .brain-svg { width: 50vw; opacity: 0.3; }

  .about-grid { grid-template-columns: 1fr; }
  .about-carousel-wrapper { max-width: 360px; margin: 0 auto; }

  .modalidades-grid { grid-template-columns: 1fr; }
  .enfoques-grid .enfoque-body { grid-template-columns: 1fr; }
  .enfoque-col { border-right: none; border-bottom: 1px solid var(--warm); }
  .enfoque-col:last-child { border-bottom: none; }

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

  .section-container { padding: 3.5rem 1.5rem; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.75rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}
