:root {
  --navy: #06366e;
  --navy-deep: #052b57;
  --sky: #3ebae9;
  --sky-soft: #e7f7fd;
  --sky-tint: #f2fafd;
  --ink: #0c2438;
  --slate: #5c7085;
  --paper: #ffffff;
  --line: #e3ecf3;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== BALANCED CONTAINER & SPACING ===== */
.wrap {
  width: 100%;
  max-width: 1240px;
  padding: 0 24px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
  width: 100%;
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.hero {
  content-visibility: visible;
}

img, video {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.reveal, .reveal-stagger {
  will-change: transform, opacity;
}

/* ===== BUTTONS & BADGES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 8px 20px -6px rgba(6, 54, 110, .45);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-sky {
  background: var(--sky);
  color: var(--navy-deep);
}

.btn-sky:hover {
  background: #2ea9d9;
  box-shadow: 0 8px 20px -6px rgba(62, 186, 233, .5);
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-white:hover {
  background: var(--sky-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sky);
  background: transparent;
  border: none;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.eyebrow svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.section-head {
  max-width: 600px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--slate);
  font-size: 15.5px;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--navy-deep);
}

.logo-img {
  height: 68px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  margin-top: -8px;
  margin-bottom: -8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--sky);
  transition: width .25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.burger {
  display: none;
}

/* ===== HERO ===== */
.hero {
  height: 680px;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 40px 0;
  background: #edeef5 url('img/banner1.webp') no-repeat right center / contain;
  overflow: hidden;
  width: 100%;
}

.hero .wrap {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(38px, 4.8vw, 58px);
  margin-bottom: 18px;
  line-height: 1.12;
}

.hero h1 em {
  font-style: normal;
  color: var(--sky);
  position: relative;
}

.hero p.lead {
  font-size: 16.5px;
  color: var(--slate);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
  flex-wrap: nowrap;
  margin-top: 24px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  border-left: none;
  padding-left: 0;
}

.hero-stat-item .stat-icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stat-item .stat-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--sky);
}

.hero-stat-item .stat-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-stat-item .stat-text strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.25;
}

.hero-stat-item .stat-text span {
  font-size: 12.5px;
  color: var(--slate);
  display: block;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.face-diagram {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1.05;
  margin: 0 auto;
}

.face-diagram .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--sky-tint), #fff);
  border: 1px solid var(--line);
}

.face-diagram svg#face-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 14px 7px 7px;
  box-shadow: 0 10px 24px -10px rgba(6, 54, 110, .2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-deep);
  white-space: nowrap;
  z-index: 2;
}

.callout .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sky-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout .dot svg {
  width: 12px;
  height: 12px;
  stroke: var(--navy);
}

.callout.c1 {
  top: 4%;
  left: -4%;
}

.callout.c2 {
  top: 42%;
  right: -6%;
}

.callout.c3 {
  bottom: 2%;
  left: 2%;
}

/* ===== SERVICES ===== */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 44px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: visible;
  box-shadow: 0 8px 24px -18px rgba(6, 54, 110, .15);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-color: var(--sky);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(6, 54, 110, .25);
}

.service-media {
  position: relative;
  margin: 8px 8px 0;
  border-radius: calc(var(--radius-md) - 6px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-media svg.service-illustration {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .5s ease;
}

.service-card:hover .service-media svg.service-illustration {
  transform: scale(1.05);
}

/* ===== BEFORE / AFTER INTERACTIVE SLIDER ===== */
.before-after-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 2;
}

.ba-before-wrapper .ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.ba-label {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  background: rgba(6, 54, 110, 0.8);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 4;
}

.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

.ba-line {
  width: 2px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

.ba-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--sky);
  box-shadow: 0 4px 12px rgba(6, 54, 110, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.ba-circle svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy);
}

.service-badge {
  position: absolute;
  top: -19px;
  left: 20px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px -4px rgba(6, 54, 110, .35);
  transition: transform .3s ease;
  z-index: 10;
}

.service-card:hover .service-badge {
  transform: rotate(-6deg) scale(1.05);
}

.service-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy-deep);
  fill: none;
}

