/* ============================================================
   SQ33 ROOFING — asfalto, acero y amarillo de seguridad
   Paleta del logo: amarillo #FED835 sobre negro.
   Letra: Archivo expandida (como el SQ33 del logo).
   Motivo: la línea del techo (chevron) del logo, dibujándose.
   ============================================================ */

:root {
  --black: #0A0A0A;
  --asphalt: #111317;
  --char: #1A1D22;
  --steel: #262A31;
  --steel-2: #343943;
  --yellow: #FED835;
  --yellow-deep: #E9C012;
  --white: #F6F6F3;
  --paper: #EFEEEA;
  --gray: #9AA0A8;
  --gray-2: #6B7179;
  --line: rgba(246, 246, 243, .1);
  --ink: #141619;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
  --radius: 14px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--font); background: var(--black); color: var(--white); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--yellow); color: var(--black); }

h1, h2, h3 { font-family: var(--font); font-stretch: 125%; font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; }
.hl { color: var(--yellow); }

.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-size: .72rem; font-weight: 700; font-stretch: 112%; letter-spacing: .26em; text-transform: uppercase; color: var(--yellow); }
.eyebrow::before { content: ""; width: 26px; height: 14px; background: currentColor; clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 34%, 18% 100%); }
.eyebrow-center { justify-content: center; }

.section { position: relative; padding: clamp(4.5rem, 9vw, 8.5rem) clamp(1.25rem, 5vw, 4.5rem); }
.wrap { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-size: .8rem; font-weight: 800; font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; padding: 1.1rem 1.8rem; border-radius: 8px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: 0 14px 34px -14px rgba(254, 216, 53, .7); }
.btn-yellow:hover { background: #FFE566; transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(254, 216, 53, .85); }
.btn-ghost { border: 2px solid rgba(246,246,243,.55); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(10,10,10,.25); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-3px); }

/* ============================================================ NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: .8rem clamp(1rem, 3.5vw, 2.5rem); transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }
.nav.scrolled { background: rgba(10, 10, 10, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-top: .5rem; padding-bottom: .5rem; }
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 42px; width: auto; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.nav-brand:hover img { transform: translateY(-3px); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links > a:not(.btn-nav):not(.nav-phone) { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .35rem 0; position: relative; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.nav-links > a:not(.btn-nav):not(.nav-phone)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--yellow); transition: width .3s ease; }
.nav-links > a:not(.btn-nav):not(.nav-phone):hover::after { width: 100%; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .88rem; color: var(--yellow); }
.nav-phone svg { width: 18px; height: 18px; }
.btn-nav { background: var(--yellow); color: var(--black); font-size: .72rem; font-weight: 800; font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; padding: .78rem 1.2rem; border-radius: 8px; transition: transform .25s ease, background .25s ease; }
.btn-nav:hover { background: #FFE566; transform: translateY(-2px); }
.nav-links a { white-space: nowrap; }
@media (max-width: 1320px) { .nav-links > a:not(.btn-nav):not(.nav-phone) { display: none; } }
@media (max-width: 600px) { .nav-phone span { display: none; } .nav-brand img { height: 28px; } .nav-phone { padding: .5rem; margin-left: .6rem; } .btn-nav { padding: .7rem .9rem; } }

/* ============================================================ HERO */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 26%),
    linear-gradient(0deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.55) 38%, rgba(10,10,10,0) 66%),
    linear-gradient(90deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 60%); }
