/* Shared look for the inner pages — same tokens as the home page design. */
:root {
  --gold: #DBA552;
  --ink: #0E0F0F;
  --ink-deep: #0A0B0B;
  --surface: #141414;
  --surface-2: #161616;
  --line: #2A2A28;
  --line-strong: #3A3834;
  --muted: #8C8983;
  --soft: #C7C4BE;
  --white: #FFFFFF;
  --radius: 0;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: 'Work Sans', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Oswald', sans-serif; margin: 0; text-transform: uppercase; letter-spacing: -.01em; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 48px; }

.marquee { display: flex; white-space: nowrap; overflow: hidden; background: var(--gold); }
.marquee span { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--ink); text-transform: uppercase; padding: 10px 48px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 4px solid var(--gold); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 120px; gap: 24px; }
.bar .logo img { height: 76px; width: auto; display: block; }
.mainnav { display: flex; gap: 40px; }
.navlink { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--white); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.navlink:hover { border-bottom-color: var(--gold); }
.navlink[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.bar-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; align-items: center; gap: 8px; background: transparent; color: var(--white); border: 2px solid var(--line-strong); border-radius: var(--radius); padding: 10px 14px; font: 800 12px 'Work Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; stroke: var(--gold); }
.mnav { display: none; border-top: 1px solid var(--line); background: var(--ink); }
.mnav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.mnav a[aria-current="page"] { color: var(--gold); }
.mnav.open { display: block; }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; padding: 17px 32px; border-radius: var(--radius); border: 2px solid var(--gold); cursor: pointer; font-family: 'Work Sans', sans-serif; }
.btn-primary:hover { background: var(--ink); color: var(--gold); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--white); font-weight: 700; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; padding: 16px 30px; border-radius: var(--radius); border: 2px solid var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.bar .btn-primary { padding: 13px 24px; font-size: 13px; }

.eyebrow { display: block; font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.pagehead { background: var(--surface); padding: 88px 0 80px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.pagehead h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.03; font-weight: 700; max-width: 900px; }
.pagehead h1 em { font-style: normal; color: var(--gold); }
.pagehead .lead { color: var(--soft); font-size: 18px; line-height: 1.6; max-width: 640px; margin-top: 24px; font-weight: 500; }

.section { padding: 96px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 700; margin-bottom: 18px; }
.section-intro { color: var(--soft); font-size: 17px; line-height: 1.65; max-width: 680px; margin-bottom: 48px; }

.card { background: var(--surface-2); border: 1px solid var(--line); border-left: 6px solid var(--gold); padding: 34px 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 24px; font-weight: 700; line-height: 1.15; }
.card p { color: var(--soft); font-size: 16px; line-height: 1.6; }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card li { color: var(--white); font-size: 14.5px; font-weight: 600; padding-left: 22px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--gold); }

