/* =========================================================
   SER CENTRO MÉDICO ESTÉTICO - HOJA DE ESTILOS PRINCIPAL
   Estética: Spa-medical premium · editorial · minimalista
   ========================================================= */

:root {
  /* Paleta principal */
  --ser-primary: #159bb7;
  --ser-primary-dark: #0d6e80;
  --ser-primary-light: #5cc1d4;
  --ser-accent: #c9a86a;          /* dorado suave - acento de lujo */
  --ser-cream: #f7f3ec;           /* crema cálida */
  --ser-sand: #ebe4d6;
  --ser-ink: #06282d;
  --ser-text: #3a3f4c;
  --ser-muted: #7a7f8c;
  --ser-line: rgba(26, 31, 44, 0.08);
  --ser-white: #ffffff;

 /* Tipografía */
--font-display: 'Lato', 'Playfair Display', Georgia, serif;
--font-body: 'Lato', 'Helvetica Neue', sans-serif;

  /* Sombras */
  --shadow-soft: 0 10px 40px rgba(21, 155, 183, 0.08);
  --shadow-deep: 0 20px 60px rgba(13, 110, 128, 0.18);
  --shadow-card: 0 4px 24px rgba(26, 31, 44, 0.06);

  /* Curvas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ====================== RESET & BASE ====================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ser-text);
  background: var(--ser-cream);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ser-ink);
  line-height: 1.15;
}

a { color: var(--ser-primary); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--ser-primary-dark); }

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

.container-ser { max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* Eyebrow/kicker - texto pequeño elegante */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ser-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--ser-primary);
}

/* Título seccional grande editorial */
.section-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  margin: 16px 0 24px;
}
.section-title em {
  font-style: italic;
  color: var(--ser-primary);
  font-weight: 400;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--ser-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ====================== BOTONES ====================== */
.btn-ser {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-ser-primary {
  background: var(--ser-primary);
  color: white;
}
.btn-ser-primary:hover {
  background: var(--ser-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
  color: white;
}
.btn-ser-outline {
  background: transparent;
  color: var(--ser-ink);
  border: 1.5px solid var(--ser-ink);
}
.btn-ser-outline:hover {
  background: var(--ser-ink);
  color: white;
  transform: translateY(-2px);
}
.btn-ser-light {
  background: white;
  color: var(--ser-ink);
}
.btn-ser-light:hover {
  background: var(--ser-cream);
  transform: translateY(-2px);
}

/* ====================== TOPBAR / NAVEGACIÓN ====================== */
.topbar {
  background: var(--ser-ink);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 10px 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--ser-primary-light); }
.topbar .topbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-info span { margin-right: 20px; }
.topbar-info i { color: var(--ser-primary-light); margin-right: 6px; }
.topbar-social a { margin-left: 14px; font-size: 15px; }

.navbar-ser {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--ser-line);
  transition: all .3s var(--ease);
}
.navbar-ser.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.05);
}
.navbar-ser .nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar-brand-ser img {
  height: 100px;
  transition: height .3s var(--ease);
}
.navbar-ser.scrolled .navbar-brand-ser img { height: 60px; }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.navbar-menu a {
  color: var(--ser-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--ser-primary);
  transition: width .3s var(--ease);
}
.navbar-menu a:hover::after,
.navbar-menu a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 24px;
  color: var(--ser-ink);
  cursor: pointer;
}

/* ====================== HERO ====================== */
.hero-ser {
  position: relative;
  
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f3ec 0%, #fff 100%);
}
.hero-ser::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(21, 155, 183, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 168, 106, 0.12), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 20px 0 0 0;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.9;
  margin: 24px 0 28px;
  font-weight: 400;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--ser-primary);
}
.hero-content h1 .accent-stroke {
  position: relative;
  display: inline-block;
}
.hero-content h1 .accent-stroke::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0;
  width: 100%; height: 8px;
  background: rgba(21, 155, 183, 0.18);
  z-index: -1;
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--ser-text);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: 800px;
}
.hero-image-frame {
  position: absolute;
  inset: 0;
   
}
.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-floating-card {
  position: absolute;
  bottom: -30px; left: -30px;
  background: white;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 290px;
}
.hero-floating-card .stars {
  color: var(--ser-accent);
  margin-bottom: 4px;
}
.hero-floating-card .text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ser-text);
}
.hero-floating-card .text strong { color: var(--ser-ink); }

.hero-stats {
  position: absolute;
  top: -20px; right: -30px;
  background: var(--ser-ink);
  color: white;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  text-align: center;
}
.hero-stats .number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--ser-primary-light);
  line-height: 1;
}
.hero-stats .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: .8;
}