.hero-roofline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 38%; z-index: 1; pointer-events: none; opacity: .35; }
.hero-roofline path { fill: none; stroke: var(--yellow); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 clamp(1.25rem, 6vw, 5.5rem) clamp(5rem, 11vh, 7.5rem); }
.hero-kicker { display: inline-flex; align-items: center; gap: .7rem; font-size: .76rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.1rem; }
.hero-kicker::before { content: ""; width: 34px; height: 3px; background: var(--yellow); }
.hero h1 { font-size: clamp(3rem, 8.6vw, 7.8rem); text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub { margin-top: 1.2rem; max-width: 36rem; font-size: clamp(1rem, 1.5vw, 1.15rem); color: #D7D9DC; text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-badge { position: absolute; right: clamp(1rem, 4vw, 3.5rem); top: 22%; z-index: 2; width: 9.5rem; height: 9.5rem; border-radius: 50%; background: var(--yellow); color: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; text-transform: uppercase; box-shadow: 0 0 0 8px rgba(254,216,53,.18), var(--shadow); rotate: -10deg; }
.hero-badge b { font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.hero-badge span { font-stretch: 125%; font-weight: 900; font-size: 1.7rem; line-height: 1; }
@media (max-width: 860px) { .hero-badge { width: 7rem; height: 7rem; top: 5.5rem; right: 1rem; } .hero-badge span { font-size: 1.25rem; } .hero-badge b { font-size: .6rem; } }
.hero-scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .6rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gray); }
.hero-scroll .dot { width: 3px; height: 28px; background: linear-gradient(180deg, var(--yellow), transparent); animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(8px); opacity: .35; } }
@media (max-width: 540px) { .hero h1 { font-size: 2.6rem; } .hero-ctas .btn { padding: .95rem 1.2rem; font-size: .72rem; } }
.hero-wipe { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; }

/* ============================================================ INTRO */
.intro { background: var(--yellow); color: var(--black); overflow: hidden; }
.intro .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro .eyebrow { color: var(--black); }
.intro h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 1.1rem 0 1.4rem; }
.intro .hl { color: var(--black); background: linear-gradient(transparent 62%, rgba(10,10,10,.14) 62%); }
.intro .lede { font-size: clamp(1rem, 1.4vw, 1.12rem); color: #2B2A22; max-width: 34rem; font-weight: 500; }
.intro-checks { list-style: none; margin-top: 1.6rem; display: grid; gap: .6rem; }
.intro-checks li { display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: .98rem; }
.intro-checks span { flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--black); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.intro-figure { position: relative; }
.intro-figure .frame { overflow: hidden; aspect-ratio: 4 / 4.6; clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%); box-shadow: var(--shadow); }
.intro-figure .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.intro-figure .sticker { position: absolute; right: -1rem; bottom: 6rem; z-index: 2; background: var(--black); color: var(--white); padding: .9rem 1.1rem; border-radius: 10px; text-transform: uppercase; font-size: .72rem; font-weight: 700; letter-spacing: .14em; line-height: 1.3; rotate: 4deg; box-shadow: var(--shadow); }
.intro-figure .sticker b { color: var(--yellow); font-stretch: 125%; font-weight: 900; font-size: 1.5rem; letter-spacing: 0; }
.intro-figure .card-float { position: absolute; left: -1.5rem; bottom: 1.6rem; z-index: 2; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: .9rem 1.1rem; display: flex; align-items: center; gap: .8rem; }
.intro-figure .card-float .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.intro-figure .card-float .ic svg { width: 22px; height: 22px; }
.intro-figure .card-float b { display: block; font-weight: 800; font-size: .98rem; }
.intro-figure .card-float small { color: var(--gray-2); font-size: .78rem; font-weight: 600; }
@media (max-width: 900px) { .intro .wrap { grid-template-columns: 1fr; } .intro-figure .sticker { right: .4rem; } .intro-figure .card-float { left: .4rem; } }

/* ============================================================ CINTA */
.marquee { position: relative; z-index: 3; overflow: hidden; background: var(--black); color: var(--white); rotate: -1.6deg; margin: -1.4rem -2rem 0; padding: 1rem 0; border-top: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); }
.marquee-track { display: flex; gap: 2rem; width: max-content; align-items: center; white-space: nowrap; }
.marquee-track span { font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 2rem); }
.marquee-track i { width: 26px; height: 14px; background: var(--yellow); clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 34%, 18% 100%); }

