/* ==========================================================================
   Vision Design · estilos
   Diseño principal: base verde (todos los días) + playa solo en la promo.
   Letras: Modak (títulos cortos, con contorno verde) y Nunito (todo lo demás).
   ========================================================================== */

:root {
  --verde: #0B3B26;        /* fondo principal */
  --verde-suave: #0D4229;  /* secciones alternas */
  --panel: #10492F;        /* tarjetas sobre verde */
  --tortuga: #1F7A4D;      /* burbujas y fondos suaves */
  --brote: #8CCB5E;        /* resaltar palabras, olas, checks */
  --rojo: #E63B2E;         /* solo detalles: gafas, viñetas, promo */
  --crema: #E8DCB8;        /* letras y tarjetas */
  --arena: #F4EFD9;        /* fondos claros */
  --whatsapp: #25D366;
  --trazo: var(--verde);   /* contorno de los títulos = color del fondo donde están */

  --f-titulo: "Modak", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-texto: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ancho: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radio: 28px;
  --sombra: 0 24px 48px rgba(0, 0, 0, 0.32);
  --encabezado: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--encabezado) + 12px); }
body {
  margin: 0;
  background: var(--verde);
  color: var(--crema);
  font-family: var(--f-texto);
  font-weight: 600;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brote); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brote); color: var(--verde); }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--crema); color: var(--verde); padding: 10px 16px; border-radius: 999px; font-weight: 900;
}
.saltar:focus { top: 12px; }

.contenedor { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; position: relative; }
.contenedor--angosto { width: min(100% - 2 * var(--gutter), 820px); }

/* ---------- títulos (estilo del logo: crema con contorno verde) ---------- */
.titulo {
  font-family: var(--f-titulo);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.07em var(--trazo);
  paint-order: stroke fill;
  text-wrap: balance;
}
.titulo span { display: inline-block; }
.titulo--xl { font-size: clamp(3.2rem, 1.9rem + 5.6vw, 6.4rem); }
.titulo--l { font-size: clamp(2.7rem, 1.9rem + 3.6vw, 4.8rem); }
.titulo--m { font-size: clamp(2.3rem, 1.8rem + 2.2vw, 3.5rem); }
.titulo--s { font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem); }
.crema { color: var(--crema); }
.brote { color: var(--brote); }
.tortuga-verde { color: var(--tortuga); }

/* ---------- etiquetas y botones ---------- */
.etiqueta {
  display: inline-block;
  background: var(--brote);
  color: var(--verde);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 16px 7px 18px;
  border-radius: 999px;
}
.etiqueta--suave { background: var(--tortuga); color: var(--crema); }
.etiqueta--rojo { background: var(--rojo); color: var(--arena); }

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--f-texto);
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.15;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  cursor: pointer;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0); }
.boton--grande { min-height: 56px; padding: 14px 28px; font-size: 1.08rem; }
.boton--crema { background: var(--crema); color: var(--verde); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); }
.boton--crema:hover { background: var(--arena); }
.boton--borde { border-color: rgba(232, 220, 184, 0.55); color: var(--crema); }
.boton--borde:hover { border-color: var(--crema); background: rgba(232, 220, 184, 0.08); }
.boton--verde { background: var(--verde); color: var(--crema); box-shadow: 0 10px 24px rgba(11, 59, 38, 0.3); }
.boton--verde:hover { background: #0e4a30; }
.icono { width: 1.3em; height: 1.3em; flex: none; }

.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.botones--centro { justify-content: center; }

/* ---------- burbujas suaves de fondo ---------- */
.burbujas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.burbujas span {
  position: absolute;
  border-radius: 50%;
  background: var(--tortuga);
  opacity: 0.16;
  animation: flotar 14s ease-in-out infinite;
}
.burbujas span:nth-child(1) { width: 420px; height: 420px; left: -140px; top: -120px; }
.burbujas span:nth-child(2) { width: 520px; height: 520px; right: -200px; top: 10%; animation-delay: -4s; }
.burbujas span:nth-child(3) { width: 300px; height: 300px; left: 30%; bottom: -160px; animation-delay: -8s; }
.burbujas span:nth-child(4) { width: 200px; height: 200px; right: 22%; top: -90px; animation-delay: -2s; }
.burbujas--b span:nth-child(1) { left: auto; right: -160px; top: -100px; }
.burbujas--b span:nth-child(2) { right: auto; left: -220px; top: 40%; }
@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 22px; } }

