@font-face {
  font-family: 'Neigfriste';
  src: url('Neigfriste.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* 1) Cortafuegos: nada puede salirse en X */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  /* moderno */
}

@supports not (overflow-x: clip) {

  html,
  body {
    overflow-x: hidden;
  }

  /* fallback */
}

/* 2) Medios nunca más anchos que su contenedor */
img,
video,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

/* 3) Evitar que grids/flex creen overflow por min-content */
.grid,
.split,
.split>*,
.card,
.container {
  min-width: 0;
}

.slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* 4) Palabras/URLs largas que puedan desbordar */
:where(p, h1, h2, h3, h4, h5, h6, a, li, code) {
  overflow-wrap: anywhere;
}


.hide-widget {
  color: #f4f4f4;
  background-color: var(--color-bg);
  width: 100%;
  height: 44px;
  text-align: center;
  margin: auto;
  position: relative;
  bottom: 49px;
  z-index: 1000;
}

h2 {
  font-family: 'Neigfriste', sans-serif;
  color: var(--color-brand-2);
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
}

#contacto h3 {
  color: var(--color-brand);
}

#servicios a {
  color: var(--color-brand);
  text-decoration: none;
  font-weight: bold;
}



#servicios .fa {
  color: var(--color-brand-2);
  font-size: 20px;
  border: 1px solid var(--color-border);
  padding: 15px;
  border-radius: 999px;
  background-color: var(--color-bg);

}

#ranchos .fa {
  color: var(--color-brand-2);
}

#nosotros .fa {
  color: var(--color-brand-2);
}

.text-color {
  color: var(--color-brand-2);
  font-weight: bold;
}

.bold {
  font-weight: bold;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* ===========================
   Variables y resets
   =========================== */
:root {
  /* Colores base (ajusta a tu marca) */
  --color-bg: #fcfcff;
  /* Blanco suave del sitio */
  --color-surface: #ffffff;
  /* Superficie (cards) */
  --color-text: #0f172a;
  /* Texto principal (slate-900) */
  --color-muted: #475569;
  /* Texto secundario */
  --color-border: #e5e7eb;
  /* Borde sutil */
  --color-brand: #6c9b53;
  --color-brand-2: #307ebe;
  /* Color marca */
  --color-brand-hover: #315a1b;
  /* Hover marca */
  --color-brand-contrast: #ffffff;

  /* Fondos de secciones alternas */
  --color-section-alt: #d4e4f1;
  --color-section-alt-2: #edf3ec;


  /* Dimensiones */
  --container-max: 1440px;
  --container-pad: 1.25rem;
  /* 20px */
  --header-height: 64px;
  /* se actualiza en JS si cambia */

  /* Radios y elevación */
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 10px 24px rgba(16, 24, 40, 0.12);

  /* Tipografía */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --leading: 1.6;

  /* ...tus variables existentes... */
  --brand-size: 60px;
  /* móvil */
  --brand-size-lg: 80px;
  /* desktop */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--leading);
  width: 100%;
  background-image: url("img/leaves-branches-pattern.svg");
  background-repeat: repeat;
  background-size: 320px;
  /* ajusta densidad: 240–480px funcionan bien */
  background-position: top left;
  /* Si querés aún más tenue, sobreponé una veladura blanca: */
  /* background-image:
       linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)),
       url("leaves-branches-pattern.svg"); */
}

/* Enlace de salto */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  background: var(--color-brand);
  color: var(--color-brand-contrast);
  border-radius: .5rem;
  z-index: 9999;
}

/* Contenedor centrado: contenido max 1440px,
   fondos de header/section/footer se estiran full width */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Header sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

/* Logo cuadrado, contenido completo visible */
.brand__img {
  width: var(--brand-size);
  height: var(--brand-size);
  object-fit: contain;
  /* no recorta el logo */
  /* Si quieres esquinas redondeadas del recuadro del logo, descomenta: */
  /* border-radius: 12px; */
}

@media (min-width: 960px) {
  .brand__img {
    width: var(--brand-size-lg);
    height: var(--brand-size-lg);
  }
}

/* Navegación desktop */
.nav-desktop {
  display: none;
  gap: 1rem;
  align-items: center;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--color-text);
  padding: .5rem .75rem;
  border-radius: .5rem;
}

.nav-desktop a:hover {
  color: var(--color-brand);
}

.nav-desktop a.is-active {
  color: var(--color-brand);
}

/* Botón hamburguesa */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: .5rem;
  background-color: inherit;
  border-radius: .5rem;
  color: var(--color-brand-2);
  border: none;
  font-size: 24px;
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Menú móvil (off-canvas) */
.nav-mobile[hidden] {
  display: none;
}