.service-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.service-body {
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--slate);
  font-size: 14px;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

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

/* ===== WHY / STATS BAND ===== */
.why-wrap {
  width: 100%;
  max-width: 1240px;
  padding: 0 24px;
  margin: 0 auto;
}

.why {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr 0.75fr;
  gap: 32px;
  align-items: center;
  padding: 48px 40px;
}

.why-copy {
  padding: 0;
}

.why-copy .eyebrow {
  background: transparent;
  border: none;
  color: var(--sky);
  padding: 0;
}

.why-copy h2 {
  color: #fff;
  font-size: clamp(24px, 2.5vw, 32px);
  margin-bottom: 14px;
}

.why-copy p {
  color: #c6d6e6;
  margin-bottom: 22px;
  font-size: 14.5px;
}

.why-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  color: #e4edf5;
}

.why-list svg {
  width: 17px;
  height: 17px;
  stroke: var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Video Box Container for Por qué elegirnos */
.why-img-box {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  background: #06366e;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.why-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
}

.img-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--navy);
  opacity: 0.7;
}

/* Vertical Stats Column on the Right */
.why-stats {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  height: auto;
  justify-content: center;
  border-left: none;
}

.why-stats .stat-card {
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}

.why-stats .stat-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.why-stats .stat-card:first-child {
  padding-top: 0;
}

.why-stats .stat-card:hover {
  background: transparent;
  transform: translateX(4px);
}

.why-stats strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  color: var(--navy-deep);
  line-height: 1.1;
  margin-bottom: 2px;
}

.why-stats span {
  font-size: 13px;
  color: var(--slate);
  font-weight: 600;
}

/* ===== PROCESS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  width: 100%;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step {
  position: relative;
  padding: 0 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  position: relative;
  z-index: 1;
  transition: transform .3s ease;
}

.step-icon svg {
  width: 34px;
  height: 34px;
  stroke: var(--sky);
  fill: none;
}

.step:hover .step-icon {
  transform: translateY(-3px) scale(1.1);
}

.step:hover .step-icon svg {
  stroke: var(--navy);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
}

.step:nth-child(odd) .step-num {
  background: var(--navy);
  color: #fff;
}

.step h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.step p {
  font-size: 13.5px;
  color: var(--slate);
}

/* ===== DOCTOR PROFILE SECTION (DR. SAMUEL MARÍN) ===== */
#equipo {
  padding: 80px 0;
  background: var(--sky-tint);
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 16px 40px -20px rgba(6, 54, 110, 0.12);
  border: 1px solid var(--line);
}

.doctor-photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(6, 54, 110, 0.18);
  aspect-ratio: 4 / 3.4;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(6, 54, 110, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-badge svg {
  width: 15px;
  height: 15px;
  stroke: var(--sky);
}

.doctor-info-col h2 {
  font-size: clamp(28px, 3vw, 38px);
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.doctor-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--sky-dark);
  margin-bottom: 18px;
}

.doctor-bio {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.doctor-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.dh-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--sky-tint);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.dh-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.dh-emoji {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.dh-item strong {
  display: block;
  font-size: 14px;
  color: var(--navy-deep);
  margin-bottom: 2px;
}

.dh-item span {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.4;
  display: block;
}

.doctor-cta {
  margin-top: 8px;
}

/* ===== TESTIMONIALS ===== */
.testi-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-top: 16px;
}

.testi-card-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testi-slider-container {
  position: relative;
  min-height: 280px;
  display: grid;
}

.testi-card {
  grid-area: 1 / 1;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -15px rgba(6, 54, 110, 0.08);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  visibility: hidden;
}

.testi-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  position: relative;
  z-index: 2;
}

.testi-quote-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.testi-quote-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--sky);
}

.testi-quote-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy-deep);
  font-weight: 500;
  margin-bottom: 22px;
  min-height: 78px;
}

.testi-stars {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.testi-stars svg {
  width: 18px;
  height: 18px;
}

.testi-author-info strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--navy-deep);
}

.testi-author-info span {
  font-size: 13px;
  color: var(--sky-dark);
  font-weight: 600;
}

