/* ==========================================================
   Decoraciones Alfonso — Tienda
   Colores: morado de la marca, dorado y blanco.
   Cambia los valores de :root para ajustar todo el sitio.
   ========================================================== */
:root {
  --vino: #6B1E78;          /* morado de la marca */
  --vino-deep: #4B1157;
  --vino-ink: #2A0A33;
  --vino-soft: #F3ECF6;
  --gold: #D4AD52;          /* dorado del logo */
  --gold-light: #F0D58F;
  --gold-deep: #8A661B;     /* dorado legible sobre blanco */
  --white: #FFFFFF;
  --bg-soft: #F9F6FB;
  --ink: #221427;
  --text: #4A3A44;
  --muted: #6E5E68;
  --line: #E6DDEC;
  --wa: #1E9E55;
  --wa-deep: #17844A;

  --f-title: 'Playfair Display', Georgia, serif;
  --f-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --shadow: 0 18px 40px -24px rgba(42, 10, 51, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--vino); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; text-wrap: balance; }
h1, h2 { font-family: var(--f-title); font-weight: 600; }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--vino); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#app:focus { outline: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); }
.eyebrow.light { color: var(--gold-light); }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 10px; border: 2px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.btn-gold { background: var(--gold); color: var(--vino-ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--vino-ink); transform: translateY(-1px); }
.btn-vino { background: var(--vino); color: #fff; }
.btn-vino:hover { background: var(--vino-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--vino); }
.btn-wa { background: var(--wa); color: #fff; width: 100%; font-size: 14.5px; min-height: 46px; padding: 0 14px; }
.btn-wa:hover { background: var(--wa-deep); color: #fff; }
.btn-lg { min-height: 56px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Encabezado ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 10px 24px -22px rgba(42,10,51,.5); }
.header-in { display: flex; align-items: center; gap: 22px; padding-block: 10px; }
.logo { flex-shrink: 0; }
.logo img { width: 170px; height: auto; }
.h-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.h-quote { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 10px; background: linear-gradient(180deg, #F59A3B, #E57A1E); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; box-shadow: 0 6px 14px -8px rgba(229,122,30,.9), inset 0 -2px 0 rgba(0,0,0,.12); transition: filter .2s, transform .2s; }
.h-quote:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff; }
.h-quote svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }
.h-cards { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.card-pills { display: flex; gap: 4px; }
.card-pills i { width: 40px; height: 26px; border-radius: 4px; display: grid; place-items: center; font-style: normal; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.pill-visa { background: #fff; color: #1A1F71; font-weight: 800; font-size: 12px; letter-spacing: .02em; border: 1px solid #D9DCEA; }
.pill-mc { background: #1C1C1C; position: relative; }
.pill-mc b { position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 50%; }
.pill-mc b:first-child { left: 9px; background: #E2231A; }
.pill-mc b:last-child { left: 17px; background: #F79E1B; opacity: .9; }
.h-wa { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.h-wa svg { width: 50px; height: 50px; padding: 11px; border-radius: 50%; background: var(--wa); fill: none; stroke: #fff; stroke-width: 2; }
.h-wa span { display: flex; flex-direction: column; line-height: 1.15; }
.h-wa b { font-size: 20px; }
.h-wa small { font-size: 16px; color: var(--text); }
.h-wa:hover b { color: var(--wa-deep); }
.h-info { margin-left: auto; text-align: right; font-size: 15px; line-height: 1.45; color: var(--ink); min-width: 0; }
.h-info p { margin: 0; overflow-wrap: anywhere; }
.h-info b { font-weight: 700; }
.h-info a { color: var(--vino); font-weight: 700; text-decoration: none; }
.search { display: flex; flex: 0 1 300px; border-radius: 999px; overflow: hidden; background: #fff; margin-block: 7px; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; min-height: 40px; color: var(--ink); background: transparent; }
.search input:focus { outline: none; }
.search button { width: 46px; border: 0; background: var(--gold); color: var(--vino-ink); display: grid; place-items: center; }
.search button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--vino); transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú */
.nav { background: var(--vino); border-top: 3px solid var(--gold); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-in { display: flex; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 13px 18px; color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .02em; border-bottom: 3px solid transparent; transition: background .2s, border-color .2s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.on { background: var(--vino-deep); border-bottom-color: var(--gold); color: #fff; }
.drop { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 0 0 12px 12px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); padding: 14px 8px 10px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.nav-item:hover .drop, .nav-item:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop b { font-family: var(--f-title); font-size: 15px; color: var(--vino); padding: 0 12px 8px; }
.drop a { padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 15px; }
.drop a:hover { background: var(--vino-soft); color: var(--vino); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 580px; display: flex; align-items: stretch; overflow: hidden; background: var(--vino-ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,10,51,.93) 0%, rgba(75,17,87,.78) 40%, rgba(75,17,87,.15) 75%, rgba(75,17,87,0) 100%); }
.hero-in { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 64px; }
.hero-copy { flex: 1 1 auto; max-width: 760px; color: #F3EAF7; }
.hero h1 { color: #fff; font-size: clamp(46px, 6.6vw, 84px); margin-bottom: 20px; line-height: 1.05; }
.hero h1 em { display: block; color: var(--gold-light); font-style: italic; }
.hero p { font-size: clamp(18px, 1.7vw, 22px); max-width: 600px; margin-bottom: 30px; line-height: 1.55; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.seal { flex-shrink: 0; width: 160px; height: 160px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 35% 30%, #F7DE9C, var(--gold) 55%, #A57E2A); color: var(--vino-ink); box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 20px 40px -15px rgba(0,0,0,.6); align-self: flex-end; }
.seal b { font-family: var(--f-title); font-size: 64px; line-height: .9; }
.seal span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1.25; }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--vino-soft); fill: none; stroke: var(--vino); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.trust-item b { display: block; color: var(--ink); font-size: 15px; }
.trust-item small { color: var(--muted); font-size: 13.5px; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(48px, 7vw, 84px); }
.section.soft { background: var(--bg-soft); }
.sec-head { margin-bottom: 30px; }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; text-decoration: none; background: var(--vino-ink); }
.cat img, .cat .ph-cat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover img { transform: scale(1.06); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,10,51,.92) 0%, rgba(42,10,51,.25) 55%, rgba(42,10,51,0) 100%); }
.cat-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; display: flex; flex-direction: column; gap: 2px; color: #fff; }
.cat-info b { font-family: var(--f-title); font-size: 21px; font-weight: 600; }
.cat-info small { color: #EBD9E3; font-size: 13.5px; }
.cat-info i { font-style: normal; color: var(--gold-light); font-weight: 600; font-size: 14px; margin-top: 6px; }

/* ---------- Productos ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #DCC8D3; }
.card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--vino-soft); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-count { position: absolute; right: 10px; bottom: 10px; background: rgba(38,19,31,.75); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-sub { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.card h3 { font-size: 17px; font-weight: 600; line-height: 1.3; flex: 1; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--vino); }
.price { margin: 6px 0 10px; font-size: 22px; font-weight: 700; color: var(--vino); font-variant-numeric: tabular-nums; }
.price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-ask { font-size: 16px; color: var(--muted); font-weight: 600; }
.price.big { font-size: 34px; margin: 10px 0 14px; }
.price.big.price-ask { font-size: 22px; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--bg-soft); border-radius: var(--r); }
.note { margin-top: 26px; color: var(--muted); font-size: 14.5px; }

/* Recuadro para productos sin foto */
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; text-align: center; background: radial-gradient(circle at 30% 20%, #8A3197, var(--vino) 45%, var(--vino-ink)); color: #fff; }
.ph svg { width: 54px; height: 54px; fill: none; stroke: var(--gold-light); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ph span { font-family: var(--f-title); font-size: 17px; line-height: 1.25; }
.ph small { font-size: 12.5px; color: #EBD3E0; }
.ph-big { aspect-ratio: 4 / 3; border-radius: var(--r); }
.ph-big svg { width: 90px; height: 90px; }
.ph-big span { font-size: 26px; }
.ph-cat svg { width: 70px; height: 70px; margin-bottom: 60px; }
.img-missing { background: var(--vino-soft); }

/* ---------- Página de categoría ---------- */
.banner { position: relative; overflow: hidden; background: var(--vino-ink); color: #F3E3EC; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,10,51,.94), rgba(75,17,87,.72) 60%, rgba(75,17,87,.45)); }
.banner-plain { background: radial-gradient(circle at 85% 20%, #8A3197, var(--vino) 40%, var(--vino-ink)); }
.banner-plain::after { display: none; }
.banner-in { position: relative; z-index: 2; padding-block: 44px 48px; max-width: 1240px; }
.banner h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); margin: 10px 0 12px; max-width: 760px; }
.banner p { max-width: 640px; font-size: 17px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #E6D2DD; }
.crumbs a { color: var(--gold-light); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs b { font-weight: 500; color: #fff; }
.crumbs.dark { color: var(--muted); margin-bottom: 22px; }
.crumbs.dark a { color: var(--vino); }
.crumbs.dark b { color: var(--ink); }
.shop { padding-top: 30px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14.5px; transition: border-color .2s, background .2s; }
.chip span { font-size: 12px; background: var(--vino-soft); color: var(--vino); border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.chip:hover { border-color: var(--vino); }
.chip.on { background: var(--vino); border-color: var(--vino); color: #fff; }
.chip.on span { background: var(--gold); color: var(--vino-ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.count { color: var(--muted); margin: 0; font-size: 15px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
.sort select { min-height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; color: var(--ink); }
.h-search { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }

/* ---------- Página de producto ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 56px; }
.gal-main { border-radius: var(--r); overflow: hidden; background: var(--vino-soft); border: 1px solid var(--line); }
.gal-img { width: 100%; max-height: 640px; object-fit: contain; background: #F4EEF1; }
.gal-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 84px; height: 84px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); background: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--vino); }
.pd-info { position: sticky; top: 150px; }
.pd-info h1 { font-size: clamp(30px, 3.4vw, 42px); margin-top: 8px; }
.pd-desc { font-size: 17px; }
.pd-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.pd-points li { position: relative; padding-left: 28px; color: var(--ink); }
.pd-points li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A0428' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pd-help { margin-top: 12px; font-size: 14px; color: var(--muted); }
.more-head h2 { font-size: clamp(24px, 3vw, 32px); }

/* ---------- Quiénes somos ---------- */
.about-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; position: relative; }
.about-img::after { content: ''; position: absolute; inset: 14px; border: 2px solid var(--gold); border-radius: 10px; pointer-events: none; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 16px; }
.about-copy p { font-size: 17px; }

/* ---------- Contacto ---------- */
.contact { background: var(--vino-ink); color: #EBD9E3; padding-block: clamp(56px, 7vw, 90px); }
.contact h2 { color: #fff; margin-bottom: 26px; }
.contact .eyebrow { color: var(--gold-light); }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(255,255,255,.08); fill: none; stroke: var(--gold); stroke-width: 1.8; flex-shrink: 0; }
.contact-list small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.contact-list span, .contact-list a { color: #fff; font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-size: 15px; }
.socials a:hover { border-color: var(--gold); color: var(--gold-light); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-form { background: #fff; color: var(--text); border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); border-top: 5px solid var(--gold); }
.contact-form h3 { font-family: var(--f-title); font-size: 28px; font-weight: 600; }
.contact-form > p { color: var(--muted); }
.cf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
.cf-grid .full { grid-column: 1 / -1; }
.cf-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.cf-grid input, .cf-grid select, .cf-grid textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; color: var(--ink); background: var(--bg-soft); }
.cf-grid textarea { resize: vertical; }
.cf-grid input:focus, .cf-grid select:focus, .cf-grid textarea:focus { outline: none; border-color: var(--vino); background: #fff; }
.cf-grid .bad { border-color: #C0263E; }
.cf-error { color: #B01F35; font-weight: 500; font-size: 14.5px; }

/* ---------- Pie ---------- */
.footer { background: #1D0724; color: #CDB5C2; padding-top: 50px; font-size: 15px; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 34px; }
.f-brand img { width: 170px; height: auto; background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.footer h4 { color: var(--gold-light); font-family: var(--f-title); font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; overflow-wrap: anywhere; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.f-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(30,158,85,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .h-info { display: none; }
  .h-wa { margin-left: auto; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-link { padding: 13px 12px; font-size: 14.5px; }
  .search { flex-basis: 220px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 130px; }
  .burger { display: block; }
  .header-in { flex-wrap: wrap; gap: 10px 14px; }
  .logo img { width: 118px; }
  .h-cta { order: 3; flex-basis: 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .h-quote { min-height: 42px; padding: 0 14px; font-size: 13px; }
  .h-cards { font-size: 12px; }
  .card-pills i { width: 34px; height: 22px; }
  .pill-mc b { top: 5px; width: 12px; height: 12px; } .pill-mc b:first-child { left: 7px; } .pill-mc b:last-child { left: 14px; }
  .h-wa svg { width: 44px; height: 44px; padding: 10px; }
  .h-wa b { font-size: 17px; } .h-wa small { font-size: 14px; }
  .nav { display: none; }
  .nav.open { display: block; max-height: calc(100vh - 150px); overflow-y: auto; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); }
  .nav-row { flex-direction: column-reverse; align-items: stretch; gap: 0; }
  .nav-in { flex-direction: column; padding-block: 4px 8px; }
  .search { flex-basis: auto; margin-block: 12px 4px; }
  .nav-link { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .drop { display: none; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(42,10,51,.55) 0%, rgba(42,10,51,.92) 70%); }
  .hero-in { flex-direction: column; align-items: flex-start; padding-block: 148px 40px; }
  .seal { position: absolute; top: 24px; right: 16px; width: 104px; height: 104px; }
  .seal b { font-size: 42px; }
  .seal span { font-size: 10.5px; }
  .trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd, .about-in, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .pd-info { position: static; }
  .footer-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .h-cards span:last-child { display: none; }
  .h-wa small { font-size: 13px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card h3 { font-size: 15px; }
  .price { font-size: 18px; }
  .price-ask { font-size: 14px; }
  .btn-wa { font-size: 13px; min-height: 44px; padding: 0 8px; gap: 6px; }
  .btn-wa svg { width: 16px; height: 16px; }
  .ph span { font-size: 14px; } .ph small { display: none; } .ph svg { width: 40px; height: 40px; }
  .cat-info b { font-size: 18px; }
  .trust-item svg { width: 40px; height: 40px; padding: 9px; }
  .trust-item b { font-size: 14px; }
  .cf-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Videos ---------- */
.video-sec { padding-bottom: 20px; }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 20px; justify-content: start; margin-bottom: 40px; }
.vid { margin: 0; }
.vid video { width: 100%; aspect-ratio: 9 / 16; max-width: 100%; object-fit: cover; border-radius: var(--r); background: var(--vino-ink); display: block; box-shadow: var(--shadow); }
.vid figcaption { margin-top: 10px; font-weight: 600; color: var(--ink); font-size: 15px; }
.card-video { position: absolute; left: 10px; top: 10px; background: var(--vino); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.h-videos { font-size: clamp(24px, 3vw, 32px); }
.h-wa small { font-weight: 700; color: var(--vino); }
@media (max-width: 900px) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 620px) { .videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .vid { scroll-snap-align: start; } }

/* Número de WhatsApp más grande en "Cotiza Ya!!" */
.h-wa b { font-size: 17px; }
.h-wa small { font-size: 24px; font-weight: 800; letter-spacing: .01em; color: var(--vino); line-height: 1.1; white-space: nowrap; }
@media (max-width: 900px) { .h-wa b { font-size: 14px; } .h-wa small { font-size: 20px; } }
@media (max-width: 380px) { .h-wa small { font-size: 18px; } .h-wa svg { width: 40px; height: 40px; padding: 9px; } }
@media (max-width: 620px) {
  .header-in { gap: 10px 8px; }
  .logo img { width: 96px; }
  .h-wa { gap: 8px; }
  .h-wa svg { width: 38px; height: 38px; padding: 8px; }
  .h-wa b { font-size: 13px; }
  .h-wa small { font-size: 18px; }
}
@media (max-width: 380px) { .logo img { width: 84px; } .h-wa small { font-size: 16.5px; } .h-wa svg { width: 34px; height: 34px; padding: 7px; } }
@media (max-width: 340px) { .h-wa b { display: none; } .logo img { width: 76px; } }
@media (max-width: 340px) { .h-wa small { font-size: 15px; } .burger { width: 40px; height: 40px; } .burger span { left: 10px; right: 10px; } .burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; } .burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); } .burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); } }
/* Título de portada: "10 años" / "transformando hogares" en dos líneas en computador */
.hero-copy { max-width: 960px; }
.hero h1 em { white-space: nowrap; }
@media (max-width: 1100px) { .hero h1 em { white-space: normal; } }