/* Bloqueo de scroll cuando el menú está abierto */
body.nav-open {
  overflow: hidden;
}

/* Menú móvil (pantalla completa, blanco) */
.nav-mobile[hidden] {
  display: none;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #ffffff;
  /* FONDO BLANCO */
  height: 455px;
}

/* Capa de fondo (blanca) que captura clics para cerrar */
.nav-mobile__overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  /* FONDO BLANCO */
  opacity: 0.98;
  /* opcional: “tinta” ligera */
  border: none;
  z-index: 1;
}

/* Panel: ahora ocupa toda la pantalla, estilo hoja blanca */
.nav-mobile__panel {
  position: absolute;
  inset: 0;
  /* full screen */
  background: #ffffff;
  /* FONDO BLANCO */
  padding: clamp(1rem, 3vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  z-index: 2;
  /* por encima del overlay */
}

/* Links móviles */
.nav-mobile__link {
  padding: 1rem 1.1rem;
  border-radius: .75rem;
  text-decoration: none;
  color: var(--color-text);
  transition: all 1s ease;
}

.nav-mobile__link:hover {
  background: #cae7ff;
}

.nav-mobile__cta {
  margin-top: .75rem;
}


/* Desktop breakpoint */
@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Secciones */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  /* que el contenido tenga margen superior para header sticky */
}

.section>.container>*:first-child {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section--alt {
  background: var(--color-section-alt);
  background: linear-gradient(135deg, var(--color-section-alt) 0%, var(--color-section-alt-2) 80%);

}

/* Hero */
.section--hero {
  position: relative;
  background:
    radial-gradient(60% 70% at 80% 0%, rgba(37, 99, 235, .12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--color-section-alt) 100%);
  height: 85vh;
}

@media (min-width: 720px) {
  .section--hero {
    background-image: url('img/fondo2.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
  }
}

@media (max-width: 720px) {
  .section--hero {
    background-image: url('img/fondo3.png');
    background-size: 100%;
    background-repeat: no-repeat;
  }
}

.hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.2;
  margin: 0 0 .75rem 0;
}

.hero__actions {
  margin-top: 1.25rem;
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Títulos de sección */
.section__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__header h2 {
  margin: 0 0 .25rem 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.section__subtitle {
  color: var(--color-muted);
  margin: 0;
}

/* Grids utilitarias */
.grid {
  display: grid;
  gap: 1rem;
}

.grid--2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards con box-shadow */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: clip;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: #dbe2f0;
}

.card__body {
  padding: 1.1rem 1.2rem;
}

.card__footer {
  margin-top: auto;
  padding: .9rem 1.2rem;
  border-top: 1px solid var(--color-border);
}

/* Card con foto de fondo que SIEMPRE cubre todo el alto */
.card--photo {
  position: relative;
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  /* respeta el radio */
}

/* Aplica a tu card (p. ej. .card--photo) */
.gborder{
  border: 8px solid transparent;          /* el “canal” del borde */
  border-radius: var(--radius);
  background:
    /* capa interior (relleno) */
    linear-gradient(#fff, #fff) padding-box,
    /* capa exterior (borde) */
    linear-gradient(0deg, #92c079 20%, #88b9fa 80%) border-box;
    transition: all .5s ease;
}



/* La imagen de fondo vive en ::before y se ajusta al alto del card */
.card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  /* se pasa por inline style */
  background-size: cover;
  /* <-- CLAVE: cubre todo el área */
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  transition: transform .3s ease;
  /* efecto sutil al hover (opcional) */
}

/* Capa oscura (overlay) de lado a lado */
.card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  /* misma opacidad que usaba */
  z-index: 1;
}

/* Contenido por encima del fondo/overlay */
.card--photo .card__body {
  position: relative;
  z-index: 2;
  background: transparent;
  /* ya no necesitamos bg en el body */
}

/* Efecto opcional */
.card--photo:hover::before {
  transform: scale(1.03);
}


/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem .95rem;
  border-radius: .7rem;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: all .5s ease;

}

.btn:hover {
  background: #f8fafc;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--color-border);
}

.btn-primary {
  background: var(--color-brand);
  color: var(--color-brand-contrast);
  border: 1px solid transparent;
}

.btn-primary:hover {
  filter: brightness(0.97);
  background: var(--color-brand-hover);
}

/* Prosa / texto largo */
.prose p {
  margin: .5rem 0;
}

.prose code {
  background: #f4f6fb;
  padding: .1rem .35rem;
  border-radius: .35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* FAQs */
.faq {
  border: 1px solid var(--color-border);
  border-radius: .8rem;
  background: var(--color-surface);
  padding: .75rem 1rem;
  margin-bottom: .75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, border-color .3s ease;
}

/* Quita el marcador nativo y agrega chevron custom */
.faq>summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-brand);
  list-style: none;
  /* Firefox/estándar */
  display: flex;
  align-items: center;
  gap: .5rem;
  position: relative;
  padding-right: 1.5rem;
  /* espacio para el chevron */
}

