:root {
  --bg: #06100c;
  --bg-deep: #030806;
  --bg-soft: #0b1b13;
  --surface: #102018;
  --surface-2: #14291f;
  --text: #f5fbf7;
  --muted: #b9c8bf;
  --muted-2: #8fa498;
  --primary: #79e7a5;
  --primary-strong: #2fc76f;
  --pool: #56d7f2;
  --pool-strong: #1689a8;
  --gold: #f5cf77;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  --radius: 30px;
  --radius-sm: 18px;
  --container: min(1200px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(121, 231, 165, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 20%, rgba(86, 215, 242, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 46%, #07140f 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 12px;
  color: #06100c;
  background: var(--primary);
  text-decoration: none;
  font-weight: 900;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 16, 12, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 88px;
}

.brand,
.footer-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand img,
.footer-brand img {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #dbe8df;
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: #06100c;
  background: linear-gradient(135deg, var(--primary), var(--pool));
}

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  border-radius: 999px;
  color: #06100c;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(47, 199, 111, 0.22);
  transition: 0.2s ease;
}

.header-cta:hover,
.btn:hover,
.social:hover,
.gallery-item:hover,
.contact-card:hover,
.back-to-top:hover,
.floating-whatsapp:hover,
.image-button:hover,
.text-link:hover,
.feature-grid a:hover {
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: 0.2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section,
.hero {
  padding: 92px 0;
}

.section-glow {
  position: relative;
  isolation: isolate;
}

.section-glow::before {
  content: "";
  position: absolute;
  inset: 12% auto auto 50%;
  z-index: -1;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 231, 165, 0.12), transparent 68%);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(121, 231, 165, 0.28);
  border-radius: 999px;
  color: #cdfcdb;
  background: rgba(121, 231, 165, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--pool));
  box-shadow: 0 0 0 7px rgba(121, 231, 165, 0.1);
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11.8ch;
  margin-bottom: 24px;
  font-size: clamp(3.05rem, 7.2vw, 6.55rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 4vw, 4rem);
}

h3 {
  font-size: 1.32rem;
}

.hero-lead,
.section-heading p,
.split-content p,
.contact-copy > p,
.form-heading p,
.site-footer p,
.step-card p,
.service-card p,
.privacy-note,
.zone-card p,
.faq-list p {
  color: var(--muted);
}

.hero-lead {
  max-width: 66ch;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-actions,
.mini-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-bottom: 34px;
}

.mini-cta {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 1000;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  color: #06100c;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 42px rgba(47, 199, 111, 0.22);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.btn-ghost:hover {
  border-color: rgba(86, 215, 242, 0.72);
  color: var(--pool);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-row div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: #effff5;
}

.trust-row span {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 1px solid rgba(121, 231, 165, 0.16);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(121, 231, 165, 0.14), rgba(86, 215, 242, 0.1));
  transform: rotate(-2deg);
}

.hero-media img {
  width: 100%;
  height: clamp(510px, 68vw, 720px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 310px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(6, 16, 12, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.35);
}

.floating-card span,
.floating-card strong {
  display: block;
}

.floating-card span {
  color: var(--muted-2);
  font-size: 0.88rem;
}

.floating-card strong {
  margin-top: 3px;
  color: #e7fff0;
  font-size: 1.08rem;
}

.feature-strip {
  padding-top: 0;
  padding-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-grid a {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.16);
  transition: 0.2s ease;
}

.feature-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: rgba(121, 231, 165, 0.1);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.step-card,
.quote-form,
.contact-card,
.stats-panel,
.zone-card,
.faq-list details {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(121, 231, 165, 0.32);
}

.service-card-featured:hover {
  border-color: rgba(86, 215, 242, 0.38);
}

.service-card img {
  width: 100%;
  height: 248px;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 16px;
  background: rgba(121, 231, 165, 0.12);
  font-size: 1.35rem;
}

.service-icon.pool {
  background: rgba(86, 215, 242, 0.13);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.text-link::after {
  content: "→";
}

.pool-section {
  background:
    radial-gradient(circle at 12% 55%, rgba(86, 215, 242, 0.12), transparent 22rem),
    rgba(255, 255, 255, 0.012);
}

.pool-grid,
.split-grid,
.contact-grid,
.faq-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.pool-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
}

.split-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.faq-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
}

.pool-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}

.image-button {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  cursor: zoom-in;
  transition: 0.25s ease;
}

.image-button-large {
  min-height: 520px;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s ease;
}

.image-button:hover img {
  transform: scale(1.04);
}

.split-content p {
  max-width: 68ch;
  margin-bottom: 24px;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #e4f0e8;
  font-weight: 780;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #06100c;
  background: linear-gradient(135deg, var(--primary), var(--pool));
  font-size: 0.82rem;
  font-weight: 1000;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.015);
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.zone-card {
  min-height: 290px;
  padding: 28px;
  border-radius: var(--radius);
  transition: 0.25s ease;
}

.zone-card:hover {
  transform: translateY(-5px);
  border-color: rgba(121, 231, 165, 0.28);
}

