/* Gestasac · estilos del sitio */
:root {
  --azul: #183a47;
  --azul-2: #122d38;
  --azul-3: #2a5466;
  --oro: #9a6b40;
  --oro-claro: #c99462;
  --crema: #f7f4ef;
  --gris: #f2f5f6;
  --linea: #e1e6e8;
  --texto: #1f2a30;
  --suave: #5b6b72;
  --radio: 14px;
  --sombra: 0 1px 2px rgba(24, 58, 71, .06), 0 8px 24px rgba(24, 58, 71, .07);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--texto); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-3); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--azul); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

.envoltura { width: min(1160px, 100% - 40px); margin-inline: auto; }
.envoltura-texto { width: min(760px, 100% - 40px); margin-inline: auto; }
.envoltura-form { width: min(760px, 100% - 40px); }
.centrar { text-align: center; display: flex; justify-content: center; align-items: center; }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--oro); margin-bottom: .8em; }
.eyebrow a { color: inherit; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; font-family: var(--sans); }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-oro { background: var(--oro); color: #fff; box-shadow: 0 6px 18px rgba(154, 107, 64, .28); }
.btn-oro:hover { background: #8a5f38; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-2); }
.btn-claro { background: transparent; color: var(--azul); border-color: rgba(24, 58, 71, .25); }
.btn-claro:hover { border-color: var(--azul); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; box-shadow: none; }
.btn-grande { padding: 1em 1.8em; font-size: 1.05rem; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Cabecera */
.cab { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.cab.con-sombra { border-bottom-color: var(--linea); }
.cab-in { width: min(1160px, 100% - 40px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.marca img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) { color: var(--texto); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .5em .8em; border-radius: 8px; }
.menu a:not(.btn):hover { background: var(--gris); }
.menu a[aria-current="page"] { color: var(--oro); }
.menu .btn { margin-left: 10px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--azul); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .menu { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--linea); box-shadow: var(--sombra); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease; }
  .menu.abierto { transform: none; opacity: 1; pointer-events: auto; }
  .menu a:not(.btn) { padding: .8em .4em; border-bottom: 1px solid var(--gris); border-radius: 0; }
  .menu .btn { margin: 14px 0 0; justify-content: center; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .marca img { height: 38px; }
}

/* Hero */
.hero { background: var(--crema); padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(154, 107, 64, .10), transparent 70%); pointer-events: none; }
.hero h1 em { font-style: italic; color: var(--oro); }
.hero .bajada { font-size: 1.15rem; color: var(--suave); max-width: 40em; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .logo-anim { order: -1; max-width: 190px; margin: 0 auto; } .hero-inicio { padding-top: 36px; } }

/* Logo animado */
.logo-anim { margin: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cubo { position: relative; width: min(100%, 300px); aspect-ratio: 1205 / 1388; }
.pz { position: absolute; height: auto; opacity: 0; will-change: transform, opacity; }
.txt-gestasac, .txt-sub { width: min(100%, 360px); opacity: 0; }
.txt-sub { width: min(92%, 330px); }
.repetir { position: absolute; top: 0; right: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--linea); background: #fff; color: var(--suave); font-size: 18px; cursor: pointer; opacity: 0; transition: opacity .3s; }
.logo-anim:hover .repetir, .repetir:focus-visible { opacity: 1; }

.anim .pz-oro1  { animation: subir .7s cubic-bezier(.2,.8,.2,1) .15s forwards; }
.anim .pz-azul1 { animation: subir .7s cubic-bezier(.2,.8,.2,1) .35s forwards; }
.anim .pz-oro2  { animation: subir .7s cubic-bezier(.2,.8,.2,1) .55s forwards; }
.anim .pz-g     { animation: derecha .8s cubic-bezier(.2,.8,.2,1) .8s forwards; }
.anim .pz-techo { animation: bajar .7s cubic-bezier(.2,.8,.2,1) 1.15s forwards; }
.anim .pz-punto { animation: punto .6s cubic-bezier(.3,1.5,.5,1) 1.55s forwards; }
.anim .txt-gestasac { animation: aparecer .8s ease 2.05s forwards; }
.anim .txt-sub { animation: aparecer .8s ease 2.45s forwards; }
@keyframes subir { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }
@keyframes derecha { from { opacity: 0; transform: translate(30%, -10%); } to { opacity: 1; transform: none; } }
@keyframes bajar { from { opacity: 0; transform: translate(20%, -60%); } to { opacity: 1; transform: none; } }
@keyframes punto { from { opacity: 0; transform: translateY(-140%) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(10px); letter-spacing: .02em; } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .pz, .txt-gestasac, .txt-sub { opacity: 1 !important; animation: none !important; }
}

/* Franja de datos */
.franja-datos { background: var(--azul); color: #fff; padding: 28px 0; }
.datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.datos strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--oro-claro); font-weight: 600; line-height: 1.1; }
.datos span { font-size: .92rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 640px) { .datos { grid-template-columns: 1fr; } }

/* Bloques */
.bloque { padding: clamp(56px, 8vw, 96px) 0; }
.bloque-gris { background: var(--gris); }
.bloque-ajuste { padding-top: 40px; }
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.tres-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .dos-col, .tres-col { grid-template-columns: 1fr; } }

.tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
@media (max-width: 900px) { .tarjetas { grid-template-columns: 1fr; } }
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 28px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.tarjeta p { color: var(--suave); font-size: .98rem; }
.tarjeta.destacada { border-color: rgba(154, 107, 64, .45); box-shadow: var(--sombra); }
.tarjeta-link { text-decoration: none; color: inherit; }
.tarjeta-link:hover, .tarjeta:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.ico { width: 48px; height: 48px; border-radius: 12px; background: var(--crema); color: var(--oro); display: grid; place-items: center; margin-bottom: 16px; }
.enlace { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--azul); text-decoration: none; }
.enlace svg { width: 18px; height: 18px; transition: transform .2s; }
.tarjeta:hover .enlace svg { transform: translateX(3px); }

.punto { padding: 8px 4px; }
.punto > svg { width: 30px; height: 30px; color: var(--oro); margin-bottom: 12px; }
.punto p { color: var(--suave); }

.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.lista-check li { display: flex; gap: 14px; align-items: flex-start; }
.lista-check svg { color: var(--oro); margin-top: 2px; }
.lista-num { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.lista-num li::marker { color: var(--oro); font-weight: 600; }

.pasos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: paso; }
.pasos li { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 28px; }
.pasos span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--azul); color: #fff; font-weight: 600; margin-bottom: 14px; }
.pasos p { color: var(--suave); margin: 0; }
@media (max-width: 860px) { .pasos { grid-template-columns: 1fr; } }