.faq>summary::-webkit-details-marker {
  display: none;
}

/* Safari/Chrome */

/* Chevron */
.faq>summary::after {
  content: "";
  width: .6rem;
  height: .6rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  /* “>” */
  transition: transform .25s ease;
  position: absolute;
  right: .25rem;
}

/* Giro suave cuando está abierto */
.faq[open]>summary::after {
  transform: rotate(-135deg);
  /* “v” */
}

/* Contenido con animación de apertura/cierre */
.faq__content {
  margin-top: .5rem;
  color: var(--color-muted);
  overflow: hidden;
  max-height: 0;
  /* cerrado */
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease;
}

/* Form */
.form {
  display: grid;
  gap: .9rem;
}

.form__field {
  display: grid;
  gap: .35rem;
}

input,
textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--color-border);
  border-radius: .6rem;
  background: #fff;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid #c7d2fe;
  /* foco visible */
  border-color: #c7d2fe;
}

/* Listas */
.list {
  padding-left: 1.1rem;
}

.list li {
  margin: .25rem 0;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.footer-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.to-top {
  text-decoration: none;
  padding: .35rem .6rem;
  border-radius: .5rem;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

/* Utilidades */
.hidden {
  display: none !important;
}

/* Base mobile: apilado */
.split {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  grid-template-areas:
    "media"
    "content";
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  /* border: solid 4px #6c9b53 */
}

.split__content {
  grid-area: content;
  padding: clamp(1rem, 2.5vw, 2rem);
}

/* Imagen responsive */
.split__media>img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: inherit;
}

/* Desktop: 50/50 con áreas (evita saltos de fila) */
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "media content";
    align-items: stretch;
    /* igual altura */
    grid-auto-flow: dense;
    /* rellena huecos si los hubiera */
  }

  .split--reverse {
    grid-template-areas: "content media";
  }

  /* En desktop la imagen puede ocupar toda la altura del bloque */
  .split__media>img {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* Opcionales */
.split--flat .split__content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.split--tall {
  min-height: clamp(360px, 55vh, 640px);
}

/* El contenedor mantiene la proporción en móvil y llena en desktop */
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: inherit;
  overflow: hidden;
}

@media (min-width: 960px) {
  .slider {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* Imágenes apiladas una sobre otra en la misma posición */
.slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
  /* suavidad del cambio */

}

.slider__img.is-active {
  opacity: 1;
}

/* Controles */
.slider__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 3;
  font-size: 22px;
  color: var(--color-brand-2);
}

.slider__control--prev {
  left: .5rem;
}

.slider__control--next {
  right: .5rem;
}

.slider__control:hover {
  filter: brightness(.98);
}

/* Dots */
.slider__dots {
  position: absolute;
  left: 50%;
  bottom: .6rem;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  z-index: 3;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .28);
  border: 1px solid rgba(255, 255, 255, .7);
}

.slider__dot.is-active {
  background: var(--color-brand-2);
  border-color: transparent;
}

/* El contenedor usará aspect-ratio dinámico (lo setea JS) */
.slider--intrinsic {
  aspect-ratio: auto;
  height: auto;
  transition: height .3s ease;
  /* suaviza saltos verticales */
}

@media (min-width: 960px) {
  .slider--intrinsic {
    height: auto;
  }

  /* evita height:100% en desktop */
}

/* ====== Horario ====== */
.hours {
  max-width: 960px;
  margin-inline: auto;
}

.hours-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

/* Banner superior (con imagen opcional) */
.hours__hero {
  color: #fff;
  padding: clamp(1rem, 2.8vw, 1.4rem);
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  background-color: var(--color-brand-2);
}

.hours__title {
  margin: auto;
  color: white !important;
  text-align: center;
  font-size: 34px;

}

.hours__pill {
  background: #fff;
  color: var(--color-text);
  border-radius: 999px;
  padding: .35rem .7rem;
  font-weight: 700;
  position: relative;
  left: 70%;
}

.hours__badge {
  background: var(--color-brand-2);
  color: #fff;
  border-radius: .6rem;
  padding: .4rem .65rem;
  font-weight: 700;
}

/* Tabla simple */
.hours__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .25rem 1rem;
  padding: 1rem 1.25rem;
}

.hrow {
  display: contents;
}

.hday {
  color: var(--color-muted);
  font-weight: 600;
  padding: .55rem .25rem;
  border-top: 1px dashed var(--color-border);
}

