/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: background var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    backdrop-filter var(--duration-normal) var(--ease-out);
}

.header.is-scrolled {
  background: var(--color-surface-glass);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.92;
}

.logo__img {
  height: var(--logo-height);
  width: auto;
  max-width: min(280px, 52vw);
  display: block;
  transition: height var(--duration-normal) var(--ease-out),
    filter var(--duration-normal) var(--ease-out);
}

.header.is-scrolled .logo__img {
  height: var(--logo-height-scrolled);
}

.footer .logo__img {
  height: var(--logo-height-footer);
}

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

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

.nav__links {
  display: flex;
  gap: var(--space-md);
}

.nav__cta {
  flex-shrink: 0;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.25em 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: 2px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-out),
    opacity var(--duration-fast) var(--ease-out);
}

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

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.6em;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.btn--ghost {
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}

.btn--large {
  padding: 1em 2em;
  font-size: var(--text-base);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 138, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 138, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  animation: grid-drift 30s linear infinite;
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.2;
  animation: float-particle var(--dur, 12s) ease-in-out infinite;
}

.hero__mesh {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.hero__mesh--1 {
  top: -10%;
  right: -5%;
  background: var(--color-primary);
}

.hero__mesh--2 {
  bottom: 10%;
  left: -10%;
  background: var(--color-secondary);
}

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

.hero__text {
  max-width: 560px;
}

.hero__badge {
  margin-bottom: var(--space-md);
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: normal;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.hero__location svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__visual {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  min-height: 220px;
  background: #e8ecf4;
  /* Keep slides above hero meshes; never use negative z-index children here */
  isolation: isolate;
}

/* Aspect-ratio fallback when only absolute children (older mobile browsers) */
.hero__image-wrap::before {
  content: "";
  display: block;
  padding-bottom: 75%; /* 4:3 */
}

@supports (aspect-ratio: 4 / 3) {
  .hero__image-wrap::before {
    display: none;
  }
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.hero__slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(45, 49, 66, 0.25) 0%,
    transparent 40%,
    transparent 70%,
    rgba(159, 138, 255, 0.08) 100%
  );
  pointer-events: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s var(--ease-out);
  z-index: 0;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: hero-ken-burns 8s var(--ease-out) forwards;
}

.hero__slideshow-dots {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(45, 49, 66, 0.35);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
}

.hero__slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all var(--duration-fast) var(--ease-out);
}

.hero__slideshow-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.hero__slideshow-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Gradient rim: behind slides, but NOT z-index:-1 (that hid images on mobile) */
.hero__image-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 3px rgba(159, 138, 255, 0.35);
  z-index: 0;
  pointer-events: none;
}

/* Float badge — original offset (hangs off the photo on desktop) */
.hero__float-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  z-index: 10;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface-glass);
  backdrop-filter: blur(var(--blur-glass));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  animation: float-card 4s ease-in-out infinite;
}

.hero__float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
}

.hero__float-card span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ── Services zone (trust strip + services unified bg) ── */
.services-zone {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #f0f9ff 0%,
    #f0eeff 18%,
    #f4f2fc 50%,
    #eef6fc 100%
  );
}

.services-zone__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.services-zone__orb {
  position: absolute;
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
}

.services-zone__orb--left {
  top: 20%;
  left: -14%;
  background: rgba(110, 193, 228, 0.55);
}

.services-zone__orb--right {
  top: 20%;
  right: -14%;
  background: rgba(159, 138, 255, 0.55);
}

.services-zone .trust-strip,
.services-zone .section--services {
  position: relative;
  z-index: 1;
}

/* ── Trust strip ── */
.trust-strip {
  padding-block: var(--space-lg);
  background: transparent;
  border-bottom: 1px solid rgba(159, 138, 255, 0.08);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
}

.trust-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(159, 138, 255, 0.12), rgba(110, 193, 228, 0.12));
  color: var(--color-primary);
}

.trust-item__icon svg {
  width: 22px;
  height: 22px;
}

.trust-item__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.trust-item__text span {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ── Service cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(159, 138, 255, 0.1);
  border-radius: var(--radius-md);
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--color-primary), var(--color-secondary), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  pointer-events: none; /* do not block Enquire links */
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-glow);
}

.service-card:hover::before {
  opacity: 1;
}