/* ola verde brote (subrayado de los títulos) */
.ola {
  width: 140px;
  height: 16px;
  margin-block: 14px 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 30'%3E%3Cpath d='M6 15 C 36 3, 56 3, 86 14 S 136 27, 166 14 S 216 3, 254 14' fill='none' stroke='%238CCB5E' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   Encabezado
   ========================================================================== */
.encabezado {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--encabezado);
  background: rgba(11, 59, 38, 0.86);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  transition: box-shadow 0.2s ease;
}
.encabezado.con-sombra { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.encabezado__fila { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.encabezado__logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.boton) { text-decoration: none; font-weight: 800; opacity: 0.9; position: relative; }
.nav a:not(.boton)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
  background: var(--brote); transform: scaleX(0); transition: transform 0.2s ease;
}
.nav a:not(.boton):hover { opacity: 1; }
.nav a:not(.boton):hover::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 9px 18px; font-size: 0.95rem; }

.menu-boton {
  display: none;
  width: 48px; height: 48px;
  border: 0; border-radius: 14px;
  background: rgba(232, 220, 184, 0.1);
  color: var(--crema);
  cursor: pointer;
  position: relative;
}
.menu-boton__barras,
.menu-boton__barras::before,
.menu-boton__barras::after {
  position: absolute; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 3px;
  background: currentColor; transition: transform 0.22s ease, opacity 0.22s ease;
}
.menu-boton__barras { top: 50%; margin-top: -1.5px; }
.menu-boton__barras::before, .menu-boton__barras::after { content: ""; left: 0; margin-left: 0; }
.menu-boton__barras::before { top: -7px; }
.menu-boton__barras::after { top: 7px; }
.menu-boton[aria-expanded="true"] .menu-boton__barras { background: transparent; }
.menu-boton[aria-expanded="true"] .menu-boton__barras::before { transform: translateY(7px) rotate(45deg); }
.menu-boton[aria-expanded="true"] .menu-boton__barras::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-boton { display: block; }
  .nav {
    position: fixed;
    inset: var(--encabezado) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--gutter) 22px;
    background: var(--verde);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav.abierto { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.boton) { padding: 13px 4px; font-size: 1.12rem; border-bottom: 1px solid rgba(232, 220, 184, 0.12); }
  .nav a:not(.boton)::after { display: none; }
  .nav__cta { margin-top: 12px; min-height: 52px; font-size: 1.05rem; }
}

/* ==========================================================================
   Portada
   ========================================================================== */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; z-index: 1; }
