/* =========================================================
   PSICOMEDIC MS — Hoja de estilos
   Paleta: Azul · Celeste · Blanco
   ========================================================= */

:root {
  --azul:        #12457F;
  --azul-osc:    #0C3260;
  --azul-claro:  #2E6DB4;
  --celeste:     #3FA9E0;
  --celeste-2:   #6FC5EC;
  --celeste-bg:  #EAF4FB;
  --celeste-soft:#F3F9FD;
  --blanco:      #FFFFFF;
  --texto:       #1E2A3A;
  --texto-suave: #56657A;
  --linea:       #E1EAF2;
  --sombra:      0 18px 45px rgba(18, 69, 127, .10);
  --sombra-sm:   0 8px 24px rgba(18, 69, 127, .08);
  --radio:       18px;
  --radio-sm:    12px;
  --max:         1160px;
  --trans:       .3s cubic-bezier(.4, 0, .2, 1);
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; color: var(--azul-osc); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 92%; max-width: var(--max); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--celeste);
  margin-bottom: .6rem;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
}
.btn--primary { background: var(--azul); color: #fff; }
.btn--primary:hover { background: var(--azul-osc); transform: translateY(-2px); box-shadow: var(--sombra-sm); }
.btn--ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--azul); border-color: #fff; }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1eb355; transform: translateY(-2px); box-shadow: var(--sombra-sm); }
.btn--sm { padding: .55rem 1.15rem; font-size: .85rem; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ===== TOPBAR ===== */
.topbar { background: var(--azul-osc); color: #cfe2f4; font-size: .82rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; justify-content: center; padding: .5rem 0; }
.topbar__item { display: inline-flex; align-items: center; gap: .35rem; }
.topbar__link:hover { color: #fff; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
  transition: var(--trans);
}
.nav.scrolled { box-shadow: var(--sombra-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { width: 78px; height: 78px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: 'Poppins'; font-size: 1.12rem; color: var(--azul); letter-spacing: .02em; }
.brand__text small { font-size: .68rem; color: var(--texto-suave); letter-spacing: .04em; }

.nav__menu { display: flex; align-items: center; gap: 1.7rem; }
.nav__menu a { font-weight: 500; font-size: .95rem; color: var(--texto); position: relative; transition: var(--trans); }
.nav__menu a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--celeste); transition: var(--trans);
}
.nav__menu a:not(.nav__cta):hover { color: var(--azul); }
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__menu a.active:not(.nav__cta) { color: var(--azul); font-weight: 600; }
.nav__menu a.active:not(.nav__cta)::after { width: 100%; }
.nav__cta { color: #fff !important; }

/* Menú desplegable de Servicios */
.nav__drop { position: relative; }
.nav__droplabel { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; }
.nav__caret { transition: transform .25s ease; }
.nav__drop.open .nav__caret { transform: rotate(180deg); }
.nav__submenu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: var(--azul); border-radius: var(--radio-sm);
  box-shadow: var(--sombra); padding: .5rem; opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease; z-index: 120;
}
.nav__submenu::before {
  content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; background: var(--azul); border-radius: 3px;
}
.nav__drop.open .nav__submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav__submenu a {
  display: block; padding: .7rem .9rem; color: #eaf3fb !important; font-size: .9rem;
  border-radius: 8px; position: relative;
}
.nav__submenu a::after { display: none; }
.nav__submenu a:hover { background: rgba(255,255,255,.12); color: #fff !important; padding-left: 1.1rem; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 3px; background: var(--azul); border-radius: 3px; transition: var(--trans); }

/* ===== HERO ===== */
.hero { position: relative; color: #fff; overflow: hidden; min-height: 88vh; display: flex; align-items: center; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../imagenes/hero.jpg");
  background-size: cover;
  background-position: center center;
  background-color: var(--azul-claro);
  background-blend-mode: multiply;
}
/* Capa azul uniforme + refuerzo central para que el texto centrado se lea bien */
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 70% at 50% 50%, rgba(9, 40, 78, .55) 0%, rgba(9, 40, 78, 0) 70%),
    linear-gradient(180deg, rgba(11, 50, 96, .48) 0%, rgba(9, 40, 78, .62) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 4rem 0; width: 100%; }
.hero__content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero__eyebrow {
  display: inline-block; font-family: 'Poppins'; font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--celeste-2);
  background: rgba(255,255,255,.10); padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.3rem;
}
.hero__title { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; color: #fff; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(6, 28, 56, .45); }
.hero__title span { color: var(--celeste-2); }
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #eaf3fb; margin: 1.3rem auto 2rem; max-width: 620px; text-shadow: 0 1px 10px rgba(6, 28, 56, .45); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2.6rem; font-size: .92rem; color: #eaf3fb; justify-content: center; text-shadow: 0 1px 8px rgba(6, 28, 56, .4); }

/* ===== STATS ===== */
.stats { background: var(--celeste-bg); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2.6rem 0; }
.stat { text-align: center; }
.stat__num { display: block; font-family: 'Poppins'; font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--azul); }
.stat__label { font-size: .9rem; color: var(--texto-suave); }

/* ===== SECCIONES ===== */
.section { padding: 3.4rem 0; }
.section--soft { background: var(--celeste-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.section__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section__lead { color: var(--texto-suave); margin-top: 1rem; font-size: 1.05rem; }
.section__cta { text-align: center; margin-top: 1.8rem; }

/* ===== ABOUT ===== */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: center; }
.about__media { display: flex; justify-content: center; }
.about__card {
  background: linear-gradient(135deg, var(--azul) 0%, var(--celeste) 130%);
  color: #fff; border-radius: var(--radio); padding: 2.5rem;
  box-shadow: var(--sombra); max-width: 340px; text-align: center;
}
.about__year { display: block; font-family: 'Poppins'; font-weight: 700; font-size: 1.5rem; margin-bottom: .8rem; }
.about__card p { color: #e6f2fb; font-size: .98rem; }
.about__img { width: 100%; border-radius: var(--radio); box-shadow: var(--sombra); }
.about__text h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); margin: .3rem 0 1.2rem; }
.about__text p { color: var(--texto-suave); margin-bottom: 1rem; }
.about__text strong { color: var(--azul); }

/* ===== MISIÓN / VISIÓN ===== */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mv__card {
  background: #fff; border-radius: var(--radio); padding: 2.5rem;
  box-shadow: var(--sombra-sm); border: 1px solid var(--linea); transition: var(--trans);
}
.mv__card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.mv__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; background: var(--celeste-bg); margin-bottom: 1.2rem;
}
.mv__card h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.mv__card p { color: var(--texto-suave); }

