/* =========================================================
   1. SISTEMA DE DISEÑO (paleta del folleto de VETAK)
   ========================================================= */
:root {
  --primary: #009CD8;        /* celeste del folleto */
  --primary-dark: #0080B6;
  --primary-deep: #00618C;
  --primary-soft: #D8F0FC;   /* celeste claro de los recuadros */
  --accent: #F8D040;         /* amarillo del sol del logo */
  --accent-dark: #EBBE1E;
  --accent-ink: #7A5C00;
  --accent-soft: #FEF5D0;
  --on-accent: #1E1E1E;
  --bg: #F3FAFE;
  --surface: #FFFFFF;
  --text: #1E1E1E;           /* negro del logo */
  --text-muted: #5A6B76;
  --border: #D3E9F4;
  --dark: #1B1F23;           /* fondo de la sección de trabajos */
  --success: #16A34A;
  --wa: #25D366;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(30,30,30,.06), 0 1px 3px rgba(30,30,30,.08);
  --shadow-md: 0 4px 6px -1px rgba(30,30,30,.07), 0 12px 26px -8px rgba(30,30,30,.14);
  --shadow-lg: 0 22px 44px -14px rgba(30,30,30,.30);
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --container: 1200px;
  --font-head: "Poppins", "Inter", system-ui, sans-serif;
}

/* =========================================================
   2. RESET Y BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

/* Encabezado de sección estilo boceto: línea + etiqueta + título */
.kicker { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 10px; }
.kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--accent); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; font-weight: 700; }
.sec-head > div { flex: 1 1 520px; }
.sec-head > p { flex: 0 1 380px; color: var(--text-muted); font-size: .98rem; }
.sec-head p { color: var(--text-muted); }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center .kicker { justify-content: center; }

/* =========================================================
   3. BOTONES
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: .98rem; transition: var(--transition); white-space: nowrap; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -6px rgba(235,190,30,.6); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-primary { background: var(--primary-dark); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-outline { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-deep); transform: translateY(-2px); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -6px rgba(37,211,102,.55); }
.btn-wa:hover { filter: brightness(.95); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(0,156,216,.45); outline-offset: 2px; }

/* =========================================================
   4. HEADER
   ========================================================= */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: var(--transition); }
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 60px; width: 60px; border-radius: 14px; box-shadow: 0 4px 12px -4px rgba(2,119,222,.5); transition: var(--transition); }
.logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a { display: block; padding: 8px 11px; font-size: .88rem; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent; transition: var(--transition); }
.nav-links a:hover { color: var(--primary-deep); }
.nav-links a.active { color: var(--primary-deep); border-bottom-color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; transition: var(--transition); }
.icon-btn:hover { background: var(--primary-soft); color: var(--primary-deep); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }
.nav-cta { padding: 11px 18px; font-size: .9rem; }

/* =========================================================
   5. HERO (foto de portada del boceto)
   ========================================================= */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-bg { position: absolute; inset: 0 0 0 auto; width: 64%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 18%, rgba(255,255,255,0) 52%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding: 64px 24px 40px; min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.hero-content { max-width: 540px; }
.hero-brand { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: .01em; color: var(--text); }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 700; margin-top: 6px; }
.hero h1 span { color: var(--primary); display: block; }
.hero p.lead { color: #3d4a52; margin: 18px 0 26px; font-size: 1.04rem; max-width: 500px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-md); font-size: .88rem; }
.hero-badge .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #DCFCE7; color: var(--success); }
.hero-badge strong { display: block; line-height: 1.2; }
.hero-badge span { color: var(--text-muted); font-size: .8rem; }
/* Fila de 4 rubros */
.hero-cats { position: relative; z-index: 2; margin-top: 40px; display: flex; flex-wrap: wrap; background: rgba(255,255,255,.95); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-width: 760px; }
.hero-cats a { display: flex; align-items: center; gap: 12px; padding: 16px 20px; flex: 1 1 170px; font-size: .86rem; font-weight: 600; line-height: 1.25; transition: var(--transition); border-radius: var(--radius-lg); }
.hero-cats a + a { border-left: 1px solid var(--border); }
.hero-cats a:hover { background: var(--primary-soft); color: var(--primary-deep); }
.hero-cats svg { flex-shrink: 0; color: var(--primary-deep); }

/* =========================================================
   6. TARJETAS DE SOLUCIONES (especialidad + integrales)
   ========================================================= */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; flex-direction: column; transition: var(--transition); }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sol-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--primary-soft); }
