/* ==========================================================================
   MAC 3D LAB — site.css  (landing, 404)
   ========================================================================== */

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--fg); color: var(--inv); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 8px); }

/* ---------------- NAV ---------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s, border-color .3s, height .3s var(--ease), backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: var(--line); height: 66px; }
.nav { --mark-paper: var(--bg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo .logo-lockup svg { height: 38px; transition: height .3s var(--ease); }
.nav.is-stuck .nav-logo .logo-lockup svg { height: 34px; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { position: relative; padding: 10px 14px; font-size: .86rem; font-weight: 500; color: var(--muted); border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--fg); background: var(--glow); }
.nav-links a.is-active { color: var(--fg); }
.nav-links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(var(--nav-h) + 16px) 24px 28px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; overflow-y: auto; }
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-foot { display: grid; gap: 12px; margin-top: 28px; }
body.no-scroll { overflow: hidden; }

/* ---------------- Section scaffolding ---------------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.narrow { width: min(860px, 100% - 48px); }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow .i { width: 15px; height: 15px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2, .about-copy h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.dim { color: var(--muted); font-weight: 800; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.outline { color: transparent; -webkit-text-stroke: 1.6px var(--fg); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 3vw, 36px); }
.card-lg { padding: clamp(24px, 4vw, 44px); }

/* ---------------- Reveal animations ---------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------- HERO ---------------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 84px)); overflow: hidden; --mark-paper: var(--bg); }
.hero-bg, .hero-bg span { position: absolute; pointer-events: none; }
.hero-bg { inset: 0; }
.hero-grid { inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 25%, transparent 78%); }
.hero-orb { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; right: -12vw; top: -14vw; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%); animation: float 14s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(-3vw, 3vw) scale(1.08); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(56px, 8vw, 104px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--fg); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--fg); animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.hero-title { margin: 22px 0 24px; font-size: clamp(2.7rem, 7.2vw, 5.9rem); line-height: .96; letter-spacing: -.035em; display: flex; flex-direction: column; font-weight: 800; }
.hero-title i { font-style: normal; -webkit-text-stroke: 0; color: var(--fg); }
.hero-sub { max-width: 54ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-sub strong { color: var(--fg); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-facts { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.hero-facts span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hv-main { position: absolute; inset: 0 8% 14% 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: var(--surface); }
.hv-main img { width: 100%; height: 100%; object-fit: cover; animation: printIn 1.8s var(--ease) .3s both; }
@keyframes printIn { from { clip-path: inset(100% 0 0 0); filter: grayscale(1) contrast(1.2); } to { clip-path: inset(0); filter: none; } }
.hv-scan { position: absolute; left: 0; right: 0; height: 2px; background: #fff; box-shadow: 0 0 22px 4px rgba(255,255,255,.65); animation: scan 1.8s var(--ease) .3s both; }
@keyframes scan { from { bottom: 0; opacity: 1; } to { bottom: 100%; opacity: 0; } }
.hv-tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  background: rgba(10,10,10,.72); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.hv-card { position: absolute; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); background: var(--surface); }
.hv-card img { width: 100%; height: 100%; object-fit: cover; }
.hv-card-a { width: 38%; aspect-ratio: 1; right: 0; top: 8%; animation: bob 7s ease-in-out infinite alternate; }
.hv-card-b { width: 52%; aspect-ratio: 16/9; right: 4%; bottom: 0; animation: bob 8s ease-in-out -3s infinite alternate; }
@keyframes bob { to { transform: translateY(-12px); } }
.hv-chip { position: absolute; left: -2%; bottom: 24%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--fg); color: var(--inv); box-shadow: var(--shadow); animation: bob 6s ease-in-out -1s infinite alternate; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--bg); position: relative; }
.marquee-track { display: flex; gap: 32px; width: max-content; align-items: center; animation: marquee 38s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.marquee-track i { width: 6px; height: 6px; background: var(--fg); transform: rotate(45deg); flex: none; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- SERVICES ---------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, background .3s, box-shadow .4s; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--glow), transparent 60%); opacity: 0; transition: opacity .3s; }
.svc:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.svc-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--fg); color: var(--inv); transition: transform .4s var(--ease); }
.svc-icon .i { width: 26px; height: 26px; stroke-width: 1.6; }
.svc:hover .svc-icon { transform: rotate(-8deg) scale(1.06); }
.svc-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--surface-3); -webkit-text-stroke: 0; letter-spacing: .05em; }
.svc h3 { font-size: 1.28rem; margin-bottom: 10px; letter-spacing: -.01em; }
.svc > p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.svc ul { display: grid; gap: 8px; margin-bottom: 24px; font-size: .88rem; color: var(--fg-soft); }
.svc li { display: flex; align-items: center; gap: 10px; }
.svc li .i { width: 16px; height: 16px; color: var(--fg); stroke-width: 2.4; }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-link .i { transition: transform .25s var(--ease); }
.svc-link:hover .i { transform: translateX(5px); }

/* ---------------- GALLERY ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .84rem; font-weight: 500; color: var(--fg-soft); transition: all .25s var(--ease); }
.chip small { font-size: .7rem; opacity: .6; font-weight: 600; }
.chip:hover { border-color: var(--fg); color: var(--fg); transform: translateY(-1px); }
.chip.is-active { background: var(--fg); color: var(--inv); border-color: var(--fg); }
.gallery { columns: 3; column-gap: 16px; }
.g-item { margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); position: relative;
  animation: gIn .6s var(--ease) both; }
.g-item[hidden] { display: none; }
@keyframes gIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.g-btn { display: block; width: 100%; position: relative; cursor: zoom-in; background: #fff; }
.g-btn img { width: 100%; height: auto; transition: transform .7s var(--ease), filter .4s; }
.g-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), transparent 55%); opacity: 0; transition: opacity .35s; }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; color: #fff; transform: translateY(10px); opacity: 0; transition: all .35s var(--ease); }
.g-cap em { font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .06em; }
.g-btn:hover img, .g-btn:focus-visible img { transform: scale(1.05); }
.g-btn:hover::after, .g-btn:focus-visible::after { opacity: 1; }
.g-btn:hover .g-cap, .g-btn:focus-visible .g-cap { opacity: 1; transform: none; }
.gallery-more { text-align: center; margin-top: 30px; }
.gallery-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,.94); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 56px 72px; animation: lbIn .3s var(--ease); }
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: lbImg .4s var(--ease); }
@keyframes lbImg { from { opacity: 0; transform: scale(.96); } }
.lb figcaption { display: flex; gap: 16px; align-items: center; color: #ddd; font-size: .86rem; letter-spacing: .06em; }
.lb-count { opacity: .6; font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255,255,255,.22); transform: scale(1.08); }
.lb-btn .i { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; margin-top: -24px; } .lb-next { right: 18px; top: 50%; margin-top: -24px; }

/* ---------------- PROCESS ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 34px 30px 32px; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.step-num { position: absolute; right: 20px; top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 5.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); letter-spacing: -.05em; opacity: .8; }
.step-ico { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--fg); display: grid; place-items: center; margin-bottom: 46px; }
.step-ico .i { width: 24px; height: 24px; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 62px; left: 100px; right: -20px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); z-index: 0; }

/* ---------------- ABOUT ---------------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-copy .eyebrow { margin-bottom: 18px; }
.about-copy > p { color: var(--muted); margin-bottom: 16px; max-width: 62ch; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 28px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: .94rem; }
.checks .i { color: var(--fg); width: 20px; height: 20px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--surface); }
.stat { padding: clamp(24px, 3.4vw, 40px) 24px; border: 0 solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stat:nth-child(odd) { border-right-width: 1px; } .stat:nth-child(-n+2) { border-bottom-width: 1px; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.stat > span { color: var(--muted); font-size: .84rem; }

/* ---------------- TESTIMONIALS ---------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; padding: 32px 30px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; transition: transform .4s var(--ease), border-color .3s; }
.quote:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.stars { letter-spacing: 4px; font-size: .95rem; }
.quote blockquote { margin: 0; color: var(--fg-soft); font-size: 1rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.quote small { color: var(--muted); font-size: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--inv); font-family: var(--font-display); font-weight: 800; font-size: .84rem; flex: none; }

/* ---------------- QUOTE FORM ---------------- */
.quote-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
.form-card { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; padding-block: 1.15em; white-space: normal; text-align: center; line-height: 1.25; }
.card > *, .contact-card > * { min-width: 0; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; border: 1px solid; }
.form-msg[hidden] { display: none; }
.form-msg.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.form-msg.err { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.control.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 16%, transparent); }
.contact-card { display: grid; gap: 18px; }
.contact-card h3, .card > h3 { font-size: 1.35rem; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.ci .i { width: 20px; height: 20px; }
.contact-list div { display: flex; flex-direction: column; line-height: 1.5; font-size: .94rem; }
.contact-list b { font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-list a { font-weight: 600; font-size: 1.04rem; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list small { color: var(--muted); }

/* ---------------- CONTACT ---------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.contact-grid .card { display: grid; gap: 18px; align-content: start; }
.map { border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
html:not([data-theme="light"]) .map iframe { filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); }
.map:hover iframe { filter: none; }

/* CTA band */
.cta-band { padding: clamp(64px, 9vw, 110px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 75%); }
.cta-inner { position: relative; display: grid; gap: 32px; justify-items: center; }
.cta-inner h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -.035em; line-height: 1; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------------- FOOTER ---------------- */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 84px) 0 28px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand img { height: 92px; width: auto; margin-bottom: 18px; }
.footer-brand > p { color: var(--muted); font-size: .92rem; max-width: 38ch; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); transition: all .25s var(--ease); }
.social a:hover { background: var(--fg); color: var(--inv); transform: translateY(-3px); }
.footer h4 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.footer li { margin-bottom: 10px; font-size: .92rem; color: var(--fg-soft); }
.footer li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { margin-top: 4px; width: 16px; height: 16px; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.footer-badges { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-badges span, .admin-link { display: inline-flex; gap: 7px; align-items: center; }
.footer-badges .i { width: 15px; height: 15px; }
.admin-link { opacity: .7; transition: opacity .2s; } .admin-link:hover { opacity: 1; color: var(--fg); }

/* ---------------- Floating buttons ---------------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.6s ease-out infinite; }
.fab-wa .i { width: 30px; height: 30px; }
.fab-wa:hover { transform: scale(1.1) rotate(-6deg); }
.fab-tip { position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px); background: var(--fg); color: var(--inv); font-size: .8rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all .3s var(--ease); }
.fab-wa:hover .fab-tip { opacity: 1; transform: translateY(-50%); }
.to-top { position: fixed; right: 31px; bottom: 96px; z-index: 140; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-strong);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--fg); color: var(--inv); }

/* Grid children may shrink (avoids horizontal overflow on phones) */
.hero-inner > *, .quote-grid > *, .contact-grid > *, .about > *, .services > *, .steps > *, .quotes > *, .footer-grid > *, .form-row > * { min-width: 0; }
.control { min-width: 0; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .about, .quote-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .container { width: min(1200px, 100% - 36px); }
  .narrow { width: min(860px, 100% - 36px); }
  .nav-logo .logo-lockup svg { height: 32px; }
  .logo-text b { font-size: 1.25rem; }
  .services, .steps, .quotes { grid-template-columns: minmax(0, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .step-ico { margin-bottom: 28px; }
  .gallery { column-gap: 10px; } .g-item { margin-bottom: 10px; border-radius: 12px; }
  .g-cap { display: none; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: 1fr; }
  .lb { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin: 0; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hv-chip { left: 2%; }
  .fab-wa { width: 54px; height: 54px; right: 16px; bottom: 16px; } .to-top { right: 22px; bottom: 82px; }
  .fab-tip { display: none; }
}
@media (hover: none) { .g-cap { opacity: 0; } }
body.no-scroll .fab-wa, body.no-scroll .to-top { opacity: 0; pointer-events: none; }

/* ---------------- TESTIMONIALS CAROUSEL ---------------- */
.q-carousel { position: relative; padding: 0 58px; }
.q-carousel .quotes { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 2px; }
.q-carousel .quotes::-webkit-scrollbar { display: none; }
.q-carousel .quote { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
.q-carousel .quote:hover { transform: none; }
.q-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--fg); color: var(--inv); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; transition: opacity .3s, transform .3s; }
.q-arrow:hover { transform: translateY(-50%) scale(1.08); }
.q-arrow[disabled] { opacity: .25; cursor: default; }
.q-prev { left: 0; } .q-next { right: 0; }
@media (max-width: 900px) { .q-carousel .quote { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .q-carousel { padding: 0 44px; } .q-carousel .quote { flex-basis: 100%; } .q-arrow { width: 38px; height: 38px; font-size: 1.5rem; } }

/* ---------------- NAV: room for "Carta de recomendación" ---------------- */
.nav-links a { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1380px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 9px; font-size: .8rem; }
}

/* ---------------- RECOMMENDATION FORM ---------------- */
.rec-wrap { max-width: 780px; margin: clamp(40px, 6vw, 64px) auto 0; }
.rec-head h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.2; }
.rec-head p { margin: 0; }
.rec-stars { border: 0; padding: 0; margin: 0; min-width: 0; }
.rec-stars legend { padding: 0; margin-bottom: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); }
.rec-stars-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; border-radius: 12px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.star-input label { font-size: 2.1rem; line-height: 1; padding: 2px 4px; border-radius: 8px; cursor: pointer; color: color-mix(in srgb, var(--muted) 45%, transparent); transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f5b400; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--fg); outline-offset: 2px; }
.star-input.is-invalid { box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger) 55%, transparent); }
.rec-stars-hint { font-size: .88rem; color: var(--muted); }
.rec-form textarea { resize: vertical; min-height: 130px; }
.rec-count { display: block; text-align: right; font-size: .76rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) { .star-input label { font-size: 1.9rem; padding: 2px; } }

