:root {
  --yellow: #f6cc46;
  --yellow-bright: #ffd400;
  --ink: #0b0d0f;
  --ink-soft: #24282c;
  --blue: #156ff5;
  --blue-deep: #085bd1;
  --white: #fff;
  --concrete: #f3f4f4;
  --line: #d9dcde;
  --muted: #656b70;
  --shell: min(1320px, calc(100vw - 64px));
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 142px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 16px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
body.consent-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -.035em; line-height: .98; text-transform: uppercase; }
h1, h2 { font-style: italic; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 6.7vw, 6.6rem); }
h2 { margin-bottom: 24px; font-size: clamp(2.3rem, 4.3vw, 4.7rem); }
h3 { margin-bottom: 8px; font-size: 1.65rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.eyebrow, .section-index { margin-bottom: 18px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-index.light { color: var(--yellow-bright); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 12px 28px; border: 1px solid transparent; border-radius: 3px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; line-height: 1.2; text-align: center; text-transform: uppercase; transition: color 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--yellow-bright); clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
.button-primary:hover, .button-primary:active { color: var(--white); background: var(--blue); }
.button-dark { color: var(--white); background: var(--blue); clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
.button-dark:hover, .button-dark:active { color: var(--ink); background: var(--yellow-bright); }
.button-client { color: var(--white); background: var(--blue); clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
.button-client:hover { background: var(--blue-deep); }
.button-outline { border-color: var(--ink); }

.site-header { position: fixed; z-index: 30; top: 0; right: 0; left: 0; height: 132px; padding-top: 24px; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 100% 79%, 0 100%); transition: filter 200ms ease; }
.site-header.is-scrolled { filter: drop-shadow(0 8px 14px rgb(0 0 0 / 12%)); }
.office-notice { position: absolute; top: 0; right: 0; left: 0; display: flex; min-height: 28px; align-items: center; justify-content: center; padding: 5px 64px; color: var(--white); background: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .06em; line-height: 1.25; text-align: center; text-transform: uppercase; }
.office-notice:hover { color: var(--yellow-bright); }
.header-inner { height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { flex: 0 0 auto; align-self: flex-start; width: 190px; height: 80px; overflow: hidden; }
.brand img { width: 190px; height: auto; transform: translateY(1px); }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); margin-left: auto; font-size: .74rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language { display: inline-flex; width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid rgb(11 13 15 / 22%); border-radius: 3px; }
.language:hover { border-color: var(--ink); background: rgb(255 255 255 / 28%); }
.language-flag { width: 30px; height: 20px; object-fit: cover; border: 1px solid rgb(11 13 15 / 22%); box-shadow: 0 2px 5px rgb(0 0 0 / 12%); }
.header-cta { color: var(--white); background: var(--blue); min-height: 48px; }
.header-cta:hover, .header-cta:active { color: var(--yellow-bright); background: var(--ink); }
.header-cta:active { transform: translateY(1px); }
.menu-toggle { display: none; width: 52px; height: 48px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 3px; margin: 5px 0; background: var(--ink); }
.mobile-menu { position: fixed; z-index: 25; inset: 0; padding: 136px 24px 30px; background: var(--yellow); }
.mobile-menu nav { display: flex; height: 100%; flex-direction: column; gap: 4px; }
.mobile-menu nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid rgb(11 13 15 / 24%); font-family: var(--display); font-size: 1.75rem; font-weight: 900; line-height: 1; text-transform: uppercase; }
.mobile-menu .mobile-language { display: flex; align-items: center; gap: 12px; font-family: var(--body); font-size: .9rem; font-weight: 900; letter-spacing: .04em; }
.mobile-menu .button-client { margin-top: auto; }

.hero { position: relative; min-height: 834px; overflow: hidden; padding-top: 132px; background: var(--ink); }
.hero-media { --parallax-y: 0px; position: absolute; inset: 75px 0 0 40%; overflow: hidden; background: #205d8d; }
.hero-media::before { content: ""; position: absolute; inset: -45px; background: url("../images/hero-villa.webp") center / cover no-repeat; transform: translate3d(0, var(--parallax-y), 0) scale(1.04); transform-origin: center; will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 13 15 / 30%), transparent 35%); }
.hero-copy-wrap { position: relative; z-index: 2; min-height: 702px; display: flex; align-items: center; }
.hero-copy { width: 60%; min-height: 702px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px 10% 70px 0; color: var(--white); background: var(--ink); clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%); }
.hero-copy::before { content: "JOSE"; position: absolute; left: -30px; bottom: -72px; color: rgb(255 255 255 / 4%); font-family: var(--display); font-size: 15rem; font-style: italic; font-weight: 900; line-height: 1; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-burst { position: absolute; z-index: 3; top: 38%; right: 6%; display: grid; width: clamp(150px, 13vw, 205px); aspect-ratio: 1; place-items: center; padding: 28px; color: var(--ink); background: var(--yellow-bright); clip-path: polygon(50% 0%, 59% 19%, 74% 6%, 77% 27%, 96% 19%, 84% 38%, 100% 47%, 80% 54%, 96% 69%, 74% 70%, 75% 94%, 57% 79%, 48% 100%, 40% 79%, 21% 94%, 25% 71%, 2% 72%, 19% 54%, 0 45%, 21% 38%, 7% 20%, 28% 27%, 29% 5%, 43% 20%); font-family: var(--display); font-size: clamp(.99rem, 1.53vw, 1.575rem); font-style: italic; font-weight: 900; line-height: .95; text-align: center; text-transform: uppercase; animation: burst-arrive 700ms cubic-bezier(.2, .9, .25, 1.25) 280ms both, burst-float 4s ease-in-out 1s infinite; transform: rotate(-6deg); transform-origin: center; }
@keyframes burst-arrive { from { opacity: 0; transform: rotate(-14deg) scale(.55); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
@keyframes burst-float { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-5px); } }
.hero-lead { max-width: 610px; margin-bottom: 34px; color: #e2e4e5; font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button:active { transform: translateY(1px); }
.trust-strip { position: relative; z-index: 3; margin-top: -1px; color: var(--ink); background: var(--yellow-bright); }
.trust-list { min-height: 82px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-list span { display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid rgb(11 13 15 / 20%); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.trust-list span:last-child { border-right: 0; }
.trust-list svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.intro-section { padding-bottom: 42px; }
.intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9vw; align-items: end; }
.intro-grid h2 { max-width: 780px; margin-bottom: 0; }
.section-lead { max-width: 530px; margin-bottom: 8px; color: var(--muted); font-size: 1.15rem; }
.services-section { padding-top: 0; }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--ink); }
.service-row { position: relative; display: grid; grid-template-columns: 62px 1fr 42px; gap: 20px; align-items: center; min-height: 152px; padding: 28px 12px; border-bottom: 1px solid var(--line); transition: padding 180ms ease, background 180ms ease; }
.service-row:hover { padding-inline: 28px; background: var(--concrete); }
.service-row::before { content: ""; position: absolute; left: 0; width: 4px; height: 0; background: var(--yellow-bright); transition: height 180ms ease; }
.service-row:hover::before { height: 54%; }
.service-icon { display: grid; width: 52px; height: 52px; place-items: center; color: var(--blue); border: 1px solid rgb(21 111 245 / 24%); transform: skewX(-4deg); }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transform: skewX(4deg); }
.service-row p { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.service-arrow { color: var(--blue); font-size: 1.7rem; text-align: center; }
.service-joinery { background: #f8f3e9; }

.video-section { position: relative; overflow: hidden; color: var(--white); background: #0d1013; }
.video-section::before { content: "PLAY"; position: absolute; right: -18px; bottom: -70px; color: rgb(255 255 255 / 3%); font-family: var(--display); font-size: clamp(9rem, 23vw, 22rem); font-style: italic; font-weight: 900; line-height: .75; pointer-events: none; }
.video-heading { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; margin-bottom: 44px; }
.video-heading h2 { max-width: 780px; margin-bottom: 0; }
.video-heading > p { max-width: 500px; margin-bottom: 6px; color: #b9bec3; font-size: 1.08rem; }
.video-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; gap: 20px; min-height: 420px; }
.video-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 9 / 16; border: 1px solid rgb(255 255 255 / 16%); background: #050607; box-shadow: 0 18px 38px rgb(0 0 0 / 25%); }
.video-frame::after { content: ""; position: absolute; inset: 0; border-bottom: 3px solid var(--yellow-bright); pointer-events: none; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.video-consent { grid-column: 1 / -1; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px; border: 1px solid rgb(255 255 255 / 16%); background: #15191d; text-align: center; }
.video-consent svg { width: 48px; height: 48px; fill: none; stroke: var(--yellow-bright); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.video-consent p { margin-bottom: 0; color: #c5c9cc; }
.video-controls { position: relative; display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.video-control { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 22px; border: 1px solid rgb(255 255 255 / 28%); color: var(--white); background: transparent; font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.video-control:hover, .video-control:active { color: var(--ink); border-color: var(--yellow-bright); background: var(--yellow-bright); transform: translateY(-2px); }
.video-control span { color: var(--yellow-bright); font-size: 1.25rem; line-height: 1; }
.video-control:hover span, .video-control:active span { color: var(--ink); }
.video-control:disabled { opacity: .45; cursor: wait; transform: none; }

.joinery-section { color: #f4efe6; background: #171411; }
.joinery-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 8vw; align-items: center; }
.joinery-visual { position: relative; min-height: 540px; margin: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); background: #261d16; clip-path: polygon(0 0, 100% 4%, 92% 100%, 0 94%); }
.joinery-visual::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgb(255 212 0 / 72%); clip-path: inherit; pointer-events: none; }
.joinery-visual img { width: 100%; height: 620px; object-fit: cover; object-position: 50% 47%; filter: saturate(.88) contrast(1.04); transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.joinery-visual:hover img { transform: scale(1.025); }
.joinery-copy h2 { max-width: 680px; }
.joinery-copy > p:not(.section-index) { max-width: 620px; color: #c9c4bc; font-size: 1.08rem; }
.joinery-copy ul { margin: 32px 0; padding: 0; list-style: none; }
.joinery-copy li { padding: 15px 0; border-bottom: 1px solid rgb(255 255 255 / 16%); }
.joinery-copy li::before { content: "/"; margin-right: 14px; color: var(--yellow-bright); font-weight: 900; }
.text-link { display: inline-flex; gap: 18px; padding-bottom: 5px; border-bottom: 2px solid var(--yellow-bright); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.parallax-stage { background: #496c54 url("../images/jose_reformas_piscina_mejorada.webp") center 53% / cover fixed no-repeat; }
.process-section { color: var(--white); background: rgb(11 13 15 / 84%); }
.process-section h2 { max-width: 820px; margin-bottom: 60px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(255 255 255 / 24%); }
.process-grid article { min-height: 250px; padding: 30px 26px; border-right: 1px solid rgb(255 255 255 / 24%); }
.process-grid article:last-child { border-right: 0; }
.process-grid span { display: block; margin-bottom: 72px; color: var(--yellow-bright); font-family: var(--display); font-weight: 900; }
.process-grid p { color: #aeb2b5; }

.parallax-showcase { display: none; }
.plans-section { background: rgb(255 255 255 / 88%); backdrop-filter: blur(2px); }

.section-heading-row { display: grid; grid-template-columns: 1fr .7fr; gap: 8vw; align-items: end; margin-bottom: 52px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row > p { color: var(--muted); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan-card { position: relative; display: flex; min-height: 500px; flex-direction: column; padding: 38px; border: 1px solid var(--line); background: var(--white); }
.plan-card.featured { color: var(--white); border-color: var(--ink); background: var(--ink); transform: translateY(-16px); }
.plan-icon { display: grid; width: 52px; height: 52px; margin-bottom: 20px; place-items: center; color: var(--yellow-bright); }
.plan-icon svg { width: 46px; height: 46px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.plan-icon .plan-icon-fill { fill: currentColor; stroke: currentColor; }
.plan-card > p { min-height: 52px; color: var(--muted); }
.featured > p:not(.plan-number) { color: #bdc0c2; }
.plan-card ul { margin: 22px 0 36px; padding: 0; list-style: none; }
.plan-card li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.featured li { border-color: rgb(255 255 255 / 18%); }
.plan-card li::before { content: "✓"; margin-right: 9px; color: var(--blue); font-weight: 900; }
.featured li::before { color: var(--yellow-bright); }
.plan-card .button { margin-top: auto; }
.plan-label { position: absolute; top: 22px; right: 24px; color: var(--yellow-bright); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.client-section { overflow: hidden; color: var(--white); background: var(--blue); }
.client-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; align-items: center; }
.client-copy > p:not(.section-index) { max-width: 510px; color: #dbe9ff; }
.client-copy .button-client { margin-top: 20px; color: var(--ink); border: 1px solid #c8a900; background: var(--yellow-bright); box-shadow: 0 7px 0 #a88e00, 0 13px 24px rgb(0 32 94 / 28%); clip-path: none; transform: translateY(-3px); }
.client-copy .button-client:hover { background: #ffe044; box-shadow: 0 5px 0 #a88e00, 0 10px 18px rgb(0 32 94 / 24%); transform: translateY(-1px); }
.client-copy .button-client:active { box-shadow: 0 2px 0 #a88e00; transform: translateY(2px); }
.dashboard-preview { min-height: 380px; padding: 34px; color: var(--ink); background: var(--white); box-shadow: 0 28px 70px rgb(0 32 94 / 35%); transform: rotate(-1deg); }
.dashboard-top { display: flex; justify-content: space-between; padding-bottom: 26px; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 900; }
.status { color: #9a6500; }
.dashboard-main { display: grid; gap: 12px; padding: 58px 0; }
.dashboard-main strong { font-family: var(--display); font-size: 2rem; text-transform: uppercase; }
.dashboard-main > span { color: var(--muted); }
.progress { height: 8px; margin-top: 16px; background: var(--concrete); }
.progress i { display: block; width: 72%; height: 100%; background: var(--blue); }
.dashboard-items { display: flex; gap: 12px; }
.dashboard-items span { padding: 8px 12px; background: var(--concrete); font-size: .76rem; font-weight: 800; }

.coverage-section { background: var(--concrete); }
.coverage-copy { max-width: 760px; margin-bottom: 48px; }
.coverage-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: clamp(30px, 4vw, 58px); align-items: stretch; }
.coverage-copy > p:not(.section-index) { max-width: 590px; color: var(--muted); }
.coverage-area { position: relative; min-width: 0; padding: clamp(26px, 3vw, 42px); border-top: 5px solid var(--blue); background: var(--white); box-shadow: 0 18px 44px rgb(11 13 15 / 8%); }
.coverage-area-ibiza { display: grid; grid-template-columns: minmax(170px, .7fr) minmax(200px, .72fr) minmax(240px, 1fr); gap: clamp(22px, 3vw, 46px); align-items: center; }
.coverage-area-alicante { display: flex; flex-direction: column; align-items: flex-start; background: var(--yellow-bright); }
.coverage-grid .coverage-area-alicante h3 { max-width: 100%; font-size: clamp(1.5rem, 2vw, 2.2rem); }
.coverage-area-alicante .button { margin-top: auto; }
.coverage-address { margin: 8px 0 32px; padding-top: 20px; border-top: 1px solid rgb(11 13 15 / 28%); font-family: var(--display); font-size: 1.15rem; font-style: normal; font-weight: 900; line-height: 1.3; text-transform: uppercase; }
.coverage-area h3 { font-size: clamp(2.3rem, 4vw, 4.2rem); }
.coverage-area > p, .coverage-area > div > p:not(.coverage-label) { color: var(--muted); }
.coverage-label { margin-bottom: 16px; color: var(--blue); font-family: var(--display); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.coverage-areas { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.coverage-areas li { padding: 15px 8px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; }
.coverage-areas li::before { content: "⌖"; margin-right: 16px; color: var(--blue); }
.coverage-map { margin: 0; }
.coverage-map img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 22px 28px rgb(11 13 15 / 12%)); }

.contact-section { padding-block: clamp(72px, 9vw, 120px); background: var(--yellow-bright); }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; }
.contact-grid > div > p:not(.section-index) { max-width: 490px; }
.contact-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.contact-phones a { font-family: var(--display); font-size: 1.75rem; font-style: italic; font-weight: 900; }
.contact-form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label:not(.check) { display: grid; gap: 7px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 54px; padding: 12px 15px; border: 1px solid rgb(11 13 15 / 40%); border-radius: 2px; color: var(--ink); background: var(--white); }
.contact-form textarea { min-height: 124px; resize: vertical; }
.contact-form .full { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; }
.check input { width: 20px; min-height: 20px; margin: 2px 0 0; }
.check a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.form-alert { grid-column: 1 / -1; padding: 14px 16px; border-left: 4px solid currentColor; background: rgb(255 255 255 / 70%); }
.form-alert.success { color: #167a48; }
.form-alert.error { color: #9f201a; }
.honeypot { position: absolute; left: -9999px; }

.site-footer { padding-top: 60px; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.5fr .8fr .6fr; gap: 50px; align-items: start; padding-bottom: 50px; }
.footer-grid img { width: 180px; margin-top: -20px; }
.footer-grid p { max-width: 380px; color: #aeb2b5; }
.footer-grid div { display: grid; gap: 8px; font-size: .85rem; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgb(255 255 255 / 15%); color: #8e9396; font-size: .76rem; }

.whatsapp-float { position: fixed; z-index: 50; right: 24px; bottom: 24px; display: flex; min-width: 58px; height: 58px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px 0 13px; color: var(--white); border: 2px solid var(--white); border-radius: 999px; background: #25d366; box-shadow: 0 12px 30px rgb(0 0 0 / 24%); transition: bottom 220ms ease, transform 180ms ease, box-shadow 180ms ease; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgb(0 0 0 / 28%); }
.whatsapp-float svg { width: 31px; height: 31px; flex: 0 0 auto; fill: none; }
.whatsapp-bubble { stroke: currentColor; stroke-width: 1.8; }
.whatsapp-phone { fill: currentColor; }
.whatsapp-float span { font-size: .72rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
body:has(.cookie-notice:not([hidden])) .whatsapp-float { bottom: 154px; }

.cookie-notice { position: fixed; z-index: 60; right: 24px; bottom: 24px; left: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; max-width: 1180px; margin-inline: auto; padding: 22px 24px; color: var(--white); border: 1px solid rgb(255 255 255 / 18%); background: var(--ink); box-shadow: 0 18px 54px rgb(0 0 0 / 28%); }
.cookie-notice[hidden] { display: none; }
.cookie-notice strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 1.25rem; font-style: italic; text-transform: uppercase; }
.cookie-notice p { max-width: 760px; margin: 0; color: #c8cbcd; font-size: .9rem; line-height: 1.5; }
.cookie-notice-copy > a { display: inline-block; margin-top: 8px; font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; }
.cookie-notice-actions { display: flex; align-items: center; gap: 18px; }
.cookie-choice, .cookie-configure { min-width: 112px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--yellow-bright); color: var(--ink); background: var(--yellow-bright); font-size: .74rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.cookie-choice:hover { background: #ffe04a; }
.cookie-configure { min-width: auto; padding-inline: 4px; color: var(--white); border-color: transparent; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.footer-link-button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.footer-link-button:hover { color: var(--white); }
.cookie-modal { position: fixed; z-index: 70; inset: 0; display: grid; padding: 24px; place-items: center; }
.cookie-modal[hidden] { display: none; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 62%); backdrop-filter: blur(3px); }
.cookie-modal-panel { position: relative; width: min(620px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: clamp(28px, 5vw, 46px); color: var(--ink); background: var(--white); box-shadow: 0 28px 80px rgb(0 0 0 / 35%); }
.cookie-modal-panel h2 { max-width: 480px; margin-bottom: 16px; font-size: clamp(2rem, 5vw, 3.5rem); }
.cookie-modal-panel > p:not(.section-index) { color: var(--muted); }
.cookie-modal-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.cookie-option { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-option div { display: grid; }
.cookie-option strong { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; }
.cookie-option span { color: var(--muted); font-size: .84rem; }
.cookie-option input { width: 22px; height: 22px; accent-color: var(--yellow-bright); }
.cookie-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }

.legal-page { background: var(--concrete); }
.legal-header { background: var(--yellow); }
.legal-main { padding-top: 108px; }
.legal-hero { padding: clamp(70px, 9vw, 120px) 0 clamp(58px, 7vw, 90px); color: var(--white); background: var(--ink); }
.legal-hero h1 { max-width: 900px; margin-bottom: 22px; }
.legal-hero > .shell > p:last-child { max-width: 720px; margin: 0; color: #c8cbcd; font-size: 1.12rem; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: clamp(50px, 8vw, 120px); align-items: start; padding-block: clamp(70px, 8vw, 110px); }
.legal-nav { position: sticky; top: 140px; display: grid; border-top: 1px solid var(--ink); }
.legal-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.1rem; font-weight: 900; text-transform: uppercase; }
.legal-nav a.active { padding-left: 16px; color: var(--blue); border-left: 4px solid var(--yellow-bright); }
.legal-content section { padding-bottom: 38px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 22px; font-size: clamp(1.75rem, 3vw, 2.6rem); }
.legal-content p, .legal-content li { color: #454b50; }
.legal-content a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul { padding-left: 22px; }
.legal-content li + li { margin-top: 10px; }
.legal-table-wrap { overflow-x: auto; }
.legal-content table { width: 100%; border-collapse: collapse; background: var(--white); }
.legal-content th, .legal-content td { min-width: 130px; padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-content th { color: var(--white); background: var(--ink); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.legal-updated { color: var(--muted); font-size: .82rem; }
.legal-footer { padding-top: 0; }

.service-page { background: var(--white); }
.service-header { background: var(--yellow); }
.service-hero { position: relative; min-height: 760px; display: flex; align-items: end; overflow: hidden; padding: 190px 0 110px; color: var(--white); background: #252a2d var(--service-image) center 52% / cover no-repeat; }
.service-hero::after { content: ""; position: absolute; right: -8%; bottom: -2px; width: 54%; height: 8px; background: var(--yellow-bright); transform: skewX(-34deg); transform-origin: right; }
.service-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 10 12 / 88%) 0%, rgb(8 10 12 / 66%) 43%, rgb(8 10 12 / 14%) 78%), linear-gradient(0deg, rgb(8 10 12 / 46%), transparent 55%); }
.service-hero-content { position: relative; z-index: 1; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 56px; color: #d4d7d8; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumbs a { color: var(--yellow-bright); }
.service-hero h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(3.8rem, 7vw, 7.5rem); }
.service-hero-lead { max-width: 720px; margin-bottom: 34px; color: #e2e4e5; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.55; }
.service-promise { color: var(--ink); background: var(--yellow-bright); }
.service-promise p { max-width: 1100px; margin: 0; padding: 34px 0; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 3.1rem); font-style: italic; font-weight: 900; line-height: 1; text-transform: uppercase; }
.service-promise .service-availability { padding-top: 0; color: var(--blue-deep); font-family: var(--body); font-size: .78rem; font-style: normal; letter-spacing: .08em; line-height: 1.4; }
.service-intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 140px); align-items: start; }
.service-intro h2 { max-width: 650px; }
.service-intro-copy { max-width: 610px; color: var(--muted); font-size: 1.08rem; }
.service-feature-list { border-top: 1px solid var(--ink); }
.service-feature-list article { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 25px 4px; border-bottom: 1px solid var(--line); }
.service-feature-list article > span { color: var(--blue); font-family: var(--display); font-weight: 900; }
.service-feature-check { display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid currentColor; border-radius: 50%; }
.service-feature-check svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.service-feature-list h3 { margin-bottom: 6px; font-size: 1.45rem; }
.service-feature-list p { margin: 0; color: var(--muted); }
.service-reasons { color: var(--white); background: var(--ink); }
.service-reasons .section-heading-row > p { color: #b9bdc0; }
.service-reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(255 255 255 / 22%); }
.service-reason-grid article { min-height: 190px; padding: 30px 24px; border-right: 1px solid rgb(255 255 255 / 22%); }
.service-reason-grid article:last-child { border-right: 0; }
.service-reason-grid span { display: inline-grid; width: 34px; height: 34px; margin-bottom: 52px; place-items: center; color: var(--ink); background: var(--yellow-bright); }
.service-reason-grid h3 { font-size: 1.35rem; }
.service-process h2 { max-width: 780px; margin-bottom: 56px; }
.service-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.service-process-grid article { min-height: 260px; padding: 30px 24px; border-right: 1px solid var(--line); }
.service-process-grid article:last-child { border-right: 0; }
.service-process-grid span { display: block; margin-bottom: 72px; color: var(--blue); font-family: var(--display); font-weight: 900; }
.service-process-grid h3 { font-size: 1.6rem; }
.service-process-grid p { color: var(--muted); }
.service-special { position: relative; padding: clamp(90px, 11vw, 160px) 0; color: var(--white); background: linear-gradient(90deg, rgb(8 10 12 / 94%), rgb(8 10 12 / 62%)), var(--service-image, none), url("../images/hero-villa.webp") center / cover no-repeat; }
.service-special h2 { max-width: 850px; }
.service-special p:not(.section-index) { max-width: 720px; margin-bottom: 30px; color: #c9ccce; font-size: 1.1rem; }
.service-faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px, 9vw, 140px); align-items: start; }
.service-faq details { border-top: 1px solid var(--line); }
.service-faq details:last-child { border-bottom: 1px solid var(--line); }
.service-faq summary { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--display); font-size: 1.2rem; font-weight: 900; text-transform: uppercase; cursor: pointer; list-style: none; }
.service-faq summary::-webkit-details-marker { display: none; }
.service-faq summary span { color: var(--blue); font-size: 1.7rem; transition: transform 180ms ease; }
.service-faq details[open] summary span { transform: rotate(45deg); }
.service-faq details p { max-width: 720px; padding: 0 50px 24px 0; color: var(--muted); }
.service-quote { padding: clamp(90px, 10vw, 140px) 0; background: var(--yellow); }
.service-quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 130px); align-items: start; }
.service-quote h2 { max-width: 600px; }
.service-quote-grid > div > p:not(.section-index) { max-width: 520px; }
.service-phone { display: inline-block; margin-top: 24px; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.8rem); font-style: italic; font-weight: 900; }
.service-form { padding: clamp(26px, 4vw, 48px); background: var(--white); box-shadow: 14px 14px 0 var(--ink); }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 48px, 1120px); }
  .coverage-grid .coverage-area-alicante h3 { font-size: clamp(2.3rem, 4vw, 4.2rem); }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .hero-copy { width: 67%; }
  .hero-burst { top: 42%; right: 3%; width: 148px; padding: 23px; font-size: 1.035rem; }
}

@media (max-width: 767px) {
  :root { --shell: calc(100% - 32px); }
  h1 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
  h2 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .section { padding-block: 72px; }
  .service-hero { min-height: 680px; padding: 150px 0 72px; background-position: 62% center; }
  .service-hero-shade { background: linear-gradient(0deg, rgb(8 10 12 / 92%), rgb(8 10 12 / 22%)); }
  .service-hero h1 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
  .breadcrumbs { margin-bottom: 36px; }
  .service-promise p { padding-block: 26px; }
  .service-intro-grid, .service-faq-grid, .service-quote-grid { grid-template-columns: 1fr; gap: 44px; }
  .service-reason-grid, .service-process-grid { grid-template-columns: 1fr; }
  .service-reason-grid article, .service-process-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 20%); }
  .service-process-grid article { border-color: var(--line); }
  .service-reason-grid span, .service-process-grid span { margin-bottom: 26px; }
  .service-form { box-shadow: 8px 8px 0 var(--ink); }
  html { scroll-padding-top: 136px; }
  .site-header { height: 130px; padding-top: 34px; clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); }
  .site-header.is-scrolled { filter: drop-shadow(0 6px 12px rgb(0 0 0 / 12%)); }
  .header-inner { width: calc(100% - 24px); height: 74px; }
  .brand { width: 138px; height: 69px; }
  .brand img { width: 142px; }
  .header-cta, .language { display: none; }
  .legal-header .language { display: inline-flex; }
  .menu-toggle { width: 48px; }
  .office-notice { min-height: 38px; padding-inline: 12px; font-size: .58rem; letter-spacing: .035em; }
  .mobile-menu { padding-top: 138px; }
  .hero { min-height: auto; padding-top: 130px; background: var(--white); }
  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; inset: auto; order: 2; height: 38vh; min-height: 280px; clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
  .hero-media::before { inset: 0; background-image: url("../images/hero-villa-mobile.webp"); background-position: 67% center; transform: none; will-change: auto; }
  .hero-media::after { background: linear-gradient(0deg, rgb(11 13 15 / 18%), transparent); }
  .hero-copy-wrap { order: 1; min-height: auto; width: 100%; }
  .hero-copy { width: 100%; min-height: auto; padding: 46px 20px 48px; color: var(--ink); background: var(--white); clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
  .hero-copy::before { display: none; }
  .hero-burst { top: 142px; right: 4px; width: clamp(112px, 31vw, 132px); padding: 14px; font-size: clamp(.684rem, 3.06vw, .828rem); }
  .hero-lead { margin-bottom: 24px; color: var(--muted); font-size: .96rem; line-height: 1.48; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
  .trust-list { grid-template-columns: 1fr 1fr; padding-block: 14px; }
  .trust-list span { justify-content: flex-start; min-height: 44px; border: 0; font-size: .68rem; }
  .intro-grid, .section-heading-row, .joinery-grid, .client-grid, .coverage-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .intro-section { padding-bottom: 34px; }
  .service-row { grid-template-columns: 40px 1fr 30px; gap: 12px; min-height: 116px; padding-inline: 4px; }
  .service-layout { grid-template-columns: 1fr; column-gap: 0; }
  .service-icon { width: 38px; height: 38px; }
  .service-icon svg { width: 24px; height: 24px; }
  .service-row:hover { padding-inline: 10px; }
  .service-row h3 { font-size: 1.35rem; }
  .service-row p { font-size: .88rem; line-height: 1.45; }
  .video-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .video-heading > p { font-size: .96rem; }
  .video-grid { grid-template-columns: minmax(0, 340px); min-height: 520px; }
  .video-consent { min-height: 230px; padding: 24px 18px; }
  .video-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .video-control { min-width: 0; padding-inline: 12px; font-size: .65rem; }
  .joinery-visual { min-height: 360px; }
  .joinery-visual img { height: 430px; }
  .joinery-grid { display: flex; flex-direction: column-reverse; }
  .parallax-stage { background: none; }
  .process-section { background: var(--ink); }
  .parallax-showcase { position: relative; display: block; height: 310px; overflow: hidden; background: #496c54; }
  .parallax-showcase-media { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 13 15 / 18%), transparent 28%, transparent 72%, rgb(11 13 15 / 12%)), url("../images/jose_reformas_piscina_mejorada.webp") 48% center / cover no-repeat; }
  .parallax-showcase::before, .parallax-showcase::after { content: ""; position: absolute; z-index: 1; right: 0; left: 0; height: 5px; pointer-events: none; }
  .parallax-showcase::before { top: 0; background: var(--ink); }
  .parallax-showcase::after { bottom: 0; background: var(--yellow-bright); }
  .plans-section { background: var(--white); backdrop-filter: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article { min-height: 220px; border-bottom: 1px solid rgb(255 255 255 / 24%); }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid span { margin-bottom: 42px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 450px; padding: 30px; }
  .plan-card.featured { transform: none; }
  .client-grid { display: block; }
  .dashboard-preview { display: none; }
  .client-copy .button-client { width: 100%; }
  .coverage-grid { gap: 45px; }
  .coverage-copy { margin-bottom: 34px; }
  .coverage-area-ibiza { grid-template-columns: 1fr; }
  .coverage-area-alicante { min-height: 330px; }
  .coverage-map { width: min(100%, 520px); margin-inline: auto; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid img { width: 160px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 58px; padding: 0; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  body:has(.cookie-notice:not([hidden])) .whatsapp-float { bottom: min(390px, 48vh); }
  .cookie-notice { right: 12px; bottom: 12px; left: 12px; grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .cookie-notice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cookie-choice { width: 100%; }
  .cookie-configure { grid-column: 1 / -1; grid-row: 2; }
  .cookie-modal { padding: 12px; }
  .cookie-modal-panel { max-height: calc(100vh - 24px); }
  .cookie-modal-actions { grid-template-columns: 1fr; }
  .legal-main { padding-top: 96px; }
  .legal-hero { padding-top: 62px; }
  .legal-layout { grid-template-columns: 1fr; gap: 46px; }
  .legal-nav { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-burst { animation: none; transform: rotate(-6deg); }
}

@media (max-width: 420px) {
  :root { --shell: calc(100% - 24px); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 190px; border-right: 0; }
  .process-grid span { margin-bottom: 28px; }
}

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