:root {
  --yellow: #ffd21c;
  --yellow-bright: #ffe358;
  --ink: #090a0c;
  --ink-2: #111317;
  --ink-3: #191c21;
  --white: #ffffff;
  --muted: #a9adb5;
  --line: rgba(255, 255, 255, 0.11);
  --green: #20c663;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--body); font-size: 16px; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.site-header { position: absolute; z-index: 20; top: 0; left: 50%; width: min(1180px, calc(100% - 40px)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { display: block; width: 215px; height: auto; }
.header-link { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 600; }
.header-link svg { width: 20px; height: 20px; }
.header-link .fill { fill: currentColor; stroke: none; }

.hero { min-height: 100svh; position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; padding: 112px max(24px, calc((100vw - 1180px)/2)) 86px; }
.hero-media { position: absolute; inset: 0 0 0 43%; z-index: -3; background: #121417 url('./assets/fachada-lubrifiq.webp') 52% 52%/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,5,6,1) 0%, rgba(4,5,6,.98) 37%, rgba(4,5,6,.72) 53%, rgba(4,5,6,.08) 83%), linear-gradient(0deg, rgba(4,5,6,.72) 0%, transparent 45%); }
.hero-accent { position: absolute; z-index: -1; top: -10%; right: 10%; width: 50px; height: 130%; background: var(--yellow); opacity: .9; transform: rotate(18deg); box-shadow: 34px 0 0 rgba(255,210,28,.12); }
.hero-content { max-width: 720px; }
.eyebrow, .section-label { color: var(--yellow); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow span { width: 28px; height: 3px; background: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 22px; font-family: var(--display); font-size: clamp(3.6rem, 8vw, 6.8rem); line-height: .84; text-transform: uppercase; letter-spacing: -.025em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-content > p { max-width: 585px; margin-bottom: 30px; color: #d4d7dc; font-size: clamp(1rem, 1.7vw, 1.16rem); line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { min-height: 52px; padding: 0 22px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 21px; height: 21px; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-bright); }
.btn-secondary { border: 1px solid rgba(255,255,255,.25); background: rgba(9,10,12,.55); color: var(--white); backdrop-filter: blur(12px); }
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.trust-row { display: flex; gap: 0; margin-top: 36px; color: #c7c9ce; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.trust-row span { padding: 0 18px; border-right: 1px solid rgba(255,255,255,.2); }
.trust-row span:first-child { padding-left: 0; }
.trust-row span:last-child { border: 0; }
.trust-row b { color: var(--white); }
.scroll-cue { position: absolute; bottom: 26px; right: max(24px, calc((100vw - 1180px)/2)); display: flex; align-items: center; gap: 10px; color: #babdc3; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue span { width: 32px; height: 1px; background: var(--yellow); }

.section { padding: 100px max(24px, calc((100vw - 1180px)/2)); }
.section h2 { font-family: var(--display); font-size: clamp(2.8rem, 6vw, 5.3rem); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
.section h2 span { color: var(--yellow); }
.section h2 small { display: block; max-width: 690px; margin-top: 18px; color: var(--white); font-family: var(--body); font-size: clamp(.875rem, .19em, 1.05rem); font-weight: 700; line-height: 1.35; letter-spacing: .06em; }
.section-label { margin-bottom: 26px; }
.section-label.light { color: var(--ink); }
.intro { background: #f5f5f3; color: var(--ink); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.intro h2 { margin-bottom: 0; }
.intro h2 span { display: block; color: #b79200; }
.intro-copy { border-left: 3px solid var(--yellow); padding-left: 28px; }
.intro-copy p { color: #4c4f55; font-size: 1.04rem; line-height: 1.8; }
.intro-copy p:last-child { margin-bottom: 0; }

.services { background: var(--ink); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 390px; color: var(--muted); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service-card { min-height: 380px; position: relative; padding: 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink-2); }
.service-card:last-child { border: 0; }
.service-card.featured { background: var(--yellow); color: var(--ink); transform: translateY(-14px); box-shadow: 0 22px 60px rgba(0,0,0,.22); }
.card-number { position: absolute; top: 25px; right: 27px; color: #4d5057; font-family: var(--display); font-size: .9rem; letter-spacing: .1em; }
.featured .card-number { color: rgba(9,10,12,.45); }
.icon-box { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 35px; border: 1px solid rgba(255,210,28,.5); color: var(--yellow); transform: rotate(-3deg); }
.featured .icon-box { border-color: rgba(9,10,12,.35); color: var(--ink); }
.icon-box svg { width: 30px; height: 30px; transform: rotate(3deg); }
.service-card h3 { margin-bottom: 12px; font-family: var(--display); font-size: 2rem; text-transform: uppercase; }
.service-card p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }
.featured p { color: rgba(9,10,12,.72); }

.why { padding-top: 30px; background: var(--ink); }
.why-panel { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; background: var(--yellow); color: var(--ink); overflow: hidden; }
.why-panel:before { content: "LQ"; position: absolute; left: -30px; bottom: -100px; font-family: var(--display); font-size: 24rem; font-weight: 900; opacity: .045; }
.why-copy { padding: 70px 60px; }
.why-copy h2 { margin-bottom: 25px; }
.why-copy p { max-width: 410px; line-height: 1.7; color: rgba(9,10,12,.7); }
.why-list { padding: 35px 55px; border-left: 1px solid rgba(9,10,12,.18); display: grid; }
.why-item { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(9,10,12,.18); }
.why-item:last-child { border: 0; }
.why-item > span { font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.why-item div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.why-item strong { font-family: var(--display); font-size: 1.55rem; text-transform: uppercase; }
.why-item small { max-width: 230px; color: rgba(9,10,12,.68); font-size: .8rem; line-height: 1.4; text-align: right; }

.units { background: #f5f5f3; color: var(--ink); }
.units .section-heading > p { color: #62656b; }
.units .section-label { color: #9d7b00; }
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.unit-card { position: relative; min-height: 385px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); border: 1px solid #dedfdf; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.unit-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(10,12,16,.1); }
.unit-card:before { content: ""; position: absolute; right: -30px; top: 75px; width: 120px; height: 380px; background: var(--yellow); transform: rotate(20deg); opacity: .18; }
.unit-top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.city-tag { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.unit-type { padding: 6px 9px; background: var(--ink); color: var(--white); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.unit-card h3 { position: relative; z-index: 1; font-family: var(--display); font-size: 2.9rem; line-height: .92; text-transform: uppercase; }
.unit-actions { position: relative; z-index: 1; display: grid; gap: 9px; }
.btn-map { border: 1px solid #d5d6d7; color: var(--ink); background: var(--white); }
.btn-whatsapp, .btn-submit { background: var(--green); color: #06150b; }
.btn-whatsapp:hover, .btn-submit:hover { background: #2ddd71; }

.booking { background: var(--ink); }
.booking-shell { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 640px; background: var(--ink-2); border: 1px solid var(--line); }
.booking-copy { position: relative; overflow: hidden; padding: 70px 55px; background: var(--yellow); color: var(--ink); }
.booking-copy:after { content: ""; position: absolute; left: -130px; bottom: -310px; width: 520px; height: 520px; border: 90px solid rgba(9,10,12,.05); border-radius: 50%; }
.booking-copy h2 { position: relative; z-index: 1; margin-bottom: 26px; font-size: clamp(3.1rem, 5vw, 5rem); }
.booking-copy p { position: relative; z-index: 1; line-height: 1.7; color: rgba(9,10,12,.72); }
.booking-note { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 45px; font-weight: 800; }
.booking-note span { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; }
.booking-form { padding: 54px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.booking-form label { display: grid; gap: 9px; color: #e8e9eb; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .055em; }
.booking-form label:nth-child(5), .btn-submit, .form-hint { grid-column: 1 / -1; }
input, select, textarea { width: 100%; border: 1px solid #34373d; border-radius: 0; outline: 0; background: var(--ink); color: var(--white); padding: 15px 16px; text-transform: none; letter-spacing: normal; min-height: 52px; }
textarea { resize: vertical; line-height: 1.5; }
input::placeholder { color: #696d75; }
input:focus, select:focus, textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(255,210,28,.12); }
.btn-submit { margin-top: 5px; min-height: 58px; font-size: 1rem; }
.form-hint { margin: -7px 0 0; color: #7f838b; text-align: center; font-size: .72rem; }

footer { padding: 75px 24px 110px; background: #050506; text-align: center; border-top: 1px solid var(--line); }
.footer-brand { justify-content: center; margin-bottom: 25px; }
.footer-brand .brand-logo { width: 285px; }
.footer-slogan { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 700; text-transform: uppercase; }
.footer-cities { display: flex; justify-content: center; align-items: center; gap: 13px; margin: 22px 0; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-cities i { width: 5px; height: 5px; background: var(--yellow); border-radius: 50%; }
.instagram-footer { color: var(--yellow); font-weight: 800; }
.copyright { margin: 40px 0 0; color: #555962; font-size: .72rem; }

.floating-whatsapp { position: fixed; z-index: 30; right: 22px; bottom: 22px; min-height: 55px; padding: 0 20px; border: 0; border-radius: 30px; display: flex; align-items: center; gap: 9px; color: #06150b; background: var(--green); box-shadow: 0 15px 40px rgba(0,0,0,.4); font-weight: 800; cursor: pointer; transition: transform .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.02); }
.floating-whatsapp svg { width: 25px; height: 25px; }
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(3,4,5,.82); backdrop-filter: blur(8px); cursor: pointer; }
.modal-card { position: relative; width: min(440px, 100%); padding: 34px; background: var(--ink-2); border: 1px solid rgba(255,210,28,.45); box-shadow: 0 35px 100px rgba(0,0,0,.55); animation: modalIn .22s ease both; }
.modal-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; color: #aeb1b6; font-size: 2rem; cursor: pointer; }
.modal-kicker { color: var(--yellow); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.modal-card h2 { margin: 10px 0 8px; font-family: var(--display); font-size: 2.6rem; text-transform: uppercase; }
.modal-card > p { color: var(--muted); }
.modal-option { min-height: 62px; margin-top: 10px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: var(--green); color: #06150b; font-weight: 800; }
.modal-option + .modal-option { background: var(--yellow); color: var(--ink); }
.modal-option b { font-size: 1.4rem; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .intro-grid, .why-panel, .booking-shell { grid-template-columns: 1fr; }
  .service-grid, .unit-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card.featured { transform: none; }
  .why-list { border-left: 0; border-top: 1px solid rgba(9,10,12,.18); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .unit-card { min-height: 345px; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 32px); padding: 17px 0; }
  .brand-logo { width: 170px; }
  .header-link span { display: none; }
  .hero { min-height: 790px; padding: 104px 20px 90px; align-items: flex-end; }
  .hero-media { inset: 0; background-position: 47% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(4,5,6,.99) 4%, rgba(4,5,6,.84) 52%, rgba(4,5,6,.28) 78%, rgba(4,5,6,.48) 100%); }
  .hero-accent { right: -34px; opacity: .55; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 4.8rem); }
  .hero-content > p { font-size: 1rem; line-height: 1.55; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .trust-row { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .trust-row span { padding: 0 8px; font-size: .63rem; line-height: 1.45; }
  .trust-row span:first-child { padding-left: 0; }
  .trust-row b { display: block; font-size: .75rem; }
  .scroll-cue { display: none; }
  .section { padding: 74px 20px; }
  .section h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .intro-grid { gap: 35px; }
  .intro-copy { padding-left: 20px; }
  .service-card { padding: 28px; }
  .why { padding-top: 10px; }
  .why-copy { padding: 48px 28px; }
  .why-list { padding: 14px 28px 30px; }
  .why-item { grid-template-columns: 35px 1fr; }
  .why-item div { display: block; }
  .why-item strong { display: block; font-size: 1.28rem; }
  .why-item small { display: block; margin-top: 5px; text-align: left; }
  .unit-grid { gap: 12px; }
  .unit-card { padding: 24px; }
  .unit-card h3 { font-size: 2.55rem; }
  .booking-copy { padding: 48px 28px; }
  .booking-copy h2 { font-size: 3.25rem; }
  .booking-form { padding: 28px 20px; grid-template-columns: 1fr; }
  .booking-form label, .booking-form label:nth-child(5), .btn-submit, .form-hint { grid-column: 1; }
  footer { padding-bottom: 105px; }
  .footer-brand .brand-logo { width: min(280px, 82vw); }
  .floating-whatsapp { left: 16px; right: 16px; bottom: 15px; justify-content: center; }
  .modal { align-items: end; padding: 0; }
  .modal-card { width: 100%; padding: 30px 20px max(30px, env(safe-area-inset-bottom)); border-width: 1px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