/* ---------------- RECOMMENDATION CTA ---------------- */
.rec-cta { display: flex; justify-content: center; margin-top: 22px; }
.rec-wrap { margin-top: 18px; }
.rec-wrap[hidden] { display: none !important; }
.rec-head h3 { font-size: 1.1rem; }
.rec-head p { font-size: .85rem; }

/* ---- Servicios compactos (2026-10-08) ---- */
.services { gap: 12px; }
.svc { padding: 18px 18px 14px; }
.svc-top { margin-bottom: 12px; }
.svc-icon { width: 42px; height: 42px; border-radius: 11px; }
.svc-icon .i { width: 21px; height: 21px; }
.svc h3 { font-size: 1.12rem; margin-bottom: 6px; }
.svc > p { font-size: .9rem; line-height: 1.45; margin-bottom: 10px; }
.svc ul { gap: 4px; margin-bottom: 12px; font-size: .85rem; }
.svc li { gap: 8px; }
.svc-link { padding-top: 10px; }
.svc:hover { transform: translateY(-3px); }
/* ---- Portada: menos espacio arriba (2026-10-08) ---- */
.hero { padding-top: calc(var(--nav-h) + 16px); }
/* ---- Evitar saltos de scroll por cambios de contenido (2026-10-08) ---- */
html, body { overflow-anchor: none; }
/* ---- Servicios: menos espacio arriba (2026-10-08) ---- */
#servicios { padding-top: 40px; }
/* ---- Secciones compactas (2026-10-08) ---- */
.section { padding: clamp(36px, 4vw, 56px) 0; }
.section-head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head h2 { margin-bottom: 10px; }
#servicios { padding-top: 40px; }
/* ---- Galeria: menos espacio arriba (2026-10-08) ---- */
#galeria { padding-top: 16px; }
#galeria .section-head { margin-bottom: 16px; }
#galeria .filters { margin-bottom: 20px; }
/* ---- Cotizar como ventana aparte, fuera del recorrido (2026-10-08) ---- */
#cotizar[hidden] { display: none !important; }
#cotizar { position: fixed; inset: 0; z-index: 300; overflow-y: auto; padding: 72px 0 40px; background: var(--bg-2); }
.cot-close { position: fixed; top: 16px; right: 20px; z-index: 301; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); font-size: 1.4rem; cursor: pointer; }
/* ---- Equis de la cotizacion mas visible (2026-10-08) ---- */
.cot-close { width: 48px; height: 48px; background: var(--fg); color: var(--inv); border: 2px solid var(--fg); font-size: 1.7rem; font-weight: 700; line-height: 1; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.45); transition: transform .2s; }
.cot-close:hover { transform: scale(1.08) rotate(90deg); }
/* ---- Equis verde (como WhatsApp) con X blanca (2026-10-08) ---- */
.cot-close { background: var(--wa); color: #fff; border-color: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.25), 0 6px 18px rgba(0,0,0,.45); }
/* ---- Nombre de la empresa sobre el punto del mapa (2026-10-08) ---- */
.map { position: relative; }
.map-label { position: absolute; left: 50%; top: calc(50% - 46px); transform: translate(-50%, -100%); z-index: 2; pointer-events: none; background: var(--wa); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.map-label::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--wa); }

