/* Mezquital Web · estilos del sitio
   Paleta tomada del logo: verde agua del cielo, ocre de los cerros y el café del mezquite. */
:root {
  --papel: #fbf8f2;
  --papel-2: #f3ece0;
  --tinta: #1b2421;
  --tinta-2: #4b5753;
  --linea: #e3d9c8;
  --agua: #00798a;
  --agua-osc: #0b4f57;
  --ocre: #e0a23a;
  --barro: #b65a2a;
  --blanco: #fff;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radio: 14px;
  --ancho: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--tinta); background: var(--papel); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--ancho), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn-primario { background: var(--agua); color: #fff; }
.btn-primario:hover { background: var(--agua-osc); }
.btn-borde { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn-borde:hover { background: var(--tinta); color: var(--papel); }
.btn-tinta { background: var(--tinta); color: var(--papel); min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-tinta:hover { background: var(--agua-osc); }

/* Aviso superior */
.aviso { background: var(--tinta); color: #e8e2d6; font-size: 14px; }
.aviso .wrap { display: flex; justify-content: center; gap: 14px; align-items: center; min-height: 38px; flex-wrap: wrap; text-align: center; padding: 6px 0; }
.aviso strong { color: #fff; font-weight: 600; }
.aviso-tel { color: var(--ocre); font-weight: 600; text-decoration: none; letter-spacing: .02em; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.cabecera.con-borde { border-color: var(--linea); }
.cabecera > .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.marca { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 600 21px/1 var(--serif); letter-spacing: -.01em; }
.marca em { font-style: italic; font-weight: 500; color: var(--agua); }
.logo { width: 38px; height: 38px; flex: none; }
.menu { display: flex; gap: 26px; margin-left: auto; font-size: 15.5px; font-weight: 500; }
.menu a { text-decoration: none; color: var(--tinta-2); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.menu a:hover { color: var(--tinta); border-color: var(--ocre); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--tinta); transition: transform .25s; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-movil { border-top: 1px solid var(--linea); background: var(--papel); padding: 8px 20px 18px; }
.menu-movil a { display: block; padding: 13px 0; font: 500 22px/1.2 var(--serif); text-decoration: none; border-bottom: 1px solid var(--linea); }

/* Portada */
.portada { position: relative; overflow: hidden; padding: 84px 0 96px; background: var(--papel-2) url("../img/fotos/diana-cazadora.jpg") 70% 30% / cover no-repeat; isolation: isolate; }
.portada::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--papel) 0%, rgba(251, 248, 242, .96) 34%, rgba(251, 248, 242, .72) 56%, rgba(251, 248, 242, .15) 100%); }
.portada-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.sobretitulo { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--barro); margin-bottom: 18px; }
.portada h1 { font-size: clamp(40px, 5.6vw, 74px); max-width: 13ch; }
.subrayado { background: linear-gradient(transparent 68%, rgba(224, 162, 58, .45) 68%, rgba(224, 162, 58, .45) 92%, transparent 92%); }
.entrada { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--tinta-2); max-width: 34em; margin-top: 22px; }
.acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.datos { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--linea); font-size: 14.5px; color: var(--tinta-2); }
.datos li { display: flex; flex-direction: column; }
.datos strong { font: 600 20px/1.3 var(--serif); color: var(--tinta); }
.portada-equipos { position: relative; height: 470px; }
.navegador { position: absolute; right: 0; top: 10px; width: 92%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(27, 36, 33, .45), 0 0 0 1px rgba(27, 36, 33, .08); }
.navegador-barra { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f1ede6; border-bottom: 1px solid #e4ddd0; }
.navegador-barra i { width: 10px; height: 10px; border-radius: 50%; background: #d8cfc0; }
.navegador-barra span { margin-left: 10px; flex: 1; max-width: 260px; font-size: 12px; color: #6b716c; background: #fff; border-radius: 6px; padding: 3px 10px; }
.celular { position: absolute; left: 0; bottom: 0; width: 34%; min-width: 150px; aspect-ratio: 390 / 800; border-radius: 30px; padding: 8px; background: #1b2421; box-shadow: 0 30px 50px -18px rgba(27, 36, 33, .55); }
.celular img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.credito-foto { position: absolute; right: 14px; bottom: 10px; font-size: 11.5px; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }

/* Giros */
.giros { border-block: 1px solid var(--linea); background: var(--papel); }
.giros .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; padding: 18px 0; }
.giros p { font: italic 500 18px/1.4 var(--serif); color: var(--tinta-2); }
.giros p + p::before { content: "·"; margin: 0 14px; color: var(--ocre); font-style: normal; }

/* Secciones */
.seccion { padding: 110px 0; }
.seccion-papel { background: var(--papel-2); }
.encabezado { max-width: 640px; margin-bottom: 56px; }
.encabezado h2 { font-size: clamp(32px, 4vw, 52px); }
.encabezado > p:not(.num) { color: var(--tinta-2); margin-top: 16px; font-size: 18px; }
.encabezado a { color: var(--agua); font-weight: 600; }
.num { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--barro); margin-bottom: 14px; }
.lista { list-style: none; display: grid; gap: 10px; }
.lista li { position: relative; padding-left: 26px; }
.lista li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--agua); border-bottom: 2px solid var(--agua); transform: rotate(-45deg) translateY(-50%); }

/* Ejemplos */
.caso { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.caso + .caso { margin-top: 90px; }
.caso-invertido .caso-foto { order: 2; }
.caso-foto { position: relative; min-height: 520px; border-radius: var(--radio); background: var(--papel-2) var(--foto) center / cover no-repeat; display: grid; place-items: center; overflow: hidden; }
.caso-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 36, 33, 0) 40%, rgba(27, 36, 33, .35)); }
.caso-celular { position: relative; z-index: 1; width: 230px; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; border: 8px solid #1b2421; border-radius: 32px; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .6); }
.etiqueta { display: inline-block; font-size: 13px; font-weight: 600; color: var(--agua-osc); background: #e2efee; border-radius: 999px; padding: 5px 12px; margin-bottom: 16px; }
.caso-texto h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.caso-texto > p:not(.etiqueta) { color: var(--tinta-2); margin-bottom: 22px; }
.caso-texto .lista { margin-bottom: 30px; }

/* Servicios */
.servicios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--tinta); }
.servicio { padding: 34px 32px 34px 0; display: flex; flex-direction: column; }
.servicio + .servicio { padding-left: 32px; border-left: 1px solid var(--linea); }
.servicio svg { width: 44px; height: 44px; fill: none; stroke: var(--agua); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.servicio h3 { font-size: 26px; margin-bottom: 10px; }
.servicio p { color: var(--tinta-2); }
.servicio .desde { margin-top: auto; padding-top: 18px; color: var(--tinta); font-weight: 600; }
.incluye { margin-top: 70px; background: var(--papel); border-radius: var(--radio); padding: 38px 40px; display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.incluye h3 { font-size: 24px; }
.incluye ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 30px; }
.incluye li { display: flex; gap: 10px; align-items: flex-start; }
.incluye svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--agua); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