/* Keep card content (and CTAs) above the decorative border */
.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
  background: rgba(159, 138, 255, 0.1);
  color: var(--color-primary);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

.service-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-md);
}

.service-card__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.35em 0.15em;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
}

.service-card__cta:hover,
.service-card__cta:focus-visible {
  color: var(--color-primary-hover);
  transform: translateX(2px);
  background: rgba(159, 138, 255, 0.08);
}

.service-card__list {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  flex: 1;
}

.service-card__list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: 1.1em;
  position: relative;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.6;
}

.services-note {
  text-align: center;
  max-width: 640px;
  margin: var(--space-lg) auto 0;
  padding: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: rgba(159, 138, 255, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.services-visual {
  position: relative;
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(159, 138, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.services-visual__media {
  position: relative;
  aspect-ratio: 3 / 1;
  min-height: 160px;
}

.services-visual__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.services-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(159, 138, 255, 0.82) 0%,
    rgba(139, 188, 255, 0.55) 42%,
    rgba(110, 193, 228, 0.35) 100%
  );
}

.services-visual__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
}

.services-visual__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-xs);
  padding: 0.35em 1em;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.services-visual__text {
  max-width: 520px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 1px 12px rgba(45, 49, 66, 0.2);
}

.session-packages {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.session-package {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(159, 138, 255, 0.1);
  border-radius: var(--radius-md);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.session-package:hover {
  box-shadow: var(--shadow-sm);
}

.session-package__duration {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25em;
}

.session-package h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.session-package p {
  font-size: var(--text-sm);
  line-height: 1.65;
}

.areas-section {
  margin-top: var(--space-xl);
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(159, 138, 255, 0.1);
  border-radius: var(--radius-lg);
}

.areas-section h3 {
  margin-bottom: var(--space-xs);
  font-size: var(--text-xl);
}

.areas-section__hint {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.house-map {
  max-width: 520px;
  margin-inline: auto;
}

.house-map__svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(159, 138, 255, 0.12);
  box-shadow: var(--shadow-sm);
}

.house-map__sky {
  pointer-events: none;
}

.house-map__ground {
  stroke: rgba(159, 138, 255, 0.25);
  stroke-width: 2;
  stroke-linecap: round;
}

.house-map__structure,
.house-map__details {
  pointer-events: none;
}

.house-map__structure path,
.house-map__structure rect {
  fill: rgba(255, 255, 255, 0.42);
  stroke: rgba(159, 138, 255, 0.32);
  stroke-width: 2;
  stroke-linejoin: round;
}

.house-map__wing {
  fill: rgba(255, 255, 255, 0.48);
  stroke: rgba(159, 138, 255, 0.38);
}

.house-map__structure line {
  stroke: rgba(159, 138, 255, 0.14);
  stroke-width: 1.5;
}

.house-map__details rect {
  fill: rgba(255, 255, 255, 0.55);
  stroke: rgba(159, 138, 255, 0.35);
  stroke-width: 1.5;
}

.house-map__details line,
.house-map__details circle {
  stroke: rgba(159, 138, 255, 0.3);
  stroke-width: 1.25;
  fill: none;
}

.house-map__details circle {
  fill: rgba(159, 138, 255, 0.45);
  stroke: none;
}

.house-map__room {
  cursor: pointer;
  outline: none;
}

.house-map__zone {
  fill: rgba(159, 138, 255, 0.07);
  stroke: rgba(159, 138, 255, 0.18);
  stroke-width: 1.5;
  transition: fill var(--duration-fast) var(--ease-out),
    stroke var(--duration-fast) var(--ease-out),
    filter var(--duration-fast) var(--ease-out);
}

.house-map__room:hover .house-map__zone,
.house-map__room:focus-visible .house-map__zone,
.house-map__room.is-active .house-map__zone {
  fill: rgba(159, 138, 255, 0.38);
  stroke: var(--color-primary);
  stroke-width: 2.5;
  filter: url(#room-glow);
}

.house-map--facade .house-map__room[data-room="attic"]:hover .house-map__zone,
.house-map--facade .house-map__room[data-room="attic"].is-active .house-map__zone {
  fill: rgba(110, 193, 228, 0.35);
}

.house-map--facade .house-map__room[data-room="garage"]:hover .house-map__zone,
.house-map--facade .house-map__room[data-room="garage"].is-active .house-map__zone {
  fill: rgba(139, 188, 255, 0.35);
}

.house-map__status {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(159, 138, 255, 0.15);
  border-radius: var(--radius-full);
}

.house-map__status-label {
  color: var(--color-text-light);
  margin-right: 0.35em;
}

.house-map__status-room {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
}

.house-map__more {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.5;
}

.extras-section {
  margin-top: var(--space-xl);
}

.extras-section__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(159, 138, 255, 0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.extras-section__toggle:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(159, 138, 255, 0.3);
  color: var(--color-primary);
}

.extras-section__chevron {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform var(--duration-normal) var(--ease-out);
}

.extras-section.is-open .extras-section__chevron {
  transform: rotate(180deg);
}

.extras-section__panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s var(--ease-out), opacity 0.4s var(--ease-out), margin 0.4s var(--ease-out);
  margin-top: 0;
}

.extras-section.is-open .extras-section__panel {
  max-height: 900px;
  opacity: 1;
  margin-top: var(--space-md);
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.extra-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(159, 138, 255, 0.1);
  border-radius: var(--radius-md);
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.extra-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.extra-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(159, 138, 255, 0.15), rgba(110, 193, 228, 0.15));
  color: var(--color-primary);
}

.extra-card__icon svg {
  width: 26px;
  height: 26px;
}

.extra-card h3 {
  margin-bottom: 0.35em;
}

.extra-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.extra-card .btn {
  font-size: var(--text-xs);
  padding: 0.55em 1.2em;
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 80;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ── Method timeline ── */
.method {
  background: transparent;
}

.method__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.method__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
  opacity: 0.3;
}

.timeline__step {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  position: relative;
}

.timeline__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 1;
}

