/* Inversiones Fash — hoja de estilos del sitio */
:root {
  --rojo: #9E1B32;
  --rojo-oscuro: #731222;
  --rojo-suave: #F7E6E9;
  --crema: #FAF6EF;
  --crema-2: #F1E9DD;
  --blanco: #FFFFFF;
  --tinta: #2B2426;
  --gris: #6F6568;
  --linea: #E6DCD0;
  --dorado: #C9A24A;
  --verde: #1F4D3A;
  --wa: #25D366;
  --wa-oscuro: #1DA851;
  --radio: 14px;
  --sombra: 0 12px 32px rgba(43, 36, 38, .10);
  --fuente-titulo: "Fraunces", Georgia, "Times New Roman", serif;
  --fuente: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--fuente); font-size: 17px; line-height: 1.6; color: var(--tinta); background: var(--crema); }
img { max-width: 100%; display: block; }
a { color: var(--rojo); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--dorado); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--fuente-titulo); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
small { font-size: .88em; }
ul, ol { padding-left: 1.2rem; }
iframe { border: 0; }

.saltar { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.saltar:focus { left: 8px; }

.contenedor { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.seccion { padding-block: clamp(3rem, 7vw, 5.5rem); }
.seccion-alt { background: var(--blanco); }
.cabecera-pagina { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.cabecera-pagina h1 { margin-bottom: .6rem; }
.antetitulo { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); margin: 0 0 .7rem; }
.antetitulo a { text-decoration: none; }
.intro { color: var(--gris); max-width: 62ch; font-size: 1.08rem; }
.centrado { text-align: center; }
.centrado .intro { margin-inline: auto; }
.texto-largo { max-width: 70ch; }
.texto-largo h2 { font-size: 1.4rem; margin-top: 1.6rem; }
.por-confirmar { border-bottom: 2px dotted var(--dorado); cursor: help; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.45rem; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; font-family: inherit; font-size: 1rem; line-height: 1.1; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sombra); }
.btn-primario { background: var(--rojo); color: #fff; }
.btn-primario:hover { background: var(--rojo-oscuro); }
.btn-secundario { background: transparent; color: var(--rojo); border-color: var(--rojo); }
.btn-secundario.btn-claro { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-oscuro); }
.btn svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.acciones-centradas { justify-content: center; }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--tinta); }
.logo img { height: 46px; width: auto; }
.logo .marca { width: 36px; height: 36px; }
.wordmark { font-family: var(--fuente-titulo); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; white-space: nowrap; }
.wordmark span { color: var(--rojo); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--tinta); font-weight: 700; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a.activo, .nav a:hover { border-color: var(--rojo); color: var(--rojo); }
.cabecera .btn-wa { padding: .6rem 1.05rem; font-size: .95rem; }
.menu-btn { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; margin-left: auto; }
.menu-btn span { display: block; width: 26px; height: 3px; background: var(--tinta); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--blanco); border-bottom: 1px solid var(--linea); display: none; padding: .6rem 1.25rem 1rem; box-shadow: var(--sombra); }
  .nav.abierto { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--linea); }
  .nav a.activo, .nav a:hover { border-color: var(--linea); }
  .cabecera .btn-wa .texto { display: none; }
  .cabecera .btn-wa { padding: .6rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero::before { content: ""; position: absolute; right: -8%; top: -10%; width: 55%; height: 130%; background: repeating-linear-gradient(-38deg, var(--rojo-suave) 0 16px, transparent 16px 48px); opacity: .6; pointer-events: none; mask-image: linear-gradient(to left, #000 20%, transparent); -webkit-mask-image: linear-gradient(to left, #000 20%, transparent); }
.hero .contenedor { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero .contenedor { grid-template-columns: 1.1fr 1fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero .intro { font-size: 1.15rem; }
.hero .media { box-shadow: var(--sombra); }

.media { border-radius: var(--radio); overflow: hidden; background: var(--crema-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-contain img { object-fit: contain; padding: 7%; }
.media-contain img.ph { object-fit: cover; padding: 0; }

/* Franja de confianza */
.confianza { background: var(--rojo); color: #fff; }
.confianza .contenedor { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; padding-block: 1.5rem; }
@media (min-width: 800px) { .confianza .contenedor { grid-template-columns: repeat(4, 1fr); } }
.confianza div { display: flex; gap: .8rem; align-items: center; font-weight: 800; line-height: 1.2; }
.confianza svg { width: 34px; height: 34px; flex: none; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.confianza small { display: block; font-weight: 500; opacity: .85; font-size: .82rem; margin-top: .15rem; }

/* Rejillas y tarjetas */
.rejilla { display: grid; gap: 1.4rem; }
.rejilla-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.rejilla-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rejilla-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tarjeta { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.tarjeta .media { border-radius: 0; }
a.tarjeta:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.tarjeta .cuerpo { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.tarjeta h3 { margin: 0; font-size: 1.15rem; }
.tarjeta p { margin: 0; color: var(--gris); font-size: .95rem; }
.tarjeta .enlace { margin-top: auto; padding-top: .7rem; font-weight: 800; color: var(--rojo); }
.publicos .tarjeta { background: var(--crema); }
.publicos .cuerpo { padding-top: 1.4rem; }

/* Producto */
.producto .cuerpo { gap: .3rem; }
.producto .meta { display: flex; flex-wrap: wrap; gap: .35rem; font-size: .78rem; color: var(--gris); }
.producto .meta span { background: var(--crema); border-radius: 999px; padding: .15rem .6rem; }
.producto .precio { font-family: var(--fuente-titulo); font-size: 1.6rem; font-weight: 800; color: var(--rojo); margin-top: .35rem; font-variant-numeric: tabular-nums; }
.producto .btn { margin-top: .75rem; align-self: flex-start; padding: .6rem 1rem; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.8rem; }
.chips button { border: 1px solid var(--linea); background: var(--blanco); border-radius: 999px; padding: .45rem 1rem; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; color: var(--tinta); }
.chips button:hover { border-color: var(--tinta); }
.chips button.activo { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.oculto { display: none !important; }

/* Pasos */
.pasos { counter-reset: paso; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 0; margin: 1.5rem 0 0; }
.pasos li { list-style: none; background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.3rem 1.2rem 1.2rem; }
.pasos li::before { counter-increment: paso; content: counter(paso); font-family: var(--fuente-titulo); font-weight: 800; font-size: 1.7rem; color: var(--rojo); display: block; margin-bottom: .35rem; line-height: 1; }
.pasos h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.pasos p { margin: 0; color: var(--gris); font-size: .95rem; }

/* Dos columnas */
.dos-col { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .dos-col { grid-template-columns: 1fr 1fr; gap: 3rem; } .dos-col.invertido > :first-child { order: 2; } }

/* Temporada destacada */
.temporada-destacada { background: var(--verde); color: #fff; border-radius: var(--radio); padding: 1.25rem; }
@media (min-width: 860px) { .temporada-destacada { padding: 2rem; } }
.temporada-destacada .antetitulo { color: var(--dorado); }
.temporada-destacada h2, .temporada-destacada p { color: #fff; }
.temporada-destacada .btn-primario { background: var(--dorado); color: var(--tinta); }
.lista-check { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.lista-check li { padding-left: 1.6rem; position: relative; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .45rem; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); opacity: .8; }
.consejo { background: var(--crema-2); border-left: 4px solid var(--dorado); padding: .8rem 1rem; border-radius: 0 10px 10px 0; font-size: .97rem; }

/* Valores */
.valores h3 { color: var(--rojo); margin-bottom: .3rem; }
.valores p { color: var(--gris); margin: 0; }

/* Listas de contacto y mapa */
.lista-contacto { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.lista-contacto li { display: flex; gap: .9rem; align-items: flex-start; }
.lista-contacto svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--rojo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: .15rem; }
.lista-contacto small { color: var(--gris); }
.mapa { border-radius: var(--radio); overflow: hidden; background: var(--crema-2); aspect-ratio: 4 / 3; box-shadow: var(--sombra); }
.mapa iframe { width: 100%; height: 100%; }
.mapa-grande { aspect-ratio: 16 / 7; margin-bottom: 1.2rem; }
.redes { display: flex; gap: 1rem; flex-wrap: wrap; }
.redes-contacto { margin-top: .5rem; }

/* Formularios */
.formulario { background: var(--crema); border: 1px solid var(--linea); border-radius: var(--radio); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.formulario h2 { font-size: 1.4rem; margin: .4rem 0 0; }
.formulario p { margin: 0; color: var(--gris); }
.formulario label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .95rem; }
.formulario label.check, .formulario label:has(input[type="radio"]) { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 500; }
.formulario label small { font-weight: 400; color: var(--gris); }
.formulario input, .formulario textarea, .formulario select { font: inherit; padding: .7rem .9rem; border: 1px solid var(--linea); border-radius: 10px; background: var(--blanco); color: var(--tinta); width: 100%; }
.formulario input[type="radio"], .formulario input[type="checkbox"] { width: auto; margin-top: .3rem; }
.formulario .btn { align-self: flex-start; }
.formulario-ancho { background: var(--blanco); }
.campos-2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nota { font-size: .88rem; }

/* CTA final */
.cta-final { background: var(--rojo-suave); }

/* Pie */
.pie { background: var(--tinta); color: #E9E2E4; padding-top: clamp(2.5rem, 6vw, 4rem); margin-top: 0; }
.pie a { color: #fff; }
.pie h3 { color: var(--dorado); font-size: 1.05rem; margin-bottom: .6rem; }
.pie p { color: #CFC5C9; font-size: .95rem; }
.pie-rejilla { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 2rem; }
.logo-pie { color: #fff; margin-bottom: .8rem; }
.logo-pie .wordmark span { color: var(--dorado); }
.lista-pie { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; font-size: .95rem; }
.lista-pie a { text-decoration: none; }
.lista-pie a:hover { text-decoration: underline; }
.pie-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .85rem; color: #B9AEB3; }

/* WhatsApp flotante */
.wa-flotante { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; background: var(--wa); color: #fff; text-decoration: none; font-weight: 800; padding: .8rem 1.1rem; border-radius: 999px; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.wa-flotante svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 640px) { .wa-flotante span { display: none; } .wa-flotante { padding: .85rem; } }

/* Marcadores de fotos pendientes */
img.ph { background: var(--crema-2); }