/* ==========================================================================
   GALERIA REDISENO 2026-10-08 — pestañas limpias, cuadrícula pareja 4:3,
   tarjetas con sombra suave, hover sutil, leyenda con degradado
   ========================================================================== */
#galeria .filters { display: flex; flex-wrap: nowrap; gap: 4px; width: max-content; max-width: 100%; padding: 5px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
#galeria .filters::-webkit-scrollbar { display: none; }
#galeria .chip { flex: none; white-space: nowrap; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600; font-size: .84rem; }
#galeria .chip:hover { transform: none; color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); }
#galeria .chip.is-active { background: var(--fg); color: var(--inv); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
#galeria .chip small { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: .68rem; font-weight: 700; opacity: 1;
  background: color-mix(in srgb, currentColor 14%, transparent); }

#galeria .gallery { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; transition: opacity .18s ease, transform .18s ease; }
#galeria .gallery.is-switching { opacity: 0; transform: translateY(6px) scale(.99); }
#galeria .g-item { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; animation-fill-mode: backwards;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 22px rgba(0,0,0,.08); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
#galeria .g-item:hover, #galeria .g-item:focus-within { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 4px 10px rgba(0,0,0,.08), 0 18px 38px rgba(0,0,0,.16); }
#galeria .g-btn { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2, var(--surface)); }
#galeria .g-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
#galeria .g-btn:hover img, #galeria .g-btn:focus-visible img { transform: scale(1.05); }
#galeria .g-btn::after { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,.70) 0%, rgba(0,0,0,.28) 26%, transparent 48%); }
#galeria .g-cap { display: flex; opacity: 1; transform: none; padding: 12px 14px; gap: 10px; }
#galeria .g-cap em { font-size: .82rem; font-weight: 600; letter-spacing: .03em; text-shadow: 0 1px 3px rgba(0,0,0,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#galeria .g-cap .i { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
#galeria .g-btn:hover .g-cap .i, #galeria .g-btn:focus-visible .g-cap .i { opacity: 1; transform: none; }
#galeria .gallery-more { margin-top: 26px; }

