/* ============================================
   COMPONENTS — CNL Construction | Pools
   Buttons, Cards, FAQ, Testimonials
   ============================================ */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn--primary {
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-base);
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 20px oklch(0.55 0.16 235 / 0.35);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px oklch(0.45 0.15 200 / 0.4);
}

.btn--secondary {
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-base);
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid oklch(0.99 0 0 / 0.25);
}

.btn--secondary:hover {
  background: oklch(0.99 0 0 / 0.1);
  border-color: oklch(0.99 0 0 / 0.4);
  transform: translateY(-2px);
}

.btn--dark {
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-base);
  background: var(--color-primary-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.btn--dark:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.btn--icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---- Benefit Cards ---- */
.benefit-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-gray-200);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.benefit-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: oklch(0.55 0.15 200 / 0.08);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.benefit-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ---- Feature Section ---- */
.features__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.features__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-gray-200);
}

.features__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features__floating-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: oklch(0.99 0 0 / 0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.features__floating-number {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 1;
}

.features__floating-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.features__content {
  max-width: 520px;
}

.features__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-item__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: oklch(0.65 0.18 145 / 0.1);
  color: var(--color-success);
  margin-top: 2px;
}

.feature-item__text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--leading-normal);
}

.feature-item__text strong {
  font-weight: var(--weight-semibold);
  color: var(--color-primary-dark);
}

/* ---- Testimonial Cards ---- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-gray-200);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: oklch(0.75 0.18 85);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-card__text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---- Testimonial Layout ---- */
.testimonial-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-xl);
  max-width: 820px;
  margin-inline: auto;
}

.testimonial-layout__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.testimonial-layout__text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 42ch;
}

.testimonial-layout__badge {
  display: flex;
  gap: 2px;
  color: oklch(0.75 0.15 85);
  margin-top: 4px;
}

.testimonial-layout__badge svg {
  width: 16px;
  height: 16px;
  fill: oklch(0.75 0.15 85);
}

.testimonial-layout__caption {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
}

/* ---- Testimonial Video ---- */
.testimonial-video {
  width: 300px;
  flex-shrink: 0;
}

.testimonial-video__wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  animation: tv-border-glow 4s ease-in-out infinite;
}

.testimonial-video__wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    135deg,
    transparent 20%,
    oklch(0.58 0.16 235 / 0.4) 50%,
    transparent 80%
  );
  background-size: 200% 200%;
  animation: tv-shimmer 3s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.testimonial-video__wrapper.is-playing::before {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-video__wrapper video {
  display: block;
  width: 100%;
  background: var(--color-gray-900);
  transition: transform var(--duration-slow) var(--ease-out);
}

.testimonial-video__wrapper:not(.is-playing):hover video {
  transform: scale(1.02);
}

/* Play button overlay */
.testimonial-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: oklch(0.15 0.02 240 / 0.3);
  transition: background var(--duration-normal) var(--ease-out);
}

.testimonial-video__wrapper:hover .testimonial-video__play {
  background: oklch(0.15 0.02 240 / 0.15);
}

.testimonial-video__play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: oklch(0.58 0.16 235 / 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 oklch(0.58 0.16 235 / 0.4);
  animation: tv-pulse 2.5s ease-in-out infinite;
  transition: transform var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
}

.testimonial-video__wrapper:hover .testimonial-video__play-btn {
  transform: scale(1.1);
  background: oklch(0.58 0.16 235 / 1);
}

.testimonial-video__play-btn svg {
  width: 28px;
  height: 28px;
  fill: white;
  margin-left: 3px;
}

.testimonial-video__play.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@keyframes tv-pulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.58 0.16 235 / 0.4); }
  50% { box-shadow: 0 0 0 16px oklch(0.58 0.16 235 / 0); }
}

@keyframes tv-shimmer {
  0% { background-position: 200% 0%; }
  100% { background-position: -200% 0%; }
}

@keyframes tv-border-glow {
  0%, 100% { box-shadow: 0 4px 24px oklch(0.58 0.16 235 / 0.08), 0 1px 3px oklch(0 0 0 / 0.1); }
  50% { box-shadow: 0 4px 32px oklch(0.58 0.16 235 / 0.2), 0 1px 3px oklch(0 0 0 / 0.1); }
}

.testimonial-video__caption {
  text-align: center;
  margin-top: var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  padding-block: var(--space-3xl);
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 50%,
    var(--color-primary-light) 100%
  );
  overflow: hidden;
  text-align: center;
}