/* ===== SERVICIOS ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.service {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 2rem 1.8rem; transition: var(--trans); position: relative; overflow: hidden;
}
.service::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--azul), var(--celeste)); transform: scaleX(0);
  transform-origin: left; transition: var(--trans);
}
.service:hover { transform: translateY(-8px); box-shadow: var(--sombra); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; background: var(--celeste-bg); margin-bottom: 1.1rem;
}
/* Imagen tipo banner en la parte superior de la tarjeta */
.service__img {
  display: block; width: calc(100% + 3.6rem); height: 180px; object-fit: cover;
  margin: -2rem -1.8rem 1.2rem;
}
.service h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.service > p { color: var(--texto-suave); font-size: .95rem; margin-bottom: 1rem; }
.service__list { display: flex; flex-direction: column; gap: .45rem; }
.service__list li {
  position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--texto);
}
.service__list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--celeste); font-weight: 700;
}
.service { display: flex; flex-direction: column; color: inherit; }
.service__more {
  margin-top: auto; padding-top: 1rem; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: .9rem; color: var(--azul); transition: var(--trans);
}
.service:hover .service__more { color: var(--celeste); letter-spacing: .02em; }

/* ===== PÁGINA DE DETALLE DE SERVICIO ===== */
.svc-hero { position: relative; overflow: hidden; background: var(--celeste-soft); }
.svc-hero__inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
  padding: 2.6rem 0;
}
.svc-back {
  display: inline-block; font-weight: 600; font-size: .88rem; color: var(--azul);
  margin-bottom: 1.2rem; transition: var(--trans);
}
.svc-back:hover { color: var(--celeste); transform: translateX(-3px); }
.svc-hero__eyebrow {
  display: inline-block; font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--celeste);
  margin-bottom: .7rem;
}
.svc-hero__title { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.01em; margin-bottom: 1rem; }
.svc-hero__sub { color: var(--texto-suave); font-size: 1.1rem; max-width: 460px; margin-bottom: 1.8rem; }
.svc-hero__visual {
  display: grid; place-items: center; min-height: 260px; border-radius: var(--radio);
  background: radial-gradient(600px 300px at 70% 10%, rgba(111,197,236,.5), transparent 60%),
              linear-gradient(135deg, var(--azul-osc), var(--azul) 60%, var(--celeste));
  box-shadow: var(--sombra);
}
.svc-hero__visual span { font-size: clamp(4rem, 10vw, 7rem); filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.svc-hero__img {
  width: 100%; height: 320px; object-fit: cover; border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.svc-body { display: grid; grid-template-columns: 1.6fr .8fr; gap: 3rem; align-items: start; }
.svc-main h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.svc-main > p { color: var(--texto-suave); margin-bottom: 1.8rem; font-size: 1.02rem; }
.svc-main h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--azul); }
.svc-list { display: grid; grid-template-columns: 1fr; gap: .7rem; }
.svc-list--2col { grid-template-columns: 1fr 1fr; }
.svc-list li {
  position: relative; padding: .8rem 1rem .8rem 2.6rem; background: var(--celeste-soft);
  border-radius: var(--radio-sm); border: 1px solid var(--linea); font-size: .95rem;
}
.svc-list li::before {
  content: '✓'; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; display: grid; place-items: center; font-size: .75rem;
  background: var(--celeste); color: #fff; border-radius: 50%; font-weight: 700;
}