.hhrs {
  padding: .55rem .25rem;
  border-top: 1px dashed var(--color-border);
  text-align: right;
}

/* Resalte del día actual */
.hrow.is-today .hday,
.hrow.is-today .hhrs {
  background: #eef2ff;
  color: var(--color-text);
  border-top-color: transparent;
  border-radius: .5rem;
}

/* Nota y CTA */
.hours__note {
  padding: .4rem 1.25rem 1rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hours__note .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-brand-2);
}

.hours__cta {
  padding: 0 1.25rem 1.25rem;
}

/* Contacto */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .9rem;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
}

.icon-pill {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  color: var(--color-brand-2);
}

.label {
  font-weight: 700;
}

.muted {
  color: var(--color-muted);
}

.contact-link {
  text-decoration: none;
  color: var(--color-text);
}

.contact-link:hover {
  color: var(--color-brand);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}

/* Redes */
.social-row {
  display: flex;
  gap: .5rem;
  margin: .6rem 0 .3rem;
}

.social {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  transition: all .5s ease;
}

.social--fb {
  color: #1877f2;
  border-color: #1877f2;
}

.social--ig {
  color: #c13584;
  border-color: #c13584;
}

.social--wa {
  color: #25d366;
  border-color: #25d366;
}

.social--fb:hover {
  color: #094391;
  border-color: #094391;
}

.social--ig:hover {
  color: #720e47;
  border-color: #720e47;
}

.social--wa:hover {
  color: #09632a;
  border-color: #09632a;
}

/* Mapa responsivo con bordes redondeados */
.map-embed {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  /* alto adaptable */
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Info block */
.eyebrow {
  display: inline-block;
  margin-bottom: 0rem;
  font-weight: 800;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: .04em;
}

h2 {
  margin-top: 0;
}

/* Palabras resaltadas con color de marca */
.hl {
  color: var(--color-brand);
  font-weight: 700;
}

/* Pills de features */
.info-badges {
  margin: .6rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .6rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* Decoración de la imagen */
.info-media {
  position: relative;
}

.info-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-media .blob {
  position: absolute;
  inset: auto auto -12% -10%;
  width: 40%;
  aspect-ratio: 1/1;
  background: radial-gradient(60% 60% at 50% 50%, rgba(37, 99, 235, .20), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

/* CTAs */
.info-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}

/* Enlaces con “cue” de clic para #servicios */
#servicios a.svc-link {
  position: relative;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-brand);
  /* mantiene tu color de enlaces */
  background: linear-gradient(currentColor, currentColor) left 100%/0 2px no-repeat;
  transition: background-size .25s ease, color .25s ease;
}

#servicios a.svc-link:hover {
  background-size: 100% 2px;
  /* subrayado aparece */
  color: var(--color-brand-2);
  /* leve cambio de color al hover */
}

#servicios a.svc-link .link-caret {
  margin-left: .25rem;
  transition: transform .2s ease;
}

#servicios a.svc-link:hover .link-caret {
  transform: translateX(3px);
}

/* Chips de acceso rápido */
.svc-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin: .5rem 0 1rem;
}

.svc-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  font-weight: 700;
  color: var(--color-text);
}

.svc-chip i {
  color: var(--color-brand-2);
}

.svc-chip:hover {
  border-color: #cfe3f7;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* === Split media edge-to-edge en móvil (sin clases nuevas) === */
:root{ --edge-pad: 8px; } /* respiro lateral seguro */

@media (max-width: 959px){
  /* La imagen/slider del split ocupa casi todo el ancho del viewport */
  .split__media{
    margin-left: calc(50% - 50vw + var(--edge-pad));
    margin-right: calc(50% - 50vw + var(--edge-pad));
    width: calc(100vw - (var(--edge-pad) * 2));
    border-radius: 16px;
  }
  .split__media > img,
  .split__media > .slider{
    border-radius: inherit;   /* esquinas agradables */
    overflow: hidden;
  }

  /* Más altura para que se vea grande en móvil */
  .split__media > .slider{
    aspect-ratio: auto;                     /* ignora el 16/10 global */
    min-height: clamp(260px, 58vh, 640px);  /* alto vistoso y flexible */
  }
  /* Si el media es una <img> suelta (sin slider), dale proporción alta */
  .split__media > img{
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
  }
}

/* === Split media CUADRADO en móvil (edge-to-edge) === */
@media (max-width: 959px){
  /* ya tienes el bleed aplicado; solo ajustamos la proporción */
  .split__media > .slider{
    aspect-ratio: 1 / 1 !important; /* domina a .slider--intrinsic */
    height: auto;
    min-height: 0;
  }
  .split__media > img{
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;   /* llena el cuadro sin deformar */
  }
}