:root {
  --ink: #0b0b0c;
  --ink-2: #141416;
  --line: #2a2a2e;
  --gold: #d4af37;
  --gold-2: #f3d77a;
  --gold-3: #a8841f;
  --paper: #f6f3ec;
  --text: #ece7da;
  --muted: #a7a297;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 18px/1.6 var(--body); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hidden { display: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 700 18px/1 var(--display); letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: var(--ink); }
.btn-ghost { border-color: var(--gold); color: var(--text); background: rgba(11,11,12,.35); }
.btn-lg { padding: 18px 28px; font-size: 21px; }
.btn-sm { padding: 10px 16px; font-size: 16px; }

/* Barra de arriba */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11,11,12,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand img { height: 52px; width: auto; }
.links { display: flex; gap: 28px; }
.links a { font: 600 18px var(--display); letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--gold); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.lang { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 12px; font: 700 15px var(--display); letter-spacing: 1px; cursor: pointer; }
.lang:hover { border-color: var(--gold); color: var(--gold); }

/* Portada */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 10%, #2a2416 0%, var(--ink) 60%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.35) 0%, rgba(11,11,12,.55) 50%, var(--ink) 100%); }
.hero-in { position: relative; padding: 120px 0 72px; max-width: 820px; margin-left: max(16px, (100% - 1180px) / 2); }
.eyebrow { display: inline-block; font: 700 16px var(--display); letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { font-family: var(--display); line-height: 1; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(52px, 8vw, 104px); font-weight: 800; margin: 14px 0 18px; color: #fff; }
h1 em { font-style: normal; background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #d8d2c3; max-width: 640px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-phone { margin: 18px 0 0; color: var(--muted); }
.hero-phone a { color: var(--gold); font-weight: 600; text-decoration: none; }

/* Compromisos */
.stats { border-block: 1px solid var(--line); background: var(--ink-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 800 40px/1 var(--display); color: var(--gold); text-transform: uppercase; }
.stat span { color: var(--muted); font-size: 16px; }

/* Secciones */
.section { padding: 96px 0; }
.dark { background: var(--ink); }
.light { background: var(--paper); color: #232323; }
.light .eyebrow { color: var(--gold-3); }
.light h2 { color: var(--ink); }
.light a { color: var(--gold-3); }
.head { max-width: 760px; margin-bottom: 44px; }
h2 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; margin-top: 10px; }
.head p { color: inherit; opacity: .8; }

/* Espacios para fotos del cliente */
.ph { position: relative; background: repeating-linear-gradient(45deg, #1b1b1e 0 14px, #18181b 14px 28px); border: 1px dashed #3a3a40; min-height: 210px; }
.ph::after { content: "Your photo here · " attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px; font: 600 15px var(--display); letter-spacing: 2px; text-transform: uppercase; color: #6f6a5e; }
.light .ph { background: repeating-linear-gradient(45deg, #ebe6da 0 14px, #e6e0d2 14px 28px); border-color: #cfc6b0; }
.light .ph::after { color: #9a917c; }

/* Tarjetas de servicios */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--gold-3); transform: translateY(-3px); }
.card .ph { border: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; min-height: 0; }
.card-body { padding: 22px 24px 26px; }
.num { font: 700 15px var(--display); color: var(--gold); letter-spacing: 2px; }
.card h3 { font-size: 30px; font-weight: 700; margin: 6px 0 8px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }
.card-cta { display: flex; align-items: center; background: radial-gradient(100% 100% at 0 0, #2a2416, var(--ink-2)); border-color: var(--gold-3); }
.card-cta .card-body { display: grid; gap: 12px; justify-items: start; }
.card-cta .btn { margin-top: 6px; }

/* Franja en movimiento */
.marquee { overflow: hidden; background: linear-gradient(90deg, var(--gold-3), var(--gold) 50%, var(--gold-3)); color: var(--ink); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee span { font: 800 26px var(--display); letter-spacing: 2px; text-transform: uppercase; padding: 0 28px; position: relative; }
.marquee span::after { content: "◆"; position: absolute; right: -8px; font-size: 14px; top: 8px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery > * { border-radius: var(--r); overflow: hidden; width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { border-top: 2px solid var(--gold); padding-top: 22px; }
.steps b { font: 800 56px/1 var(--display); color: var(--gold); }
.steps h3 { font-size: 30px; margin: 10px 0 6px; color: #fff; }
.steps p { margin: 0; color: var(--muted); }

/* Cotización */
.quote { background: var(--ink-2); border-top: 1px solid var(--line); }
.quote-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact li { display: flex; gap: 12px; align-items: center; }
.contact svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.contact a { text-decoration: none; font-weight: 600; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.form label { display: grid; gap: 6px; font: 600 16px var(--display); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 17px var(--body); color: var(--text); background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* Pie */
.footer { padding: 56px 0 90px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.foot-in { display: grid; justify-items: center; gap: 4px; }
.footer img { height: 64px; width: auto; margin-bottom: 12px; }
.footer p { margin: 0; }
.footer a { color: var(--gold); text-decoration: none; }
.small { font-size: 14px; margin-top: 10px !important; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.wa-float svg { width: 32px; height: 32px; }

/* Celular */
@media (max-width: 900px) {
  .links { display: none; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .quote-in { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .nav-in { height: 64px; }
  .brand img { height: 40px; }
  .btn-sm span { display: none; }
  .hero-in { padding: 96px 0 48px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .section { padding: 68px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery .wide { grid-column: span 2; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .stat { padding: 22px 14px; }
  .stat b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Fotos reales */
.card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.hero { background-image: linear-gradient(0deg, rgba(11,11,12,.2), rgba(11,11,12,.2)), url("img/hero.jpg"); background-size: cover; background-position: center 40%; }

/* ===== Multipágina / SEO ===== */
.btn-line { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.links a[aria-current="page"] { color: var(--gold); }
.answer { max-width: 760px; }
.hero { background-image: linear-gradient(0deg, rgba(11,11,12,.2), rgba(11,11,12,.2)), url("/img/shower-led-niche-linden-nj.jpg"); }

/* Portada de páginas de servicio */
.page-hero { position: relative; background: linear-gradient(180deg, rgba(11,11,12,.55), rgba(11,11,12,.85) 70%, var(--ink)), var(--bg) center 40% / cover no-repeat; }
.page-hero-in { padding: 64px 0 56px; max-width: 860px; margin-left: max(16px, (100% - 1180px) / 2); }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 80px); }
.crumbs { display: flex; gap: 8px; align-items: center; font: 600 15px var(--display); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--gold); text-decoration: none; }
.thanks .page-hero-in { padding: 120px 0; }
.back { display: inline-block; margin-top: 18px; color: var(--gold); }

/* Puntos clave */
.tldr { background: var(--ink-2); border-block: 1px solid var(--line); }
.tldr-in { padding: 34px 0; }
.tldr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tldr h2 { font-size: 30px; margin: 0; color: var(--gold); }
.tldr-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.tldr-list li { position: relative; padding: 14px 14px 14px 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); font-size: 16px; line-height: 1.45; }
.tldr-list li::before { content: ""; position: absolute; left: 14px; top: 19px; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }

/* Compartir */
.share { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--gold-3); color: var(--gold); border-radius: 999px; padding: 9px 16px; font: 700 15px var(--display); letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; }
.share svg { width: 16px; height: 16px; }
.share:hover { background: rgba(212,175,55,.1); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--gold); color: var(--ink); font: 700 16px var(--display); letter-spacing: 1px; padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Artículo */
.article-in { max-width: 860px; }
.article h2 { font-size: clamp(32px, 4vw, 46px); margin: 48px 0 14px; color: var(--ink); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 26px; margin: 28px 0 8px; color: #1d1d1d; }
.article p { margin: 0 0 16px; }
.article a, .faq a { color: var(--gold-3); font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 18px 0 24px; border-radius: 12px; border: 1px solid #ddd3bd; }
table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid #eee6d4; vertical-align: top; }
thead th { background: var(--ink); color: var(--gold); font: 700 16px var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
tbody th { font-weight: 600; color: var(--ink); }
tbody tr:last-child > * { border-bottom: 0; }
.steps-list { margin: 10px 0 20px; padding-left: 22px; }
.steps-list li { margin: 6px 0; padding-left: 6px; }
.steps-list li::marker { color: var(--gold-3); font-weight: 700; }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 28px 0 8px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.photo-row figcaption { font-size: 14px; color: #6d6656; margin-top: 6px; }

/* Preguntas frecuentes */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; background: var(--ink-2); }
.faq-item h3 { font-size: 24px; color: #fff; margin-bottom: 8px; text-transform: none; }
.faq-item p { margin: 0; color: var(--muted); }

/* Servicios relacionados */
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel-card { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; aspect-ratio: 4 / 3; }
.rel-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rel-card:hover img { transform: scale(1.04); }
.rel-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(11,11,12,.9)); color: #fff; font: 800 26px var(--display); text-transform: uppercase; letter-spacing: 1px; }
.back-home { margin: 26px 0 0; }
.card { text-decoration: none; color: inherit; display: block; }
.card .more { display: inline-block; margin-top: 12px; color: var(--gold); font: 700 15px var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
.marquee { display: block; text-decoration: none; }
.contact p { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; }

/* Pie con columnas */
.footer { text-align: left; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-brand p { margin: 10px 0 16px; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col a, .foot-col span { color: var(--text); text-decoration: none; font-size: 16px; }
.foot-col a:hover { color: var(--gold); }
.foot-title { font: 700 16px var(--display) !important; letter-spacing: 2px; text-transform: uppercase; color: var(--gold) !important; margin: 0 0 4px !important; }
.footer .small { text-align: center; margin-top: 36px !important; }

/* Barra fija de llamada en celular */
.mobile-cta { display: none; }
.btn-wa { background: #25d366; color: #fff; }
@media (max-width: 900px) {
  .faq-grid, .rel-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .mobile-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,11,12,.96); border-top: 1px solid var(--line); }
  .mobile-cta .btn { padding: 15px 10px; font-size: 18px; }
  .wa-float { display: none; }
  body { padding-bottom: 80px; }
  .faq-grid, .rel-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn-line { display: none; }
  .page-hero-in { padding: 44px 0 40px; }
}
.photo-row img, .card-img { height: auto; }

/* Instagram */
.btn-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.nav-ig { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); }
.nav-ig svg { width: 18px; height: 18px; }
.nav-ig:hover { border-color: var(--gold); color: var(--gold); }
.ig-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 24px 28px; border-radius: var(--r); background: var(--ink); color: var(--text); }
.ig-band h3 { font-size: 28px; color: #fff; margin: 0 0 4px; }
.ig-band p { margin: 0; color: var(--muted); }
.light .ig-band a.btn-ig { color: #fff; }
.foot-social { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) {
  .ig-band { flex-direction: column; align-items: flex-start; }
  .ig-band .btn { width: 100%; }
}

/* Facebook + redes */
.btn-fb { background: #1877f2; color: #fff; }
.btn-ig svg, .btn-fb svg { width: 20px; height: 20px; }
.social-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nav-soc { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; border: 0; transition: transform .15s; }
.nav-soc:hover { transform: translateY(-2px); }
.nav-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.nav-fb { background: #1877f2; }
.nav-soc svg { width: 19px; height: 19px; }
@media (max-width: 700px) {
  .nav-soc { width: 34px; height: 34px; }
  .ig-band .social-btns { width: 100%; }
  .ig-band .social-btns .btn { flex: 1 1 0; width: auto; }
}
@media (max-width: 380px) { .nav-fb { display: none; } }
.ig-band .social-btns { flex: none; flex-wrap: nowrap; }
@media (max-width: 700px) { .ig-band .social-btns { flex-wrap: wrap; } }