.svc-aside {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 1.8rem; box-shadow: var(--sombra-sm); position: sticky; top: 100px;
}
.svc-aside h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.svc-benefits { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.5rem; }
.svc-benefits li { position: relative; padding-left: 1.6rem; font-size: .92rem; color: var(--texto); }
.svc-benefits li::before { content: '★'; position: absolute; left: 0; color: var(--celeste); }
.svc-ctaBox { border-top: 1px solid var(--linea); padding-top: 1.3rem; text-align: center; }
.svc-ctaBox p { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--azul-osc); margin-bottom: .8rem; }

/* ===== GALERÍA DE IMÁGENES (cuadros uniformes) ===== */
.gallery {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem;
  margin: 0 auto;
}
.gallery img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; cursor: pointer;
  background: #fff; padding: 8px; border: 1px solid var(--linea);
  border-radius: var(--radio-sm); box-shadow: var(--sombra-sm); transition: var(--trans);
}
.gallery img:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }

/* ===== VALORES ===== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.value {
  background: #fff; border-radius: var(--radio); padding: 1.9rem; text-align: center;
  box-shadow: var(--sombra-sm); border: 1px solid var(--linea); transition: var(--trans);
}
.value:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.value__icon {
  display: inline-grid; place-items: center; width: 62px; height: 62px; font-size: 1.7rem;
  border-radius: 50%; background: var(--celeste-bg); margin-bottom: 1rem;
}
.value h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.value p { color: var(--texto-suave); font-size: .92rem; }

/* ===== CTA ===== */
.cta { background: linear-gradient(120deg, var(--azul-osc), var(--azul) 70%, var(--celeste)); color: #fff; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap; padding: 2.4rem 0;
}
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { color: #d6e8f7; margin-top: .5rem; }

/* ===== CONTACTO ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact__info h2 { font-size: clamp(1.7rem, 3.3vw, 2.3rem); margin: .3rem 0 1rem; }
.contact__info > p { color: var(--texto-suave); margin-bottom: 1.6rem; }
.contact__list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; color: var(--texto); }
.contact__list span { font-size: 1.15rem; }
.contact__list a:hover { color: var(--azul); }
.contact__socials { display: flex; gap: 1.4rem; }
.contact__socials a { font-weight: 600; color: var(--azul); font-size: .92rem; }
.contact__socials a:hover { color: var(--celeste); }

.contact__form {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 2.2rem; box-shadow: var(--sombra-sm);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--azul-osc); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--linea); border-radius: var(--radio-sm);
  font-family: inherit; font-size: .95rem; color: var(--texto); background: var(--celeste-soft);
  transition: var(--trans);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--celeste); background: #fff;
  box-shadow: 0 0 0 4px rgba(63,169,224,.12);
}
.field textarea { resize: vertical; }
.form__note { margin-top: .8rem; font-size: .88rem; color: var(--celeste); text-align: center; min-height: 1.2rem; }

/* ===== FOOTER ===== */
.footer { background: var(--azul-osc); color: #b9cde0; padding-top: 3.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__logo {
  width: 190px; height: 190px; object-fit: contain; margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer__brand p { font-size: .92rem; max-width: 300px; }
.footer__col h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col a, .footer__col span { display: block; font-size: .9rem; margin-bottom: .55rem; color: #b9cde0; transition: var(--trans); }
.footer__col a:hover { color: var(--celeste-2); padding-left: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; font-size: .85rem; text-align: center; }

/* ===== WHATSAPP FLOTANTE ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: var(--trans); animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== VISTAS (PESTAÑAS TIPO PÁGINA) ===== */
.view { display: none; }
.view.is-active { display: block; animation: viewIn .45s ease both; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ===== ACCESOS RÁPIDOS (PORTADA) ===== */
.quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.quicklink {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 1.8rem 1.5rem; text-align: center; transition: var(--trans);
}
.quicklink:hover { transform: translateY(-6px); box-shadow: var(--sombra); border-color: transparent; }
.quicklink span {
  display: inline-grid; place-items: center; width: 60px; height: 60px; font-size: 1.7rem;
  border-radius: 50%; background: var(--celeste-bg); margin-bottom: .9rem;
}
.quicklink h3 { font-size: 1.15rem; margin-bottom: .4rem; color: var(--azul-osc); }
.quicklink p { color: var(--texto-suave); font-size: .9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .about, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .services, .values, .quicklinks { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .svc-hero__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .svc-hero__visual { order: -1; min-height: 190px; }
  .svc-hero__img { order: -1; height: 220px; }
  .svc-body { grid-template-columns: 1fr; gap: 2rem; }
  .svc-aside { position: static; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--linea);
    padding: .5rem 6%; max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav__menu.open { max-height: 420px; padding: 1rem 6% 1.5rem; }
  .nav__menu a { width: 100%; padding: .7rem 0; }
  .nav__cta { margin-top: .6rem; }
  .nav__toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Submenú de Servicios en móvil: desplegado en línea */
  .nav__drop { width: 100%; }
  .nav__submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; background: var(--celeste-soft); box-shadow: none; padding: .3rem .3rem .6rem;
    margin: .2rem 0 .4rem .8rem; border-left: 2px solid var(--celeste);
  }
  .nav__submenu::before { display: none; }
  .nav__submenu a { color: var(--texto) !important; padding: .55rem .7rem; }
  .nav__submenu a:hover { background: rgba(63,169,224,.12); color: var(--azul) !important; }
  .nav__caret { display: none; }
  .svc-list--2col { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .services, .values, .quicklinks, .stats__grid, .footer__grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .section { padding: 2.6rem 0; }
}