/* ====================== SECCIÓN "POR QUÉ SER" ====================== */
.why-section {
  padding: 100px 0;
  background: white;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.why-card {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid var(--ser-line);
}
.why-card:last-child { border-right: none; }
.why-card .icon {
  width: 72px; height: 72px;
  background: var(--ser-cream);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--ser-primary);
  margin-bottom: 20px;
}
.why-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--ser-muted);
  margin: 0;
}

/* ====================== TRATAMIENTOS ====================== */
.treatments-section {
  padding: 120px 0;
  background: var(--ser-cream);
  position: relative;
}
.treatments-header {
  text-align: center;
  margin-bottom: 70px;
}
.treatments-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}
.tab-btn {
  background: white;
  border: 1px solid var(--ser-line);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ser-text);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.tab-btn:hover { border-color: var(--ser-primary); color: var(--ser-primary); }
.tab-btn.active {
  background: var(--ser-ink);
  color: white;
  border-color: var(--ser-ink);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.treatment-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-deep);
}
.treatment-image {
  height: 240px;
  position: relative;
  overflow: hidden;
}
.treatment-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.treatment-card:hover .treatment-image img { transform: scale(1.08); }
.treatment-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ser-ink);
  font-weight: 600;
}
.treatment-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.treatment-body h3 {
  font-size: 1.5rem;
  margin: 0 0 12px;
}
.treatment-body p {
  font-size: 14.5px;
  color: var(--ser-muted);
  flex: 1;
  margin-bottom: 20px;
}
.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ser-primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.treatment-link i { transition: transform .3s var(--ease); }
.treatment-link:hover i { transform: translateX(4px); }

/* ====================== SECCIÓN HIGHLIGHT (alternada texto/imagen) ====================== */
.highlight-section {
  padding: 120px 0;
  background: white;
  overflow: hidden;
}
.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.highlight-row:last-child { margin-bottom: 0; }
.highlight-row.reverse { direction: rtl; }
.highlight-row.reverse > * { direction: ltr; }

.highlight-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 540px;
}
.highlight-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.highlight-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1.5px solid var(--ser-primary);
  border-radius: var(--radius-lg);
  z-index: -1;
  transform: translate(20px, 20px);
  opacity: .4;
}
.highlight-image-wrapper { position: relative; }

.highlight-content h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 20px 0 24px;
  font-weight: 400;
}
.highlight-content h2 em { color: var(--ser-primary); font-style: italic; }
.highlight-content p {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--ser-text);
}
.highlight-features {
  list-style: none;
  padding: 0; margin: 28px 0;
}
.highlight-features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--ser-line);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}
.highlight-features li i {
  color: var(--ser-primary);
  font-size: 14px;
}

/* ====================== EQUIPO PROFESIONAL ====================== */
.team-section {
  padding: 120px 0;
  background: var(--ser-ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.team-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(21,155,183,.2), transparent 70%);
  border-radius: 50%;
}
.team-section .section-title { color: white; }
.team-section .section-title em { color: var(--ser-primary-light); }
.team-section .section-lead { color: rgba(255,255,255,.7); }
.team-section .eyebrow { color: var(--ser-primary-light); }
.team-section .eyebrow::before { background: var(--ser-primary-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 70px;
  position: relative;
}
.team-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: all .4s var(--ease);
}
.team-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-6px);
  border-color: rgba(21,155,183,.4);
}
.team-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ser-primary), var(--ser-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: white;
  flex-shrink: 0;
  font-weight: 500;
  overflow: hidden;
}
.team-info h4 {
  color: white;
  font-size: 1.6rem;
  margin: 0 0 4px;
}
.team-role {
  color: var(--ser-primary-light);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.team-bio {
  color: rgba(255,255,255,.7);
  font-size: 14.5px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.credential-tag {
  background: rgba(21,155,183,.15);
  border: 1px solid rgba(21,155,183,.3);
  color: var(--ser-primary-light);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ====================== TESTIMONIOS ====================== */
.testimonials-section {
  padding: 120px 0;
  background: var(--ser-cream);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 70px 0 60px;
}
.testimonial-card {
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px; left: 24px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--ser-primary);
  opacity: .15;
  line-height: 1;
}
.testimonial-stars {
  color: var(--ser-accent);
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 15.5px;
  color: var(--ser-text);
  font-style: italic;
  flex: 1;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--ser-line);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ser-primary), var(--ser-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}
.testimonial-author .info strong {
  display: block;
  color: var(--ser-ink);
  font-size: 14px;
}
.testimonial-author .info span {
  color: var(--ser-muted);
  font-size: 12px;
}

.testimonial-form-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}
.testimonial-form-wrapper h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
}
.testimonial-form-wrapper > p {
  text-align: center;
  color: var(--ser-muted);
  margin-bottom: 30px;
  font-size: 14px;
}

