/* ============================================================
   MAI VARGAS — hoja de estilos
   Paleta y tipografías tomadas del logo de la marca.
   Para cambiar colores, tocar solamente el bloque :root
   ============================================================ */

:root {
  /* --- Marca --- */
  --sage: #9ab9be;          /* color base del logo */
  --sage-claro: #c3d8db;
  --sage-suave: #e7f0f1;
  --sage-niebla: #f2f7f8;
  --sage-hondo: #6f979f;

  /* --- Tintas --- */
  --tinta: #2d4a50;         /* texto fuerte / verde petróleo */
  --tinta-media: #4f6f75;
  --tinta-suave: #6b8288;

  /* --- Cálidos --- */
  --arena: #dfc3a0;
  --arena-clara: #f0e2d0;
  --terracota: #c08a67;
  --terracota-hondo: #a8734f;

  /* --- Neutros --- */
  --crema: #fbf7f2;
  --crema-calida: #f8f0e7;
  --blanco: #ffffff;

  /* --- Sistema --- */
  --wa: #25d366;
  --wa-hondo: #1eb85a;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-chico: 14px;
  --r-medio: 24px;
  --r-grande: 34px;

  --sombra-suave: 0 2px 8px rgba(45, 74, 80, 0.05),
    0 12px 32px rgba(45, 74, 80, 0.07);
  --sombra-media: 0 4px 14px rgba(45, 74, 80, 0.08),
    0 20px 48px rgba(45, 74, 80, 0.1);
  --sombra-alta: 0 8px 24px rgba(45, 74, 80, 0.12),
    0 32px 70px rgba(45, 74, 80, 0.16);

  --ancho: 1180px;
  --cabecera-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cabecera-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tinta-media);
  background: var(--crema);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: var(--sage);
  color: var(--blanco);
}

/* ============ TIPOGRAFÍA ============ */
h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--tinta);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  text-wrap: pretty;
}

strong {
  color: var(--tinta);
  font-weight: 600;
}

/* Etiqueta chiquita arriba de los títulos */
.ancla {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-hondo);
  margin-bottom: 0.9rem;
}

.ancla--claro {
  color: rgba(255, 255, 255, 0.82);
}

/* Adorno: línea — hoja — línea */
.ornamento {
  width: 132px;
  height: 16px;
  margin: 1.25rem 0 1.5rem;
  color: var(--sage);
  opacity: 0.75;
  stroke-width: 1;
}

.ornamento--centro {
  margin-left: auto;
  margin-right: auto;
}

/* ============ LAYOUT ============ */
.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 32px;
}

.banda {
  position: relative;
  padding: clamp(72px, 10vw, 130px) 0;
  overflow: hidden;
}

.banda--crema {
  background: var(--crema);
}

.banda--crema-calida {
  background: linear-gradient(170deg, var(--crema) 0%, var(--crema-calida) 100%);
}

.banda--sage {
  background: linear-gradient(180deg, var(--sage-niebla) 0%, var(--sage-suave) 100%);
}

.banda--blanca {
  background: var(--blanco);
}

/* Manchas de color difuminadas que le dan profundidad al fondo */
.mancha {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.mancha--a {
  width: 460px;
  height: 460px;
  top: -140px;
  right: -110px;
  background: rgba(255, 255, 255, 0.42);
}

.mancha--b {
  width: 380px;
  height: 380px;
  bottom: -130px;
  left: -110px;
  background: rgba(223, 195, 160, 0.38);
}

.mancha--c {
  width: 420px;
  height: 420px;
  top: 8%;
  left: -160px;
  background: rgba(223, 195, 160, 0.3);
}

.mancha--d {
  width: 400px;
  height: 400px;
  bottom: -120px;
  right: -140px;
  background: rgba(154, 185, 190, 0.32);
}

.mancha--e {
  width: 520px;
  height: 520px;
  top: -160px;
  left: 50%;
  margin-left: -260px;
  background: rgba(255, 255, 255, 0.14);
}

/* Ondas que separan las bandas de color */
.onda {
  position: absolute;
  left: 0;
  width: 100%;
  height: 90px;
  fill: var(--crema);
  stroke: none;
  z-index: 2;
}

.onda--abajo {
  bottom: -1px;
}

.onda--arriba {
  top: -1px;
  transform: scaleY(-1);
  fill: var(--blanco);
}

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.btn__ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.32s ease;
}