.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--linea); border-radius: 999px; padding: .45em 1em; font-size: .93rem; }

.provincias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.provincia { border-top: 2px solid var(--oro); padding-top: 14px; }
.provincia h3 { font-size: 1rem; }
.provincia p { color: var(--suave); font-size: .93rem; margin: 0; }
@media (max-width: 860px) { .provincias { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .provincias { grid-template-columns: 1fr; } }

.prensa { max-width: 760px; }

/* Llamado final */
.cta-final { background: var(--azul); color: #fff; padding: clamp(56px, 8vw, 88px) 0; text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, .8); max-width: 36em; margin-inline: auto; }
.cta-final .botones { justify-content: center; }
.cta-final .btn-claro { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-final .btn-claro:hover { border-color: #fff; }

/* Formularios */
.caja-form { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--sombra); margin-top: -10px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo-ancho { grid-column: 1 / -1; }
@media (max-width: 600px) { .campos { grid-template-columns: 1fr; } }
label { font-size: .9rem; font-weight: 600; color: var(--azul); }
label span { color: var(--oro); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--texto); background: #fff; border: 1.5px solid var(--linea); border-radius: 10px; padding: .75em .9em; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--azul-3); box-shadow: 0 0 0 4px rgba(42, 84, 102, .12); }
textarea { resize: vertical; min-height: 110px; }
.trampa { display: none !important; }
.nota-form { font-size: .85rem; color: var(--suave); margin: 18px 0 14px; }
.estado-form { margin: 14px 0 0; font-weight: 500; }
.estado-form.ok { color: #1d6b45; }
.estado-form.error { color: #a33a2b; }
.form-enviado .campos, .form-enviado .nota-form, .form-enviado button { display: none; }
.form-enviado .estado-form { font-size: 1.1rem; }

/* Artículos */
.art-cab { padding: clamp(48px, 7vw, 80px) 0 12px; }
.art-cuerpo { padding-bottom: 72px; font-size: 1.07rem; }
.art-cuerpo h2 { font-size: 1.45rem; margin-top: 1.6em; }
.art-cuerpo ul { padding-left: 1.2em; }
.art-cuerpo li { margin-bottom: .4em; }
.art-cuerpo li::marker { color: var(--oro); }

/* Pie */
.pie { background: var(--azul-2); color: rgba(255, 255, 255, .75); padding-top: 56px; font-size: .95rem; }
.pie-in { width: min(1160px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.pie-marca img { width: 230px; margin-bottom: 16px; }
.pie-marca p { max-width: 26em; }
.pie h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oro-claro); margin-bottom: 14px; }
.pie a { display: block; color: rgba(255, 255, 255, .85); text-decoration: none; padding: 4px 0; }
.pie a:hover { color: #fff; }
.pie-base { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; padding: 18px 20px; font-size: .85rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .pie-in { grid-template-columns: 1fr 1fr; } .pie-marca { grid-column: 1 / -1; } }