.ph { background: #1A1B1B; border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 20px; }
.chip { display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); padding: 12px 18px; background: var(--surface); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
.chip svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.steps { counter-reset: step; }
.step { border-top: 4px solid var(--gold); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 40px; color: var(--gold); line-height: 1; }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { color: var(--soft); font-size: 15px; line-height: 1.6; }

.cta-band { background: var(--gold); color: var(--ink); padding: 72px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; font-weight: 700; max-width: 680px; }
.cta-band p { font-weight: 600; margin-top: 10px; font-size: 16px; }
.cta-band .btn-primary { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.cta-band .btn-primary:hover { background: transparent; color: var(--ink); }

.site-footer { background: var(--ink-deep); padding: 52px 0; border-top: 4px solid var(--gold); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer img { height: 58px; width: auto; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer nav a { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.site-footer nav a:hover { color: var(--gold); }
.site-footer .legal { width: 100%; font-size: 12.5px; color: #5A5750; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

@media (max-width: 960px) {
  .mainnav { display: none; }
  .menu-btn { display: inline-flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .marquee span { padding: 10px 16px; }
  .bar { height: 84px; gap: 12px; }
  .bar .logo img { height: 46px; }
  .bar .btn-primary { display: none; }
  .pagehead { padding: 56px 0 52px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btn-primary { width: 100%; }
}

/* ---------- Motion ---------- */
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

.site-header .bar, .bar .logo img { transition: height .3s ease; }
.site-header.scrolled .bar { height: 88px; }
.site-header.scrolled .bar .logo img { height: 56px; }

.navlink { transition: color .2s ease, border-color .2s ease; }
.btn-primary, .btn-ghost, .menu-btn, .site-footer nav a { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn-primary:hover, .btn-ghost:hover { transform: translateY(-2px); }
.btn-primary:active, .btn-ghost:active { transform: translateY(0); }

.mnav.open { animation: menu-in .25s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

.pagehead .eyebrow, .pagehead h1, .pagehead .lead { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.pagehead h1 { animation-delay: .1s; }
.pagehead .lead { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.card { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); border-color: #3A3834; box-shadow: 0 18px 40px -20px rgba(219, 165, 82, .35); }

/* Scroll reveal — only once the script has marked the page, so nothing hides without JS. */
.motion .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .step.reveal { border-top-color: transparent; position: relative; }
.motion .step.reveal::after { content: ""; position: absolute; left: 0; top: -4px; height: 4px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0s) + .15s); }
.motion .step.reveal.in::after { transform: scaleX(1); }
/* Keep the card's hover lift working after it has revealed. */
.motion .card.reveal.in:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion .reveal { opacity: 1; transform: none; }
  .motion .step.reveal { border-top-color: var(--gold); }
  .motion .step.reveal::after { display: none; }
}

/* ---------- Photos ---------- */
.shot { position: relative; overflow: hidden; background: #1A1B1B; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; cursor: zoom-in; }
.card:hover .shot img { transform: scale(1.04); }
.badge { position: absolute; background: var(--gold); color: var(--ink); font: 800 11px/1 'Work Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; pointer-events: none; }
.badge.dark { background: var(--ink); color: var(--white); border: 1px solid var(--line-strong); }

.zoom { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 90vh; }
.zoom::backdrop { background: rgba(10, 11, 11, .9); }
.zoom img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border: 2px solid var(--gold); }
.zoom p { color: var(--soft); font-size: 14px; text-align: center; margin-top: 12px; }
.zoom button { position: absolute; top: 8px; right: 8px; background: var(--gold); color: var(--ink); border: 0; font: 800 13px 'Work Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; }
.zoom[open] { animation: menu-in .25s ease-out; }


/* ---------- Depth: photo heads, grain, angled edges ---------- */
/* Fine sand grain over the dark surfaces — the texture of the trade. */
.hero::before, .pagehead::before, .section.alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section.alt { position: relative; }
.section.alt > .container, .pagehead > .container, .hero > .container { position: relative; z-index: 2; }

.pagehead { background: var(--ink); padding: 104px 0 120px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%); }
.pagehead-bg, .hero-bg { position: absolute; inset: 0 0 0 auto; width: 62%; overflow: hidden; z-index: 0; }
.pagehead-bg img, .hero-bg img { width: 100%; height: 115%; object-fit: cover; display: block; will-change: transform; }
.pagehead-bg::after, .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(14, 15, 15, .82) 30%, rgba(14, 15, 15, .35) 70%, rgba(14, 15, 15, .2) 100%),
              linear-gradient(0deg, rgba(14, 15, 15, .7), transparent 45%);
}
.pagehead-bg img { filter: saturate(.85); }
.pagehead .lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }

.hero { position: relative; overflow: hidden; background: var(--ink); padding: 120px 0 170px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 0 100%); }
.hero-bg { width: 64%; }
.hero-bg::after {
  background: linear-gradient(90deg, var(--ink) 0%, rgba(14, 15, 15, .7) 28%, rgba(14, 15, 15, .1) 65%, transparent 100%),
              linear-gradient(0deg, rgba(14, 15, 15, .75), transparent 40%);
}
.hero-inner { display: flex; flex-direction: column; gap: 26px; max-width: 1200px; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; font-weight: 700; max-width: 640px; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero .gold { color: var(--gold); }
.hero .lead { color: var(--soft); font-size: 18px; line-height: 1.6; max-width: 520px; font-weight: 500; text-shadow: 0 2px 18px rgba(0, 0, 0, .7); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.hero-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.hero-chips .chip { background: rgba(20, 20, 20, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .eyebrow, .hero h1, .hero .lead, .hero-ctas, .hero-chips { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 { animation-delay: .1s; } .hero .lead { animation-delay: .22s; } .hero-ctas { animation-delay: .34s; } .hero-chips { animation-delay: .46s; }
.hero-bg { animation: hero-zoom 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hero-zoom { from { transform: scale(1.12); opacity: 0; } }

.section.angled { clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%); margin-top: -48px; padding-top: 144px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head .section-intro { margin-bottom: 0; }
.section .eyebrow { margin-bottom: 14px; }

/* Cards sit above the surface. */
.card { background: linear-gradient(160deg, #1B1B1A 0%, #141414 60%); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .9); }
.svc-card { gap: 12px; }
.svc-card .svc-num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 40px; line-height: 1; color: var(--gold); }
.svc-card h3 { font-size: 21px; }
.svc-card p { font-size: 15px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.more .arrow { width: 16px; height: 16px; stroke: var(--gold); transition: transform .25s ease; }
.card:hover .more .arrow { transform: translateX(5px); }
.show-card { padding: 18px 18px 22px; }
.show-card h3 { font-size: 20px; margin-top: 8px; }

.zona-strip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.city-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.city-chips .chip { font-size: 15px; padding: 16px 18px; }
.city-chips .chip svg { width: 22px !important; height: 22px !important; }

/* ---------- Quote button: louder ---------- */
.arrow { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; transition: transform .25s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 20px 36px; font-size: 16px; box-shadow: 0 14px 34px -12px rgba(219, 165, 82, .55); }
.btn-primary { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 62% { left: -60%; } 82%, 100% { left: 130%; } }
.bar .btn-primary { box-shadow: 0 0 0 0 rgba(219, 165, 82, .6); animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(219, 165, 82, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(219, 165, 82, 0); } }

.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 14px;
  background: var(--gold); color: var(--ink); padding: 14px 20px 14px 22px; overflow: hidden;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(14, 15, 15, .2) inset;
  transform: translateY(140%); opacity: 0; transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
}
.float-cta.show { transform: none; opacity: 1; }
.float-cta-text { display: flex; flex-direction: column; line-height: 1.15; }
.float-cta strong { font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.float-cta small { font-weight: 600; font-size: 12px; }
.float-cta .arrow { width: 22px; height: 22px; }
.float-cta:hover .arrow { transform: translateX(4px); }

@media (max-width: 960px) {
  .zona-strip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-bg, .pagehead-bg { width: 100%; }
  .hero-bg::after, .pagehead-bg::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(14, 15, 15, .82) 55%, rgba(14, 15, 15, .55) 100%); }
}
@media (max-width: 640px) {
  .hero { padding: 72px 0 110px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%); }
  .pagehead { padding: 64px 0 84px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
  .section.angled { clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%); margin-top: -24px; padding-top: 88px; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .city-chips { grid-template-columns: minmax(0, 1fr); }
  /* Phones: the quote button is a bar pinned to the bottom of the screen. */
  .float-cta { left: 0; right: 0; bottom: 0; justify-content: center; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); transform: none; opacity: 1; }
  body:has(.float-cta) { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .shine::after { display: none; }
  .float-cta { transition: none; }
}

/* Hero photo mirrored so the worker sits on the right, blasting toward the headline. */
.hero-bg .flip { position: absolute; inset: 0; transform: scaleX(-1); overflow: hidden; }
.hero-bg .flip img { object-position: 0% 35%; }
.hero-bg { width: 66%; }
.hero-bg::after {
  background: linear-gradient(90deg, var(--ink) 0%, rgba(14, 15, 15, .55) 22%, rgba(14, 15, 15, 0) 52%),
              linear-gradient(0deg, rgba(14, 15, 15, .7), transparent 35%);
}
@media (max-width: 960px) {
  .hero-bg { width: 100%; }
  .hero-bg::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(14, 15, 15, .8) 50%, rgba(14, 15, 15, .35) 100%); }
}

/* ---------- Corrections 2026-10-07 ---------- */
/* Service cards land below the sticky header when opened from the home page. */
.card[id] { scroll-margin-top: 150px; }
/* Nosotros: explained strengths instead of repeated chips. */
.points { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.point { border-left: 4px solid var(--gold); padding-left: 18px; }
.point h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.point p { color: var(--soft); font-size: 16px; line-height: 1.6; }
.site-footer .footer-cities { width: 100%; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* Óxido service: design panel until a real photo exists — rust fading into bare steel. */
.rust-panel {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(105deg, #7A3B1C 0%, #9C5226 22%, #5B2C16 42%, #3B3D40 62%, #6E7378 82%, #9BA1A6 100%);
  font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: .02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
.rust-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .6; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.rust-panel span { position: relative; }
.rust-panel .to { color: var(--gold); }
.card:hover .rust-panel .to { animation: nudge .6s ease; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* Sections opened by link (#zona) start below the sticky header. */
section[id] { scroll-margin-top: 110px; }

/* Home spacing, tightened 2026-10-07: less empty space from the headline to the services. */
.hero { padding: 80px 0 104px; }
.hero-inner { gap: 20px; }
.hero-chips { margin-top: 8px; }
.hero + .section { padding-top: 48px; }
.hero + .section .section-intro { margin-bottom: 36px; }
@media (max-width: 640px) {
  .hero { padding: 56px 0 80px; }
  .hero + .section { padding-top: 36px; }
}

/* Inner page headers, tightened 2026-10-07 (Servicios, Proyectos, Nosotros). */
.pagehead { padding: 72px 0 84px; }
.pagehead .lead { margin-top: 18px; }
.pagehead + .section { padding-top: 48px; }
@media (max-width: 640px) {
  .pagehead { padding: 48px 0 64px; }
  .pagehead + .section { padding-top: 36px; }
}

/* Phones, 2026-10-07: slim one-line quote bar that slides in after the first screen. */
@media (max-width: 640px) {
  .float-cta { padding: 11px 16px calc(11px + env(safe-area-inset-bottom)); gap: 10px; transform: translateY(110%); opacity: 0; box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .7); }
  .float-cta.show { transform: none; opacity: 1; }
  .float-cta small { display: none; }
  .float-cta strong { font-size: 14px; }
  .float-cta .arrow { width: 18px; height: 18px; }
  body:has(.float-cta) { padding-bottom: 46px; }
}

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; left: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font: 800 14px 'Work Sans', sans-serif; letter-spacing: .03em;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); transition: transform .25s ease, bottom .3s cubic-bezier(.2, .7, .2, 1);
  animation: rise .6s cubic-bezier(.2, .7, .2, 1) .8s both;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; font: 800 14px 'Work Sans', sans-serif; letter-spacing: .04em; text-transform: uppercase; padding: 14px 20px; transition: transform .2s ease; }
.wa-btn:hover { transform: translateY(-2px); }
.wa-btn svg { width: 22px; height: 22px; }
[data-wa-block] { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
[data-wa-block] p { color: var(--soft); font-weight: 600; margin: 0 0 12px; }
.site-footer .footer-wa { width: 100%; }
.site-footer .footer-wa a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 15px; }
.site-footer .footer-wa svg { width: 20px; height: 20px; color: #25D366; }
@media (max-width: 640px) {
  /* Phones: a round button above the quote bar; it lifts when the bar slides in. */
  .wa-float { left: auto; right: 16px; bottom: 16px; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .wa-float-text { display: none; }
  .wa-float svg { width: 30px; height: 30px; }
  .float-cta.show ~ .wa-float { bottom: 58px; }
}

/* Home kicker over the photo: a dark tag so the gold reads on any background (2026-10-07). */
.hero .eyebrow { align-self: flex-start; background: rgba(14, 15, 15, .82); border-left: 3px solid var(--gold); padding: 8px 12px; margin-bottom: 0; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 960px) {
  /* Phones/tablets: darken the TOP of the photo too, where the headline sits. */
  .hero-bg::after { background: linear-gradient(180deg, rgba(14, 15, 15, .78) 0%, rgba(14, 15, 15, .55) 35%, rgba(14, 15, 15, .7) 70%, var(--ink) 100%); }
}
@media (max-width: 640px) {
  .hero .eyebrow { font-size: 11.5px; letter-spacing: .16em; }
}

/* ---------- Email ---------- */
.site-footer .footer-contact { width: 100%; }
.site-footer .footer-contact a, .mail-link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 15px; word-break: break-all; }
.site-footer .footer-contact a:hover, .mail-link:hover { color: var(--gold); }
.site-footer .footer-contact svg, .mail-link svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
[data-email-block] { margin-top: 22px; }
[data-email-block] p { color: var(--soft); font-weight: 600; margin: 0 0 8px; }

/* ---------- Proyectos: featured project ---------- */
.featured-wrap + .section { padding-top: 24px; }
.featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; padding: 24px; align-items: start; }
.featured-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.featured-info { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.featured-info .eyebrow { margin-bottom: 0; }
.featured-info .section-title { margin-bottom: 0; }
.featured-info > p { color: var(--soft); font-size: 16px; line-height: 1.6; }
.featured-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.featured-list li { border: 1px solid var(--line-strong); padding: 7px 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.featured-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.featured-thumbs .badge { font-size: 9px; padding: 5px 7px; top: 6px !important; left: 6px !important; }
.featured-hint { color: var(--muted) !important; font-size: 13px !important; }
@media (max-width: 960px) {
  .featured { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 16px; }
}
@media (max-width: 640px) {
  .featured-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card ul.featured-list { flex-direction: row; gap: 8px; margin: 0; }
.card .featured-list li { padding: 7px 12px; color: var(--white); }
.card .featured-list li::before { display: none; }

/* ---------- Salitre (2026-10-13) ---------- */
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.grid-5 .svc-card h3 { font-size: 19px; }
.svc-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; }
.svc-wide > div:last-child { display: flex; flex-direction: column; gap: 14px; }
.svc-wide .svc-note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 12px; }
/* Design panel until real salitre photos exist: white salt crust fading into clean grey concrete. */
.salt-panel {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(105deg, #F1EEE6 0%, #DCD7CB 20%, #B9B4A8 38%, #8E8C88 58%, #6F7173 78%, #5A5D60 100%);
  font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(22px, 2.6vw, 32px);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}
.salt-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .7; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .6  0 0 0 0 .58  0 0 0 0 .55  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.salt-panel span { position: relative; }
.salt-panel .to { color: var(--gold); }
@media (max-width: 1180px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-wide { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) { .grid-5 { grid-template-columns: minmax(0, 1fr); } }
/* Featured project now has 3 thumbnails. */
.featured-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .featured-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