.hero__texto { display: grid; gap: 22px; justify-items: start; }
.hero__texto .titulo span { display: block; }
.hero__texto .titulo--xl { font-size: clamp(3rem, 2.2rem + 3.2vw, 5rem); }
.hero__intro { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem); max-width: 34em; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 800; font-size: 0.98rem; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brote) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3B26' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.hero__visual { position: relative; }
.abanico { position: relative; width: min(92%, 560px); aspect-ratio: 1 / 1.02; margin-inline: auto; }
.abanico__cel {
  position: absolute;
  width: 36%;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.4));
  animation: flotar-cel 7s ease-in-out infinite;
}
.abanico__cel--1 { left: 0; top: 16%; rotate: -12deg; animation-delay: -1s; }
.abanico__cel--4 { right: 0; top: 16%; rotate: 12deg; animation-delay: -3s; }
.abanico__cel--2 { left: 19%; top: 3%; rotate: -4deg; z-index: 2; animation-delay: -2s; }
.abanico__cel--3 { right: 19%; top: 3%; rotate: 4deg; z-index: 2; animation-delay: -4.5s; }
@keyframes flotar-cel { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* sticker rojo de la promo */
.sticker-promo {
  position: absolute;
  right: max(0px, calc(50% - 300px));
  top: -6px;
  z-index: 3;
  width: clamp(118px, 13vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rojo);
  color: var(--arena);
  text-decoration: none;
  display: grid;
  place-content: center;
  text-align: center;
  rotate: 10deg;
  box-shadow: 0 0 0 6px var(--verde), 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: rotate 0.25s ease, scale 0.25s ease;
}
.sticker-promo:hover { rotate: 0deg; scale: 1.05; }
.sticker-promo__num {
  font-family: var(--f-texto);
  font-weight: 900;
  font-size: clamp(2.3rem, 1.8rem + 1.6vw, 2.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.sticker-promo__txt { font-weight: 900; font-size: 0.72rem; line-height: 1.15; padding: 6px 16px 0; }

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr 1fr; gap: 56px; }
  .sticker-promo { right: 0; top: -20px; }
}

/* ==========================================================================
   Secciones
   ========================================================================== */
.seccion { position: relative; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.seccion--suave { background: var(--verde-suave); --trazo: var(--verde-suave); }
.seccion > .contenedor { z-index: 1; }
.seccion__cabeza { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.seccion__cabeza p { max-width: 38em; font-size: 1.08rem; opacity: 0.92; }
.nota-centro { text-align: center; margin-top: 30px; font-weight: 800; }
.nota-centro a { color: var(--brote); text-underline-offset: 4px; }

/* ---------- servicios ---------- */
.servicios { display: grid; gap: 22px; }
.servicio {
  --trazo: var(--panel);
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(140, 203, 94, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.servicio:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 2px rgba(140, 203, 94, 0.35), var(--sombra); }
.servicio__imagen {
  height: 250px;
  padding-top: 26px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  flex: none;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 98%);
  mask-image: linear-gradient(#000 62%, transparent 98%);
}
.servicio__imagen img { width: min(58%, 210px); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.35)); transition: translate 0.35s ease; }
.servicio:hover .servicio__imagen img { translate: 0 -12px; }
.servicio__texto { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 26px; }
.servicio .titulo span { display: block; }
.servicio__sub { margin: 10px 0 16px; font-weight: 800; opacity: 0.9; }
.servicio__cta { margin-top: auto; color: var(--brote); font-weight: 900; text-decoration: none; }
.servicio__cta:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 760px) {
  .servicios { grid-template-columns: repeat(2, 1fr); }
  .servicio { flex-direction: row; }
  .servicio__imagen { width: 40%; height: auto; min-height: 330px; padding: 28px 0 0 18px; }
  .servicio__imagen img { width: 100%; max-width: 200px; }
  .servicio__texto { padding: 30px 28px 28px 20px; }
}

/* viñetas con forma de lente rojo */
.lentes { display: grid; gap: 10px; margin-bottom: 22px; }
.lentes li { display: flex; align-items: center; gap: 12px; font-weight: 800; line-height: 1.3; }
.lentes li::before {
  content: "";
  flex: none;
  width: 1.15em;
  height: 0.74em;
  border-radius: 0.18em 0.18em 0.58em 0.58em / 0.18em 0.18em 0.5em 0.5em;
  background: radial-gradient(circle at 28% 32%, rgba(244, 239, 217, 0.95) 0 9%, transparent 11%), var(--rojo);
  box-shadow: 0 0 0 2px var(--verde);
}

/* ---------- proyectos ---------- */
.proyecto { display: grid; gap: 36px; align-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.proyecto__media { position: relative; display: flex; justify-content: center; }
.proyecto__media--doble { padding: 0 8% 14% 0; }
.proyecto__texto { display: grid; gap: 16px; justify-items: start; }
.proyecto__texto .titulo span { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: rgba(232, 220, 184, 0.1);
  border: 1.5px solid rgba(232, 220, 184, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 0.92rem;
}

.navegador { width: 100%; border-radius: 16px; overflow: hidden; background: #1b1f1e; box-shadow: var(--sombra), 0 0 0 2px rgba(255, 255, 255, 0.08); }
.navegador__barra { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; background: #2a302e; }
.navegador__barra i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.navegador__barra i:nth-child(2) { background: #febc2e; }
.navegador__barra i:nth-child(3) { background: #28c840; }
.navegador__barra span {
  flex: 1; margin: 0 26px 0 10px; height: 22px; border-radius: 11px; background: #171b1a; color: #c9cfcc;
  font-size: 0.74rem; display: grid; place-items: center; overflow: hidden; white-space: nowrap;
}
.navegador video { width: 100%; height: auto; aspect-ratio: 980 / 640; object-fit: cover; background: #151313; }

.telefono {
  position: relative;
  width: min(78%, 290px);
  padding: 11px;
  border-radius: 46px;
  background: #0c110f;
  box-shadow: var(--sombra), inset 0 0 0 2px #2c3a33;
}
.telefono::before {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 20px; translate: -50% 0;
  width: 31%; height: 24px; border-radius: 12px; background: #000;
}
.telefono video { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 36px; background: #222; }
.proyecto__media--doble .telefono--chico {
  position: absolute; right: 0; bottom: 0; width: min(34%, 190px); padding: 7px; border-radius: 30px;
}
.telefono--chico::before { top: 13px; height: 15px; border-radius: 8px; }
.telefono--chico video { border-radius: 24px; }

.proyecto-pronto {
  --trazo: var(--panel);
  display: grid; gap: 22px; align-items: center;
  background: var(--panel); border-radius: var(--radio); padding: clamp(24px, 4vw, 36px);
  box-shadow: inset 0 0 0 2px rgba(140, 203, 94, 0.12);
}
.proyecto-pronto > div:last-child { display: grid; gap: 12px; justify-items: start; }
.proyecto-pronto .titulo span { display: inline-block; }
.proyecto-pronto__logo {
  width: 120px; height: 120px; border-radius: 30px; background: var(--arena); display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(232, 220, 184, 0.18);
}
.proyecto-pronto__logo img { width: 74px; }

@media (min-width: 900px) {
  .proyecto { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .proyecto--invertido { grid-template-columns: 1fr 1.15fr; }
  .proyecto--invertido .proyecto__media { order: 2; }
  .proyecto-pronto { grid-template-columns: auto 1fr; gap: 32px; }
}

/* ---------- cómo trabajo ---------- */
.pasos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: paso; }
.paso {
  position: relative;
  background: var(--panel);
  border-radius: var(--radio);
  padding: 26px 24px 26px;
  box-shadow: inset 0 0 0 2px rgba(140, 203, 94, 0.12);
}
.paso__num {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px;
  border-radius: 50%; background: var(--verde); color: var(--brote);
  font-family: var(--f-texto); font-weight: 900; font-size: 1.9rem; line-height: 1;
  box-shadow: 0 0 0 4px var(--crema);
}
.paso h3 { font-weight: 900; font-size: 1.25rem; margin-bottom: 6px; }
.paso p { opacity: 0.9; }

.incluye {
  margin-top: clamp(40px, 6vw, 64px);
  background: var(--crema);
  color: var(--verde);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  gap: 22px;
}
.incluye__titulo { -webkit-text-stroke: 0; letter-spacing: 0; }
.incluye__titulo span { color: var(--verde); }
.incluye__titulo .tortuga-verde { color: var(--tortuga); }
.incluye__lista { display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.incluye__lista li { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.12rem; }
.incluye__lista li::before {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CCB5E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.incluye__nota { font-weight: 700; opacity: 0.85; max-width: 52em; }

@media (min-width: 900px) {
  .incluye { grid-template-columns: 0.8fr 1.6fr; align-items: center; }
  .incluye__nota { grid-column: 1 / -1; }
}

/* ---------- promo (momento especial: playa) ---------- */
.promo {
  position: relative;
  padding: clamp(80px, 11vw, 140px) 0;
  background: #00a58c url("../assets/img/playa.webp") 50% 68% / cover no-repeat;
}
.promo__tarjeta {
  width: min(100%, 560px);
  margin-inline: auto;
  background: var(--arena);
  color: var(--verde);
  border-radius: 36px;
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  box-shadow: 0 0 0 6px var(--verde), 0 30px 60px rgba(0, 0, 0, 0.3);
}
.promo__grande {
  font-family: var(--f-texto);
  font-weight: 900;
  font-size: clamp(4.6rem, 3.2rem + 6vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--rojo);
  margin-top: 4px;
}
.promo__titulo { font-weight: 900; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); line-height: 1.2; }
.promo__tarjeta p:not(.promo__grande):not(.etiqueta) { font-weight: 700; max-width: 26em; }

/* ---------- sobre mí ---------- */
.sobre-mi { display: grid; gap: 36px; align-items: center; justify-items: center; }
.sobre-mi__foto img {
  width: clamp(200px, 30vw, 320px);
  border-radius: 50%;
  background: #f6f1e7;
  box-shadow: 0 0 0 10px var(--crema), 0 0 0 18px var(--verde), var(--sombra);
}
.sobre-mi__texto { display: grid; gap: 16px; justify-items: start; max-width: 40em; }
.sobre-mi__texto .ola { margin-block: 0 4px; }
@media (min-width: 900px) {
  .sobre-mi { grid-template-columns: auto 1fr; gap: 64px; justify-items: start; }
}

/* ---------- preguntas frecuentes ---------- */
.preguntas { display: grid; gap: 12px; }
.preguntas details {
  background: var(--panel);
  border-radius: 22px;
  box-shadow: inset 0 0 0 2px rgba(140, 203, 94, 0.12);
}
.preguntas summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 64px 20px 24px;
  font-weight: 900;
  font-size: 1.12rem;
  position: relative;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brote); color: var(--verde); font-size: 1.4rem; line-height: 1;
  transition: rotate 0.2s ease;
}
.preguntas details[open] summary::after { rotate: 45deg; }
.preguntas details p { padding: 0 24px 22px; opacity: 0.92; }

/* ---------- contacto ---------- */
.contacto { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 140px) 0; text-align: center; }
.contacto__caja { display: grid; justify-items: center; gap: 20px; z-index: 1; }
.contacto__tortuga {
  width: clamp(150px, 18vw, 200px);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--crema), var(--sombra);
  animation: saludar 4s ease-in-out infinite;
}
@keyframes saludar { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }
.contacto__caja > p { font-size: 1.15rem; max-width: 30em; }

/* ---------- pie ---------- */
.pie { border-top: 1px solid rgba(232, 220, 184, 0.14); padding: 34px 0 96px; }
.pie__fila { display: grid; gap: 18px; justify-items: center; text-align: center; }
.pie__logo { width: 104px; }
.pie__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-weight: 800; }
.pie__nav a { text-decoration: none; opacity: 0.85; }
.pie__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.pie__texto { font-size: 0.92rem; opacity: 0.75; }
@media (min-width: 900px) {
  .pie { padding-bottom: 34px; }
  .pie__fila { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; }
  .pie__nav { justify-content: center; justify-self: center; }
}

/* ---------- botón flotante de WhatsApp ---------- */
.wa-flotante {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px var(--verde), 0 14px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.wa-flotante:hover { transform: scale(1.07); }
.wa-flotante svg { width: 34px; height: 34px; }

/* ==========================================================================
   Animaciones al hacer scroll (solo si hay JS)
   ========================================================================== */
.js .revelar { opacity: 0; translate: 0 28px; transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.js .revelar.visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar { opacity: 1; translate: none; }
}