.testi-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testi-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all .3s ease;
}

.testi-dots span:hover {
  background: var(--sky-soft);
}

.testi-dots span.active {
  background: var(--sky);
  width: 28px;
  border-radius: 12px;
}

.testi-arrows {
  display: flex;
  gap: 10px;
}

.testi-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(6, 54, 110, 0.08);
  transition: all 0.25s ease;
}

.testi-arrow-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy-deep);
  transition: transform 0.2s ease;
}

.testi-arrow-btn:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
  transform: scale(1.06);
}

.testi-arrow-btn:hover svg {
  stroke: #ffffff;
}

.testi-image-col {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-patient-img {
  width: 100%;
  max-width: 480px;
  height: 380px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 20px 48px -18px rgba(6, 54, 110, 0.15);
  border: 1px solid var(--line);
}

/* ===== PACKAGES / SERVICIOS CAROUSEL ===== */
.packages-slider-container {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

.packages-slider-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 16px 6px 24px 6px;
  width: 100%;
}

.packages-slider-track::-webkit-scrollbar {
  display: none;
}

.package {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 290px;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}

.package.popular {
  border-color: var(--navy);
  box-shadow: 0 16px 36px -16px rgba(6, 54, 110, .28);
}

.package:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(6, 54, 110, .18);
}

.package.popular:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -18px rgba(6, 54, 110, .32);
}

.package-tag {
  position: absolute;
  top: -12px;
  left: 26px;
  background: var(--sky);
  color: var(--navy-deep);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}

.package-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--sky-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(62, 186, 233, 0.18);
}

.package-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
}

.package-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Carrusel Flechas de Navegación */
.pkg-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(6, 54, 110, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.pkg-arrow-btn.prev {
  left: -22px;
}

.pkg-arrow-btn.next {
  right: -22px;
}

.pkg-arrow-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy-deep);
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.pkg-arrow-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 54, 110, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.pkg-arrow-btn:hover svg {
  stroke: #ffffff;
}

.pkg-arrow-btn.prev:hover svg {
  transform: translateX(-2px);
}

.pkg-arrow-btn.next:hover svg {
  transform: translateX(2px);
}

.pkg-arrow-btn:disabled,
.pkg-arrow-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Indicadores / Dots del Carrusel de Paquetes */
.packages-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  align-items: center;
}

.packages-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.packages-dots span:hover {
  background: var(--sky);
}

.packages-dots span.active {
  background: var(--navy);
  width: 26px;
  border-radius: 12px;
}

/* ===== LEGAL MODALS ===== */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.legal-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 43, 87, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.legal-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  z-index: 2;
  transform: translateY(20px);
  transition: transform .3s ease;
}

.legal-modal.active .legal-modal-content {
  transform: translateY(0);
}

.legal-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--slate);
  cursor: pointer;
  line-height: 1;
}

.legal-modal h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--navy-deep);
  padding-right: 24px;
}

.legal-modal-body {
  overflow-y: auto;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  scroll-behavior: smooth;
  padding-right: 8px;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #475569;
}

.legal-meta-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 2px;
}

.legal-index {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent, #0088cc);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 22px;
}

.legal-index-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-index-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 6px 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
}

.legal-index-list a {
  color: var(--navy);
  text-decoration: none;
  transition: color .2s ease;
  display: block;
  padding: 2px 0;
}

.legal-index-list a:hover {
  color: var(--accent, #0088cc);
  text-decoration: underline;
}

.legal-modal-body h4 {
  font-size: 15px;
  color: var(--navy-deep);
  margin: 22px 0 8px;
  padding-top: 14px;
  border-top: 1px solid #edf2f7;
  scroll-margin-top: 10px;
}

.legal-modal-body h4:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 10px;
}

.legal-modal-body p {
  margin-bottom: 10px;
}

.legal-modal-body ul {
  padding-left: 20px;
  margin: 8px 0 14px;
}

.legal-modal-body ul li {
  margin-bottom: 6px;
}

.package h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.package .from {
  font-size: 12.5px;
  color: var(--slate);
  margin-bottom: 14px;
}