.timeline__step.is-active .timeline__number,
.timeline__step.is-visible .timeline__number {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.timeline__content h3 {
  margin-bottom: 0.25em;
}

.timeline__content p {
  font-size: var(--text-sm);
}

/* ── Before / After slider ── */
.ba-section {
  background: transparent;
}

.ba-slider {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  user-select: none;
  cursor: ew-resize;
}

.ba-slider__after,
.ba-slider__before {
  position: absolute;
  inset: 0;
}

.ba-slider__after img,
.ba-slider__before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider__before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.ba-slider__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 3px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.ba-slider__labels {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  right: var(--space-sm);
  display: flex;
  justify-content: space-between;
  z-index: 4;
  pointer-events: none;
}

.ba-slider__label {
  padding: 0.3em 0.8em;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(45, 49, 66, 0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
}

.ba-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.ba-tab {
  padding: 0.5em 1.2em;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  transition: all var(--duration-fast) var(--ease-out);
}

.ba-tab.is-active,
.ba-tab:hover {
  color: var(--color-text);
  background: var(--color-surface);
  border-color: var(--color-primary);
}

/* ── Testimonials ── */
.testimonials {
  background: transparent;
}

/* Google reviews CTA under the carousel */
.testimonials__google-link {
  margin-top: var(--space-lg);
  text-align: center;
}

.google-reviews-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(159, 138, 255, 0.35);
  box-shadow:
    0 4px 18px rgba(159, 138, 255, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast),
    color var(--duration-fast);
}

.google-reviews-cta:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(159, 138, 255, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.google-reviews-cta:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.google-reviews-cta__g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  color: #4285f4;
  background: #fff;
  border: 1px solid rgba(66, 133, 244, 0.28);
  box-shadow: 0 1px 4px rgba(66, 133, 244, 0.15);
}

.google-reviews-cta__stars {
  color: #fbbc04;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  line-height: 1;
}

.google-reviews-cta__label {
  color: inherit;
}

.testimonial-carousel {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.testimonial-carousel__track {
  overflow: hidden;
}

.testimonial-carousel__slides {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-out);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(159, 138, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-slide__quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.testimonial-slide__quote::before {
  content: "\201C";
  color: var(--color-primary);
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.1em;
}

.testimonial-slide__author {
  font-weight: 600;
  color: var(--color-text);
}

.testimonial-slide__role {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.testimonial-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.testimonial-carousel__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.testimonial-carousel__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(159, 138, 255, 0.06);
}

.testimonial-carousel__dots {
  display: flex;
  gap: 6px;
}

.testimonial-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all var(--duration-fast) var(--ease-out);
}

.testimonial-carousel__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* ── About ── */
.about__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about__photo-wrap {
  position: relative;
}

.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.about__photo-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient-cta);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
  filter: blur(30px);
}