.btn:hover .btn__ico:not(.btn__ico--fijo) {
  transform: translateX(5px);
}

.ico-wa {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}

.btn--chico {
  padding: 11px 22px;
  font-size: 0.72rem;
}

.btn--bloque {
  width: 100%;
}

/* Principal: verde petróleo lleno */
.btn--primario {
  background: var(--tinta);
  color: var(--blanco);
  box-shadow: 0 4px 14px rgba(45, 74, 80, 0.18);
}

.btn--primario:hover {
  background: var(--sage-hondo);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(45, 74, 80, 0.26);
}

/* Suave: fondo claro con borde */
.btn--suave {
  background: var(--blanco);
  color: var(--tinta);
  border-color: var(--sage-claro);
}

.btn--suave:hover {
  background: var(--sage-niebla);
  border-color: var(--sage);
  transform: translateY(-2px);
}

/* Claro: para usar arriba del fondo sage del hero */
.btn--claro {
  background: var(--blanco);
  color: var(--tinta);
  box-shadow: 0 6px 20px rgba(45, 74, 80, 0.16);
}

.btn--claro:hover {
  background: var(--crema);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 74, 80, 0.24);
}

/* Fantasma: contorno, sobre fondos oscuros */
.btn--fantasma {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--fantasma:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--blanco);
  transform: translateY(-2px);
}

.btn--wa {
  background: var(--wa);
  color: var(--blanco);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn--wa:hover {
  background: var(--wa-hondo);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Enlace de texto con subrayado animado */
.enlace-suave,
.enlace-claro {
  color: var(--tinta);
  font-weight: 600;
  cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s ease;
}

.enlace-claro {
  color: var(--blanco);
}

.enlace-suave:hover,
.enlace-claro:hover {
  background-size: 100% 1px;
}

/* ============ CABECERA ============ */
.cabecera {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--cabecera-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.cabecera.pegada {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(154, 185, 190, 0.32);
  box-shadow: 0 4px 24px rgba(45, 74, 80, 0.07);
}

.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.marca__iso {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.marca:hover .marca__iso {
  transform: rotate(-8deg) scale(1.06);
}

.marca__texto {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.marca__texto strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--tinta);
  letter-spacing: 0.02em;
}

.marca__texto small {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}

.nav-escritorio {
  display: flex;
  gap: 30px;
}

.nav-escritorio a {
  position: relative;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--tinta-media);
  padding: 4px 0;
  transition: color 0.25s ease;
}

.nav-escritorio a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--sage-hondo);
  transition: width 0.3s ease;
}

.nav-escritorio a:hover {
  color: var(--tinta);
}

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