.rating-input {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0 24px;
}
.rating-input input { display: none; }
.rating-input label {
  font-size: 32px;
  color: #ddd;
  cursor: pointer;
  transition: color .2s;
}
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: var(--ser-accent);
}

/* ====================== REELS / VIDEOS ====================== */
.reels-section {
  padding: 120px 0;
  background: white;
}
.reels-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 30px 0 50px;
  margin: 50px -28px 0;
  padding-left: 28px;
  padding-right: 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--ser-primary) transparent;
}
.reels-scroll::-webkit-scrollbar { height: 6px; }
.reels-scroll::-webkit-scrollbar-thumb { background: var(--ser-primary); border-radius: 3px; }

.reel-card {
  flex: 0 0 280px;
  height: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  scroll-snap-align: start;
  background: var(--ser-ink);
  transition: transform .4s var(--ease);
}
.reel-card:hover { transform: translateY(-8px) scale(1.02); }
.reel-card video,
.reel-card img,
.reel-card iframe {
  width: 100%; height: 100%;
  object-fit: cover;
  border: none;
}
.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
  pointer-events: none;
}
.reel-overlay h5 {
  color: white;
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.reel-overlay span {
  font-size: 12px;
  opacity: .8;
}
.reel-play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ser-ink);
  font-size: 18px;
  pointer-events: none;
  transition: all .3s var(--ease);
}
.reel-card:hover .reel-play-icon {
  background: var(--ser-primary);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}

/* ====================== CONTACTO ====================== */
.contact-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--ser-ink) 0%, #2a2f3c 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(21,155,183,.15), transparent 70%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.contact-info h2 { color: white; font-size: clamp(2rem, 4vw, 3.2rem); margin: 20px 0 24px; }
.contact-info h2 em { color: var(--ser-primary-light); font-style: italic; }
.contact-info > p { color: rgba(255,255,255,.7); margin-bottom: 36px; }
.contact-info .eyebrow { color: var(--ser-primary-light); }
.contact-info .eyebrow::before { background: var(--ser-primary-light); }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail i {
  width: 44px; height: 44px;
  background: rgba(21,155,183,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ser-primary-light);
  font-size: 16px;
  flex-shrink: 0;
}
.contact-detail .detail-text strong {
  display: block;
  color: white;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-detail .detail-text span,
.contact-detail .detail-text a {
  color: rgba(255,255,255,.85);
  font-size: 15px;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 50px;
  color: var(--ser-text);
}
.contact-form-card h3 {
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.contact-form-card > p {
  color: var(--ser-muted);
  margin-bottom: 28px;
  font-size: 14px;
}

.form-group-ser { margin-bottom: 20px; }
.form-group-ser label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ser-ink);
  margin-bottom: 8px;
}
.form-group-ser input,
.form-group-ser select,
.form-group-ser textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--ser-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  background: white;
  transition: border-color .3s, box-shadow .3s;
  color: var(--ser-ink);
}
.form-group-ser input:focus,
.form-group-ser select:focus,
.form-group-ser textarea:focus {
  outline: none;
  border-color: var(--ser-primary);
  box-shadow: 0 0 0 4px rgba(21,155,183,.1);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Mensajes de feedback (AJAX) */
.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}
.form-feedback.success {
  background: #e6f7ed;
  color: #1e7d3a;
  border-left: 3px solid #2e9e4d;
  display: block;
}
.form-feedback.error {
  background: #fde8e8;
  color: #b22222;
  border-left: 3px solid #e74c3c;
  display: block;
}

/* ====================== FOOTER ====================== */
.footer-ser {
  background: #159bb7;
  color: rgba(255,255,255,.65);
  padding: 80px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand img { max-width: 250px; margin-bottom: 20px; }
.footer-brand p { line-height: 1.7; margin-bottom: 24px; }
.footer-social a {
  display: inline-flex;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 8px;
  transition: all .3s;
}
.footer-social a:hover {
  background: var(--ser-primary);
  transform: translateY(-3px);
  color: white;
}
.footer-col h5 {
  color: white;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.65); transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: var(--ser-primary-light); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ====================== WHATSAPP FLOTANTE ====================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 64px; height: 64px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  animation: pulseWa 2s ease-in-out infinite;
}
.whatsapp-float:hover {
  color: white;
  transform: scale(1.05);
}
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.4), 0 0 0 18px rgba(37,211,102,0); }
}