.package .price {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  color: var(--navy-deep);
  margin-bottom: 2px;
}

.package .price span {
  font-size: 13px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: var(--slate);
}

.package-list {
  margin: 20px 0 24px;
  flex-grow: 1;
}

.package-list li {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 10px;
  align-items: flex-start;
}

.package-list svg {
  width: 15px;
  height: 15px;
  stroke: var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.package .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ===== BEFORE/AFTER INFO STRIP ===== */
.info-strip {
  background: var(--sky-tint);
  border-radius: var(--radius-lg);
  width: 100%;
}

.info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  width: 100%;
}

.info-copy h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 14px;
}

.info-copy p {
  color: var(--slate);
  margin-bottom: 20px;
  font-size: 14.5px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.info-box {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--line);
}

.info-box svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  margin-bottom: 10px;
}

.info-box strong {
  display: block;
  font-size: 14px;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.info-box span {
  font-size: 12px;
  color: var(--slate);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-deep);
  font-family: 'Fraunces', serif;
}

.faq-q svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  flex-shrink: 0;
  transition: transform .3s ease;
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a p {
  padding: 0 4px 20px;
  color: var(--slate);
  font-size: 14px;
  max-width: 680px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: url('img/banner2.webp') no-repeat center center / cover;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 8px;
  max-width: 440px;
}

.cta-banner p {
  color: #c6d6e6;
  font-size: 14.5px;
  max-width: 440px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  color: #ffffff;
  padding: 60px 0 24px;
  margin-top: 48px;
  width: 100%;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/banner2.webp') no-repeat center center / cover;
  transform: scaleX(-1);
  z-index: 0;
}

footer .wrap {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 48px;
  width: 100%;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand p {
  font-size: 13.5px;
  margin: 14px 0 18px;
  max-width: 280px;
  color: #a9bfd4;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}

.social-row a:hover {
  background: var(--sky);
  border-color: var(--sky);
}

.social-row svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
}

footer h4 {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  font-size: 13.5px;
  color: #a9bfd4;
  transition: color .2s ease;
}

footer ul li a:hover {
  color: var(--sky);
}

.foot-contact li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  align-items: flex-start;
  color: #a9bfd4;
}

.foot-contact li a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: inherit;
  transition: color .2s ease;
}

.foot-contact li a:hover {
  color: var(--sky);
}

.foot-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #8ba4bc;
  flex-wrap: wrap;
}

.foot-backlink {
  color: var(--sky);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.foot-backlink:hover {
  color: #ffffff;
}

.foot-bottom a {
  color: #8ba4bc;
}

.foot-bottom a:hover {
  color: var(--sky);
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
  }

  .reveal.in-view {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger.in-view .reveal-child {
    opacity: 1;
    transform: none;
  }

  .reveal-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
  }

  .reveal-child:nth-child(1) {
    transition-delay: .05s;
  }

  .reveal-child:nth-child(2) {
    transition-delay: .15s;
  }

  .reveal-child:nth-child(3) {
    transition-delay: .25s;
  }

  .reveal-child:nth-child(4) {
    transition-delay: .35s;
  }

  .hero-copy>* {
    opacity: 0;
    transform: translateY(16px);
    animation: heroIn .7s cubic-bezier(.2, .8, .2, 1) forwards;
  }

  .hero-copy .eyebrow {
    animation-delay: .05s;
  }

  .hero-copy h1 {
    animation-delay: .15s;
  }

  .hero-copy p.lead {
    animation-delay: .28s;
  }

  .hero-copy .hero-ctas {
    animation-delay: .4s;
  }

  .hero-copy .hero-stats {
    animation-delay: .52s;
  }

  @keyframes heroIn {
    to {
      opacity: 1;
      transform: none;
    }
  }

  .hero-visual {
    opacity: 0;
    animation: heroVisualIn .9s .3s cubic-bezier(.2, .8, .2, 1) forwards;
  }

  @keyframes heroVisualIn {
    from {
      opacity: 0;
      transform: scale(.94) translateY(10px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  .callout {
    animation: floaty 5s ease-in-out infinite;
  }

  .callout.c1 {
    animation-delay: .2s;
  }

  .callout.c2 {
    animation-delay: 1s;
  }

  .callout.c3 {
    animation-delay: 1.8s;
  }

  @keyframes floaty {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-8px);
    }
  }
}

/* ===== MOBILE MENU & SIDEBAR DRAWER ===== */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease;
}