/* Hamburguesa */
.hamburguesa {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburguesa span {
  display: block;
  width: 25px;
  height: 1.8px;
  background: var(--tinta);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.hamburguesa[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}

.hamburguesa[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburguesa[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

/* ============ MENÚ MÓVIL ============ */
.panel-movil {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 84vw);
  height: 100vh;
  height: 100dvh; /* en Safari iOS, 100% / 100vh no sigue el achique de la barra de URL y deja un hueco arriba */
  background: var(--blanco);
  box-shadow: -10px 0 50px rgba(45, 74, 80, 0.18);
  z-index: 200;
  padding: 88px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-movil.abierto {
  transform: translateX(0);
}

.panel-movil nav {
  display: flex;
  flex-direction: column;
}

.panel-movil nav a {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--tinta);
  padding: 13px 0;
  border-bottom: 1px solid var(--sage-suave);
  transition: color 0.2s ease, padding-left 0.25s ease;
}

.panel-movil nav a:hover {
  color: var(--sage-hondo);
  padding-left: 8px;
}

.panel-movil__cerrar {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--sage-niebla);
  border: none;
  border-radius: 50%;
  color: var(--tinta);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.panel-movil__cerrar:hover {
  background: var(--sage-suave);
}

.panel-movil__cerrar svg {
  width: 18px;
  height: 18px;
}

.velo {
  position: fixed;
  inset: 0;
  background: rgba(45, 74, 80, 0.42);
  backdrop-filter: blur(3px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.velo.activo {
  opacity: 1;
  pointer-events: auto;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--cabecera-h) + 56px) 32px 130px;
  background:
    radial-gradient(120% 90% at 15% 10%, #b2cbcf 0%, transparent 55%),
    linear-gradient(155deg, var(--sage) 0%, #86aab1 100%);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero__texto h1 {
  color: var(--blanco);
  margin-bottom: 1.1rem;
}

.hero__bajada {
  max-width: 46ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.2rem;
}

.hero__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 3rem;
}

.hero__datos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.hero__datos li {
  display: flex;
  flex-direction: column;
}

.hero__datos strong {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--blanco);
  line-height: 1.1;
}

.hero__datos span {
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero__figura {
  position: relative;
  justify-self: center;
}

/* Marco de las fotos: borde offset de color detrás de la imagen */
.marco {
  position: relative;
  border-radius: 190px 190px var(--r-grande) var(--r-grande);
  overflow: hidden;
  box-shadow: var(--sombra-alta);
  max-width: 420px;
}

.marco::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.marco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.marco:not(.carrusel):hover img {
  transform: scale(1.04);
}

/* Variantes con marco de color desplazado */
.marco--sand,
.marco--sage {
  border-radius: var(--r-grande);
}

.marco--sand::before,
.marco--sage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.duo__figura {
  position: relative;
}

.duo__figura::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--r-grande);
  border: 1px solid var(--sage);
  opacity: 0.5;
  z-index: 0;
}

.duo__figura .marco {
  position: relative;
  z-index: 1;
}

/* ============ BLOQUE DE 2 COLUMNAS ============ */
.duo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.duo--invertido .duo__figura {
  order: 2;
}

.duo--invertido .duo__figura::before {
  inset: 22px 22px -22px -22px;
}

.duo__texto p {
  margin-bottom: 1.1rem;
  max-width: 52ch;
}

.duo__texto .btn {
  margin-top: 1rem;
}

.valores {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.8rem;
}

.valores li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--tinta);
}

.valores svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--terracota);
}

/* ============ TÍTULO DE SECCIÓN ============ */
.titulo-seccion {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.titulo-seccion__bajada {
  font-size: 1.03rem;
  max-width: 52ch;
  margin: 0 auto;
}

/* ============ SERVICIOS ============ */
.grilla-servicios {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
}

.servicio {
  position: relative;
  background: var(--blanco);
  border: 1px solid rgba(154, 185, 190, 0.3);
  border-radius: var(--r-medio);
  padding: 34px 28px 30px;
  box-shadow: var(--sombra-suave);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Franja de color que aparece arriba al pasar el mouse */
.servicio::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--arena));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.servicio:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-media);
  border-color: var(--sage-claro);
}

.servicio:hover::before {
  transform: scaleX(1);
}

.servicio__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--sage-niebla);
  color: var(--sage-hondo);
  transition: background-color 0.35s ease, color 0.35s ease;
}

.servicio:hover .servicio__ico {
  background: var(--sage);
  color: var(--blanco);
}

.servicio__ico svg {
  width: 25px;
  height: 25px;
}

.servicio h3 {
  margin-bottom: 0.5rem;
}

.servicio p {
  font-size: 0.93rem;
  margin: 0;
}

.grilla-servicios__pie {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 42px;
  font-size: 1rem;
}

/* ============ UBICACIÓN ============ */
.mapa {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.mapa__marco {
  border-radius: var(--r-medio);
  overflow: hidden;
  box-shadow: var(--sombra-media);
  border: 1px solid rgba(154, 185, 190, 0.35);
  min-height: 380px;
}

.mapa__marco iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: saturate(0.85);
}

.mapa__ficha {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  padding: 38px 32px;
  background: linear-gradient(165deg, var(--sage-niebla), var(--sage-suave));
  border: 1px solid rgba(154, 185, 190, 0.35);
  border-radius: var(--r-medio);
}

.mapa__ficha h3 {
  font-size: 1.55rem;
}