.sol-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sol-card:hover .sol-media img { transform: scale(1.06); }
.sol-body { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 18px 20px; }
.sol-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-deep); }
.sol-body h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.sol-body p { color: var(--text-muted); font-size: .88rem; line-height: 1.45; margin-top: 2px; }
.sol-go { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; transition: var(--transition); box-shadow: 0 6px 14px -6px rgba(235,190,30,.8); }
.sol-card:hover .sol-go { transform: translateX(3px); }
.sol-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 18px; margin-top: -6px; }
.sol-tags span { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); }
.integral { background: var(--surface); }

/* Calefones: ficha de modelos */
.heater { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; margin-top: 64px; }
.heater-visual { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-md); padding: 28px; border: 1px solid var(--border); position: relative; }
.heater-visual > img { width: 100%; height: auto; }
.heater-visual .made { position: absolute; top: 18px; left: 18px; background: var(--primary-soft); color: var(--primary-deep); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.heater-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.heater-thumbs button { border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.heater-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.heater-thumbs button:hover img { transform: scale(1.08); }
.heater-info h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.2; }
.heater-info > p { color: var(--text-muted); margin: 12px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips span { font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.model { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; transition: var(--transition); }
.model:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.model h4 { color: var(--primary); font-size: 1.1rem; font-weight: 700; }
.model .cap { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.1; margin: 6px 0 2px; }
.model .cap small { font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.model dl { font-size: .82rem; color: var(--text-muted); margin-top: 10px; display: grid; gap: 4px; }
.model dt { display: inline; font-weight: 600; color: var(--text); }
.model dd { display: inline; }
.heater-uses { font-size: .9rem; color: var(--text-muted); margin-bottom: 24px; }
.heater-uses strong { color: var(--text); }
.heater-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   7. ¿POR QUÉ ELEGIR VETAK?
   ========================================================= */
.why { background: linear-gradient(180deg, var(--bg), #E9F5FC); }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.why-item { text-align: center; padding: 10px 18px; }
.why-item + .why-item { border-left: 1px solid var(--border); }
.why-ic { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); color: var(--primary-dark); box-shadow: var(--shadow-sm); transition: var(--transition); }
.why-item:hover .why-ic { background: var(--primary); color: #fff; transform: translateY(-4px); }
.why-item h3 { font-size: 1rem; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.why-item p { color: var(--text-muted); font-size: .88rem; line-height: 1.45; }

/* =========================================================
   8. TIENDA
   ========================================================= */
.shop { background: var(--surface); }
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; background: var(--surface); border: 1.5px solid var(--border); color: var(--text-muted); transition: var(--transition); }
.filter-btn:hover { border-color: var(--primary); color: var(--primary-deep); }
.filter-btn.active { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; box-shadow: 0 6px 14px -4px rgba(0,128,182,.45); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.product-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; flex-direction: column; transition: var(--transition); animation: fadeUp .45s ease both; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--primary-soft); cursor: zoom-in; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.tag { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--surface); color: var(--primary-deep); box-shadow: var(--shadow-sm); }
.tag.hot { background: var(--accent); color: var(--on-accent); }
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.product-title { font-size: 1.02rem; font-weight: 600; margin: 4px 0 6px; line-height: 1.35; }
.product-desc { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; margin-bottom: 16px; flex-wrap: wrap; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); }
.price.ask { font-size: 1.02rem; }
.price-old { color: var(--text-muted); text-decoration: line-through; font-size: .95rem; }
.add-btn { width: 100%; padding: 12px; }
.add-btn.added { background: var(--success); color: #fff; box-shadow: none; }

/* =========================================================
   9. TRABAJOS (fondo oscuro como el boceto)
   ========================================================= */
.projects { background: var(--dark); color: #fff; }
.projects .kicker { color: #8FD3F0; }
.projects .sec-head p { color: #A9B4BC; }
.projects .filter-btn { background: transparent; border-color: #3A434B; color: #C4CDD3; }
.projects .filter-btn:hover { border-color: var(--primary); color: #fff; }
.projects .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.works { columns: 5 200px; column-gap: 12px; }
.works button { display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; border-radius: 10px; overflow: hidden; position: relative; cursor: zoom-in; background: #2A3036; animation: fadeUp .4s ease both; }
.works img { width: 100%; height: auto; transition: transform .5s ease; }
.works button:hover img { transform: scale(1.05); }
.works figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; text-align: left; color: #fff; font-size: .78rem; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.7)); opacity: 0; transform: translateY(6px); transition: var(--transition); }
.works button:hover figcaption, .works button:focus-visible figcaption { opacity: 1; transform: none; }
.works-more { text-align: center; margin-top: 24px; }

/* =========================================================
   10. FRANJA FINAL "Tu próximo proyecto empieza acá"
   ========================================================= */
.cta-band { position: relative; color: #fff; overflow: hidden; background: #1d2a33 url("media/hero-casa.jpg") center 78% / cover no-repeat; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,16,20,.92) 0%, rgba(12,16,20,.72) 55%, rgba(12,16,20,.5) 100%); }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-top: 52px; padding-bottom: 52px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; font-weight: 700; }
.cta-band h2 span { color: var(--accent); display: block; }
.cta-band p { color: #E5E7EB; max-width: 300px; border-left: 2px solid rgba(255,255,255,.3); padding-left: 18px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   11. CONTACTO
   ========================================================= */
.cta-box { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(248,216,72,.45), transparent 70%); left: -120px; bottom: -160px; }
.cta-box > * { position: relative; z-index: 1; min-width: 0; }
.cta-box h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; }
.cta-box > div > p { opacity: .88; margin: 12px 0 24px; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 13px 18px; border-radius: var(--radius); transition: var(--transition); }
.contact-list a:hover { background: rgba(255,255,255,.2); transform: translateX(4px); }
.contact-list small { display: block; opacity: .78; font-size: .8rem; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; background: #fff; color: var(--text); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.map-sketch { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 24px 0; gap: 14px; }
.map-sketch img { width: 100%; max-width: 420px; height: auto; }
.map-sketch figcaption { font-size: .92rem; color: var(--text-muted); text-align: center; max-width: 400px; }
.map-sketch strong { color: var(--text); }
.map-btn { align-self: center; margin: 16px 0 24px; }

/* =========================================================
   12. FOOTER
   ========================================================= */
.footer { background: var(--text); color: #D4D4D4; padding: 72px 0 28px; margin-top: 88px; border-top: 6px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 64px; width: auto; }
.footer p { color: #A3A3A3; font-size: .95rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: #A3A3A3; transition: var(--transition); }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: #2C2C2C; display: grid; place-items: center; transition: var(--transition); }
.socials a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--radius); border: 1px solid #3A3A3A; background: #2C2C2C; color: #fff; }
.newsletter input::placeholder { color: #8A8A8A; }
.newsletter .btn { padding: 12px 18px; }
.form-msg { font-size: .85rem; margin-top: 8px; min-height: 1.2em; }
.form-msg.error { color: #FCA5A5; }
.footer-bottom { border-top: 1px solid #2C2C2C; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .875rem; color: #8A8A8A; }

/* =========================================================
   13. PANEL "MI PRESUPUESTO", LIGHTBOX, TOAST, WHATSAPP
   ========================================================= */
.overlay { position: fixed; inset: 0; background: rgba(30,30,30,.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: var(--transition); z-index: 90; }
.overlay.open { opacity: 1; visibility: visible; }
.cart-panel { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); z-index: 100; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.cart-panel.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.cart-head h3 { font-size: 1.2rem; font-weight: 600; }
.cart-head h3 small { color: var(--text-muted); font-weight: 500; font-size: .9rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--primary-soft); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info h4 { font-family: "Inter", sans-serif; font-size: .925rem; font-weight: 600; line-height: 1.3; }
.cart-info .unit { font-size: .8rem; color: var(--text-muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; margin-top: 8px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; font-weight: 700; color: var(--text-muted); transition: var(--transition); }
.qty button:hover { color: var(--primary-deep); background: var(--primary-soft); }
.qty span { min-width: 30px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-item-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: .9rem; }
.remove-btn { color: var(--text-muted); padding: 4px; border-radius: 6px; transition: var(--transition); }
.remove-btn:hover { color: #DC2626; background: #FEE2E2; }
.cart-empty { text-align: center; padding: 64px 12px; color: var(--text-muted); }
.cart-empty svg { margin: 0 auto 16px; opacity: .5; }
.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--border); background: var(--bg); }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--text-muted); font-size: .95rem; }
.sum-row.total { color: var(--text); font-size: 1.2rem; font-weight: 800; margin: 8px 0 6px; }
.sum-row.total span:last-child { color: var(--primary-dark); }
.cart-note { font-size: .82rem; color: var(--text-muted); margin-bottom: 16px; }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(30,30,30,.9); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: var(--transition); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner { max-width: min(92vw, 1000px); max-height: 86vh; display: grid; place-items: center; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 80vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; }
.lightbox-nav.prev { left: 16px; } .lightbox-nav.next { right: 16px; }
.lightbox-nav[hidden] { display: none; }
.lightbox-caption { color: #fff; text-align: center; margin-top: 12px; font-weight: 500; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); z-index: 130; background: var(--text); color: #fff; padding: 14px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; transition: transform .35s ease; max-width: calc(100% - 32px); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { flex-shrink: 0; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6); transition: var(--transition); }
.wa-float:hover { transform: scale(1.08); }

.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-ready .reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   14. RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .nav-cta span { display: none; }
  .nav-cta { padding: 11px 13px; }
}
@media (max-width: 1024px) {
  .menu-toggle { display: grid; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 2px; background: var(--surface); padding: 12px 16px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: var(--transition); }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 16px; border-bottom: none; border-left: 3px solid transparent; }
  .nav-links a.active { border-left-color: var(--primary); background: var(--primary-soft); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .why-item:nth-child(4) { border-left: none; }
  .heater { grid-template-columns: 1fr; gap: 36px; }
  .heater-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero-bg { position: relative; width: 100%; height: 300px; inset: auto; }
  .hero-bg::before { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 40%); }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { min-height: 0; padding: 8px 16px 36px; margin-top: -40px; }
  .hero-cats { overflow: hidden; }
  .hero-cats a { flex: 1 1 50%; padding: 14px; border-radius: 0; }
  .hero-cats a + a { border-left: none; }
  .hero-cats a:nth-child(even) { border-left: 1px solid var(--border); }
  .hero-cats a:nth-child(n+3) { border-top: 1px solid var(--border); }
  .cards-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item, .why-item + .why-item { border-left: none; }
  .why-item:last-child { grid-column: span 2; }
  .models { grid-template-columns: 1fr; }
  .works { columns: 2; column-gap: 10px; }
  .works button { margin-bottom: 10px; }
  .works figcaption { opacity: 1; transform: none; font-size: .7rem; padding: 20px 8px 6px; }
  .lightbox-nav { top: auto; bottom: 20px; transform: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .logo img { height: 52px; width: 52px; border-radius: 12px; }
  .nav-cta { display: none; }
  .hero-ctas .btn, .heater-ctas .btn, .cta-band .btn { width: 100%; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 28px 20px; border-radius: 20px; }
  .cta-band p { border-left: none; padding-left: 0; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   15. AGREGADOS: palabra VETAK con la letra del logo, tarjetas x4, página de calefones
   ========================================================= */
.hero-brand img { height: clamp(42px, 6.4vw, 70px); width: auto; }
.word-inline { display: inline-block; height: .74em; width: auto; vertical-align: baseline; margin: 0 .06em; }
.sol-card.static { cursor: default; }
.sol-body.no-go { grid-template-columns: auto 1fr; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-4 .sol-ic { display: none; }
.cards-4 .sol-body { grid-template-columns: 1fr auto; }
.page-hero { background: linear-gradient(180deg, #E4F4FC, var(--bg)); padding: 40px 0 8px; }
.crumbs { font-size: .88rem; color: var(--text-muted); margin-bottom: 14px; }
.crumbs a { color: var(--primary-deep); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; font-weight: 700; }
.page-hero h1 .word-inline { height: .76em; }
.page-hero p { color: var(--text-muted); max-width: 620px; margin-top: 10px; }
.heater.solo { margin-top: 0; }
.mini-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mini-gallery button { border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; cursor: zoom-in; background: var(--primary-soft); }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mini-gallery button:hover img { transform: scale(1.06); }
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 .sol-ic { display: grid; }
  .cards-4 .sol-body { grid-template-columns: auto 1fr auto; }
  .mini-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .cards-4 { grid-template-columns: 1fr; }
  .mini-gallery { grid-template-columns: repeat(2, 1fr); }
}

.cta-band + .footer, main:has(> .cta-band:last-child) + .footer { margin-top: 0; }
.cards-4 .sol-body.no-go { grid-template-columns: 1fr; }
@media (max-width: 1024px) { .cards-4 .sol-body.no-go { grid-template-columns: auto 1fr; } }
.pay-note { display: inline-block; margin: 14px auto 0; padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .92rem; font-weight: 500; }
.pay-note strong { color: var(--text); }
.pay-note.left { margin: 0 0 16px; }
.sec-side { flex: 0 1 380px; }
.sec-side p { color: var(--text-muted); font-size: .98rem; }
.energy-badge { margin-top: 14px; }