/* ====================== ANIMACIONES ENTRADA ====================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 450px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-row { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .highlight-row.reverse { direction: ltr; }
  .highlight-image { height: 400px; }
  .team-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
  .container-ser { padding: 0 20px; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ser-cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid var(--ser-line);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
	
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu a { padding: 12px 0; }
  .menu-toggle { display: block;  }

  .hero-ser { min-height: auto; padding: 40px 0; }
  .hero-floating-card { left: 0; bottom: -40px; }
  .hero-stats { right: 0; top: 0; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; border-bottom: 1px solid var(--ser-line); padding-bottom: 30px; }
  .why-card:last-child { border-bottom: none; }

  .treatments-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-card,
  .testimonial-form-wrapper { padding: 30px 24px; }

  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .team-credentials { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .topbar-info { font-size: 12px; }
  .topbar-info span { display: block; margin: 4px 0; }
  .whatsapp-float { width: 56px; height: 56px; font-size: 24px; bottom: 20px; right: 20px; }
}


/* ===== TRATAMIENTOS ELEGANTES ===== */
.treatments-grid-elegant {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .treatments-grid-elegant {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .treatments-grid-elegant {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.treatment-card-elegant {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.treatment-card-elegant:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

.card-media {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-card-elegant:hover .card-media img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #c6a27a;
    font-family: 'Manrope', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.card-content {
    padding: 28px 28px 32px;
}

.card-content h3 {
    font-family: 'Lato', 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 380;
    color: #2c1810;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.card-content p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #5a4a3e;
    margin-bottom: 20px;
    opacity: 0.85;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c6a27a;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.card-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: #b58b5f;
}

.card-link:hover i {
    transform: translateX(4px);
}

/* Medical note elegante */
.medical-note {
    margin-top: 70px;
    padding: 35px 40px;
    background: linear-gradient(135deg, #faf7f2 0%, #f5efe8 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    border-left: 4px solid #c6a27a;
}

.medical-note-icon {
    width: 60px;
    height: 60px;
    background: #c6a27a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.medical-note-icon i {
    font-size: 1.8rem;
    color: white;
}

.medical-note-text strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #2c1810;
    margin-bottom: 5px;
}

.medical-note-text p {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: #5a4a3e;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .medical-note {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
    
    .card-content {
        padding: 22px 22px 26px;
    }
    
    .card-media {
        height: 240px;
    }
}





/* ===== REELS GRID - 3 COLUMNAS ESTILO VERTICAL ===== */
.reels-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

@media (max-width: 992px) {
    .reels-grid-three {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .reels-grid-three {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

.reel-card-vertical {
    position: relative;
    cursor: pointer;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reel-card-vertical:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.reel-vertical-wrapper {
    position: relative;
    aspect-ratio: 9 / 16;
    /* Proporción 9:16 estilo reel vertical */
    overflow: hidden;
    background: #1a1a1a;
}

.reel-vertical-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.reel-card-vertical:hover .reel-vertical-wrapper img {
    transform: scale(1.05);
}

.reel-play-icon-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.reel-play-icon-vertical i {
    color: #c6a27a;
    font-size: 1.4rem;
    margin-left: 3px;
}

.reel-card-vertical:hover .reel-play-icon-vertical {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
    width: 60px;
    height: 60px;
}

.reel-overlay-vertical {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 25px 18px 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.reel-card-vertical:hover .reel-overlay-vertical {
    opacity: 1;
    transform: translateY(0);
}

.reel-meta h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 5px;
}

.reel-meta span {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    color: #c6a27a;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.reel-meta span i {
    font-size: 0.65rem;
}

/* Responsive ajustes */
@media (max-width: 768px) {
    .reel-play-icon-vertical {
        width: 48px;
        height: 48px;
    }
    
    .reel-play-icon-vertical i {
        font-size: 1.2rem;
    }
    
    .reel-overlay-vertical {
        padding: 20px 15px 15px;
    }
    
    .reel-meta h5 {
        font-size: 0.9rem;
    }
}



/* ===== BOTÓN CÓMO LLEGAR ===== */
.contact-location-btn {
    margin-top: 10px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #159bb7, #0e7a91);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
     
}

.location-link i {
    font-size: 1rem;
}

.location-link i:first-child {
    font-size: 1.1rem;
}

.location-link i:last-child {
    font-size: 0.75rem;
    opacity: 0.8;
}

.location-link:hover {
    transform: translateY(-3px);
     background: linear-gradient(135deg, #3fbfdb, #159bb7);
    gap: 15px;
	color: white;
 }

.location-hint {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    color: #7a7f8c;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Versión alternativa - solo ícono (si prefieres más minimalista) */
.location-link-icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #159bb7;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.location-link-icon-only:hover {
    background: #159bb7;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .location-link {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}