/* =========================================================
   FisioSport MD — Hoja de estilos
   Paleta: navy #1b2f76, azul #3581ab, teal #12B3A0
   Tipografía: Sora (títulos), Manrope (texto)
   ========================================================= */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: #F4F7FB;
  font-family: 'Manrope', sans-serif;
  color: #14202F;
  -webkit-font-smoothing: antialiased;
}

a { color: #3581ab; text-decoration: none; }
a:hover { color: #1b2f76; }

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Animación al hacer scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.3,1), transform 0.7s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Botón WhatsApp (reutilizable) ---------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #1FA463;
  color: #fff;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 12px 28px rgba(31,164,99,0.4);
  transition: background .2s, transform .2s;
}
.btn-whatsapp:hover { background: #17864F; color: #fff; transform: translateY(-1px); }

.btn-whatsapp--small {
  gap: 8px;
  font-size: 14px;
  padding: 11px 20px;
  box-shadow: 0 6px 16px rgba(31,164,99,0.35);
}
.btn-whatsapp--large {
  font-size: 15px;
  padding: 13px 26px;
  gap: 9px;
}
.btn-whatsapp--xl {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 17px;
  padding: 19px 40px;
  box-shadow: 0 16px 36px rgba(31,164,99,0.45);
}
.btn-whatsapp--xl:hover { transform: scale(1.03); }

.link-secondary {
  align-self: center;
  color: #2b6a8f;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 8px;
}
.link-secondary:hover { color: #1b2f76; }

/* ---------- Encabezado de sección ---------- */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-heading .eyebrow {
  color: #3581ab;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-heading h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 38px);
  color: #1b2f76;
  margin: 10px 0 0;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,247,251,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E7ECF3;
}
.site-header__row {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.site-header__brand img { height: 44px; width: auto; }
.site-header__tagline {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3581ab;
}

.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { font-weight: 600; font-size: 15px; color: #14202F; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid #E7ECF3;
  border-radius: 10px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1b2f76;
  margin: 0 auto;
  transition: transform .25s, opacity .2s;
}
.hamburger.is-open .bar-top { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .bar-mid { opacity: 0; }
.hamburger.is-open .bar-bot { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 18px;
  background: #FFFFFF;
  border-top: 1px solid #E7ECF3;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  color: #14202F;
  border-bottom: 1px solid #EEF2F7;
}
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 899px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .site-header__brand img { height: 36px; }
  .site-header__tagline { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 72px 24px 88px;
  max-width: 1240px;
  margin: 0 auto;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__badge {
  align-self: flex-start;
  background: rgba(53,129,171,0.12);
  color: #2b6a8f;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(53,129,171,0.3);
}
.hero__content { display: flex; flex-direction: column; gap: 20px; }
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  color: #1b2f76;
  margin: 0;
}
.hero p {
  font-size: clamp(15.5px, 1.8vw, 17px);
  line-height: 1.65;
  color: #3A4A5C;
  margin: 0;
  max-width: 560px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid #E7ECF3;
}
.hero__info-item { display: flex; gap: 10px; align-items: flex-start; }
.hero__info-item svg { flex-shrink: 0; margin-top: 2px; }
.hero__info-item--link { text-decoration: none; transition: opacity .2s; }
.hero__info-item--link:hover { opacity: .8; }
.hero__info-item--link:hover .hero__info-title { color: #3581ab; }
.hero__info-title { font-weight: 700; font-size: 14px; color: #1b2f76; }
.hero__info-title--spaced { margin-top: 8px; }
.hero__info-sub { font-size: 13px; color: #5A6B7D; }

/* Carrusel (hero y nosotros comparten estilos) */
.carousel {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(19,43,78,0.22);
  background: #0f1e4a;
}
.carousel--hero { height: clamp(320px, 42vw, 460px); }
.carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 1s ease;
}
.carousel__slide.is-active { opacity: 1; transform: scale(1); }
.carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.carousel__dots button {
  width: 9px;
  height: 9px;
  border-radius: 100px;
  padding: 0;
  background: rgba(255,255,255,0.55);
  transition: all .3s ease;
}
.carousel__dots button.is-active { width: 26px; background: #fff; }

.hero__visual { position: relative; }
.hero__visual::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: linear-gradient(135deg, rgba(53,129,171,0.18), rgba(53,129,171,0.18));
  border-radius: 32px;
  transform: rotate(-2deg);
  z-index: 0;
}

@media (max-width: 899px) {
  .hero { padding: 48px 20px 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   BARRA DE ESPECIALIDADES
   ========================================================= */
.specialties-bar {
  background: linear-gradient(90deg, #16265f 0%, #2b6a8f 100%);
  padding: 30px 24px;
}
.specialties-bar__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.specialties-bar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.specialties-bar__row--offset { margin-left: 72px; }
.specialty-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #F2F7FC;
  font-weight: 600;
  font-size: 14.5px;
  padding: 9px 20px;
  border-radius: 100px;
  white-space: nowrap;
}
.specialty-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #7FD4F0; flex-shrink: 0;
}
@media (max-width: 640px) {
  .specialties-bar__row--offset { margin-left: 0; }
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { padding: 88px 24px; max-width: 1240px; margin: 0 auto; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: 0 4px 20px rgba(19,43,78,0.06);
  border: 1px solid #EEF2F7;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(19,43,78,0.12); }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(53,129,171,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 18px;
  color: #1b2f76; margin: 0 0 8px;
}
.service-card p { font-size: 14.5px; line-height: 1.6; color: #5A6B7D; margin: 0; }

@media (max-width: 899px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.how-it-works { background: #EAF1FA; padding: 88px 24px; }
.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__line {
  position: absolute; top: 29px; left: 50%;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #2E6FB0 0%, rgba(46,111,176,0.12) 100%);
  z-index: 0;
}
.step__number {
  position: relative; z-index: 1;
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #132B4E;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800; font-size: 20px;
  box-shadow: 0 10px 22px rgba(19,43,78,0.22);
  border: 3px solid #12B3A0;
}
.step h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 16.5px;
  color: #132B4E; margin: 0 0 8px;
}
.step p { font-size: 14px; line-height: 1.55; color: #5A6B7D; margin: 0; }

@media (max-width: 899px) {
  .how-it-works__grid { grid-template-columns: 1fr; gap: 36px; }
  .step__line { display: none; }
}

/* =========================================================
   QUE TRATAMOS
   ========================================================= */
.treatments { padding: 88px 24px; max-width: 1240px; margin: 0 auto; }
.treatments__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.treatments__card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 4px 20px rgba(19,43,78,0.06);
  border: 1px solid #EEF2F7;
}
.treatments__card { display: flex; flex-direction: column; }
.treatments__card h3, .massages-card h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 21px;
  color: #1b2f76; margin: 0 0 22px;
}
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
  flex: 1;
  align-content: space-between;
}
.condition-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 15.5px; color: #14202F; font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #EEF2F7;
}
.condition-item:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 560px) {
  .conditions-grid { grid-template-columns: 1fr; }
  .condition-item:nth-last-child(2) { border-bottom: 1px solid #EEF2F7; }
}
.condition-item svg { flex-shrink: 0; }

.massages-card {
  background: #1b2f76;
  border-radius: 20px;
  padding: 34px;
  color: #fff;
}
.massages-card h3 { color: #fff; }
.massage-item {
  display: flex; gap: 14px; align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.massage-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.massage-item__icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(53,129,171,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.massage-item__title { font-weight: 700; font-size: 15.5px; }
.massage-item__desc { font-size: 13.5px; color: #B9C7DA; margin-top: 2px; }

@media (max-width: 899px) {
  .treatments__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.about { background: #EAF1FA; padding: 88px 24px; }
.about__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.carousel--about { height: clamp(280px, 38vw, 440px); border-radius: 24px; box-shadow: 0 20px 40px rgba(19,43,78,0.18); }
.about__text { display: flex; flex-direction: column; gap: 20px; }
.about__text h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800; font-size: clamp(26px, 3.6vw, 34px);
  color: #1b2f76; margin: 0; line-height: 1.15;
}
.about__text p { font-size: 16px; line-height: 1.65; color: #3A4A5C; margin: 0; }
.about__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  border-top: 1px solid #D8E3F0;
  padding-top: 22px;
}
.about__fact { display: flex; gap: 10px; align-items: flex-start; }
.about__fact svg { flex-shrink: 0; margin-top: 2px; }
.about__fact span { font-size: 14px; line-height: 1.4; color: #3A4A5C; font-weight: 500; }

@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonials { padding: 88px 24px; max-width: 1240px; margin: 0 auto; }
.testimonials .section-heading { margin-bottom: 12px; }
.testimonials__note { font-size: 13px; color: #8A97A6; margin: 10px 0 0; text-align: center; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.testimonial-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(19,43,78,0.06);
  border: 1px solid #EEF2F7;
  display: flex; flex-direction: column; gap: 14px;
}
.testimonial-card__stars { display: flex; gap: 3px; }
.testimonial-card__quote {
  font-size: 15px; line-height: 1.6; color: #3A4A5C;
  margin: 0; font-style: italic;
}
.testimonial-card__author {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 6px;
  border-top: 1px solid #EEF2F7;
}
.testimonial-card__initial {
  width: 38px; height: 38px; border-radius: 50%;
  background: #EAF1FA; color: #3581ab;
  font-family: 'Sora', sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.testimonial-card__name { font-weight: 700; font-size: 14px; color: #1b2f76; }
.testimonial-card__role { font-size: 12.5px; color: #8A97A6; }

@media (max-width: 899px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}


/* ---------- Reseñas rotativas ---------- */
.testimonials__head { margin-bottom: 44px; }
.testimonials__head h2 { font-family:'Sora',sans-serif; font-weight:800; font-size:clamp(28px,4vw,38px); color:#1b2f76; margin:0; }
.testimonials__head p { margin:8px 0 0; font-size:14.5px; color:#5A6B7D; }
.reviews { display:grid; grid-template-columns:1.25fr 1fr; gap:64px; align-items:start; min-height:300px; }
.reviews__featured, .reviews__side { transition: opacity .5s ease; }
.reviews.is-fading .reviews__featured, .reviews.is-fading .reviews__side { opacity:0; }
.review-stars { display:flex; gap:3px; margin-bottom:14px; }
.review-quote--big { font-family:'Sora',sans-serif; font-weight:600; font-size:clamp(22px,2.6vw,30px); line-height:1.4; color:#14202F; margin:0 0 18px; }
.review-quote { font-size:15px; line-height:1.65; color:#3A4A5C; margin:0 0 12px; }
.review-name { font-weight:700; font-size:15px; color:#1b2f76; }
.review-source { font-size:13px; color:#8A97A6; margin-top:2px; }
.reviews__side .review { padding:0 0 24px; }
.reviews__side .review + .review { padding-top:24px; border-top:1px solid #DCE4EE; }
.reviews__dots { display:flex; gap:8px; margin-top:28px; }
.reviews__dots button { width:9px; height:9px; border-radius:100px; padding:0; background:#C9D6E5; transition:all .3s; }
.reviews__dots button.is-active { width:26px; background:#3581ab; }
@media (max-width: 899px) { .reviews { grid-template-columns:1fr; gap:28px; min-height:0; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: #EAF1FA; padding: 88px 24px; }
.faq__inner { max-width: 800px; margin: 0 auto; }
.faq .section-heading { margin-bottom: 44px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(19,43,78,0.05);
  overflow: hidden;
}
.faq-item__question {
  width: 100%; text-align: left;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item__question span:first-child {
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 15.5px; color: #1b2f76;
}
.faq-item__icon { display: flex; flex-shrink: 0; transition: transform .3s; }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }
.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.is-open .faq-item__panel { max-height: 200px; }
.faq-item__panel p { margin: 0 24px 20px; font-size: 14.5px; line-height: 1.6; color: #5A6B7D; }

/* =========================================================
   CTA AGENDAR
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, #1b2f76, #3581ab);
  padding: 80px 24px;
  text-align: center;
}
.cta-banner__inner { max-width: 620px; margin: 0 auto; }
.cta-banner h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800; font-size: clamp(26px, 4vw, 36px);
  color: #fff; margin: 0 0 14px;
}
.cta-banner p {
  font-size: 16.5px; line-height: 1.6;
  color: rgba(255,255,255,0.92);
  margin: 0 0 30px;
}
.cta-banner__note {
  font-size: 12.5px; color: rgba(255,255,255,0.75);
  margin: 14px 0 0;
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { padding: 88px 24px; max-width: 1240px; margin: 0 auto; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__row { display: flex; gap: 14px; align-items: flex-start; }
.contact__row--link { color: inherit; text-decoration: none; transition: opacity .2s; }
.contact__row--link:hover { opacity: .8; }
.contact__row--link:hover .contact__label { color: #3581ab; }
.contact__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(53,129,171,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact__icon--whatsapp { background: rgba(31,164,99,0.12); }
.contact__label { font-weight: 700; font-size: 15.5px; color: #1b2f76; }
.contact__value { font-size: 14.5px; color: #5A6B7D; margin-top: 2px; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 100px;
  color: #fff; font-weight: 700; font-size: 14px;
  transition: transform .2s;
}
.social-pill:hover { color: #fff; transform: translateY(-1px); }
.social-pill--instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B 52%, #8134AF 92%);
  box-shadow: 0 6px 16px rgba(221,42,123,0.28);
}
.social-pill--facebook {
  background: #1877F2;
  box-shadow: 0 6px 16px rgba(24,119,242,0.28);
}

.map-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(19,43,78,0.12);
  min-height: 320px;
  height: 100%;
  background: #E4ECF5;
}
.map-card__link { display: block; position: absolute; inset: 0; z-index: 1; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.map-card__directions {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(19,43,78,0.2);
  transition: background .2s;
}
.map-card__directions:hover { background: #EAF1FA; }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background:
    radial-gradient(1100px 420px at 12% 0%, rgba(53,129,171,0.32), transparent 62%),
    radial-gradient(900px 380px at 100% 100%, rgba(53,129,171,0.18), transparent 60%),
    linear-gradient(180deg, #223c7c 0%, #172a5c 100%);
  padding: 56px 24px 28px;
  color: #C3D0E2;
}
.site-footer__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand img { height: 40px; width: auto; }
.site-footer__brand p { font-size: 13.5px; line-height: 1.6; color: #8FA1B8; margin: 0; max-width: 280px; }

.site-footer__heading {
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 14px; color: #fff;
  margin-bottom: 14px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a, .site-footer__links span { font-size: 14px; color: #B9C7DA; line-height: 1.5; }
.site-footer__social-link { display: inline-flex; align-items: center; gap: 9px; color: #C3D0E2; }

.site-footer__bottom {
  max-width: 1240px; margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12.5px;
  color: #7488A0;
}

@media (max-width: 899px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Menú: sección activa ---------- */
.site-nav a, .mobile-nav a { transition: color .2s, box-shadow .2s; }
.site-nav a.is-current { color: #3581ab; box-shadow: inset 0 -2px 0 #3581ab; padding-bottom: 4px; }
.mobile-nav a.is-current { color: #3581ab; }

/* ---------- Botón flotante de WhatsApp (solo móvil) ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #1FA463; display: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(31,164,99,0.45);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #17864F; }
@media (max-width: 899px) { .wa-float { display: flex; } }
