/* Ofercam — colores tomados del logo */
:root {
  --brand: #48698f;
  --brand-600: #3a5779;
  --brand-700: #2b4361;
  --brand-100: #e4ebf4;
  --brand-50: #f2f6fa;
  --brand-light: #a5b6d5;
  --ink: #142235;
  --text: #2d3a4b;
  --muted: #5f6d7f;
  --line: #dde4ec;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --navy: #1A2B4C;
  --ok: #1f8a4c;
  --wa: #1fa855;
  --sale: #c0392b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(26, 43, 76, .06), 0 8px 24px rgba(26, 43, 76, .07);
  --shadow-lg: 0 24px 60px rgba(26, 43, 76, .18);
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; } /* el atributo hidden siempre oculta, aunque la clase defina display */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #c9d4e3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--brand-light); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.section--dark .lead { color: #aebbd0; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem/1 var(--font); padding: 15px 24px; border-radius: 10px;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188a46; color: #fff; }
.btn-block { width: 100%; white-space: normal; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Barra superior y encabezado */
.topbar { background: var(--navy); color: #b8c5d8; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-extra { display: none; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo img { height: 52px; width: auto; }
@media (min-width: 640px) { .header .wrap { min-height: 96px; } .logo img { height: 64px; } }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); font-weight: 500; font-size: .94rem; padding: 8px 11px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.cart-btn:hover { border-color: var(--brand); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 11px; background: var(--brand-600); color: #fff; font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.cart-count[hidden] { display: none; }
.menu-btn { display: inline-flex; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }
.header-cta { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 20px 16px; background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; width: 100%; }

@media (min-width: 1180px) {
  .nav { display: flex; align-items: center; }
  .header-actions { margin-left: 8px; }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; }
  .topbar-extra { display: inline; }
}

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,43,76,.96) 0%, rgba(26,43,76,.85) 45%, rgba(26,43,76,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 span { color: var(--brand-light); }
.hero .lead { color: #c3cfdf; font-size: 1.18rem; max-width: 620px; }
.hero .eyebrow { color: var(--brand-light); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 44px; }
.hero-proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; max-width: 760px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-proof div { font-size: .92rem; color: #b8c5d8; line-height: 1.45; }
.hero-proof strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
@media (min-width: 800px) { .hero-proof { grid-template-columns: repeat(4, 1fr); } .hero .wrap { padding-top: 130px; padding-bottom: 120px; } }

/* Marcas */
.brands { padding: 34px 0; border-bottom: 1px solid var(--line); }
.brands p { text-align: center; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 44px; }
.brands-row img { height: 28px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.brands-row img:hover { filter: none; opacity: 1; }
.brands-row img.tall { height: 40px; }

/* Grillas */
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split--rev > :first-child { order: 2; } }

/* Automonitoreo */
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.checks .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; }
.section--dark .checks .ico { background: rgba(165,182,213,.14); color: var(--brand-light); }
.checks .ico svg { width: 21px; height: 21px; }
.checks strong { display: block; color: var(--ink); margin-bottom: 2px; }
.section--dark .checks strong { color: #fff; }
.checks span { font-size: .95rem; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 56px; font-size: .95rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { color: #fff; font-family: var(--font-head); font-size: .95rem; background: rgba(255,255,255,.04); }
.compare thead th:last-child { color: var(--brand-light); }
.compare td:first-child { color: #fff; font-weight: 600; width: 32%; }
.compare td:last-child { color: #fff; }
.table-scroll { overflow-x: auto; }

/* Tarjetas */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #cfd8e3; }
.card-media { aspect-ratio: 16 / 10; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-link { margin-top: auto; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.sector .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sector .ico svg { width: 24px; height: 24px; }
.sector p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Proceso */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 800 .9rem var(--font-head); color: var(--brand); display: block; margin-bottom: 14px; letter-spacing: .05em; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Destacado ahorro */
.callout { display: grid; gap: 28px; align-items: center; background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #dce5f1; border-radius: 20px; padding: 44px 32px; }
.callout h2 { color: #fff; }
.callout p { margin: 0; }
@media (min-width: 900px) { .callout { grid-template-columns: 1.6fr 1fr; padding: 56px; } .callout .btns { justify-self: end; } }
.callout .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Productos */
.product-card { position: relative; }
.product-card .card-media { aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.product-card .card-media img { padding: 22px; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--brand-600); color: #fff; }
.badge--sale { background: var(--sale); }
.badge--quote { background: var(--navy); }
.product-card h3 { font-size: 1.04rem; margin-bottom: 6px; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card .card-body p { font-size: .9rem; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 4px; }
.price-now { font: 800 1.3rem var(--font-head); color: var(--ink); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .92rem; }
.price-save { color: var(--sale); font-size: .8rem; font-weight: 700; }
.price-net { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.price-quote { font: 700 1.05rem var(--font-head); color: var(--brand-700); margin-bottom: 16px; }
.product-card .btn { position: relative; z-index: 2; margin-top: auto; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: 9px 16px; border-radius: 999px; font: 600 .9rem var(--font); cursor: pointer; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-head .lead { margin: 0; }

.info-strip { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 800px) { .info-strip { grid-template-columns: repeat(3, 1fr); } }
.info-strip div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .92rem; color: var(--muted); }
.info-strip strong { display: block; color: var(--ink); }

/* Ficha de producto */
.pdp { display: grid; gap: 40px; padding: 48px 0 88px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.pdp > *, .checkout > *, .split > * { min-width: 0; }
.pdp-media { background: #fff; border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; position: relative; }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; padding: 36px; }
.pdp h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.pdp .price-now { font-size: 2rem; }
.pdp-meta { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.qty-row { display: flex; gap: 12px; margin: 22px 0 14px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 44px; height: 48px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 52px; height: 48px; border: 0; text-align: center; font: 600 1rem var(--font); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row .btn { flex: 1; min-width: 200px; }
.includes { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.includes li { position: relative; padding-left: 28px; font-size: .96rem; }
.includes li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b4361' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.notice { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .93rem; margin-top: 22px; }
.notice strong { color: var(--ink); }
.pdp-box { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 22px; }

/* Panel del carrito */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(26,43,76,.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .25s ease, visibility .25s; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); visibility: hidden; }
body.drawer-open .drawer { visibility: visible; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.2rem; margin: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; border: 0; background: transparent; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; display: grid; gap: 10px; }
.empty { text-align: center; padding: 48px 10px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; color: var(--brand-light); margin: 0 auto 12px; }

.line { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line img { width: 68px; height: 68px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }
.line-name { font-weight: 600; color: var(--ink); font-size: .94rem; line-height: 1.35; display: block; margin-bottom: 4px; }
.line-unit { font-size: .82rem; color: var(--muted); }
.line-total { font-weight: 700; color: var(--ink); font-size: .95rem; text-align: right; }
.line-tools { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line .qty button { width: 32px; height: 32px; font-size: 1rem; }
.line .qty input { width: 36px; height: 32px; font-size: .9rem; }
.remove { border: 0; background: none; color: var(--muted); font-size: .82rem; cursor: pointer; text-decoration: underline; padding: 0; }
.remove:hover { color: var(--sale); }
.totals { display: grid; gap: 6px; font-size: .94rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .muted { color: var(--muted); font-size: .86rem; }
.totals .grand { font: 800 1.15rem var(--font-head); color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }

/* Checkout */
.checkout { display: grid; gap: 32px; padding: 44px 0 88px; align-items: start; }
@media (min-width: 980px) { .checkout { grid-template-columns: 1.45fr 1fr; gap: 48px; } .summary { position: sticky; top: 96px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.2rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.panel h2 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-600); color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.field label { display: block; font-size: .87rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink); padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field .err { display: none; color: var(--sale); font-size: .82rem; margin-top: 5px; }
.field.invalid input, .field.invalid select { border-color: var(--sale); }
.field.invalid .err { display: block; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; font-size: .93rem; color: var(--text); line-height: 1.35; }
.seg span strong { display: block; color: var(--ink); }
.seg input:checked + span { border-color: var(--brand-600); background: var(--brand-50); box-shadow: 0 0 0 1px var(--brand-600) inset; }
.seg input:focus-visible + span { outline: 3px solid var(--brand-light); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-600); flex: none; }
.legal { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.pay-logos { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.pay-logos img { height: 34px; width: auto; }
.success { text-align: center; padding: 64px 0 96px; max-width: 640px; margin: 0 auto; }
.success .ok { width: 68px; height: 68px; border-radius: 50%; background: #e3f4ea; color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.success .ok svg { width: 34px; height: 34px; }
.success .order-id { font: 800 1.1rem var(--font-head); color: var(--brand-700); background: var(--brand-50); display: inline-block; padding: 8px 14px; border-radius: 8px; margin-bottom: 18px; }
.next-steps { text-align: left; margin: 28px 0; display: grid; gap: 12px; }
.next-steps div { display: grid; grid-template-columns: 32px 1fr; gap: 12px; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; }
.next-steps b { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-600); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* Preguntas frecuentes */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 700 1.05rem var(--font-head); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contacto */
.contact-card { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); color: var(--text); }
.contact-card h3 { margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(165,182,213,.14); color: var(--brand-light); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-list .ico svg { width: 21px; height: 21px; }
.contact-list small { display: block; color: #8fa0b8; font-size: .8rem; }
.contact-list a, .contact-list strong { color: #fff; font-weight: 600; }

/* Pie de página */
.footer { background: var(--navy); color: #8fa0b8; font-size: .92rem; padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 44px; width: auto; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: #b8c5d8; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }
.footer .webpay { background: #fff; border-radius: 8px; padding: 6px 10px; display: inline-block; margin-top: 6px; }
.footer .webpay img { height: 30px; width: auto; }

/* WhatsApp flotante y aviso */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(31,168,85,.38); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 120; display: flex; align-items: center; gap: 14px; font-size: .94rem; transition: transform .25s ease, visibility .25s; max-width: calc(100% - 32px); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast button { background: none; border: 0; color: var(--brand-light); font: 700 .94rem var(--font); cursor: pointer; padding: 0; white-space: nowrap; }

@media (max-width: 639px) {
  .section { padding: 64px 0; }
  .hero-ctas .btn { width: 100%; }
  .callout { padding: 34px 22px; }
  .callout .btns .btn { width: 100%; }
  .panel { padding: 20px; }
  .compare td:first-child { width: auto; }
}
/* Blog */
.post-card .card-media { aspect-ratio: 16 / 10; }
.post-card .card-media img { object-fit: cover; padding: 0; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.post-meta span:first-child { color: var(--brand-600); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; }

.article-head { padding: 56px 0 36px; }
.article-head .wrap, .article .wrap { max-width: 780px; }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }
.article-head .lead { margin-bottom: 22px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; color: var(--muted); }
.byline strong { color: var(--ink); font-weight: 600; }
.article-cover { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.article-cover img { width: 100%; border-radius: 18px; aspect-ratio: 16 / 8; object-fit: cover; background: var(--bg-soft); }
.article { padding: 48px 0 72px; }
.prose { font-size: 1.07rem; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.18rem; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand-light); color: var(--ink); font-size: 1.12rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1.4em; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-soft); }
.prose .table-scroll { margin-bottom: 1.4em; }
.prose .table-scroll table { margin: 0; min-width: 520px; }
.post-cta { margin-top: 44px; background: var(--navy); color: #c9d4e3; border-radius: 18px; padding: 32px; }
.post-cta h2 { color: #fff; font-size: 1.4rem; margin: 0 0 .4em; }
.post-cta p { margin: 0 0 20px; }
.post-cta .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Preguntas frecuentes */
.faq-group { margin-bottom: 52px; }
.faq-group > h2 { font-size: 1.35rem; margin-bottom: 4px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.faq-help { max-width: 820px; margin: 0 auto; text-align: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Componentes del sitio Astro ===== */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
mark.verificar { background: #fff3bf; color: #7a4b00; border: 1px dashed #e0a800; border-radius: 4px; padding: 1px 5px; font-size: .92em; font-weight: 600; }
.placeholder { text-align: center; max-width: 760px; margin: 0 auto; color: var(--muted); }

/* Menú desplegable de servicios */
.dropdown { position: relative; }
.dropdown-btn { display: inline-flex; align-items: center; gap: 4px; font: 500 .94rem var(--font); color: var(--text); background: none; border: 0; padding: 8px 11px; border-radius: 8px; cursor: pointer; }
.dropdown-btn svg { width: 16px; height: 16px; transition: transform .15s; }
.dropdown-btn:hover, .dropdown-btn[data-current] { color: var(--brand-700); background: var(--brand-50); }
.dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: .94rem; }
.dropdown-menu a:hover, .dropdown-menu a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown:hover .dropdown-btn svg, .dropdown.open .dropdown-btn svg { transform: rotate(180deg); }
.dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.mobile-nav-title { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 4px 4px; }
.mobile-nav a.sub { padding-left: 14px; font-size: .95rem; }

/* Migas de pan */
.breadcrumb { font-size: .86rem; color: var(--muted); border-bottom: 1px solid var(--line); background: #fff; }
.breadcrumb ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; color: #b9c4d2; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb [aria-current] { color: var(--ink); }

/* Hero de servicio */
.hero-servicio { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero-servicio .wrap { display: grid; gap: 36px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero-servicio h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.hero-servicio .hero-ctas { margin: 26px 0 0; }
.hero-servicio-media { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; aspect-ratio: 16 / 11; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-servicio-media img { max-height: 100%; object-fit: contain; }
@media (min-width: 980px) { .hero-servicio .wrap { grid-template-columns: 1.15fr 1fr; gap: 56px; padding-top: 72px; padding-bottom: 72px; } }

.dolor h2 { margin-bottom: 22px; }
.dolor-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 800px) { .dolor-lista { grid-template-columns: 1fr 1fr; } }
.dolor-lista li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink); }

.prose-wrap { max-width: 820px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.section--dark .feature .ico { background: rgba(165,182,213,.14); color: var(--brand-light); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0 0 10px; }
.section--dark .feature p { color: #aebbd0; }
.feature-tag { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--brand-700); background: var(--brand-50); border-radius: 6px; padding: 3px 8px; }
.section--dark .feature-tag { color: var(--brand-light); background: rgba(165,182,213,.1); }
.ia-aviso { margin: 26px 0 0; font-size: .92rem; color: var(--muted); max-width: 860px; }
.section--dark .ia-aviso { color: #aebbd0; }
.section--dark .ia-aviso a { color: #fff; }

.steps { list-style: none; padding: 0; margin: 0; }

/* Caja CTA */
.caja-cta { background: var(--navy); color: #c9d4e3; border-radius: 18px; padding: 28px; display: grid; gap: 20px; align-items: center; margin: 36px 0; }
.caja-cta p { margin: 0; }
.caja-cta .caja-cta-titulo { font: 800 1.3rem var(--font-head); color: #fff; margin-bottom: 4px; }
.caja-cta .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 800px) { .caja-cta { grid-template-columns: 1.4fr auto; padding: 32px 36px; } }

/* Enlaces a preguntas */
.enlaces-preguntas h2 { font-size: 1.4rem; margin-bottom: 18px; }
.lista-preguntas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 800px) { .lista-preguntas { grid-template-columns: 1fr 1fr; } }
.lista-preguntas a { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink); font-weight: 600; height: 100%; }
.lista-preguntas a:hover { border-color: var(--brand); color: var(--brand-700); }
.lista-preguntas svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.faq > h2 { margin-bottom: 8px; }

/* Testimonios */
.testimonio { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.testimonio blockquote { margin: 0 0 14px; color: var(--ink); }
.testimonio figcaption span { display: block; color: var(--muted); font-size: .9rem; }

/* Artículos de preguntas y blog */
.articulo-head { padding: 44px 0 8px; }
.articulo-head .wrap, .articulo .wrap { max-width: 780px; }
.articulo-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.respuesta { background: var(--brand-50); border: 1px solid var(--brand-100); border-left: 4px solid var(--brand-600); border-radius: var(--radius-sm); padding: 18px 20px; font-size: 1.08rem; color: var(--ink); margin: 22px 0 0; }
.respuesta-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 6px; }
.respuesta p { margin: 0; }
.articulo { padding: 24px 0 56px; }
.servicio-rel { margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.servicio-rel p { margin: 0; color: var(--muted); }
.servicio-rel strong { display: block; color: var(--ink); }
.banner-borrador { background: #fff3bf; color: #7a4b00; border-bottom: 1px solid #f0d27a; text-align: center; padding: 10px 16px; font-size: .9rem; font-weight: 600; }
.badge-borrador { background: #fff3bf; color: #7a4b00 !important; border-radius: 4px; padding: 1px 6px; }

/* Buscador del hub */
.buscador { position: relative; max-width: 560px; margin-top: 26px; }
.buscador svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.buscador input { width: 100%; font: 400 1rem var(--font); padding: 14px 16px 14px 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.buscador input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.sin-resultados { color: var(--muted); }

/* Guía de precios */
.tabla-precios { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: .95rem; min-width: 560px; }
.tabla-precios th, .tabla-precios td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabla-precios th { background: var(--bg-soft); color: var(--ink); }

/* Contacto */
.contacto-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .contacto-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.datos-contacto { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.datos-contacto li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.datos-contacto .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; flex: none; }
.datos-contacto .ico svg { width: 20px; height: 20px; }
.datos-contacto small { display: block; color: var(--muted); font-size: .8rem; }
.datos-contacto a, .datos-contacto strong { color: var(--ink); font-weight: 600; }
.contact-card.flat { box-shadow: none; border: 1px solid var(--line); }

.footer-h { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer .nap li { color: #b8c5d8; }
.footer mark.verificar { font-size: .8rem; }

.card-link svg, .btn svg { width: 18px; height: 18px; flex: none; }
.card-link svg { width: 16px; height: 16px; }
.pdp-box .h3 { font-size: 1.15rem; }
.hero .notice, .hero-servicio .notice { margin-top: 22px; }

/* ===================================================================
   Ajustes para WordPress (bloques, plantillas y WooCommerce)
   =================================================================== */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
:where(.is-layout-flow) > * { margin-block-start: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Encabezado: la barra superior se va al hacer scroll y el menú queda fijo */
.site-header { position: sticky; top: -38px; z-index: 50; }
.admin-bar .site-header { top: -6px; }
.site-header .header { position: static; }
.header .wc-block-mini-cart__button { width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0; justify-content: center; color: var(--ink); }
.header .wc-block-mini-cart__badge { background: var(--brand-600); color: #fff; border: 2px solid #fff; font-weight: 700; }
.header .wc-block-mini-cart__amount { display: none; }

/* Botones de bloque con el mismo aspecto del prototipo */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button__link, .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem/1 var(--font); padding: 15px 24px; border-radius: 10px;
  border: 1.5px solid transparent; background: var(--brand-600); color: #fff; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.wp-block-button__link:hover, .wp-element-button:hover { background: var(--brand-700); color: #fff; }
.wp-block-button.btn-wa .wp-block-button__link { background: var(--wa); }
.wp-block-button.btn-wa .wp-block-button__link:hover { background: #188a46; }
.wp-block-button.btn-outline .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--ink); border-color: var(--line); }
.wp-block-button.btn-outline .wp-block-button__link:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--brand); color: var(--brand-700); }
.wp-block-button.btn-ghost-light .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.wp-block-button.btn-ghost-light .wp-block-button__link:hover { background: rgba(255,255,255,.1); }
@media (max-width: 639px) { .hero .wp-block-buttons .wp-block-button, .hero .wp-block-buttons .wp-block-button__link { width: 100%; } }

/* Contenido de bloques dentro de secciones */
.wp-block-image { margin: 0; }
.wp-block-image img { height: auto; }
.prose .wp-block-image { margin: 0 0 1.4em; }
.prose .wp-block-table { margin: 0 0 1.4em; overflow-x: auto; }
.prose .wp-block-table table { min-width: 520px; }
.prose .wp-block-table td, .prose .wp-block-table th { border: 0; border-bottom: 1px solid var(--line); }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-quote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand-light); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }
.hero h1 .resaltado, .hero h1 span { color: var(--brand-light); }
.hero-media img, .split img { border-radius: 14px; }
.split > .wp-block-group, .split > div { min-width: 0; }

/* Detalles (FAQ) */
.faq .wp-block-details { border-bottom: 1px solid var(--line); }
.faq .wp-block-details summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 700 1.05rem var(--font-head); color: var(--ink); position: relative; }
.faq .wp-block-details summary::-webkit-details-marker { display: none; }
.faq .wp-block-details summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); }
.faq .wp-block-details[open] summary::after { content: "–"; }
.faq .wp-block-details > :not(summary) { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Preguntas: metadatos y fecha */
.articulo-head .wp-block-post-terms, .articulo-head .wp-block-post-date { display: inline; font-size: .82rem; }
.articulo-head .post-meta a { color: var(--brand-600); }
.wp-block-post-title { margin-bottom: 16px; }

/* Blog */
.wp-block-post-template.grid { list-style: none; padding: 0; margin: 0; }
.wp-block-post-template.grid > li { margin: 0; }
.wp-block-post-featured-image img { border-radius: 16px; }
.wp-block-query-pagination { margin-top: 32px; gap: 12px; }

/* WooCommerce */
.price-net { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.wc-block-components-product-price .price-net, .wc-block-grid__product-price .price-net { text-align: inherit; }
.woocommerce-tienda { padding: 48px 0 88px; }
.wc-block-product-template { gap: 22px !important; }
.wc-block-product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 22px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.wc-block-product:hover { box-shadow: var(--shadow); border-color: #cfd8e3; }
.wc-block-product .wc-block-components-product-image { background: #fff; border-bottom: 1px solid var(--line); margin: 0 0 16px !important; aspect-ratio: 1 / 1; }
.wc-block-product .wc-block-components-product-image img { object-fit: contain !important; padding: 22px; aspect-ratio: 1 / 1; }
.wc-block-product .wp-block-post-title { font-size: 1.04rem !important; padding: 0 22px; margin-bottom: 8px; text-align: left !important; }
.wc-block-product .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.wc-block-product .wc-block-components-product-price { padding: 0 22px; text-align: left !important; font: 800 1.2rem var(--font-head); color: var(--ink); margin-bottom: 14px; }
.wc-block-product .wc-block-components-product-price del { font: 400 .9rem var(--font); color: var(--muted); }
.wc-block-product .wc-block-components-product-price ins { text-decoration: none; }
.wc-block-product .wp-block-button, .wc-block-product .wc-block-components-product-button { padding: 0 22px; margin-top: auto; width: 100%; }
.wc-block-product .wc-block-components-product-button__button { width: 100%; }
.wc-block-components-product-sale-badge { background: var(--sale) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; font-size: .72rem !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .04em; padding: 5px 9px !important; }
.single-product .pdp-info .wc-block-components-product-price { font: 800 2rem var(--font-head); color: var(--ink); margin-bottom: 4px; }
.single-product .pdp-info .wc-block-components-product-price del { font: 400 1rem var(--font); color: var(--muted); }
.single-product .pdp-info .wc-block-components-product-price ins { text-decoration: none; }
.single-product .wc-block-add-to-cart-form, .single-product .wp-block-add-to-cart-form { margin: 22px 0 14px; }
.single-product form.cart { display: flex; gap: 12px; flex-wrap: wrap; }
.single-product form.cart .quantity input { height: 50px; width: 70px; border: 1.5px solid var(--line); border-radius: 10px; text-align: center; font: 600 1rem var(--font); }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 200px; }
.single-product .wp-block-woocommerce-product-image-gallery { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.single-product .wc-tabs-wrapper, .single-product .woocommerce-tabs { margin-top: 26px; }
.woocommerce-checkout .wc-block-checkout, .woocommerce-cart .wc-block-cart { padding-bottom: 72px; }
.wc-block-components-button:not(.is-link) { border-radius: 10px; }

/* Pedido recibido: enviar por WhatsApp */
.pedido-wa { background: #e9f7ef; border: 1px solid #bfe6cf; border-radius: var(--radius); padding: 22px 24px; margin: 22px 0; }
.pedido-wa-titulo { font: 800 1.15rem var(--font-head); color: var(--ink); margin: 0 0 6px; }
.pedido-wa .btn { margin-top: 6px; }
.single-product .onsale.badge { position: absolute; top: 18px; left: 18px; z-index: 2; min-width: 0; min-height: 0; line-height: 1.2; margin: 0; }
.single-product .pdp-galeria { position: relative; }
.wc-block-checkout, .wc-block-cart { font-family: var(--font); }
.prose .caja-cta a.btn, .prose .caja-cta .wp-block-button__link { text-decoration: none; color: #fff; }
.prose .caja-cta .caja-cta-titulo { margin: 0 0 4px; }
.sitio-main :is(h1, h2, h3, h4).wp-block-heading { margin-block-end: .5em; }
.sitio-main .section-head > :last-child, .sitio-main .faq > h2 { margin-block-end: 8px; }

/* Buscador del centro de preguntas */
mark.hl { background: #fff1a8; color: inherit; border-radius: 3px; padding: 0 2px; }
.hub-estado { color: var(--muted); font-size: .92rem; margin: -10px 0 18px; min-height: 1.2em; }
.hub-vacio { text-align: center; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px 22px; margin-bottom: 28px; }
.hub-vacio p { margin: 0 0 8px; color: var(--muted); }
.hub-vacio .hub-vacio-titulo { font: 700 1.1rem var(--font-head); color: var(--ink); }
.hub-vacio .btn { margin-top: 10px; }
.hub-sugerencias { margin: 32px 0 8px; }
.hub-sugerencias-titulo { font: 800 1.1rem var(--font-head); color: var(--ink); margin: 0 0 12px; }
.hub-sugerencias ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 800px) { .hub-sugerencias ul { grid-template-columns: repeat(3, 1fr); } }
.hub-sugerencias a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--ink); }
.hub-sugerencias a:hover { border-color: var(--brand); }
.hub-sugerencias strong { display: block; margin-bottom: 4px; }
.hub-sugerencias span { display: block; font-size: .88rem; color: var(--muted); }

/* Urgencias */
.topbar strong { color: #fff; }
.nav a.nav-urgente { color: #b42318; font-weight: 700; }
.nav a.nav-urgente:hover, .nav a.nav-urgente[aria-current="page"] { background: #fdecea; color: #912018; }
.mobile-nav a.nav-urgente { color: #b42318; font-weight: 700; }
.mobile-nav .btn-wa { margin: 6px 0 10px; width: 100%; }
.header-cta svg { width: 16px; height: 16px; }
.header-tel { color: var(--ink); }
.header-tel svg { width: 20px; height: 20px; }
.callout-urgencia { background: linear-gradient(135deg, #7a1f1a, #b42318); }
.callout-urgencia .eyebrow { color: #ffd2cc; }
.seccion-urgencia { padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 1179px) { .header-cta { display: inline-flex; } }
@media (max-width: 420px) { .header-cta { padding: 9px 12px; } .logo img { height: 44px; } }

/* Inicio breve: tarjetas de servicio y "Por qué Ofercam" */
.servicios-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .servicios-tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.servicio-tile { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.servicio-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.servicio-tile .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; }
.servicio-tile .ico svg { width: 22px; height: 22px; }
.servicio-tile strong { font: 700 1rem/1.25 var(--font-head); }
.servicio-tile-texto { font-size: .88rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 639px) { .servicio-tile-texto { display: none; } .servicio-tile { padding: 14px 12px; } .servicio-tile strong { font-size: .92rem; } }
.seccion-servicios .section-head { margin-bottom: 28px; }
.seccion-porque h2 { text-align: center; margin-bottom: 26px; }
.porque { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 980px) { .porque { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.porque-item { display: flex; flex-direction: column; gap: 6px; background: var(--bg-soft); border-radius: var(--radius); padding: 18px 16px; color: var(--text); }
.porque-item:hover { background: var(--brand-50); color: var(--text); }
.porque-item .ico { color: var(--brand-700); }
.porque-item .ico svg { width: 26px; height: 26px; }
.porque-item strong { color: var(--ink); font-family: var(--font-head); }
.porque-item span:last-child { font-size: .88rem; color: var(--muted); }
@media (max-width: 639px) { .section { padding: 48px 0; } .seccion-urgencia { padding: 28px 0; } }

/* Dos caminos: urgencia (rojo) y cotizar (verde) */
.btn-urgente { background: #b42318; color: #fff; }
.btn-urgente:hover { background: #912018; color: #fff; }
.btn-cotizar { background: var(--ok); color: #fff; }
.btn-cotizar:hover { background: #18703d; color: #fff; }
.wp-block-button.btn-urgente .wp-block-button__link { background: #b42318; color: #fff; }
.wp-block-button.btn-urgente .wp-block-button__link:hover { background: #912018; }
.wp-block-button.btn-cotizar .wp-block-button__link { background: var(--ok); color: #fff; }
.wp-block-button.btn-cotizar .wp-block-button__link:hover { background: #18703d; }
.hero-ctas.dos-caminos { margin: 22px 0 30px; }
.dos-caminos .wp-block-button__link { font-size: 1.06rem; padding: 16px 26px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; }
.hero .lead { margin-bottom: 0; }
.mobile-nav .btn-urgente, .mobile-nav .btn-cotizar { margin: 6px 0; width: 100%; }
.mobile-nav .btn-cotizar { margin-bottom: 12px; }
@media (max-width: 639px) {
  .hero .wrap { padding-top: 32px; padding-bottom: 40px; }
  .hero .eyebrow { font-size: .72rem; margin-bottom: 8px; }
  .hero h1 { font-size: 1.85rem; line-height: 1.15; }
  .hero .lead { font-size: 1rem; }
  .hero-ctas.dos-caminos { margin: 18px 0 26px; gap: 10px; }
  .header-cta.btn-sm { padding: 8px 11px; font-size: .84rem; }
  .header-actions { gap: 6px; }
}
@media (max-width: 359px) { .header-cta.btn-cotizar { display: none; } }

/* Barra superior: el teléfono no se parte; en celular basta el ícono del encabezado */
.topbar-tel { white-space: nowrap; }
@media (max-width: 639px) { .topbar-tel { display: none; } .topbar .wrap { justify-content: center; text-align: center; } }

/* Botón flotante de WhatsApp: más arriba y más chico en celular, sin tapar el final de la página */
@media (max-width: 639px) {
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 22px; }
  .wa-float svg { width: 27px; height: 27px; }
  .footer { padding-bottom: 92px; }
}

/* Formulario */
.campo-trampa { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-estado { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #e8f5ee; color: #14532d; font-size: .94rem; }
.form-estado.error { background: #fdecea; color: #912018; }
.contact-list .comunas { margin-top: 6px; font-size: .88rem; }
.contact-list .comunas summary { cursor: pointer; color: inherit; text-decoration: underline; }
.contact-list .comunas p { margin: 6px 0 0; opacity: .85; line-height: 1.5; }
.comuna-pregunta { display: inline-block; margin-top: 6px; font-size: .88rem; font-weight: 600; }

/* Encabezado en celular: logo completo junto a Urgencia, Cotizar, teléfono y menú */
.logo { flex-shrink: 0; }
@media (max-width: 639px) {
  .header .wrap { gap: 10px; }
  .header-actions .menu-btn, .header-actions .header-tel { width: 40px; height: 40px; }
}
@media (max-width: 420px) {
  .logo img { height: 40px; }
  .header-cta.btn-urgente svg { display: none; }
}
.wa-float { transition: transform .15s, opacity .2s; }
.wa-float.wa-float-oculto { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* Regla de visitas: cotizar (gratis) y diagnóstico (con costo) */
.regla-grid { display: grid; gap: 16px; }
@media (min-width: 800px) { .regla-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.regla-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; }
.regla-cotizar { border-top: 4px solid var(--ok); }
.regla-diagnostico { border-top: 4px solid #b42318; }
.regla-col h3 { margin: 0 0 12px; font-size: 1.15rem; }
.regla-col dl { margin: 0 0 18px; display: grid; grid-template-columns: 7.5rem 1fr; gap: 10px 14px; font-size: .94rem; }
.regla-col dt { font-weight: 700; color: var(--ink); }
.regla-col dd { margin: 0; color: var(--text); }
.regla-col .btn { margin-top: auto; align-self: flex-start; }
.regla-nota { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
@media (max-width: 479px) { .regla-col dl { grid-template-columns: 1fr; gap: 2px; } .regla-col dd { margin-bottom: 8px; } .regla-col .btn { align-self: stretch; } }
.form-nota-visita { margin: 6px 0 0; font-size: .86rem; color: #912018; }

/* Insignias del hero: 3 */
@media (min-width: 800px) { .hero-proof { grid-template-columns: repeat(3, 1fr); max-width: 680px; } }
@media (max-width: 639px) { .hero-proof { grid-template-columns: 1fr; gap: 10px; padding-top: 20px; } .hero-proof strong { display: inline; margin-right: 6px; } }

/* Logo horizontal (símbolo + OFERCAM) */
.logo img { height: 52px; width: auto; }
@media (min-width: 640px) { .logo img { height: 46px; } }
@media (min-width: 1180px) and (max-width: 1365px) { .header .wrap { gap: 16px; } .nav a, .nav .dropdown-btn { padding-left: 9px; padding-right: 9px; } }
.topbar-tel { display: inline-flex; align-items: center; gap: 6px; }
.topbar-tel svg { width: 15px; height: 15px; }
@media (max-width: 639px) { .logo img { height: auto; width: 150px; } }
@media (max-width: 420px) {
  /* En celular el teléfono pasa a la barra superior para dar espacio al logo */
  .logo img { width: 124px; height: auto; }
  .header-actions .header-tel { display: none; }
  .topbar .wrap { justify-content: space-between; }
  .topbar-tel { display: inline-flex !important; }
  .topbar-tel span { display: none; }
  .topbar-tel svg { width: 17px; height: 17px; }
}

/* Escritorio: el teléfono ya está en la barra superior; se libera espacio para el logo y el menú */
@media (min-width: 1180px) { .header-actions .header-tel { display: none; } }

/* Clientes: logos reales, en gris y con color al pasar el mouse */
.brands--clientes { background: #fff; }
.brands--clientes .brands-row { gap: 22px 40px; max-width: 1040px; margin: 0 auto; }
.brands--clientes .brands-row img { height: 34px; max-width: 150px; }
.brands--clientes .brands-row img.tall { height: 52px; }
@media (max-width: 639px) {
  .brands--clientes .brands-row { gap: 18px 26px; }
  .brands--clientes .brands-row img { height: 26px; max-width: 112px; }
  .brands--clientes .brands-row img.tall { height: 42px; }
}

/* Primero evaluamos, después recomendamos */
.pasos-evaluar { display: grid; gap: 14px; }
@media (min-width: 800px) { .pasos-evaluar { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.paso-evaluar { display: flex; flex-direction: column; gap: 6px; background: var(--bg-soft); border-radius: var(--radius); padding: 18px 18px 20px; }
.paso-evaluar .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.paso-evaluar .ico svg { width: 21px; height: 21px; }
.paso-evaluar strong { color: var(--ink); font-family: var(--font-head); font-size: 1.02rem; }
.paso-evaluar span:last-child { color: var(--muted); font-size: .93rem; }
.evaluar-btns { margin-top: 22px; display: flex; justify-content: center; }
@media (max-width: 639px) { .paso-evaluar { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 14px 14px 16px; } .paso-evaluar .ico { margin: 0; } .paso-evaluar span:last-child { flex-basis: 100%; } .evaluar-btns .wp-block-button, .evaluar-btns .btn, .evaluar-btns .wp-block-button__link { width: 100%; } }

/* Condominios: franja en el inicio y bloque en empresas */
.franja-condominios { padding-top: 0; }
.franja { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 20px 22px; }
.franja-titulo { font: 700 1.1rem/1.3 var(--font-head); color: var(--ink); margin: 0 0 4px; }
.franja-texto p:last-child { margin: 0; color: var(--muted); }
.franja .btns, .franja .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.checks-simple { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks-simple li { position: relative; padding-left: 30px; }
.checks-simple li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.bloque-condominios { scroll-margin-top: 110px; }

/* Celular: secciones nuevas del inicio compactas (el detalle sigue visible en escritorio) */
@media (max-width: 639px) {
  .seccion-evaluamos .lead, .paso-evaluar span:last-child, .franja-texto p:last-child { display: none; }
  .seccion-evaluamos .section-head { margin-bottom: 16px; }
  .pasos-evaluar { gap: 8px; }
  .paso-evaluar { padding: 10px 14px; }
  .paso-evaluar .ico { width: 34px; height: 34px; }
  .evaluar-btns { margin-top: 14px; }
  .franja-condominios { padding-bottom: 36px; }
  .franja { padding: 16px; gap: 12px; }
  .franja .btns, .franja .wp-block-buttons { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .franja .wp-block-button, .franja .btns > .btn { flex: 1; }
  .franja .wp-block-button__link, .franja .btns > .btn { width: 100%; padding-left: 8px; padding-right: 8px; font-size: .9rem; }
}

/* Trabajos realizados: antes y después con fotos reales */
.trabajo-fotos { display: grid; gap: 14px; margin-bottom: 22px; }
@media (min-width: 720px) { .trabajo-fotos { grid-template-columns: 1fr 1fr; gap: 18px; } }
.trabajo-foto { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.trabajo-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trabajo-foto figcaption { position: absolute; left: 12px; top: 12px; background: var(--navy); color: #fff; font: 700 .78rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; }
.trabajo-items { grid-template-columns: 1fr; }
@media (min-width: 720px) { .trabajo-items { grid-template-columns: 1fr 1fr; } }
.seccion-trabajo { scroll-margin-top: 110px; }
.trabajo-tarjeta-img { width: 100%; height: auto; border-radius: var(--radius); display: block; }

.seccion-trabajo + .seccion-trabajo { background: var(--bg-soft); }

/* Descargas */
.descargas-salto { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.descargas-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .descargas-grid { grid-template-columns: repeat(2, 1fr); } }
.descargas-grid { max-width: 920px; }
.descarga { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.descarga-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.descarga-cab strong { font: 700 1.12rem/1.2 var(--font-head); color: var(--ink); }
.descarga-tipo { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-100); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.descarga p { margin: 0; color: var(--text); font-size: .95rem; }
.descarga .descarga-plataformas { color: var(--muted); font-size: .85rem; }
.descarga-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.descargas-aviso { font-size: .85rem; color: var(--muted); text-align: center; max-width: 760px; margin: 0 auto; }
.seccion-descargas { scroll-margin-top: 110px; }