.cta-section__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 25% 50%, var(--color-white) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section__text {
  font-size: var(--text-lg);
  color: var(--color-gray-300);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-inline: auto;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cta-section__phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--color-accent-light);
  font-weight: var(--weight-semibold);
}

/* ---- FAQ Accordion ---- */
.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-out);
}

.faq-item.is-open {
  border-color: var(--color-accent);
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  background: var(--color-surface);
  cursor: pointer;
  border: none;
  gap: var(--space-md);
  transition: background var(--duration-fast);
}

.faq-item__trigger:hover {
  background: var(--color-surface-alt);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ---- Value Prop Section ---- */
.value-prop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.value-prop__visual {
  position: relative;
}

.value-prop__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 12;
  background: var(--color-gray-200);
}

.value-prop__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-prop__accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.value-prop__accent-number {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: 1;
}

.value-prop__accent-label {
  font-size: var(--text-xs);
  color: var(--color-gray-300);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.value-prop__content {
  max-width: 500px;
}

.value-prop__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.value-prop__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.highlight-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: oklch(0.55 0.15 200 / 0.08);
  color: var(--color-accent);
}

.highlight-item__text {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

/* ---- Trust Strip ---- */
.trust-strip {
  background: var(--color-surface-alt);
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--color-gray-200);
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xl);
  border-right: 1px solid var(--color-gray-200);
}

.trust-strip__item:last-child {
  border-right: none;
}

.trust-strip__icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-strip__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  display: block;
  line-height: 1.3;
}

.trust-strip__sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: block;
  line-height: 1.3;
}

/* ---- Counter Section ---- */
.counter-section {
  padding-block: var(--space-2xl);
}

.counter-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-xl);
  align-items: start;
}

.counter-section__header {
  max-width: 30rem;
  margin: 0;
  text-align: left;
}

.counter-section__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.counter-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-white);
  max-width: 12ch;
  text-wrap: balance;
}

.counter-section__lead {
  margin-top: var(--space-md);
  max-width: 28rem;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: oklch(0.82 0.01 230);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.credibility-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: oklch(0.18 0.04 230 / 0.48);
  border: 1px solid oklch(0.99 0 0 / 0.08);
  box-shadow: 0 12px 32px oklch(0.08 0.03 230 / 0.14);
}

.credibility-card__icon {
  color: var(--color-accent-light);
  display: block;
  margin-bottom: 1rem;
}

.credibility-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--color-white);
  margin-bottom: 0.625rem;
}

.credibility-card__text {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: oklch(0.86 0.01 230);
}

.credibility-card__meta {
  font-weight: var(--weight-semibold);
  color: var(--color-white);
}

/* ---- CTA Strip ---- */
.cta-strip {
  position: relative;
  padding-block: var(--space-xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  overflow: hidden;
}

.cta-strip__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 20% 50%, var(--color-white) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.cta-strip__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: oklch(0.99 0 0 / 0.7);
  display: block;
  margin-bottom: var(--space-xs);
}

.cta-strip__heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  line-height: var(--leading-tight);
}

.cta-strip__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cta-strip__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  transition: color var(--duration-fast) var(--ease-out);
}

.cta-strip__phone svg {
  color: var(--color-accent-light);
}

.cta-strip__phone:hover {
  color: var(--color-accent-light);
}

.btn--on-dark {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 20px oklch(0 0 0 / 0.2);
}

.btn--on-dark:hover {
  background: var(--color-accent-light);
  color: var(--color-white);
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, oklch(0.10 0.03 230 / 0.88) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card__tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-xs);
}

.gallery-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.gallery-card__location {
  font-size: var(--text-sm);
  color: var(--color-gray-300);
}

/* ---- Pool Compare ---- */
.pool-compare-block {
  overflow: visible;
  padding-bottom: var(--space-2xl);
}

.pool-compare-block + .section {
  padding-top: var(--space-2xl);
}

.pool-compare__filters {
  position: absolute;
  width: 0;
  height: 0;
}

.pool-compare__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
}

