/* KALEOLO — hoja de estilos compartida por todas las páginas.
   Paleta y tipografía: :root / body. Navegación: .site-header / .site-nav.
   Secciones: .hero / .service-section / .process-section / .projects-section.
   Contacto: .contact-section / .project-form. Adaptaciones móviles: @media.
   No requiere Tailwind, React, paquetes externos ni compilación. */

/* Base equivalente al reset que utilizaba el diseño original. */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; }
h1, h2, h3, h4, p, figure, blockquote, fieldset, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; margin: 0; }
button { background: transparent; }
img { max-width: 100%; vertical-align: middle; }
[hidden] { display: none !important; }
body { -webkit-font-smoothing: antialiased; }

:root {
  --ink: #07191d;
  --deep: #082f36;
  --teal: #0b626b;
  --water: #31aeba;
  --gold: #c7a269;
  --foam: #f5f4ee;
  --mx: 50vw;
  --my: 50vh;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--foam);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell { min-height: 100vh; background: var(--ink); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 68px);
  background: linear-gradient(180deg, rgba(2, 17, 21, .86), rgba(2, 17, 21, .18));
  backdrop-filter: blur(10px);
}

.brand {
  display: block;
  width: clamp(150px, 15vw, 220px);
  border-radius: 4px;
  padding: 5px 8px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.brand img { display: block; width: 100%; height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.site-nav a {
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease, opacity .25s ease;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { color: white; }
.site-nav .nav-cta {
  border: 1px solid rgba(255,255,255,.55);
  padding: 11px 16px;
  color: white;
}
.site-nav .nav-cta:hover { background: white; color: var(--ink); }
.menu-button { display: none; }

.immersive-section, .detail-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.section-photo, .form-background {
  position: absolute;
  inset: -2%;
  z-index: -3;
  background-size: cover;
  background-position: center;
  transform: scale(1.035);
  transition: transform 1.5s cubic-bezier(.2,.75,.15,1), filter .8s ease;
}

.immersive-section:hover .section-photo, .detail-hero:hover .section-photo { transform: scale(1.075); }
.hero-photo, .process-photo { background-image: url("../images/kaleolo-pool-hero.webp"); }
.final-photo { background-image: url("../images/kaleolo-specialty-finishes.webp"); }

.section-wash, .form-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1,17,20,.74) 0%, rgba(1,17,20,.28) 48%, rgba(1,17,20,.12) 100%),
    linear-gradient(0deg, rgba(1,17,20,.62) 0%, transparent 48%, rgba(1,17,20,.28) 100%);
}
.section-wash.heavy { background: rgba(1, 18, 22, .76); backdrop-filter: saturate(.75); }

.water-cursor {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 220px at var(--mx) var(--my), rgba(101,236,241,.12), transparent 72%);
  mix-blend-mode: screen;
}

.hero-copy, .detail-title, .final-copy {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 8vw, 138px);
  bottom: clamp(76px, 12vh, 150px);
  width: min(760px, calc(100% - 48px));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}

.hero h1 { max-width: 760px; font-size: clamp(56px, 7.4vw, 118px); }
.hero-intro, .detail-title > p:not(.eyebrow) {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 1.45vw, 22px);
}