/* Franja con foto */
.franja-foto { position: relative; isolation: isolate; padding: 130px 0; color: #fff; background: #26302c var(--foto) center 60% / cover no-repeat; }
.franja-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 26, 24, .82), rgba(14, 26, 24, .5)); }
.franja-foto blockquote { margin: 0; max-width: 820px; }
.franja-foto blockquote p { font: 500 clamp(28px, 3.6vw, 46px)/1.18 var(--serif); letter-spacing: -.01em; }
.franja-nota { max-width: 600px; margin-top: 26px; font-size: 18px; color: rgba(255, 255, 255, .86); }

/* Precios */
.planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 34px 30px 30px; }
.plan h3 { font-size: 26px; }
.precio { font: 600 50px/1 var(--serif); margin: 16px 0 14px; letter-spacing: -.02em; }
.precio small { font: 500 15px var(--sans); color: var(--tinta-2); letter-spacing: 0; }
.para { color: var(--tinta-2); font-size: 15.5px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--linea); }
.plan .lista { font-size: 15.5px; margin-bottom: 26px; }
.entrega { margin-top: auto; font-size: 14px; color: var(--tinta-2); margin-bottom: 14px; }
.plan .btn { width: 100%; }
.plan-destacado { background: var(--agua-osc); border-color: var(--agua-osc); color: #fff; }
.plan-destacado .precio small, .plan-destacado .para, .plan-destacado .entrega { color: rgba(255, 255, 255, .78); }
.plan-destacado .para { border-color: rgba(255, 255, 255, .2); }
.plan-destacado .lista li::before { border-color: var(--ocre); }
.plan-destacado .btn-primario { background: var(--ocre); color: var(--tinta); }
.plan-destacado .btn-primario:hover { background: #f0b552; }
.sello { position: absolute; top: -13px; left: 30px; background: var(--ocre); color: var(--tinta); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.extras { margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; border-top: 1px solid var(--linea); padding-top: 30px; }
.extras dt { font-weight: 600; margin-bottom: 6px; }
.extras dd { margin: 0; color: var(--tinta-2); font-size: 15.5px; }

/* Proceso */
.proceso-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.proceso-grid .encabezado { position: sticky; top: 110px; margin-bottom: 0; }
.proceso-foto { margin: 34px 0 0; }
.proceso-foto img { border-radius: var(--radio); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.proceso-foto figcaption { font-size: 13px; color: var(--tinta-2); margin-top: 8px; }
.pasos { list-style: none; counter-reset: paso; }
.pasos li { counter-increment: paso; position: relative; padding: 0 0 46px 86px; }
.pasos li::before { content: counter(paso, decimal-leading-zero); position: absolute; left: 0; top: -6px; font: 500 44px/1 var(--serif); color: var(--ocre); }
.pasos li::after { content: ""; position: absolute; left: 26px; top: 50px; bottom: 6px; width: 1px; background: var(--linea); }
.pasos li:last-child { padding-bottom: 0; }
.pasos li:last-child::after { display: none; }
.pasos h3 { font-size: 26px; margin-bottom: 8px; }
.pasos p { color: var(--tinta-2); }

/* Quién soy */
.quien-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.quien-grid .encabezado { margin-bottom: 0; }
.quien-texto p { font-size: 19px; color: var(--tinta-2); margin-bottom: 18px; max-width: 60ch; }
.quien-texto p:first-child { font: 500 clamp(22px, 2.2vw, 27px)/1.4 var(--serif); color: var(--tinta); }
.quien-texto .quien-firma { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--agua-osc); }

/* Preguntas */
.preguntas-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas details:first-child { border-top: 1px solid var(--linea); }
.preguntas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 600 20px/1.3 var(--serif); }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--agua); border-bottom: 2px solid var(--agua); transform: rotate(45deg) translateY(-4px); transition: transform .2s; }
.preguntas details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.preguntas details p { padding: 0 40px 26px 0; color: var(--tinta-2); }