/* ============================================================ SERVICIOS */
.services { background: var(--black); overflow: hidden; padding-bottom: 0; }
.services-head { max-width: 1240px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); }
.services-head h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); margin-top: 1rem; }
.svc-viewport { position: relative; }
.svc-track { display: flex; gap: clamp(1.1rem, 2.2vw, 1.6rem); padding: .5rem clamp(1.25rem, 5vw, 4.5rem) 4.5rem; width: max-content; }
.svc-card { width: clamp(280px, 28vw, 380px); flex: none; background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, border-color .35s ease; }
.svc-card:hover { transform: translateY(-8px); border-color: var(--yellow); }
.svc-card .ph { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover .ph img { transform: scale(1.07); }
.svc-card .num { position: absolute; top: .9rem; left: .9rem; background: var(--yellow); color: var(--black); font-stretch: 125%; font-weight: 900; font-size: .78rem; padding: .35rem .6rem; border-radius: 6px; }
.svc-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.svc-card h3 { font-size: 1.5rem; }
.svc-card p { color: #C2C6CC; font-size: .92rem; }
.svc-card ul { list-style: none; display: grid; gap: .35rem; margin: .3rem 0 .4rem; flex: 1; }
.svc-card li { display: flex; gap: .5rem; align-items: center; font-size: .85rem; font-weight: 600; color: var(--white); }
.svc-card li::before { content: ""; width: 8px; height: 8px; background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.svc-card .go { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); border-bottom: 2px solid transparent; transition: border-color .25s ease; }
.svc-card .go:hover { border-color: var(--yellow); }
@media (max-width: 860px) {
  .svc-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .svc-viewport::-webkit-scrollbar { display: none; }
  .svc-track { padding-bottom: 2.5rem; }
  .svc-card { width: 82vw; scroll-snap-align: center; }
}

/* ============================================================ ASEGURANZAS */
.insurance { background: var(--asphalt); overflow: hidden; }
.ins-bg { position: absolute; inset: -10% 0; z-index: 0; }
.ins-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; filter: grayscale(.6) contrast(1.1); }
.insurance::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--black) 0%, rgba(17,19,23,.6) 30%, rgba(17,19,23,.85) 100%); }
.ins-head { max-width: 46rem; }
.ins-head h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 1rem 0 1.2rem; }
.ins-head .lede { color: #C9CDD2; font-size: 1.08rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 2%; right: 2%; top: 2.1rem; height: 3px; background: var(--steel-2); }
.steps::after { content: ""; position: absolute; left: 2%; right: 2%; top: 2.1rem; height: 3px; background: var(--yellow); transform-origin: left; transform: scaleX(var(--prog, 0)); }
.step { position: relative; z-index: 1; background: rgba(26,29,34,.85); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem 1.5rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.step .num { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--black); border: 3px solid var(--yellow); color: var(--yellow); font-stretch: 125%; font-weight: 900; margin-top: -2.9rem; margin-bottom: .9rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: #BFC3C9; font-size: .9rem; }
.ins-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.6rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; } .steps::before, .steps::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================ ARMA TU TECHO */
.builder { background: var(--char); text-align: center; overflow: hidden; }
.builder h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); margin-top: 1rem; }
.builder .lede { max-width: 36rem; margin: 1.2rem auto 0; color: #C2C6CC; }
.rb-stage { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 1140px; margin: 3rem auto 0; text-align: left; }
.rb-visual { position: relative; }
.rb-svg { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); --roof: #3A3D42; }
.rb-svg .roof-shape { transition: fill .3s ease; }
.rb-svg .gutters { transition: opacity .4s ease; }
.rb-tag { position: absolute; left: 1rem; top: 1rem; background: var(--yellow); color: var(--black); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 6px; }
.rb-panel { background: var(--asphalt); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.3rem, 3vw, 2rem); }
.rb-label { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gray); margin: 1.1rem 0 .7rem; }
.rb-label:first-child { margin-top: 0; }
.rb-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); border-radius: 10px; padding: 4px; }
.rb-seg button { padding: .75rem; border-radius: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); transition: all .25s ease; }
.rb-seg button.active { background: var(--yellow); color: var(--black); }
.rb-materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mat-btn { padding: .8rem .5rem; border-radius: 10px; border: 1px solid var(--line); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transition: all .25s ease; }
.mat-btn:hover { border-color: var(--yellow); }
.mat-btn.active { border-color: var(--yellow); background: rgba(254,216,53,.12); color: var(--yellow); }
.rb-colors { display: flex; flex-wrap: wrap; gap: .5rem; }
.col-btn { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); transition: transform .2s ease, box-shadow .2s ease; }
.col-btn:hover { transform: scale(1.1); }
.col-btn.active { box-shadow: 0 0 0 3px var(--asphalt), 0 0 0 5px var(--yellow); }
.rb-toggle { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; font-size: .88rem; font-weight: 600; cursor: pointer; }
.rb-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.rb-toggle span { width: 44px; height: 24px; border-radius: 99px; background: var(--steel-2); position: relative; transition: background .25s ease; }
.rb-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .25s ease; }
.rb-toggle input:checked + span { background: var(--yellow); }
.rb-toggle input:checked + span::after { transform: translateX(20px); background: var(--black); }
.rb-toggle input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.rb-info { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.rb-info b { font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 1.1rem; }
.rb-info p { color: #C2C6CC; font-size: .9rem; margin-top: .3rem; min-height: 3.2em; }
.rb-cta { width: 100%; margin-top: 1.2rem; }
/* squares estimator */
.rb-help { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--yellow); margin-left: .4rem; cursor: help; border-bottom: 1px dotted currentColor; }
.rb-range-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .85rem; color: #C2C6CC; }
.rb-range-head b { color: var(--white); font-weight: 800; }
.rb-size input[type=range] { width: 100%; margin: .7rem 0 .9rem; accent-color: var(--yellow); height: 6px; cursor: pointer; }
.rb-stories { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #C2C6CC; }
.rb-seg-sm { grid-template-columns: repeat(3, 1fr); min-width: 150px; }
.rb-seg-sm button { padding: .5rem .8rem; }
.rb-squares { position: absolute; right: 1rem; top: 1rem; display: flex; align-items: center; gap: .55rem; background: rgba(10,10,10,.82); backdrop-filter: blur(6px); border: 1px solid rgba(254,216,53,.4); border-radius: 12px; padding: .55rem .85rem; }
.rb-squares .sq-num { font-stretch: 125%; font-weight: 900; font-size: 2rem; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.rb-squares .sq-lbl { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; }
.rb-squares small { display: block; font-size: .68rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: #C2C6CC; }
.rb-note { margin-top: .7rem; font-size: .75rem; color: var(--gray); text-align: center; }
@media (max-width: 900px) { .rb-stage { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .rb-squares { top: auto; bottom: .7rem; right: .7rem; padding: .4rem .65rem; } .rb-squares .sq-num { font-size: 1.5rem; } }

/* ============================================================ PROYECTOS */
.projects { background: var(--black); }
.projects-head { margin-bottom: 2.4rem; }
.projects-head h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); margin-top: 1rem; }
.masonry { columns: 3 300px; column-gap: 1rem; }
.mas-item { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.mas-item img { width: 100%; height: auto; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; filter: grayscale(.25); }
.mas-item:hover img { transform: scale(1.05); filter: grayscale(0); }
.mas-item::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: inherit; transition: border-color .3s ease; pointer-events: none; }
.mas-item:hover::after { border-color: var(--yellow); }
.mas-item figcaption { position: absolute; left: .8rem; bottom: .8rem; background: var(--yellow); color: var(--black); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 2rem; background: rgba(10,10,10,.95); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1080px, 92vw); max-height: 84vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 1.4rem; right: 1.6rem; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: 1.4rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }

/* ============================================================ RESEÑAS */
.reviews { background: var(--black); padding: 1rem 0 clamp(4.5rem, 8vw, 7rem); overflow: hidden; text-align: center; }
.reviews-head { padding: 0 1.25rem; margin-bottom: 2.4rem; }
.reviews-head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-top: 1rem; }
.reviews-row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews-track { display: flex; gap: 1.1rem; width: max-content; padding: .5rem 0; }
.review { width: 360px; flex: none; text-align: left; background: var(--char); border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.review .stars { color: var(--yellow); letter-spacing: .12em; }
.review blockquote { margin-top: .5rem; font-size: .98rem; line-height: 1.5; color: var(--white); }
.review figcaption { margin-top: .9rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }

/* ============================================================ FAQ (sección clara) */
.faq { background: var(--paper); color: var(--ink); }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq .eyebrow { color: var(--ink); }
.faq .hl { color: var(--ink); background: linear-gradient(transparent 60%, var(--yellow) 60%); }
.faq h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin: 1rem 0 1.2rem; }
.faq .lede { color: #4B4F55; }
.faq .lede a { font-weight: 800; border-bottom: 3px solid var(--yellow); }
.faq-item { border-bottom: 1px solid #D5D3CD; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.faq-q i { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 1.2rem; transition: transform .3s ease, background .3s ease; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--yellow); color: var(--ink); }
.faq-a { overflow: hidden; height: 0; }
.faq-a p { padding: 0 0 1.3rem; color: #4B4F55; max-width: 40rem; }
@media (max-width: 900px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ============================================================ COTIZACIÓN */
.quote { background: radial-gradient(70% 70% at 0% 0%, rgba(254,216,53,.12), transparent 60%), var(--asphalt); }
.quote .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote h2 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); margin: 1rem 0 1.2rem; }
.quote .lede { color: #C9CDD2; font-size: 1.05rem; }
.quote-points { list-style: none; margin: 1.8rem 0; display: grid; gap: .9rem; }
.quote-points li { display: flex; gap: .9rem; align-items: center; font-weight: 600; }
.quote-points b { font-stretch: 125%; color: var(--black); background: var(--yellow); border-radius: 6px; padding: .3rem .5rem; font-size: .8rem; }
.call-card { display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem 1rem 1rem; border-radius: 14px; border: 2px solid var(--yellow); transition: background .25s ease, transform .25s ease; }
.call-card:hover { background: rgba(254,216,53,.1); transform: translateY(-3px); }
.call-card .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--yellow); color: var(--black); display: flex; align-items: center; justify-content: center; }
.call-card .ic svg { width: 24px; height: 24px; }
.call-card small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); font-weight: 700; }
.call-card b { font-stretch: 125%; font-weight: 900; font-size: 1.5rem; color: var(--yellow); }