.pool-compare__kicker {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.pool-compare__summary {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  max-width: 44rem;
}

.pool-compare__facts {
  display: grid;
  gap: var(--space-md);
}

.pool-compare__fact {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  background: oklch(0.99 0 0 / 0.7);
  border: 1px solid oklch(0.55 0.15 200 / 0.12);
  box-shadow: var(--shadow-sm);
}

.pool-compare__fact strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.pool-compare__fact span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.pool-compare__stage {
  position: relative;
  height: clamp(58rem, 145vh, 78rem);
}

.pool-compare__sticky {
  position: sticky;
  top: clamp(5.5rem, 8vw, 7rem);
}

.pool-compare-block .compare-section {
  width: 100%;
  min-height: min(78vh, 50rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
  padding: var(--space-md) 0 var(--space-xl);
}

.pool-compare-block .image-container {
  position: relative;
  width: min(100%, 78rem);
  aspect-ratio: 16 / 9;
  border-radius: 1.875rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 25%, oklch(0.58 0.17 210 / 0.22), transparent 28%),
    linear-gradient(135deg, oklch(0.14 0.03 235), oklch(0.18 0.04 225));
  box-shadow:
    0 1.875rem 4.375rem oklch(0.1 0.03 230 / 0.35),
    0 0 0 1px oklch(0.55 0.15 200 / 0.18),
    0 0 5rem oklch(0.55 0.15 200 / 0.18);
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.pool-compare-block .img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform, filter;
}

.pool-compare-block .img-before {
  z-index: 1;
  filter: brightness(0.72) saturate(1.05);
}

.pool-compare-block .img-after-wrapper {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 100% 0 0);
  filter: url(#water-ripple);
  will-change: clip-path;
}

.pool-compare-block .img-after {
  filter: brightness(1.03) saturate(1.08) contrast(1.04);
}

.pool-compare-block .tag {
  position: absolute;
  top: 1.5rem;
  z-index: 10;
  padding: 0.75rem 1.375rem;
  border-radius: var(--radius-full);
  background: oklch(0.16 0.03 230 / 0.62);
  color: var(--color-white);
  border: 1px solid oklch(0.99 0 0 / 0.12);
  box-shadow: 0 0.875rem 2rem oklch(0.1 0.03 230 / 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.pool-compare-block .tag-before {
  right: 1.5rem;
  border-left: 3px solid #ef4444;
}

.pool-compare-block .tag-after {
  left: 1.5rem;
  opacity: 0;
  border-right: 3px solid #10b981;
}

.pool-compare-block .separator-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  width: 4px;
  background: linear-gradient(
    180deg,
    oklch(0.99 0 0 / 0) 0%,
    oklch(0.99 0 0 / 0.94) 18%,
    oklch(0.7 0.16 210 / 0.96) 50%,
    oklch(0.99 0 0 / 0.94) 82%,
    oklch(0.99 0 0 / 0) 100%
  );
  box-shadow:
    0 0 1.875rem oklch(0.7 0.16 210 / 0.7),
    0 0 4rem oklch(0.7 0.16 210 / 0.28);
  transform: translateX(-50%);
  will-change: left;
}

.pool-compare-block .separator-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: oklch(0.99 0 0 / 0.96);
  border: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0.875rem 2rem oklch(0.1 0.03 230 / 0.35),
    0 0 0 2px oklch(0.7 0.16 210 / 0.28),
    0 0 2rem oklch(0.7 0.16 210 / 0.52);
  cursor: ew-resize;
  touch-action: none;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.pool-compare-block .separator-handle::before,
.pool-compare-block .separator-handle::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
}

.pool-compare-block .separator-handle::before {
  left: 0.75rem;
  border-right: 0.625rem solid var(--color-accent);
}

.pool-compare-block .separator-handle::after {
  right: 0.75rem;
  border-left: 0.625rem solid var(--color-accent);
}

.pool-compare-block .image-container:hover .separator-handle,
.pool-compare-block .image-container.is-dragging .separator-handle {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 1rem 2.25rem oklch(0.1 0.03 230 / 0.4),
    0 0 0 3px oklch(0.99 0 0 / 0.52),
    0 0 2.75rem oklch(0.7 0.16 210 / 0.75);
}

.pool-compare-block .glow-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 52%, oklch(0.7 0.16 210 / 0.18), transparent 34%),
    linear-gradient(180deg, oklch(0.99 0 0 / 0.03), oklch(0.1 0.03 230 / 0.08));
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: screen;
}

.pool-compare-block .particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.pool-compare-block .particle {
  position: absolute;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: oklch(0.75 0.12 210 / 0.7);
  box-shadow: 0 0 0.875rem oklch(0.75 0.12 210 / 0.5);
  opacity: 0.24;
  animation: pool-compare-float var(--pc-duration, 8s) ease-in-out infinite;
  animation-delay: var(--pc-delay, 0s);
}

@keyframes pool-compare-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.18;
  }
  25% {
    transform: translate3d(1.25rem, -1rem, 0) scale(1.25);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(2.25rem, 0.25rem, 0) scale(0.92);
    opacity: 0.24;
  }
  75% {
    transform: translate3d(1rem, 1rem, 0) scale(1.08);
    opacity: 0.4;
  }
}