/* Contacto */
.contacto { background: var(--tinta); color: #ede7dc; }
.contacto .num { color: var(--ocre); }
.contacto-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.contacto h2 { font-size: clamp(34px, 4vw, 52px); color: #fff; }
.contacto-texto > p:not(.num) { margin-top: 16px; color: rgba(237, 231, 220, .8); font-size: 18px; }
.tel-grande { display: inline-block; margin-top: 30px; font: 600 clamp(38px, 4.6vw, 56px)/1 var(--serif); color: #fff; text-decoration: none; border-bottom: 2px solid var(--ocre); padding-bottom: 6px; letter-spacing: -.01em; }
.tel-grande:hover { color: var(--ocre); }
.contacto .estado { font-size: 15px; display: flex; align-items: center; gap: 9px; }
.estado::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8a918d; flex: none; }
.estado.abierto::before { background: #4cc38a; box-shadow: 0 0 0 4px rgba(76, 195, 138, .2); }
.redes { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.redes a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; border: 1px solid rgba(237, 231, 220, .3); border-radius: 999px; padding: 10px 18px; font-size: 15px; }
.redes a:hover { border-color: var(--ocre); color: #fff; }
.redes svg { width: 18px; height: 18px; fill: currentColor; }
.redes svg rect, .redes svg circle { fill: none; stroke: currentColor; stroke-width: 1.8; }
.redes svg circle.relleno { fill: currentColor; stroke: none; }
.formulario { background: var(--papel); color: var(--tinta); border-radius: 18px; padding: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo-ancho, .formulario .error, .formulario .btn, .privacidad { grid-column: 1 / -1; }
.campo label { font-size: 14.5px; font-weight: 600; }
.campo label span { font-weight: 400; color: var(--tinta-2); }
.campo input, .campo select, .campo textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--tinta); background: #fff; border: 1.5px solid var(--linea); border-radius: 10px; padding: 12px 14px; transition: border-color .2s; }
.campo textarea { resize: vertical; min-height: 92px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--agua); box-shadow: 0 0 0 3px rgba(0, 121, 138, .15); }
.campo input[aria-invalid="true"] { border-color: #c0392b; }
.error { color: #b3261e; font-size: 15px; font-weight: 600; min-height: 1px; }
.privacidad { font-size: 13.5px; color: var(--tinta-2); }
.privacidad a { color: var(--agua); }
.creditos a { color: inherit; }
.oculto { position: absolute; left: -9999px; }
.formulario.enviado { display: block; text-align: center; padding: 60px 36px; }
.formulario.enviado h3 { font-size: 32px; margin-bottom: 12px; }
.formulario.enviado p { color: var(--tinta-2); }

/* Inglés */
.ingles { padding: 54px 0; border-bottom: 1px solid var(--linea); }
.ingles .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: baseline; }
.ingles h2 { font-size: 28px; }
.ingles p { color: var(--tinta-2); }

/* Pie */
.pie { padding: 60px 0 30px; font-size: 15px; color: var(--tinta-2); }
.pie-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--linea); }
.pie-grid > div, .pie-grid nav { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pie-grid a { text-decoration: none; }
.pie-grid a:hover { color: var(--agua); }
.marca-pie { color: var(--tinta); margin-bottom: 6px; }
.creditos { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; font-size: 13.5px; align-items: flex-start; }
.creditos details { max-width: 640px; text-align: right; }
.creditos summary { cursor: pointer; }
.creditos details[open] { text-align: left; }
.creditos details p, .creditos details ul { margin-top: 10px; }
.creditos ul { padding-left: 18px; display: grid; gap: 4px; }

/* Botón con apariencia de enlace */
.enlace { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.enlace:hover { color: var(--agua); }

/* Aviso de cookies */
.cookies { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(440px, calc(100% - 40px)); background: var(--papel); border: 1px solid var(--linea); border-radius: 16px; padding: 20px 22px; box-shadow: 0 18px 40px -12px rgba(27, 36, 33, .35); font-size: 15px; color: var(--tinta-2); }
.cookies strong { color: var(--tinta); }
.cookies a { color: var(--agua); font-weight: 600; }
.cookies-botones { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.cookies-botones .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.cookies-botones .enlace { font-size: 14.5px; margin-left: 4px; }
.cookies-panel { width: min(520px, calc(100% - 32px)); border: 0; border-radius: 18px; padding: 30px; background: var(--papel); color: var(--tinta); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .4); }
.cookies-panel::backdrop { background: rgba(27, 36, 33, .55); }
.cookies-panel h2 { font-size: 28px; margin-bottom: 8px; }
.cookies-panel > form > p { color: var(--tinta-2); margin-bottom: 18px; font-size: 15.5px; }
.cookies-op { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--linea); cursor: pointer; }
.cookies-op small { display: block; color: var(--tinta-2); font-size: 14px; margin-top: 2px; }
.cookies-op input { width: 22px; height: 22px; accent-color: var(--agua); flex: none; }
.form-aviso { grid-column: 1 / -1; font-size: 13.5px; color: var(--tinta-2); }
.form-aviso a { color: var(--agua); }

/* Página del aviso de privacidad */
.legal-volver { margin-left: auto; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal p, .legal .lista { color: var(--tinta-2); margin-top: 12px; }
.legal a { color: var(--agua); }
.legal-fecha { font-size: 14px; }
.legal-resumen { background: var(--papel-2); border-radius: var(--radio); padding: 20px 22px; margin-top: 28px !important; color: var(--tinta) !important; }
.legal-nota { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--linea); }

/* Aparición suave al hacer scroll */
.aparece { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.aparece.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparece { opacity: 1; transform: none; transition: none; }
}

/* Tablet */
@media (max-width: 1020px) {
  .menu, .cabecera-cta { display: none; }
  .menu-btn { display: block; }
  .portada-grid, .caso, .proceso-grid, .quien-grid, .preguntas-grid, .contacto-grid, .ingles .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .portada { padding: 56px 0 70px; background-position: 62% 25%; }
  .portada::before { background: linear-gradient(180deg, rgba(251, 248, 242, .97) 0%, rgba(251, 248, 242, .93) 55%, rgba(251, 248, 242, .55) 100%); }
  .portada-equipos { height: 400px; max-width: 620px; width: 100%; margin-inline: auto; }
  .caso-invertido .caso-foto { order: 0; }
  .caso-foto { min-height: 460px; }
  .proceso-grid .encabezado { position: static; }
  .servicios { grid-template-columns: minmax(0, 1fr); }
  .servicio, .servicio + .servicio { padding: 30px 0; border-left: 0; }
  .servicio + .servicio { border-top: 1px solid var(--linea); }
  .planes { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .plan-destacado { order: -1; }
  .extras { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .incluye { grid-template-columns: minmax(0, 1fr); }
}

/* Celular */
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { width: min(var(--ancho), 100% - 32px); }
  .cabecera > .wrap { height: 62px; }
  .marca { font-size: 19px; }
  .logo { width: 34px; height: 34px; }
  .seccion { padding: 76px 0; }
  .encabezado { margin-bottom: 40px; }
  .portada h1 { font-size: 40px; }
  .acciones .btn { flex: 1 1 100%; }
  .datos { gap: 16px 24px; }
  .portada { background-position: 58% 100%; background-size: auto 62%; }
  .portada::before { background: linear-gradient(180deg, var(--papel) 0%, var(--papel) 48%, rgba(251, 248, 242, .82) 62%, rgba(251, 248, 242, .1) 100%); }
  .solo-pc { display: none; }
  .aviso .wrap { gap: 10px; }
  .portada-equipos { height: 330px; }
  .navegador { width: 88%; }
  .celular { width: 38%; min-width: 120px; border-radius: 22px; padding: 6px; }
  .celular img { border-radius: 17px; }
  .caso-foto { min-height: 400px; }
  .caso-celular { width: 190px; }
  .caso + .caso { margin-top: 70px; }
  .caso-texto .btn { width: 100%; }
  .incluye { padding: 28px 22px; }
  .incluye ul { grid-template-columns: minmax(0, 1fr); }
  .franja-foto { padding: 90px 0; }
  .pasos li { padding-left: 64px; }
  .pasos li::before { font-size: 34px; }
  .pasos li::after { left: 20px; top: 42px; }
  .preguntas summary { font-size: 18px; }
  .formulario { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; }
  .pie-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .creditos { flex-direction: column; }
  .creditos details { text-align: left; }
}