.burger:hover {
  background: var(--sky-tint);
  border-color: var(--sky-soft);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: background .2s ease;
}

.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform .3s ease, top .3s ease;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.burger.open span {
  background: transparent;
}

.burger.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.burger.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Backdrop Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 36, 56, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar Drawer Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  z-index: 1001;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .25s ease;
  pointer-events: none;
  box-shadow: -10px 0 35px rgba(6, 54, 110, 0.15);
  overflow-y: auto;
  padding: 0;
}

.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--sky-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.mobile-close:hover {
  background: var(--sky-soft);
  transform: scale(1.05);
}

.mobile-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy-deep);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 4px;
  flex-grow: 1;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-deep);
  font-family: 'Manrope', sans-serif;
  border-bottom: none;
  transition: background .2s ease, color .2s ease;
}

.mobile-nav-links a svg {
  width: 18px;
  height: 18px;
  stroke: var(--sky);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.mobile-nav-links a:hover {
  background: var(--sky-tint);
  color: var(--navy);
}

.mobile-nav-links a:hover svg {
  transform: translateX(3px);
}

.mobile-nav-footer {
  padding: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--sky-tint);
  margin-top: auto;
}

.mobile-nav-footer .btn {
  width: 100%;
  justify-content: center;
}

.mobile-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  padding: 4px 0;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablets & Medium Laptops (< 980px) */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .nav-cta .btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 500px;
    padding: 48px 0;
    background: #edeef5 url('img/banner movil.webp') no-repeat center center / contain;
  }

  .hero-stat-item .stat-icon svg {
    stroke: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  }

  .hero-stat-item .stat-text strong {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  }

  .hero-stat-item .stat-text span {
    color: #e2e8f0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

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

  .why-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 24px;
  }

  .why-img-box {
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
  }

  .why-stats {
    border-left: none;
    padding: 20px;
    background: #ffffff;
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  }

  .why-stats .stat-card {
    border-bottom: none;
    padding: 6px 4px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .process-steps::before {
    display: none;
  }

  .doctor-profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 20px;
  }

  .doctor-highlights {
    grid-template-columns: 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .packages-slider-track .package {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: 270px;
  }

  .info-inner {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .cta-banner h2,
  .cta-banner p {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }

  footer::before {
    background-position: right center;
    background-size: cover;
  }
}

/* Mobile Screens (< 640px) */
@media (max-width: 640px) {
  section {
    padding: 56px 0;
  }

  .wrap,
  .why-wrap {
    padding: 0 18px;
  }

  .nav {
    padding: 12px 18px;
  }

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

  .packages-slider-track {
    gap: 16px;
    padding: 12px 2px 20px 2px;
  }

  .packages-slider-track .package {
    flex: 0 0 86%;
    min-width: 260px;
  }

  .pkg-arrow-btn {
    width: 40px;
    height: 40px;
  }

  .pkg-arrow-btn.prev {
    left: -10px;
  }

  .pkg-arrow-btn.next {
    right: -10px;
  }

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

  .hero-stats {
    gap: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .face-diagram {
    max-width: 300px;
  }

  .callout {
    position: static;
    margin: 6px auto;
    width: fit-content;
  }

  .why-copy {
    padding: 28px 18px;
  }

  .why-stats div {
    padding: 20px 14px;
  }

  .why-stats strong {
    font-size: 26px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand p {
    margin: 12px auto 16px;
    text-align: center;
  }

  .social-row {
    justify-content: center;
  }

  footer h4 {
    text-align: center;
  }

  footer ul {
    text-align: center;
  }

  .foot-contact li,
  .foot-contact li a {
    justify-content: center;
    text-align: center;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 10px;
  }
}

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

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  background-color: #20ba5a;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}