/* ---- Process ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-line {
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--color-gray-200);
  z-index: 0;
}

.process-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
}

.process-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-card__icon {
  width: 88px;
  height: 88px;
  background: var(--color-surface);
  border: 2px solid var(--color-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  position: relative;
  color: var(--color-primary);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-md);
}

.process-card:hover .process-card__icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px oklch(0.35 0.12 230 / 0.35);
}

.process-card__step {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.process-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.process-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 220px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* ---- Contact Section ---- */
.contact-section {
  position: relative;
  padding-block: var(--space-3xl);
  overflow: hidden;
}

.contact-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, oklch(0.18 0.08 230) 100%);
}

.contact-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-form-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 30px 80px oklch(0 0 0 / 0.3);
}

.contact-form-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.contact-form-card__sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-form-card__divider {
  height: 2px;
  background: var(--color-gray-100);
  margin-block: var(--space-md);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.contact-form__field {
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--duration-fast), background var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px oklch(0.35 0.12 230 / 0.1);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

.form-input--textarea {
  resize: vertical;
  min-height: 100px;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236d7585' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: var(--space-xl);
}

.contact-form__submit {
  width: 100%;
  margin-top: var(--space-sm);
}

.contact-form__success {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.contact-form__success svg {
  margin: 0 auto var(--space-md);
}

.contact-form__success h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.contact-form__success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-form__error {
  padding: var(--space-sm) var(--space-md);
  background: oklch(0.35 0.15 25);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.contact-form__error p {
  font-size: var(--text-sm);
  color: var(--color-white);
}

.contact-form__error a {
  color: var(--color-white);
  text-decoration: underline;
}

/* ---- Form Validation States ---- */
.form-input.is-invalid {
  border-color: oklch(0.55 0.2 25);
}

.form-input.is-valid {
  border-color: var(--color-accent);
}

/* ---- Contact Info ---- */
.contact-info {
  padding-top: var(--space-md);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: oklch(0.55 0.15 200 / 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.contact-info__label {
  display: block;
  font-size: var(--text-xs);
  color: oklch(0.99 0 0 / 0.45);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
}

.contact-info__value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  display: block;
  line-height: var(--leading-snug);
}

a.contact-info__value:hover {
  color: var(--color-accent-light);
}

.contact-info__licenses {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid oklch(0.99 0 0 / 0.1);
}

.contact-info__lic-label {
  display: block;
  font-size: var(--text-xs);
  color: oklch(0.99 0 0 / 0.45);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
}

.contact-info__lic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.contact-info__lic-tag {
  background: oklch(0.99 0 0 / 0.07);
  border: 1px solid oklch(0.99 0 0 / 0.12);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: oklch(0.99 0 0 / 0.65);
  letter-spacing: var(--tracking-wide);
}

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast);
}

.wa-float:hover {
  transform: scale(1.1);
  background: #1db954;
  color: #fff;
}

.wa-float::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.2s ease-in-out infinite;
}

/* ---- Scroll Top ---- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  box-shadow: 0 4px 18px oklch(0.35 0.12 230 / 0.4);
  cursor: pointer;
  border: none;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ---- Footer Social ---- */
.footer__social {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.footer__social a {
  width: 36px;
  height: 36px;
  background: oklch(0.99 0 0 / 0.07);
  color: var(--color-gray-400);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
}

/* ---- Features layout reverse ---- */
.features__layout--reverse {
  direction: rtl;
}

.features__layout--reverse > * {
  direction: ltr;
}

/* ---- Financing Glass Card — Hero right side ---- */
.financing-card {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter)));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: financeCardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards, cardGlow 5s ease-in-out 2.5s infinite;
}
.financing-card__title {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  position: relative;
  overflow: hidden;
  padding: 2px 6px;
}
.financing-card__title::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: titleShimmer 3.5s ease-in-out 2s infinite;
}
.financing-card__logos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.financing-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 48px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.93);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.financing-card__link:hover {
  transform: scale(1.04);
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.financing-card__logo {
  display: block;
  max-width: 116px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.financing-card__disclaimer {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.22);
  text-align: center;
  line-height: 1.4;
  max-width: 150px;
}

@keyframes cardGlow {
  0%, 100% {
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
  50% {
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 0 20px rgba(255,255,255,0.04), inset 0 0 20px rgba(255,255,255,0.02);
  }
}

@keyframes financeCardIn {
  from { opacity: 0; transform: translateY(-50%) translateX(16px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@keyframes titleShimmer {
  0% { left: -100%; }
  35% { left: 100%; }
  100% { left: 100%; }
}