.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .2s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--foam); color: var(--ink); }
.button-primary:hover { background: var(--gold); }
.button-secondary { border-color: rgba(255,255,255,.35); background: transparent; color: white; }
.text-link {
  display: inline-block;
  padding-block: 8px;
  border-bottom: 1px solid rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.text-link:hover { border-color: var(--gold); color: var(--gold); }

.concept-note {
  position: absolute;
  right: clamp(20px, 4vw, 68px);
  bottom: 22px;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.waterline {
  position: absolute;
  z-index: 3;
  left: -10%;
  bottom: 22%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  box-shadow: 0 10px 44px rgba(65,222,227,.26);
  animation: waterline 8s ease-in-out infinite;
}
@keyframes waterline { 50% { transform: translateY(13px) rotate(.18deg); opacity: .55; } }

.service-section { display: flex; align-items: center; padding: 110px clamp(24px, 8vw, 138px) 70px; }
.hover-panel {
  width: min(640px, 88vw);
  padding: clamp(24px, 4vw, 56px);
  border-left: 1px solid rgba(255,255,255,.45);
  background: rgba(4,30,35,.06);
  opacity: .18;
  transform: translateX(-28px);
  filter: blur(1.5px);
  transition: opacity .45s ease, transform .6s ease, filter .45s ease, background .45s ease, backdrop-filter .45s ease;
}
.hover-panel:hover, .hover-panel:focus, .hover-panel:focus-within {
  opacity: 1;
  transform: translateX(0);
  filter: none;
  background: rgba(4,30,35,.42);
  backdrop-filter: blur(18px);
}
.hover-panel h2 { font-size: clamp(42px, 5.5vw, 82px); }
.hover-panel > p:not(.eyebrow) { max-width: 560px; margin: 26px 0 24px; color: rgba(255,255,255,.8); font-size: 18px; }
.section-index {
  position: absolute;
  right: clamp(24px, 6vw, 100px);
  bottom: 42px;
  color: rgba(255,255,255,.28);
  font-family: Georgia, serif;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 1;
}

.process-layout {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  gap: clamp(54px, 9vw, 150px);
  padding: 120px clamp(24px, 8vw, 138px) 70px;
}
.process-layout h2 { max-width: 780px; font-size: clamp(48px, 6.3vw, 96px); }
.launch-note {
  max-width: 660px;
  margin: 30px 0 0;
  padding-left: 18px;
  border-left: 1px solid var(--gold);
  color: rgba(255,255,255,.74);
}
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: clamp(17px, 1.55vw, 24px); }
.process-list span { color: var(--gold); font-size: 12px; letter-spacing: .1em; padding-top: 7px; }

.final-cta { display: grid; place-items: center; text-align: center; }
.final-copy { position: relative; left: auto; bottom: auto; width: min(980px, calc(100% - 48px)); }
.final-copy h2 { font-size: clamp(50px, 7vw, 106px); }
.final-copy .button { margin-top: 38px; }
.service-area { max-width: 800px; margin: 34px auto 0; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.detail-hero { min-height: 78svh; }
.detail-title { bottom: clamp(58px, 9vh, 100px); }
.detail-title h1 { max-width: 980px; font-size: clamp(52px, 7vw, 108px); }
.detail-title .button { margin-top: 34px; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f1f0ea;
  color: var(--ink);
}
.detail-card { min-height: 420px; padding: clamp(34px, 5vw, 78px); border-right: 1px solid rgba(7,25,29,.18); }
.detail-card:last-child { border-right: 0; }
.detail-card > span { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.detail-card h2 { margin-top: 90px; font-size: clamp(36px, 3vw, 56px); }
.detail-card p { max-width: 440px; margin-top: 24px; color: rgba(7,25,29,.72); }
.detail-note { margin: 0; padding: 34px clamp(24px, 8vw, 138px); background: var(--gold); color: var(--ink); font-weight: 700; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 40px clamp(24px, 6vw, 100px); background: var(--ink); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.page-footer p { margin: 0; color: rgba(255,255,255,.55); }
.page-footer a { color: var(--gold); }

.form-page { position: relative; min-height: 100vh; padding: 170px clamp(20px, 7vw, 116px) 90px; overflow: hidden; }
.form-background { position: fixed; background-image: url("../images/kaleolo-pool-hero.webp"); }
.form-wash { position: fixed; z-index: 0; background: rgba(1,17,20,.82); backdrop-filter: blur(5px); }
.form-intro, .project-form, .form-success { position: relative; z-index: 2; }
.form-intro { max-width: 960px; margin-bottom: 64px; }
.form-intro h1 { font-size: clamp(52px, 7vw, 104px); }
.form-intro > p:not(.eyebrow, .launch-note) { max-width: 700px; margin: 28px 0 0; color: rgba(255,255,255,.74); font-size: 18px; }
.project-form, .form-success { max-width: 1100px; padding: clamp(24px, 5vw, 70px); background: rgba(4,30,35,.72); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(22px); }
.project-form fieldset { margin: 0 0 64px; padding: 0; border: 0; }
.project-form legend { width: 100%; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.24); font-family: Georgia, serif; font-size: clamp(28px, 3vw, 44px); }
.project-form legend span { margin-right: 18px; color: var(--gold); font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .12em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-form label { display: grid; gap: 9px; color: rgba(255,255,255,.74); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-form label.wide { grid-column: 1 / -1; }
.project-form input, .project-form select, .project-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.42);
  border-radius: 0;
  outline: 0;
  padding: 13px 2px;
  background: transparent;
  color: white;
  font-size: 16px;
  letter-spacing: normal;
  text-transform: none;
}
.project-form select option { color: var(--ink); }
.project-form textarea { margin-bottom: 0; resize: vertical; }
.project-form input:focus, .project-form select:focus, .project-form textarea:focus { border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.project-form .choice { display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; min-height: 70px; align-items: center; padding: 15px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.72); transition: .2s ease; }
.choice input:checked + span { border-color: var(--gold); background: rgba(199,162,105,.16); color: white; }
.project-form input[type="file"] { border: 1px dashed rgba(255,255,255,.28); padding: 22px; }
.field-note { margin: 12px 0 0; color: rgba(255,255,255,.52); font-size: 13px; }
.project-form .consent { display: flex; grid-template-columns: none; flex-direction: row; align-items: flex-start; gap: 12px; max-width: 720px; margin-bottom: 30px; text-transform: none; letter-spacing: normal; font-size: 14px; }
.project-form .consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.submit-button { min-width: 250px; }
.form-success h2 { max-width: 800px; font-size: clamp(42px, 5vw, 74px); }
.form-success > p:not(.eyebrow) { max-width: 670px; color: rgba(255,255,255,.72); }

@media (max-width: 1100px) {
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 10px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(7,25,29,.18); }
  .detail-card h2 { margin-top: 46px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 72px; padding: 12px 20px; }
  .brand { width: 154px; }
  .menu-button { display: grid; width: 46px; height: 46px; place-content: center; gap: 7px; border: 1px solid rgba(255,255,255,.35); background: rgba(2,17,21,.45); }
  .menu-button > span:not(.sr-only) { display: block; width: 19px; height: 1px; background: white; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 18px 20px 24px; background: rgba(2,17,21,.96); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 12px; }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; }
  .hero-copy, .detail-title { left: 24px; bottom: 74px; }
  .hero h1 { font-size: clamp(52px, 15vw, 78px); }
  .concept-note { right: 18px; bottom: 14px; max-width: 260px; text-align: right; font-size: 9px; }
  .service-section { align-items: flex-end; padding: 100px 20px 64px; }
  .hover-panel { width: 100%; padding: 24px; opacity: 1; transform: none; filter: none; background: rgba(4,30,35,.48); backdrop-filter: blur(16px); }
  .hover-panel h2 { font-size: 44px; }
  .hover-panel > p:not(.eyebrow) { font-size: 16px; }
  .section-index { display: none; }
  .process-layout { grid-template-columns: 1fr; gap: 54px; padding: 110px 24px 70px; }
  .process-layout h2 { font-size: 50px; }
  .final-copy h2 { font-size: 50px; }
  .detail-hero { min-height: 88svh; }
  .detail-title h1 { font-size: 52px; }
  .detail-card { padding: 44px 24px; }
  .page-footer { align-items: flex-start; flex-direction: column; }
  .form-page { padding: 125px 18px 60px; }
  .form-intro h1 { font-size: 52px; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .project-form fieldset { margin-bottom: 48px; }
  .project-form, .form-success { padding: 24px 18px; }
}

@media (hover: none) {
  .water-cursor { display: none; }
  .hover-panel { opacity: 1; transform: none; filter: none; background: rgba(4,30,35,.45); backdrop-filter: blur(16px); }
}

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

/* Completed immersive experience */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }
h1, h2 { line-height: 1.04; }
h3 { margin: 0; font-weight: 400; line-height: 1.25; }
a:focus-visible, button:focus-visible, .choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 6px; }
.site-header { background: rgba(3,23,28,.92); border-bottom: 1px solid rgba(255,255,255,.1); }
.site-nav a { position: relative; font-size: 14px; letter-spacing: .035em; color: #d8e1e1; }
.site-nav a.active:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--gold); }
.site-nav .nav-cta { font-size: 13px; }
.eyebrow, .button, .text-link { font-size: 14px; }
.eyebrow { letter-spacing: .13em; color: #e2bd83; }
.concept-note { font-size: 12px; color: #d1d9d9; letter-spacing: .06em; }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 100; background: var(--foam); color: var(--ink); padding: 14px 22px; }
.skip-link:focus { top: 14px; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); z-index: 60; transform: scaleX(var(--scroll-progress,0)); transform-origin: left; }
.immersive-section { --parallax: 0px; }
[data-parallax] > .section-photo { inset: -85px -3%; transform: translate3d(0,var(--parallax),0) scale(1.025); transition: filter .6s; }
.hero-copy { position: relative; left: auto; bottom: auto; width: min(860px,100%); }
.hero { display: flex; align-items: flex-end; padding: 180px clamp(24px,8vw,138px) 110px; }
.hero h1 { font-size: clamp(55px,7.4vw,112px); }
.hero-intro { color: #e0e8e7; }
.section-wash { background: linear-gradient(90deg,rgba(1,17,20,.76),rgba(1,17,20,.28) 65%,rgba(1,17,20,.1)),linear-gradient(0deg,rgba(1,17,20,.55),transparent 50%); }
.waterline { pointer-events: none; }
.service-section { padding-top: 110px; padding-bottom: 85px; min-height: max(850px,100svh); }
.hover-panel { width: min(690px,100%); padding: clamp(26px,3.5vw,48px); opacity: 1; transform: none; filter: none; background: rgba(4,30,35,.57); backdrop-filter: blur(5px); border-left: 2px solid rgba(226,189,131,.65); transition: transform .6s,background .45s,box-shadow .45s,backdrop-filter .45s; }
.hover-panel h2 { font-size: clamp(40px,4.7vw,70px); color: #edf1ed; transition: color .4s,text-shadow .4s; }
.hover-panel > p:not(.eyebrow) { color: #dce5e3; margin: 24px 0 18px; }
.hover-panel:hover, .hover-panel:focus-within { transform: translateX(10px); background: rgba(3,28,33,.9); backdrop-filter: blur(18px); box-shadow: 0 20px 70px #0004; }
.hover-panel:hover h2, .hover-panel:focus-within h2 { color: #fff; text-shadow: 0 0 28px #ffffff25; }
.service-inclusions { list-style: none; padding: 0; margin: 0 0 22px; color: #dce5e3; font-size: 16px; }
.service-inclusions li { border-top: 1px solid #ffffff26; padding: 9px 0; }
.section-index { opacity: .6; pointer-events: none; }
.reveal-ready { opacity: 0; transform: translateY(36px); transition: opacity .8s ease,transform .9s cubic-bezier(.16,1,.3,1),background .45s,box-shadow .45s; }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
.hover-panel.reveal-ready.is-visible:hover, .hover-panel.reveal-ready.is-visible:focus-within { transform: translateX(10px); }
.content-section { position: relative; }
.process-section { background: linear-gradient(125deg,#0c3940,#071e23); }
.process-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,8vw,130px); padding-block: 120px; }
.process-layout h2 { font-size: clamp(46px,5.8vw,86px); }
.section-intro { font-size: 18px; line-height: 1.7; max-width: 580px; color: #d1dfdd; margin-block: 28px; }
.launch-note { color: #cfdbd9; line-height: 1.65; margin-bottom: 26px; }
.process-list li { grid-template-columns: 34px 1fr; padding: 21px 0; }
.process-list span { font-size: 14px; color: #e2bd83; padding-top: 3px; }
.process-list h3 { font-size: 22px; }
.process-list p { font-size: 16px; line-height: 1.6; color: #c1d2d0; margin: 8px 0 0; }
.projects-section { padding: 110px clamp(24px,6vw,100px) 120px; background: #f0f2ed; color: var(--ink); }
.projects-section .eyebrow { color: #815e2f; }
.section-heading { display: flex; align-items: end; gap: 50px; justify-content: space-between; margin-bottom: 54px; }
.section-heading h2 { font-size: clamp(46px,5.3vw,80px); max-width: 750px; }
.section-heading > p { max-width: 340px; color: #445753; font-size: 16px; }
.project-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.project-image { overflow: hidden; aspect-ratio: 4/5; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.055); }
.project-card:nth-child(2) { margin-top: 42px; }
.project-caption { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; gap: 14px; }
.project-caption small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: #52655f; margin-bottom: 6px; }
.project-caption strong { font-family: Georgia,serif; font-size: clamp(25px,2.4vw,38px); font-weight: 400; line-height: 1.15; display: block; }
.project-caption > span:last-child { font-size: 28px; }
.about-section { display: grid; grid-template-columns: 1.15fr 1fr; padding: 130px clamp(24px,8vw,138px); gap: clamp(40px,9vw,140px); align-items: center; background: #091f24; }
.about-heading h2 { font-size: clamp(46px,5.4vw,80px); }
.about-values article { display: grid; grid-template-columns: 32px 1fr; gap: 22px; border-top: 1px solid #ffffff35; padding: 28px 0; }
.about-values article > span { color: #e2bd83; font-size: 14px; }
.about-values h3 { font-family: Georgia,serif; font-size: 30px; }
.about-values p { margin-bottom: 0; color: #c6d5d2; font-size: 16px; }
.contact-photo { background-image: url("../images/kaleolo-contact-dusk.webp"); background-position: center 60%; }
.contact-banner { min-height: 76svh; display: flex; align-items: center; padding: 110px clamp(24px,8vw,138px) 85px; }
.contact-heading { max-width: 730px; }
.contact-heading h2 { font-size: clamp(50px,6.2vw,96px); }
.contact-heading > p:not(.eyebrow) { font-size: 20px; max-width: 480px; color: #e2e9e7; margin: 25px 0; }
.contact-form-layout { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.5fr); gap: clamp(30px,6vw,95px); padding: 90px clamp(24px,6vw,100px) 110px; }
.contact-aside { align-self: start; position: sticky; top: 130px; }
.contact-aside h3 { font-family: Georgia,serif; font-size: clamp(32px,3.3vw,48px); }
.contact-aside > p:not(.eyebrow) { color: #c6d5d2; font-size: 16px; }
.contact-aside .service-area { text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.9; }
.project-form, .form-success { width: 100%; min-width: 0; }
.contact-form-layout .project-form { padding: 36px; background: #0a2a30; backdrop-filter: none; }
.project-form fieldset { min-width: 0; }
.project-form label { font-size: 14px; letter-spacing: .02em; color: #dde6e3; }
.project-form legend span { font-size: 14px; }
.project-form input, .project-form select, .project-form textarea { min-width: 0; }
.project-form input::placeholder, .project-form textarea::placeholder { color: #aabbb8; }
.project-form .choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.choice span { height: 100%; font-size: 14px; letter-spacing: 0; text-transform: none; color: #d3dfdd; }
.choice input:checked + span { background: #705b333b; border-color: #e2bd83; }
.project-form .choice { position: relative; }
.project-form .choice input { inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; pointer-events: auto; cursor: pointer; }
.choice-instruction { margin: -12px 0 18px; }
.field-note { color: #b9cbc7; font-size: 14px; }
.privacy-note { margin: -10px 0 28px; max-width: 680px; }
.privacy-note a, .form-error a { text-decoration: underline; text-underline-offset: 3px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 16px 20px; background: #4a241f; border-left: 3px solid #ecaa89; color: #fff1e9; font-size: 16px; margin-bottom: 24px; }
.selected-files { overflow-wrap: anywhere; color: #e2bd83; font-size: 14px; }
.submit-button { max-width: 100%; min-width: min(250px,100%); white-space: normal; }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--gold); color: var(--gold); font-size: 30px; border-radius: 50%; margin-bottom: 30px; }
.footer-links { display: flex; gap: 25px; flex-wrap: wrap; font-size: 14px; }
.page-footer { border-top: 1px solid #ffffff20; }
.page-footer p { color: #bbc9c6; font-size: 12px; }
.detail-title { position: relative; left: auto; bottom: auto; width: min(900px,100%); }
.detail-hero { display: flex; align-items: end; padding: 170px clamp(24px,8vw,138px) 95px; }

@media (min-width: 1101px) and (max-width: 1330px) {
  .site-header { padding-inline: 24px; gap: 16px; }
  .brand { width: 165px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 13px; }
}
@media (max-width: 1100px) {
  .menu-button { display: grid; width: 46px; height: 46px; place-content: center; gap: 7px; border: 1px solid #ffffff60; background: #02111573; }
  .menu-button > span:not(.sr-only) { display: block; width: 19px; height: 1px; background: white; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 16px 24px 24px; background: #03171cfa; max-height: calc(100dvh - 90px); overflow-y: auto; }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid #ffffff20; font-size: 14px; }
  .site-nav a.active:not(.nav-cta)::after { bottom: 0; }
  .site-nav .nav-cta { margin-top: 14px; text-align: center; font-size: 14px; }
  .contact-form-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; max-width: 680px; }
  .contact-form-layout .project-form { max-width: none; }
}
@media (max-width: 820px) {
  [id] { scroll-margin-top: 80px; }
  .hero { padding: 150px 24px 100px; min-height: 100svh; }
  .hero-copy { left: auto; bottom: auto; }
  .hero h1 { font-size: clamp(49px,10vw,78px); }
  .hero-actions { gap: 20px; }
  .service-section { min-height: 860px; align-items: center; padding: 90px 20px 75px; }
  .hover-panel { padding: 28px; background: #041e23c9; }
  .hover-panel h2 { font-size: clamp(39px,7vw,56px); }
  .hover-panel:hover, .hover-panel:focus-within, .hover-panel.reveal-ready.is-visible:hover, .hover-panel.reveal-ready.is-visible:focus-within { transform: none; }
  .process-layout { grid-template-columns: 1fr; padding: 85px 24px; gap: 40px; }
  .process-layout h2, .section-heading h2, .about-heading h2 { font-size: clamp(43px,8vw,68px); }
  .projects-section { padding: 85px 24px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-heading > p { max-width: 520px; margin-top: 25px; }
  .project-gallery { grid-template-columns: 1fr; gap: 36px; }
  .project-image { aspect-ratio: 4/3; }
  .project-card:nth-child(2) { margin-top: 0; }
  .project-caption strong { font-size: 32px; }
  .about-section { grid-template-columns: 1fr; gap: 40px; padding: 85px 24px; }
  .contact-banner { min-height: 650px; padding: 100px 24px 80px; }
  .contact-heading h2 { font-size: clamp(48px,9vw,74px); }
  .contact-form-layout { padding: 55px 20px 70px; }
  .contact-form-layout .project-form { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .project-form .choice-grid { grid-template-columns: 1fr; }
  .form-page .form-intro { margin-bottom: 40px; }
  .detail-title { left: auto; bottom: auto; }
  .detail-title h1 { font-size: clamp(43px,8vw,65px); }
  .detail-hero { padding: 135px 24px 80px; }
  .concept-note { font-size: 12px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-parallax] > .section-photo { transform: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
}

/* Imágenes de fondo: editar aquí; todas las rutas son locales. */
.photo-custom-pools { background-image: url("../images/kaleolo-pool-hero.webp"); }
.photo-outdoor-living { background-image: url("../images/kaleolo-outdoor-living.webp"); }
.photo-finishes { background-image: url("../images/kaleolo-specialty-finishes.webp"); }

/* Adaptaciones de la versión HTML y Netlify Forms. */
section[id], #services { scroll-margin-top: var(--header-offset, 110px); }
.form-page { isolation: isolate; }
.selected-files:empty { display: none; }
.utility-section { min-height: 85svh; display: grid; align-items: center; padding: 170px max(24px, 8vw) 90px; background: linear-gradient(125deg, #0c3940, #071e23); }
.utility-copy { max-width: 850px; }
.utility-copy h1 { font-size: clamp(44px, 7vw, 96px); }
.utility-copy > p:not(.eyebrow) { font-size: 18px; max-width: 620px; margin: 28px 0; color: #d1dfdd; }
.form-success .button { margin-top: 24px; }
.project-form input[type="file"] { font-size: 14px; max-width: 100%; padding: 16px 10px; }
.project-form input[type="file"]::file-selector-button { margin-right: 10px; border: 1px solid #ffffff60; background: #0b3940; color: white; padding: 8px; cursor: pointer; }