.quote-form { position: relative; background: var(--white); color: var(--ink); border-radius: 20px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); border-top: 6px solid var(--yellow); }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.qf-field { display: flex; flex-direction: column; gap: .4rem; }
.qf-wide { grid-column: 1 / -1; }
.qf-field span, .qf-group legend { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #4B4F55; }
.qf-field input, .qf-field textarea { width: 100%; padding: .85rem 1rem; border-radius: 10px; border: 2px solid #DAD8D2; background: #fff; font: 500 1rem var(--font); color: var(--ink); outline: none; transition: border-color .2s ease, box-shadow .2s ease; resize: vertical; }
.qf-field input:focus, .qf-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(254,216,53,.5); }
.qf-field.invalid input { border-color: #D33A2C; box-shadow: 0 0 0 4px rgba(211,58,44,.15); }
.qf-field .err { font-size: .75rem; font-weight: 700; color: #D33A2C; letter-spacing: 0; text-transform: none; }
.qf-group { border: 0; margin-top: 1.2rem; }
.qf-group legend { margin-bottom: .6rem; }
.qf-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.qf-pills label { position: relative; cursor: pointer; }
.qf-pills input { position: absolute; opacity: 0; pointer-events: none; }
.qf-pills span { display: inline-block; padding: .6rem 1rem; border-radius: 8px; border: 2px solid #DAD8D2; font-size: .85rem; font-weight: 700; transition: all .2s ease; }
.qf-pills label:hover span { border-color: var(--ink); }
.qf-pills input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.qf-pills input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.quote-form > .qf-field { margin-top: 1.2rem; }
.qf-submit { width: 100%; margin-top: 1.4rem; font-size: .9rem; padding: 1.2rem; background: var(--ink); color: var(--yellow); box-shadow: none; }
.qf-submit:hover { background: #000; color: var(--yellow); }
.qf-submit.loading { pointer-events: none; opacity: .7; }
.qf-group legend small { font-size: .7rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--gray-2); }
.qf-size .qf-field .qf-pills span { padding: .75rem 1.1rem; }
.qf-estimate { display: flex; align-items: center; gap: .9rem; margin: 1rem 0; padding: .9rem 1rem; border-radius: 12px; background: #F6F4EE; border: 2px dashed #DAD8D2; transition: all .25s ease; }
.qf-estimate.has-value { background: var(--ink); border: 2px solid var(--ink); color: #E6E3DC; }
.qf-est-num { flex: none; font-stretch: 125%; font-weight: 900; font-size: 1.8rem; line-height: 1; color: #B9B5AC; font-variant-numeric: tabular-nums; }
.qf-estimate.has-value .qf-est-num { color: var(--yellow); }
.qf-est-txt { font-size: .85rem; line-height: 1.4; }
.qf-estimate.has-value .qf-est-txt b { color: var(--yellow); }
.qf-hint { margin-top: .5rem; font-size: .76rem; color: var(--gray-2); }
.qf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qf-note { margin-top: .8rem; font-size: .75rem; color: var(--gray-2); text-align: center; }
.qf-success { position: absolute; inset: 0; border-radius: 20px; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; gap: .8rem; }
.qf-success[hidden] { display: none; }
.qf-check { width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: 2.2rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.qf-success h3 { font-size: 1.7rem; }
.qf-success p { color: #4B4F55; max-width: 26rem; }
.qf-success a { font-weight: 800; border-bottom: 3px solid var(--yellow); }
@media (max-width: 900px) { .quote .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .qf-grid { grid-template-columns: 1fr; } }

/* ============================================================ UBICACIÓN */
.location { background: var(--black); }
.location .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.location h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-top: 1rem; }
.loc-card { background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); margin-top: 1.6rem; }
.loc-row { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.loc-row:last-of-type { border-bottom: 0; }
.loc-row .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--yellow); color: var(--black); display: flex; align-items: center; justify-content: center; }
.loc-row .ic svg { width: 20px; height: 20px; }
.loc-row b { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-bottom: .2rem; }
.loc-row p, .loc-row a.val { font-weight: 700; }
.loc-row a.val { color: var(--yellow); font-stretch: 125%; font-size: 1.3rem; }
.loc-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.3rem; }
.btn-outline { display: inline-flex; align-items: center; border: 2px solid var(--white); color: var(--white); padding: 1rem 1.4rem; border-radius: 8px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: all .25s ease; }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.loc-figure { border-radius: 20px; overflow: hidden; position: relative; min-height: 460px; border: 3px solid var(--yellow); }
.loc-figure iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
@media (max-width: 900px) { .location .wrap { grid-template-columns: 1fr; } .loc-figure { min-height: 320px; } }

/* ============================================================ CIERRE */
.finale { background: var(--yellow); color: var(--black); text-align: center; overflow: hidden; padding-top: clamp(8rem, 14vw, 12rem); }
.finale-roof { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 70%; pointer-events: none; }
.finale-roof path { fill: none; stroke: var(--black); stroke-width: 3; vector-effect: non-scaling-stroke; opacity: .15; }
.finale-logo { width: clamp(140px, 16vw, 200px); margin: 0 auto 1.6rem; filter: brightness(0); }
.finale h2 { font-size: clamp(2.8rem, 8vw, 6.6rem); }
.finale .hl { color: var(--black); -webkit-text-stroke: 0; }
.finale-ctas { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.2rem; }
.finale .btn-yellow { background: var(--black); color: var(--yellow); }
.finale .btn-ghost { border-color: var(--black); color: var(--black); background: transparent; }
.finale .btn-ghost:hover { background: var(--black); color: var(--yellow); }

.footer { background: var(--black); color: var(--gray); border-top: 1px solid var(--line); padding: 2rem clamp(1.25rem, 5vw, 4.5rem) 5.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; font-size: .82rem; }
.footer b { color: var(--white); }
.footer a { color: var(--yellow); }
.footer .muted { font-size: .72rem; margin-top: .2rem; color: var(--gray-2); }
.footer nav { display: flex; gap: 1.2rem; }
.footer nav a { color: var(--white); }
.footer nav a:hover { color: var(--yellow); }
@media (min-width: 861px) { .footer { padding-bottom: 2rem; } }

/* ============================================================ llamar: barra móvil + flotante */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; grid-template-columns: 1fr 1.4fr; gap: .5rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(10,10,10,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.mobile-bar.show { transform: translateY(0); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem .5rem; border-radius: 10px; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.mobile-bar svg { width: 18px; height: 18px; }
.mb-call { border: 2px solid var(--yellow); color: var(--yellow); }
.mb-quote { background: var(--yellow); color: var(--black); }
@media (max-width: 860px) { .mobile-bar { display: grid; } .fab-call { display: none !important; } }

.fab-call { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 70; display: flex; align-items: center; gap: .8rem; padding: .55rem 1.3rem .55rem .55rem; border-radius: 999px; background: var(--yellow); color: var(--black); box-shadow: 0 16px 40px -12px rgba(254,216,53,.7); transform: translateY(160%); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.fab-call.show { transform: translateY(0); }
.fab-call svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--black); color: var(--yellow); position: relative; z-index: 1; }
.fab-call .ring { position: absolute; left: .55rem; top: .55rem; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--black); animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.fab-call .txt { font-stretch: 125%; font-weight: 900; font-size: 1rem; line-height: 1.1; }
.fab-call small { display: block; font-stretch: 100%; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.fab-call:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; } }