.about__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.about__content p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.printables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.printable-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.printable-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: var(--color-text);
}

.printable-card__badge {
  align-self: flex-start;
  padding: 0.3em 0.55em;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background: rgba(159, 138, 255, 0.12);
  border-radius: 4px;
}

.printable-card__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.printable-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  line-height: 1.5;
  flex: 1;
}

.printable-card__action {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5em 0.75em;
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
}

.footer__legal a {
  color: var(--color-text);
}

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

.footer__legal span {
  color: rgba(45, 49, 66, 0.35);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer__social--compact {
  justify-content: center;
  margin-top: 0;
  margin-bottom: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid rgba(159, 138, 255, 0.28);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.about__content {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(159, 138, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about__philosophy {
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(159, 138, 255, 0.08);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

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

/* ── CTA section ── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.cta-section__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
  background: var(--gradient-cta);
  border-radius: var(--radius-lg);
  color: #fff;
}

.cta-section__inner h2 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.cta-section__inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 0;
}

.cta-section__actions {
  margin-top: var(--space-lg);
}

.cta-section__inner .btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(8px);
}

.cta-section__inner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.cta-section__inner .btn--primary {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.cta-section__inner .btn--primary:hover {
  background: #f8f9fc;
  color: var(--color-primary);
}

/* ── Footer — white → logo celeste claro (#8bbcff / primary-hover) ── */
.footer {
  padding-block: var(--space-xl) var(--space-lg);
  /* Sampled from logo background ≈ rgb(139,188,255) = primary-hover */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #eef5ff 32%,
    #cfe3ff 68%,
    var(--color-primary-hover) 100%
  );
  color: var(--color-text);
  border-top: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

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

.footer .logo__tagline {
  color: var(--color-text-muted);
}

.footer .logo__img {
  filter: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer__desc {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 320px;
  color: var(--color-text-muted);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(45, 49, 66, 0.12);
  font-size: var(--text-xs);
  color: var(--color-text);
}

/* ── Mobile sticky CTA ── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: var(--space-sm) var(--space-md);
  padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom));
  background: var(--color-surface-glass);
  backdrop-filter: blur(var(--blur-glass));
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(45, 49, 66, 0.08);
  transition: transform var(--duration-normal) var(--ease-out),
    opacity var(--duration-normal) var(--ease-out);
}

.mobile-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.mobile-cta .btn {
  width: 100%;
}

.page-contact .mobile-cta {
  display: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    max-width: none;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
    margin-top: var(--space-sm);
    /* Room so the hanging float card does not cover the subtitle above */
    padding-bottom: 28px;
  }

  .hero__image-wrap {
    min-height: 240px;
  }

  /* Same style as before: offset to the right of the photo */
  .hero__float-card {
    left: auto;
    right: -10px;
    bottom: -20px;
  }

  .method__layout {
    grid-template-columns: 1fr;
  }

  .about__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__photo-wrap {
    max-width: 280px;
    margin-inline: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 900px) {
  .nav__links {
    gap: 0.65rem;
  }

  .nav__drawer {
    gap: var(--space-sm);
  }

  .nav__link {
    font-size: 0.8125rem;
  }
}

@media (max-width: 768px) {
  .nav__drawer {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: var(--space-md);
    padding-bottom: max(var(--space-md), env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav.is-open .nav__drawer {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    gap: 0.15rem;
  }

  .nav__link {
    display: block;
    font-size: var(--text-base);
    padding: 0.7em 0.35em;
  }

  .nav__cta {
    margin-top: var(--space-xs);
    width: 100%;
    justify-content: center;
  }

  .nav__toggle {
    display: flex;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .session-packages {
    grid-template-columns: 1fr;
  }

  .services-visual__media {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }

  .services-visual__text {
    font-size: var(--text-base);
  }

  .extras-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: calc(72px + var(--space-sm) + env(safe-area-inset-bottom, 0px));
    right: max(var(--space-md), env(safe-area-inset-right));
  }

  .page-contact .whatsapp-float {
    bottom: max(var(--space-md), env(safe-area-inset-bottom));
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__desc {
    margin-inline: auto;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .mobile-cta {
    display: block;
  }

  body:not(.page-contact) {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .hero__location {
    justify-content: center;
  }

  .ba-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
}