.mapa__nota {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* ============ CONTACTO ============ */
.contacto {
  position: relative;
  padding: clamp(96px, 12vw, 150px) 32px clamp(76px, 9vw, 110px);
  background:
    radial-gradient(100% 80% at 50% 0%, #3f6a72 0%, transparent 60%),
    linear-gradient(160deg, var(--tinta) 0%, #24404a 100%);
  text-align: center;
  overflow: hidden;
}

.contacto__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contacto__iso {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.9;
  margin-bottom: 1.6rem;
}

.contacto h2 {
  color: var(--blanco);
  margin-bottom: 0.9rem;
}

.contacto__bajada {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  max-width: 44ch;
}

.contacto__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.contacto__pie {
  margin-top: 2.2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============ PIE ============ */
.pie {
  background: #22383f;
  color: rgba(255, 255, 255, 0.66);
  padding: clamp(56px, 7vw, 84px) 0 28px;
  font-size: 0.9rem;
}

.pie__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.35fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pie__logo {
  width: 168px;
  height: auto;
  margin-bottom: 18px;
  opacity: 0.95;
}

.pie__lema {
  max-width: 30ch;
  font-size: 0.87rem;
  line-height: 1.65;
}

.pie__col h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 18px;
}

.pie__col > a {
  display: block;
  padding: 5px 0;
  transition: color 0.22s ease, transform 0.22s ease;
}

.pie__col > a:hover {
  color: var(--sage-claro);
  transform: translateX(3px);
}

.pie__dato {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.pie__dato svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--sage);
}

.pie__horario {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
  max-width: 28ch;
}

.redes {
  display: flex;
  gap: 12px;
}

.redes a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease;
}

.redes a:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--tinta);
  transform: translateY(-3px);
}

.redes svg {
  width: 19px;
  height: 19px;
}

/* El menú móvil reutiliza .redes tal cual, pero su fondo es claro (no oscuro
   como el pie de página), así que el color/borde blanco quedaría invisible. */
.panel-movil .redes {
  justify-content: center;
}

.panel-movil .redes a {
  color: var(--tinta);
  border-color: var(--sage-suave);
}

.pie__legal {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 26px 32px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
}

/* ============ WHATSAPP FLOTANTE ============ */
.wa-flotante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: var(--blanco);
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.42);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.25s ease;
}

.wa-flotante.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-flotante:hover {
  background: var(--wa-hondo);
  transform: translateY(-3px) scale(1.05);
}

.wa-flotante svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  stroke: none;
}

/* ============ ANIMACIÓN AL SCROLL ============ */
/* Curva suave, tipo "entra y se acomoda", igual para todo el sitio */
.animar {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--retraso, 0ms);
}

/* Variantes: cada bloque entra desde donde corresponde */
.animar--izq {
  transform: translate3d(-42px, 14px, 0);
}

.animar--der {
  transform: translate3d(42px, 14px, 0);
}

.animar--sube {
  transform: translate3d(0, 46px, 0) scale(0.97);
}

.animar.visible {
  opacity: 1;
  transform: none;
}

/* El adorno se dibuja solo cuando el bloque aparece */
.ornamento path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s ease 0.35s;
}