@media (max-width: 1100px) {
  #galeria .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 760px) {
  #galeria .filters { width: auto; margin-inline: -2px; }
  #galeria .chip { padding: 8px 13px; font-size: .8rem; }
  #galeria .gallery { gap: 10px; }
  #galeria .g-item { border-radius: 12px; }
  #galeria .g-item:hover { transform: none; }
  #galeria .g-cap { display: flex; padding: 8px 10px; }
  #galeria .g-cap em { font-size: .72rem; }
  #galeria .g-cap .i { display: none; }
}
@media (max-width: 359px) {
  #galeria .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none) { #galeria .g-cap { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #galeria .gallery, #galeria .g-item, #galeria .g-btn img { transition: none; }
}

/* ==========================================================================
   PORTADA: animacion de entrada "choque de dos fotos" + titulo impreso en 3D (2026-10-09)
   Inspirada en blac.racing. Solo transform/opacity. La controla site.js
   (clases crash-*) y no corre con prefers-reduced-motion.
   ========================================================================== */
.hv-crash-glow, .hv-crash-sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.hv-crash-glow::before { content: ""; position: absolute; left: -36vmin; top: -36vmin; width: 72vmin; height: 72vmin; max-width: 640px; max-height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,42,42,.95) 0%, rgba(255,42,42,.6) 26%, rgba(255,42,42,.18) 52%, rgba(255,42,42,0) 70%); filter: blur(16px); }
.hv-crash-glow { opacity: 0; will-change: transform, opacity; }
.hv-crash-sparks i { position: absolute; left: 0; top: -1px; width: 56px; height: 2px; border-radius: 2px; transform-origin: 0 50%; opacity: 0;
  background: linear-gradient(90deg, #fff 0%, #ff2a2a 45%, rgba(255,42,42,0) 100%); box-shadow: 0 0 6px rgba(255,42,42,.8); will-change: transform, opacity; }
.hero.crash-run .hv-card { animation: none; will-change: transform, opacity; }
.hero.crash-run .hv-card, .hero.crash-run .hv-chip { opacity: 0; }
/* Carga inicial: el bloque de fotos se ve de inmediato y el texto espera al choque */
.js .hero.crash-now .hero-visual.reveal { opacity: 1; transform: none; transition: none; }
.hero.crash-now .hv-main img, .hero.crash-now .hv-scan { animation-delay: .45s; animation-duration: 1.1s; }
.js .hero .hero-copy .reveal.crash-wait { opacity: 0; transform: translateY(26px); }
/* Titulo "impreso" por capas: el h1 se ve fijo y sus lineas se revelan con clip-path */
.hero-title { position: relative; }
.js .hero .hero-title.reveal.crash-print { opacity: 1; transform: none; transition: none; }
.hero-title.crash-print > span { will-change: clip-path; }
.hv-print-nozzle, .hv-print-layers { position: absolute; left: -2%; right: -2%; top: 0; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.hv-print-nozzle { height: 3px; margin-top: -1px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(255,106,42,0) 0%, #ff6a2a 12%, #fff 50%, #ff6a2a 88%, rgba(255,106,42,0) 100%);
  box-shadow: 0 0 10px 2px rgba(255,90,40,.75), 0 0 26px 6px rgba(255,42,42,.35); }
.hv-print-layers { height: 34px; background: repeating-linear-gradient(to bottom, rgba(255,120,60,0) 0 5px, rgba(255,120,60,.28) 5px 6px); }
.js .hero.crash-copy .hero-copy .reveal { transition-duration: .55s; transition-delay: calc(var(--d, 0s) * .6); }
/* Parrafo escrito letra por letra: cabezal naranja/rojo como la boquilla */
.js .hero .hero-sub.reveal.tw-run { position: relative; opacity: 1; transform: none; transition: none; }
.hero-sub .tw-c { opacity: 0; }
.hero-sub .tw-c.on { opacity: 1; }
.tw-cursor { position: absolute; left: 0; top: 0; width: 3px; height: 1.2em; margin-top: .05em; border-radius: 2px; pointer-events: none; will-change: transform, opacity;
  background: linear-gradient(180deg, #fff 0%, #ff6a2a 60%, #ff2a2a 100%); box-shadow: 0 0 8px 2px rgba(255,90,40,.8), 0 0 20px 5px rgba(255,42,42,.35); transition: opacity .2s; }
.tw-cursor.tw-end { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hv-crash-glow, .hv-crash-sparks, .hv-print-nozzle, .hv-print-layers, .tw-cursor { display: none; }
  .hero-sub .tw-c { opacity: 1; }
  .hero.crash-run .hv-card, .hero.crash-run .hv-chip { opacity: 1; }
}

/* ==========================================================================
   MINIMALISTA 2026-10-11 — logo M nueva, portada con una sola foto y estilo
   sobrio en toda la página: casi monocromo, un solo acento, menos bordes,
   brillos, degradados e íconos decorativos, más aire. Solo override.
   ========================================================================== */
:root { --accent: #ff6a2a; --radius: 12px; --shadow-soft: 0 1px 2px rgba(0,0,0,.18), 0 18px 40px -24px rgba(0,0,0,.55); }
[data-theme="light"] { --shadow-soft: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -26px rgba(0,0,0,.22); --bg-2: #fafafa; --surface: #f7f7f7; }

/* Logo */
.logo-lockup { gap: 11px; }
.logo-lockup svg { height: 36px; width: auto; }
.nav-logo .logo-lockup svg { height: 34px; }
.nav.is-stuck .nav-logo .logo-lockup svg { height: 30px; }
.logo-text b { font-weight: 700; font-size: 1.32rem; letter-spacing: .01em; line-height: .95; }
.logo-text span { font-weight: 300; font-size: 1.02rem; letter-spacing: .02em; margin-top: 1px; color: var(--fg); }
.footer-brand img { height: 84px; }

/* Nav */
.nav.is-stuck { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-links a:hover { background: transparent; color: var(--fg); }
.nav-links a.is-active::after { background: var(--accent); }

/* Tipografía y secciones */
.section { padding: clamp(64px, 8vw, 112px) 0; }
#servicios { padding-top: clamp(56px, 7vw, 96px); }
#galeria { padding-top: clamp(48px, 6vw, 80px); }
.section-alt { background: var(--bg-2); border-block: 0; }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2, .about-copy h2 { font-weight: 700; letter-spacing: -.03em; }
.dim { font-weight: 700; }
.eyebrow { font-weight: 600; letter-spacing: .28em; font-size: .7rem; }
.eyebrow .i { display: none; }
.eyebrow .pulse { background: var(--accent) !important; box-shadow: none !important; animation: none !important; }
.outline { color: var(--fg); -webkit-text-stroke: 0; }
.lead { line-height: 1.65; }
.marquee { display: none; }

/* Botones: planos */
.btn { box-shadow: none !important; }
.btn-ghost { border-color: var(--line-strong); }

/* ---------- PORTADA ---------- */
.hero-bg { display: none; }
.hero { padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 64px)); }
.hero-inner { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero-title { font-weight: 800; letter-spacing: -.04em; }
.hero-title i { color: var(--accent); }
.hero-facts { border-top: 0; padding-top: 0; }
.hero-facts b { font-weight: 700; }
.hv-solo { aspect-ratio: 4 / 5; }
.hv-solo .hv-main { inset: 0; border: 0; border-radius: 14px; box-shadow: var(--shadow-soft); background: var(--surface); }
.hv-solo .hv-main img { animation: none; object-fit: cover; }
.hero.crash-run .hv-solo .hv-main img { clip-path: inset(100% 0 0 0); }
.hero.crash-run.solo-print .hv-solo .hv-main img { clip-path: none; }

/* ---------- SERVICIOS ---------- */
.svc { border: 0; background: var(--surface); box-shadow: none; }
.svc::before { display: none; }
.svc:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.svc-icon { background: transparent; color: var(--fg); width: auto; height: auto; border-radius: 0; }
.svc-icon .i { width: 24px; height: 24px; stroke-width: 1.4; }
.svc:hover .svc-icon { transform: none; }
.svc-num { color: var(--muted); font-weight: 500; font-size: .8rem; }
.svc h3 { font-weight: 700; }
.svc li .i { color: var(--muted); stroke-width: 2; width: 14px; height: 14px; }
.svc-link { border-top-color: var(--line); }
.svc-link:hover { color: var(--accent); }

/* ---------- GALERÍA ---------- */
#galeria .filters { border: 0; background: transparent; padding: 0; gap: 2px; }
#galeria .chip { color: var(--muted); }
#galeria .chip.is-active { background: transparent; color: var(--fg); box-shadow: inset 0 -2px 0 var(--fg); border-radius: 0; }
#galeria .chip small { background: transparent; }
#galeria .g-item { border: 0; box-shadow: none; border-radius: 10px; }
#galeria .g-item:hover, #galeria .g-item:focus-within { transform: none; box-shadow: var(--shadow-soft); }
#galeria .g-btn:hover img, #galeria .g-btn:focus-visible img { transform: scale(1.02); }
#galeria .g-btn::after { background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 36%); }
#galeria .g-cap em { text-shadow: none; font-weight: 500; }
#galeria .g-cap .i { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- PROCESO ---------- */
.step { border: 0; background: transparent; padding: 8px 0 0; border-top: 1px solid var(--line); border-radius: 0; }
.step:hover { transform: none; }
.step-num { position: static; display: block; font-size: .85rem; font-weight: 600; letter-spacing: .2em; color: var(--accent); -webkit-text-stroke: 0; margin: 18px 0 14px; }
.step-ico { display: none; }
.step:not(:last-child)::after { display: none; }
.step h3 { font-weight: 700; }

/* ---------- NOSOTROS ---------- */
.stats { border: 0; background: transparent; border-radius: 0; gap: 0; }
.stat { border-color: var(--line); padding: 26px 0 26px 24px; }
.stat b { font-weight: 700; }
.checks .i { color: var(--muted); width: 16px; height: 16px; }

/* ---------- OPINIONES ---------- */
.quote { border: 0; background: var(--surface); }
.quote:hover { transform: none; }
.quote figcaption { border-top: 0; padding-top: 4px; }
.avatar { background: var(--surface-3); color: var(--fg); font-weight: 600; }
.stars { color: var(--fg); }

/* ---------- COTIZAR / CONTACTO ---------- */
.card { border: 0; background: var(--surface); }
.ci { border: 0; background: transparent; width: 28px; height: 28px; border-radius: 0; }
.ci .i { width: 18px; height: 18px; color: var(--muted); }
.map { border: 0; box-shadow: var(--shadow-soft); }
.map-label { background: var(--fg); color: var(--inv); box-shadow: none; font-weight: 700; }
.map-label::after { background: var(--fg); }
.control { box-shadow: none; }
.control:focus { border-color: var(--fg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fg) 10%, transparent); }

/* ---------- FRANJA CTA ---------- */
.cta-band { background: var(--bg-2); }
.cta-band::before { display: none; }
.cta-inner h2 { font-weight: 700; letter-spacing: -.04em; }

/* ---------- PIE ---------- */
.footer { border-top: 1px solid var(--line); }
.footer h4 { font-weight: 600; }
.footer-contact .i { opacity: .7; }
.footer-bottom { border-top: 0; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hv-solo { aspect-ratio: 4 / 3; max-width: 560px; }
  .stat { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero.crash-run .hv-solo .hv-main img { clip-path: none; }
  .svc, .g-item, .quote { transition: none; }
}

/* Fotos de servicios (minimalista) */
.svc-media { margin: -30px -28px 22px; aspect-ratio: 16/10; overflow: hidden; border-radius: calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0; background: #eee; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.03); }
@media (max-width: 760px) { .svc-media { margin: -18px -18px 14px; } }