.zone-card > span {
  display: inline-flex;
  margin-bottom: 42px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #06100c;
  background: linear-gradient(135deg, var(--primary), var(--pool));
  font-size: 0.84rem;
  font-weight: 1000;
}

.zone-card h3 {
  margin-bottom: 12px;
}

.zone-card small {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 900;
}

.stats-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
}

.stats-panel div {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.stats-panel strong,
.stats-panel span {
  display: block;
}

.stats-panel strong {
  margin-bottom: 2px;
  color: var(--primary);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stats-panel span {
  color: var(--muted);
  font-weight: 750;
}

.gallery-block + .gallery-block {
  margin-top: 42px;
}

.gallery-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.gallery-title span {
  color: var(--muted-2);
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  cursor: zoom-in;
  transition: 0.25s ease;
}

.gallery-item::after,
.image-button::after {
  content: "Ver imagen";
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #06100c;
  background: rgba(121, 231, 165, 0.94);
  font-size: 0.82rem;
  font-weight: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.gallery-item:hover::after,
.image-button:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 240px;
  padding: 26px;
  border-radius: 26px;
}

.step-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 1000;
}

.step-card h3 {
  margin-bottom: 10px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  border-radius: 20px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  color: var(--text);
  cursor: pointer;
  font-weight: 1000;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #06100c;
  background: var(--primary);
  font-size: 1.1rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  padding: 0 20px 20px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}

.contact-card {
  display: block;
  padding: 18px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.2s ease;
}

.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card span {
  color: var(--muted-2);
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-card strong {
  margin-top: 4px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 1000;
  text-decoration: none;
  transition: 0.2s ease;
}

.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.facebook {
  background: #1877f2;
}

.whatsapp-social {
  color: #062114;
  background: #25d366;
}

.quote-form {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
}

.form-heading {
  margin-bottom: 24px;
}

.form-heading h3 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 900;
}

.full-field {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--text);
  background: rgba(4, 12, 8, 0.72);
  outline: 0;
  transition: 0.2s ease;
}

input,
select {
  min-height: 52px;
  padding: 0 15px;
}

select option {
  color: #07110d;
}

textarea {
  min-height: 140px;
  padding: 14px 15px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #779083;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(86, 215, 242, 0.76);
  box-shadow: 0 0 0 4px rgba(86, 215, 242, 0.1);
}

.full-button {
  width: 100%;
  margin-top: 18px;
}

.privacy-note {
  margin-top: 14px;
  font-size: 0.88rem;
  text-align: center;
}

.site-footer {
  padding: 58px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 1fr;
  gap: 28px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid strong {
  color: var(--text);
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  text-align: center;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  z-index: 90;
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  transition: 0.2s ease;
}

.floating-whatsapp {
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 14px 20px;
  color: #062114;
  background: #25d366;
  font-weight: 1000;
  text-decoration: none;
}

.floating-whatsapp::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #062114;
  box-shadow: 0 0 0 6px rgba(6, 33, 20, 0.08);
}

.back-to-top {
  right: 20px;
  bottom: 86px;
  width: 48px;
  height: 48px;
  color: #06100c;
  background: var(--primary);
  font-size: 1.15rem;
  font-weight: 1000;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.84);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 78vh;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox p {
  margin-top: 16px;
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #06100c;
  background: var(--primary);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.image-missing {
  min-height: 220px;
  background: linear-gradient(135deg, rgba(121, 231, 165, 0.12), rgba(86, 215, 242, 0.08));
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .nav-wrap {
    grid-template-columns: auto auto auto;
  }

  .main-nav {
    position: fixed;
    inset: 88px 16px auto 16px;
    z-index: 101;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(7, 17, 13, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: 0.2s ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .pool-grid,
  .split-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
  }

  .services-grid,
  .steps-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  :root {
    --container: min(100% - 28px, 1200px);
  }

  .section,
  .hero {
    padding: 66px 0;
  }

  .feature-strip {
    padding-top: 0;
  }

  .nav-wrap {
    min-height: 78px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 180px;
  }

  .main-nav {
    inset: 78px 14px auto 14px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.8rem);
  }

  .hero-media img {
    height: 500px;
    border-radius: 26px;
  }

  .hero-media::before {
    border-radius: 28px;
  }

  .floating-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .trust-row,
  .services-grid,
  .steps-grid,
  .gallery-grid,
  .footer-grid,
  .form-grid,
  .feature-grid,
  .zones-grid,
  .pool-gallery {
    grid-template-columns: 1fr;
  }

  .image-button-large,
  .image-button {
    min-height: 330px;
  }

  .gallery-title {
    align-items: start;
    flex-direction: column;
  }

  .quote-form,
  .service-card,
  .zone-card {
    border-radius: 24px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    width: 58px;
    height: 58px;
    justify-content: center;
    padding: 0;
  }

  .mini-cta .btn,
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    max-width: 145px;
    font-size: 0.9rem;
  }

  .hero-media img {
    height: 420px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .contact-card,
  .zone-card,
  .step-card {
    padding: 20px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