.animar.visible .ornamento path {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .animar,
  .animar--izq,
  .animar--der,
  .animar--sube {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ornamento path {
    stroke-dashoffset: 0;
  }
  .polvo,
  .progreso,
  body::after {
    display: none;
  }
  .listo-revelar .pal > i {
    transform: none;
  }
  .carrusel__foto {
    transition: opacity 0.3s linear;
  }
  * {
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

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

/* --- Tablet --- */
@media (max-width: 1024px) {
  .nav-escritorio,
  .nav-cta {
    display: none;
  }

  .hamburguesa {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    text-align: center;
    justify-items: center;
  }

  .hero__bajada {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__acciones,
  .hero__datos {
    justify-content: center;
  }

  .hero__figura {
    order: -1;
  }

  .marco {
    max-width: 330px;
  }

  .duo,
  .mapa {
    grid-template-columns: 1fr;
  }

  .duo--invertido .duo__figura {
    order: 0;
  }

  .duo__figura {
    justify-self: center;
  }

  .duo__texto {
    text-align: center;
  }

  .duo__texto p,
  .duo__texto .ornamento {
    margin-left: auto;
    margin-right: auto;
  }

  .valores {
    align-items: center;
  }

  .pie__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px;
  }

  .pie__col--marca {
    grid-column: 1 / -1;
  }
}

/* --- Celular --- */
@media (max-width: 640px) {
  :root {
    --cabecera-h: 68px;
  }

  .contenedor,
  .cabecera,
  .hero,
  .contacto {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: calc(var(--cabecera-h) + 40px);
    padding-bottom: 104px;
    min-height: auto;
  }

  .marca__iso {
    width: 38px;
    height: 38px;
  }

  .marca__texto strong {
    font-size: 1.12rem;
  }

  .marca__texto small {
    font-size: 0.53rem;
    letter-spacing: 0.13em;
  }

  .hero__acciones .btn,
  .contacto__acciones .btn {
    width: 100%;
  }

  .hero__datos {
    gap: 18px 28px;
  }

  .hero__datos strong {
    font-size: 1.55rem;
  }

  .marco {
    max-width: 100%;
    border-radius: 150px 150px var(--r-medio) var(--r-medio);
  }

  .marco--sand,
  .marco--sage {
    border-radius: var(--r-medio);
  }

  .duo__figura::before {
    inset: 14px -14px -14px 14px;
  }

  .duo--invertido .duo__figura::before {
    inset: 14px 14px -14px -14px;
  }

  .servicio {
    padding: 28px 22px 26px;
  }

  .mapa__marco,
  .mapa__marco iframe {
    min-height: 300px;
  }

  .mapa__ficha {
    padding: 30px 24px;
  }

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

  .pie__lema,
  .pie__horario {
    margin-left: auto;
    margin-right: auto;
  }

  .pie__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .pie__dato {
    justify-content: center;
  }

  .redes {
    justify-content: center;
  }

  .wa-flotante {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

/* --- Celular chico --- */
@media (max-width: 360px) {
  .marca__texto small {
    display: none;
  }
}


/* ============================================================
   AMBIENTE — los detalles que le dan vida al fondo
   ============================================================ */

/* --- Grano finísimo sobre toda la página (textura de papel) --- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 190px 190px;
}

/* --- Barra de lectura: crece a medida que bajás --- */
.progreso {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(
    90deg,
    var(--sage) 0%,
    var(--arena) 55%,
    var(--terracota) 100%
  );
  pointer-events: none;
}

/* --- Las manchas de color ya no están quietas: respiran --- */
@keyframes deriva {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(28px, -24px, 0) scale(1.08);
  }
  66% {
    transform: translate3d(-20px, 20px, 0) scale(0.95);
  }
}

.mancha {
  animation: deriva 22s ease-in-out infinite;
}

.mancha--b {
  animation-duration: 27s;
  animation-delay: -7s;
}

.mancha--c {
  animation-duration: 31s;
  animation-delay: -13s;
}

.mancha--d {
  animation-duration: 25s;
  animation-delay: -4s;
}

.mancha--e {
  animation-duration: 34s;
  animation-delay: -9s;
}

/* --- Los degradados grandes se mueven muy despacio --- */
@keyframes respirar {
  0%,
  100% {
    background-position: 0% 42%;
  }
  50% {
    background-position: 100% 58%;
  }
}

.hero {
  background-size: 175% 175%;
  background-repeat: no-repeat;
  animation: respirar 28s ease-in-out infinite;
}

.contacto {
  background-size: 165% 165%;
  background-repeat: no-repeat;
  animation: respirar 34s ease-in-out infinite;
}

/* --- Polvo de luz flotando en la portada --- */
.polvo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.polvo i {
  position: absolute;
  bottom: -6%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(1.5px);
  opacity: 0;
  animation: flotar 24s linear infinite;
}

@keyframes flotar {
  0% {
    transform: translate3d(0, 0, 0) scale(0.5);
    opacity: 0;
  }
  12% {
    opacity: 0.6;
  }
  50% {
    transform: translate3d(26px, -48vh, 0) scale(1);
  }
  88% {
    opacity: 0.32;
  }
  100% {
    transform: translate3d(-16px, -102vh, 0) scale(0.6);
    opacity: 0;
  }
}

.polvo i:nth-child(1) {
  left: 7%;
  animation-duration: 26s;
  animation-delay: -3s;
}
.polvo i:nth-child(2) {
  left: 19%;
  width: 5px;
  height: 5px;
  animation-duration: 32s;
  animation-delay: -11s;
}
.polvo i:nth-child(3) {
  left: 31%;
  width: 9px;
  height: 9px;
  animation-duration: 29s;
  animation-delay: -18s;
}
.polvo i:nth-child(4) {
  left: 44%;
  width: 4px;
  height: 4px;
  animation-duration: 35s;
  animation-delay: -7s;
}
.polvo i:nth-child(5) {
  left: 58%;
  animation-duration: 27s;
  animation-delay: -22s;
}
.polvo i:nth-child(6) {
  left: 71%;
  width: 5px;
  height: 5px;
  animation-duration: 33s;
  animation-delay: -14s;
}
.polvo i:nth-child(7) {
  left: 84%;
  width: 8px;
  height: 8px;
  animation-duration: 30s;
  animation-delay: -2s;
}
.polvo i:nth-child(8) {
  left: 93%;
  width: 4px;
  height: 4px;
  animation-duration: 38s;
  animation-delay: -26s;
}

/* ============================================================
   TÍTULOS QUE SE REVELAN PALABRA POR PALABRA
   ============================================================ */
.listo-revelar .pal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* deja aire para las colas de la "g" y la "y" */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.listo-revelar .pal > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(112%);
  transition: transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.listo-revelar.revelado .pal > i {
  transform: none;
}

/* ============================================================
   FRASE DESTACADA (el remate de cada sección)
   ============================================================ */
.lema {
  position: relative;
  max-width: 34ch;
  margin: 1.7rem 0 0.6rem;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--arena);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--tinta);
}

/* ============================================================
   CARRUSEL DE PRODUCTOS
   ============================================================ */
.carrusel {
  position: relative;
}

.carrusel__pista {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
}

.carrusel__foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  /* la foto activa hace un zoom lentísimo mientras se ve */
  transition:
    opacity 1.2s ease,
    transform 9s ease-out;
}

.carrusel__foto.activa {
  opacity: 1;
  transform: scale(1);
}

/* La primera foto va en el flujo: es la que le da alto a la caja.
   Hereda el aspecto de .marco img (3/4 en escritorio, 4/5 en celular). */
.carrusel__foto:first-child {
  position: relative;
  height: auto;
}

.carrusel__puntos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.carrusel__punto {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.carrusel__punto::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 5px rgba(45, 74, 80, 0.4);
  transition:
    width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.35s ease;
}

.carrusel__punto[aria-selected="true"]::before {
  width: 26px;
  background: var(--blanco);
}

/* ============================================================
   NAVEGACIÓN: marca en qué sección estás
   ============================================================ */
.nav-escritorio a.activo {
  color: var(--tinta);
}

.nav-escritorio a.activo::after {
  width: 100%;
}

.panel-movil nav a.activo {
  color: var(--sage-hondo);
  padding-left: 8px;
}

/* ============================================================
   DETALLES SOLO PARA MOUSE (no molestan en el celular)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  /* Brillo que cruza la tarjeta de servicio */
  .servicio::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      115deg,
      transparent 32%,
      rgba(255, 255, 255, 0.5) 50%,
      transparent 68%
    );
    transform: translateX(-130%);
    transition: transform 0.95s ease;
  }

  .servicio:hover::after {
    transform: translateX(130%);
  }

  .servicio:hover .servicio__ico {
    transform: rotate(-6deg) scale(1.08);
  }

  .servicio__ico {
    transition:
      background-color 0.35s ease,
      color 0.35s ease,
      transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
  }
}

/* ============================================================
   TÁCTIL — que se sienta bien en el dedo
   ============================================================ */
@media (hover: none) {
  /* Nada de efectos "pegados" después de tocar */
  .servicio:hover {
    transform: none;
    box-shadow: var(--sombra-suave);
    border-color: rgba(154, 185, 190, 0.3);
  }
  .servicio:hover::before {
    transform: scaleX(0);
  }
  .servicio:hover .servicio__ico {
    background: var(--sage-niebla);
    color: var(--sage-hondo);
  }
  .marco:hover img {
    transform: none;
  }
  .btn:hover,
  .redes a:hover,
  .pie__col > a:hover,
  .wa-flotante:hover {
    transform: none;
  }
  .marca:hover .marca__iso {
    transform: none;
  }
  .panel-movil nav a:hover {
    padding-left: 0;
  }
}

/* Respuesta al toque: se hunde apenas */
.btn:active,
.wa-flotante:active,
.redes a:active {
  transform: scale(0.96);
}

body {
  -webkit-tap-highlight-color: rgba(154, 185, 190, 0.18);
}

/* Foco visible para quien navega con teclado */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage-hondo);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   CELULAR — ajuste fino (es donde más se usa la página)
   ============================================================ */
@media (max-width: 1024px) {
  /* Centrado, la frase destacada pierde la barra lateral */
  .lema {
    margin-left: auto;
    margin-right: auto;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(223, 195, 160, 0.75);
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* Nunca scroll horizontal, pase lo que pase */
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.85rem, 7.6vw, 2.4rem);
  }

  .ancla {
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }

  .ornamento {
    width: 108px;
    margin: 1rem 0 1.2rem;
  }

  /* Portada: menos alto de foto para que el texto no quede lejísimo */
  .hero__bajada {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }

  .hero__acciones {
    margin-bottom: 2.2rem;
  }

  .marco img {
    aspect-ratio: 4 / 5;
  }

  .marco {
    max-width: 340px;
    margin: 0 auto;
  }

  /* Los 3 datos entran prolijos: 2 arriba, 1 abajo a lo ancho */
  .hero__datos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    width: 100%;
    text-align: center;
  }

  .hero__datos li {
    align-items: center;
  }

  .hero__datos li:last-child {
    grid-column: 1 / -1;
  }

  .hero__datos li:last-child strong {
    font-size: 1.15rem;
  }

  .hero__datos span {
    font-size: 0.66rem;
    letter-spacing: 0.09em;
  }

  /* Menos partículas: más liviano para el teléfono */
  .polvo i:nth-child(n + 5) {
    display: none;
  }

  .polvo i {
    filter: blur(1px);
  }

  /* Menú: filas cómodas para el dedo */
  .panel-movil {
    padding: 82px 26px calc(28px + env(safe-area-inset-bottom));
  }

  .panel-movil nav a {
    font-size: 1.35rem;
    padding: 16px 0;
  }

  .panel-movil__cerrar {
    width: 46px;
    height: 46px;
  }

  .hamburguesa {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-right: -8px;
  }

  /* El logo de la cabecera, también cómodo de tocar */
  .marca {
    min-height: 44px;
    align-items: center;
  }

  /* Los enlaces dentro de un párrafo ganan área sin romper la línea */
  .enlace-suave,
  .enlace-claro {
    display: inline-block;
    padding: 6px 0;
  }

  /* Textos con mejor respiración en pantalla chica */
  .duo__texto p,
  .titulo-seccion__bajada,
  .servicio p {
    font-size: 0.97rem;
  }

  .lema {
    font-size: 1.18rem;
  }

  .valores li {
    font-size: 0.9rem;
    text-align: left;
  }

  /* Carrusel: puntos más grandes y separados del borde */
  .carrusel__puntos {
    bottom: 8px;
  }

  .carrusel__punto {
    width: 40px;
    height: 40px;
  }

  /* El botón flotante respeta la barra de gestos del celular */
  .wa-flotante {
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

  /* Los enlaces del pie, con área de toque real */
  .pie__col > a {
    padding: 10px 0;
  }

  .redes a {
    width: 46px;
    height: 46px;
  }

  .pie__legal {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  /* Grano un poco más discreto en pantallas densas */
  body::after {
    opacity: 0.024;
  }
}

/* --- Celular chico --- */
@media (max-width: 380px) {
  .hero__datos strong {
    font-size: 1.35rem;
  }

  .hero__datos li:last-child strong {
    font-size: 1rem;
  }

  .btn {
    padding: 14px 20px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .contenedor,
  .cabecera,
  .hero,
  .contacto {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* --- Celular apaisado: que la portada no ocupe 100vh --- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--cabecera-h) + 32px);
    padding-bottom: 72px;
  }
}
