/* LeviLaser global styles */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter/Inter_18pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair/PlayfairDisplay-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair/PlayfairDisplay-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F6F8F4;
  --panel: #FFFFFF;
  --ink: #0F1A12;
  --muted: #5F6F63;
  --olive: #7A8F75;
  --olive-strong: #5A7359;
  --olive-soft: #A8B5A3;
  --accent: #0EA5A5;
  /* Menu palette additions */
  --olive-main: #5E6652;
  /* primary olive for text/hover */
  --olive-gray: #495343;
  /* muted olive-gray for items */

  /* Refined Shadows */
  --shadow-sm: 0 2px 8px rgba(31, 41, 35, 0.04);
  --shadow: 0 10px 30px -10px rgba(31, 41, 35, 0.08), 0 4px 12px -2px rgba(31, 41, 35, 0.04);
  --shadow-hover: 0 20px 40px -12px rgba(31, 41, 35, 0.12), 0 8px 16px -4px rgba(31, 41, 35, 0.06);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.04);

  --radius: 20px;
  --sticky-offset: 140px;
  --maxw: 1200px;
  /* Slightly wider */
  --transition-base: 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  /* Smoother easing */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
  --fs-body: clamp(16px, 1.05vw, 18px);
  --fs-lead: clamp(17px, 1.2vw, 20px);
  --fs-h2: clamp(26px, 2.4vw, 36px);
  --fs-h1: clamp(34px, 4.2vw, 52px);
  --lh-h1: 1.1;
  --lh-lead: 1.6;
}

body.page-home {
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
  --fs-body: clamp(16px, 1.05vw, 18px);
  --fs-lead: clamp(17px, 1.2vw, 20px);
  --fs-h2: clamp(26px, 2.4vw, 36px);
  --fs-h1: clamp(34px, 4.2vw, 52px);
  --fs-h3: clamp(18px, 1.5vw, 22px);
  --fs-small: clamp(13px, 0.9vw, 15px);
  --lh-h1: 1.1;
  --lh-lead: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Ensure anchored sections are not hidden under the sticky header */
section[id],
[id="contacts"],
[id="services"],
[id="testimonials"] {
  scroll-margin-top: var(--sticky-offset);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  background: var(--bg);
  background-image: linear-gradient(to bottom, #F6F8F4 0%, #F0F4EE 100%);
  /* Subtle depth */
  color: var(--ink);
  line-height: var(--lh-lead);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--olive-soft);
  object-fit: cover;
}

a {
  color: inherit;
}

a:not([class]) {
  text-decoration-color: var(--olive-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.container {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 10vw, 96px) 0;
}

.section__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.section__subhead {
  color: var(--muted);
  margin: 0 0 2rem 0;
  max-width: 48ch;
  font-size: var(--fs-body);
  line-height: var(--lh-lead);
}

.section__note {
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
  color: var(--muted);
  margin: 0;
}

.section__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.8rem;
}

.section__header .section__heading,
.section__header .section__subhead {
  margin-bottom: 0;
}

body.page-home .section {
  padding: clamp(48px, 7vw, 84px) 0;
}

body.page-home .section__heading {
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

body.page-home .section__subhead {
  font-size: var(--fs-body);
  line-height: var(--lh-lead);
  margin-bottom: 1.2rem;
}

body.page-home .section__note {
  font-size: var(--fs-small);
}

body.page-home .section__header {
  margin-bottom: 1.6rem;
}

body.page-home .hero__eyebrow {
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0.16em;
}

body.page-home .hero__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  max-width: 18ch;
}

body.page-home .hero__lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  max-width: 44ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button--icon {
  gap: 0.55rem;
  padding-inline: 1.2rem 1.6rem;
}

.button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

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

.button--primary {
  background: var(--olive-strong);
  color: #fff;
  box-shadow: 0 10px 22px rgba(90, 115, 89, 0.24);
}

.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(90, 115, 89, 0.3);
  filter: brightness(1.05);
}

.button--secondary {
  background: #fff;
  border-color: var(--olive-strong);
  color: var(--olive-strong);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  transform: translateY(-1px);
  background: rgba(122, 143, 117, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(246, 248, 244, 0.75);
  border-bottom: 1px solid rgba(168, 181, 163, 0.2);
  transition: all var(--transition-base);
}

.site-header[data-scrolled="true"] {
  box-shadow: var(--shadow-sm);
  background: rgba(246, 248, 244, 0.9);
  padding-block: 0.5rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.65rem, 1vw, 1.1rem) 0;
  gap: 1.5rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--olive-gray);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color var(--transition-base), background var(--transition-base);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--olive-main);
  background: rgba(122, 143, 117, 0.08);
}

.header-booking {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  background: #5b6f56;
  border: 1px solid #5b6f56;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(20, 36, 24, 0.14);
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  background: #51644c;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  width: clamp(48px, 8vw, 70px);
  height: auto;
  display: block;
}

.brand--footer .brand__logo {
  width: clamp(44px, 7vw, 60px);
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand__subtitle {
  color: var(--muted);
  font-size: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  border: 1px solid rgba(168, 181, 163, 0.6);
  gap: 0.2rem;
}

.lang-switch a {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--muted);
  transition: background var(--transition-base), color var(--transition-base);
}

.lang-switch a[aria-current="true"] {
  background: var(--olive-strong);
  color: #fff;
}

.lang-switch a:hover {
  background: rgba(122, 143, 117, 0.18);
  color: var(--ink);
}

.header-menu {
  position: relative;
}

.menu__button {
  border: none;
  background: transparent;
  color: var(--olive-main);
  border-radius: 8px;
  padding: 6px;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.menu__button:focus {
  outline: none;
}

.menu__button:focus-visible {
  outline: none;
}

/* Hamburger icon */
.menu-icon {
  width: 24px;
  height: 18px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background-color: rgba(94, 102, 82, 0.6);
  transition: background-color 300ms ease;
}

.menu__button:hover .menu-icon span,
.menu__button:focus-visible .menu-icon span {
  background-color: var(--olive-main);
}

.menu__dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  min-width: 200px;
  background: #FFFFFF;
  border: 1px solid var(--olive-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 4px 0;
  display: grid;
  gap: 0;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 250ms ease-out, transform 250ms ease-out, visibility 0s linear 250ms;
}

[data-open="true"] .menu__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(10px);
  transition: opacity 250ms ease-out, transform 250ms ease-out, visibility 0s;
}

/* Also open on hover for pointer devices */
@media (hover: hover) {
  .header-menu:hover .menu__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(10px);
    transition: opacity 250ms ease-out, transform 250ms ease-out, visibility 0s;
  }
}

.menu__item {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--olive-gray);
  font-weight: 500;
  min-height: 44px;
  transition: color var(--transition-base), background var(--transition-base);
}

.menu__item:hover,
.menu__item:focus-visible {
  background: rgba(122, 143, 117, 0.08);
  color: var(--olive-main);
}

.menu__item--primary {
  font-weight: 700;
  color: var(--olive-main);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
  z-index: 15;
}

.menu-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .header-menu {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .header-booking {
    display: inline-flex;
  }

  .menu-overlay {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    padding: 0.6rem 0;
    gap: 0.6rem;
  }

  .header-cta {
    padding: 6px 16px;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
    height: 32px;
    box-sizing: border-box;
  }

  .lang-switch {
    padding: 2px;
    align-items: center;
    height: 32px;
    box-sizing: border-box;
  }

  .lang-switch a {
    padding: 0 12px;
    font-size: 0.78rem;
    line-height: 1;
    min-width: 36px;
    height: 28px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2.5rem, 4vw, 4rem);
  padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 8vw, 80px);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f7568;
  margin-bottom: 0.85rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  max-width: 18ch;
}

.hero__lead {
  color: #2b2d2a;
  max-width: 52ch;
  margin-bottom: 1.2rem;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
}

.hero__lead span {
  display: block;
}

.hero__lead span:last-child {
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 768px) {
  .hero__cta {
    display: none;
  }
}

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Legacy hero media rules removed after gallery migration */

/* Two-image asymmetric layout for hero */
/* .hero-duo was deprecated; layout moved to .hero-gallery */

/* Cards */
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #f4f6f2;
}

/* Exact aspect ratios */
.hero-card--landscape {
  aspect-ratio: 4 / 3;
}

.hero-card--portrait {
  aspect-ratio: 3 / 4;
}

/* Images fill card */
.hero-card>img,
.hero-card picture,
.hero-card source {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .hero-duo {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .hero-duo {
    grid-template-columns: 1.25fr 1fr;
  }
}

@media (min-width: 1280px) {
  .hero-card {
    max-height: 560px;
  }
}

/* Hide call-to-action banner across locales */
#cta {
  display: none !important;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(90, 115, 89, 0.12), transparent 55%);
  pointer-events: none;
}

.hero__media img {
  height: 100%;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__bullets {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0 0 2rem;
}

.about__bullets li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--muted);
}

body.page-home .about__bullets li {
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.about__bullets li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--olive-strong);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badges span {
  padding: 0.45rem 0.9rem;
  background: rgba(122, 143, 117, 0.14);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--olive-strong);
  border: 1px solid rgba(168, 181, 163, 0.6);
}

body.page-home .badges span {
  font-size: var(--type-small);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.services-list {
  display: grid;
  gap: 1rem;
}

.services-premium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.services-premium__item {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: 14px;
  background: #f9faf7;
  border: 1px solid #dcded6;
  box-shadow: 0 2px 8px rgba(15, 26, 18, 0.05);
}

.services-premium__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.services-premium__desc {
  margin: 0;
  color: var(--muted);
  line-height: var(--lh-lead);
  font-size: var(--fs-body);
}

@media (min-width: 720px) {
  .services-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .services-premium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .services-premium__item {
    padding: 1.2rem;
  }
}

/* Service Row Redesign */
.service-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(168, 181, 163, 0.3);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(168, 181, 163, 0.5);
}

.service-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.service-row__title {
  font-family: var(--font-heading);
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-row__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-row__chips {
  display: none;
}

.service-row__chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(122, 143, 117, 0.12);
  color: var(--olive-strong);
  font-size: 0.8rem;
  font-weight: 500;
}

.service-row__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: stretch;
  margin-top: auto;
}

.service-row__cta {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: clamp(14px, 1.9vw, 16px);
  padding: clamp(12px, 2.8vw, 16px) clamp(18px, 4.2vw, 28px);
  border-radius: 999px;
}

.service-row__details {
  display: none;
}

/* Desktop Layout */
@media (min-width: 768px) {
  .service-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.8rem 2rem;
  }

  .service-row__actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    flex-shrink: 0;
  }

  .service-row__cta {
    width: auto;
    min-width: 180px;
  }

  .service-row__details {
    width: auto;
  }
}

.services-leadin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
}

.services-leadin p {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.services-leadin .button {
  padding: 0.7rem 1.4rem;
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid rgba(168, 181, 163, 0.3);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(168, 181, 163, 0.5);
}

.service-card__icon {
  display: none;
}

/* Services: unify CTA and pin to bottom */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.service-card__body {
  margin-top: 8px;
  margin-bottom: 8px;
  flex: 1 1 auto;
}

/* === Service cards: keep CTAs pinned and centered === */
.service-card__cta {
  margin: 8px 0 0 0;
  margin-top: 8px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  min-width: 0;
}

.service-card__cta:hover,
.service-card__cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Mobile: smaller type, stretch full width */
@media (max-width: 640px) {
  .service-card__cta {
    width: 100%;
    font-size: clamp(13px, 3.8vw, 15px);
    padding: 14px 18px;
    align-self: stretch;
  }
}

/* Tablet: keep centered size */
@media (min-width: 641px) and (max-width: 1023px) {
  .service-card__cta {
    width: 100%;
    font-size: 15px;
  }
}

/* Desktop font size */
@media (min-width: 1024px) {
  .service-card__cta {
    font-size: 16px;
  }
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0;
}

.service-card__desc {
  color: var(--muted);
  margin: 0 0 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card img {
  aspect-ratio: 3 / 4;
}

@media (max-width: 720px) {
  .team-card img {
    aspect-ratio: 4 / 5;
  }
}

/* Ensure team cards stretch equally in a row */
.team-card {
  height: 100%;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eef0ea;
  box-shadow: 0 2px 10px rgba(15, 26, 18, 0.05);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  margin: 1rem 0 0.4rem;
}

.team-card__role {
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-card .service-card__desc {
  font-size: var(--fs-body);
  line-height: var(--lh-lead);
}

.team-card__links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: auto;
  /* push actions to the bottom for visual alignment */
}

.team-card__focus {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
  font-size: var(--fs-small);
  line-height: 1.4;
  color: #2b2d2a;
}

.team-card__focus-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78em;
  color: var(--muted);
}

.team-card__focus-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  width: 100%;
}

.team-card__focus-item {
  white-space: nowrap;
  text-align: center;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #dcded6;
  background: #f7f6f3;
  color: #4a4f45;
  font-size: 0.9rem;
  line-height: 1.18;
}

@media (min-width: 1024px) {
  .team-card__focus-items {
    width: min(420px, 100%);
    margin-inline: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card__focus-label {
    text-align: center;
  }
}

body.page-home .brand__title {
  font-weight: 500;
  letter-spacing: 0.01em;
}

body.page-home .brand__subtitle {
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  body.page-home .hero__cta {
    display: none;
  }
}

@media (max-width: 1023px) {
  .menu__dropdown {
    min-width: 220px;
    padding: 6px 0;
  }

  .menu__item {
    border-radius: 0;
    padding: 12px 20px;
  }

  .menu__item + .menu__item {
    border-top: 1px solid rgba(168, 181, 163, 0.3);
  }

  .menu__item--primary {
    font-weight: 600;
  }
}

/* Team action buttons: one per line, pill outline like mock */
.team-card__links .button {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* Hide empty bios under team cards when not provided */
.team-card .service-card__desc:empty {
  display: none;
  margin: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio-card img {
  aspect-ratio: 3 / 2;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.testimonial {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(168, 181, 163, 0.8);
  box-shadow: var(--shadow);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  position: relative;
}

.testimonial__author {
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.6rem;
  color: #f4b400;
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial__rating .visually-hidden {
  position: absolute;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(90, 115, 89, 0.92), rgba(122, 143, 117, 0.85));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.contact-card {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--olive-soft);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
}

.contact-note {
  color: var(--muted);
  margin: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.contact-actions .button {
  flex: 0 1 auto;
  min-width: 150px;
  padding: 0.7rem 1.1rem;
  font-size: 0.95rem;
}

.map-placeholder {
  background: repeating-linear-gradient(135deg, rgba(122, 143, 117, 0.15) 0, rgba(122, 143, 117, 0.15) 10px, rgba(122, 143, 117, 0.05) 10px, rgba(122, 143, 117, 0.05) 20px);
  border-radius: var(--radius);
  border: 1px solid var(--olive-soft);
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}

.footer {
  padding: clamp(48px, 8vw, 72px) 0 32px;
  border-top: 1px solid rgba(168, 181, 163, 0.5);
  background: rgba(255, 255, 255, 0.86);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.footer__heading {
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.footer__nav,
.footer__contacts {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  padding: 0;
  list-style: none;
}

.footer__brand {
  color: var(--muted);
  max-width: 32ch;
}

.footer__bottom {
  border-top: 1px solid rgba(168, 181, 163, 0.4);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
  }

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

  /* Keep header compact on vertical/small screens */
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    padding: 0.45rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--maxw));
  }

  .hero {
    padding-top: clamp(28px, 6vw, 40px);
  }

  .hero__title {
    font-size: clamp(2.2rem, 9vw, 2.7rem);
  }

  .site-header__inner {
    gap: 1rem;
  }

  .lang-switch {
    align-self: center;
  }

  .cta-banner {
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .hero__cta {
    display: flex;
  }
}

/* Further compact header treatments on smaller phones */
@media (max-width: 640px) {
  .brand__logo {
    width: 44px;
  }

  .brand__title {
    font-size: 1rem;
  }

  .brand__subtitle {
    font-size: 0.8rem;
  }

  .site-header__inner {
    padding: 0.4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* Booking page specific */

.book-layout {
  padding: clamp(80px, 10vw, 120px) 0 96px;
}

.booking-title {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.15;
  margin-bottom: 6px;
}

.tablist {
  display: inline-flex;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(168, 181, 163, 0.6);
  flex-wrap: wrap;
}

.tablist button {
  border: none;
  background: transparent;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}

.tablist button[aria-selected="true"] {
  background: var(--olive-strong);
  color: #fff;
  box-shadow: 0 8px 16px rgba(90, 115, 89, 0.25);
}

.tablist button:hover {
  background: rgba(122, 143, 117, 0.16);
  color: var(--ink);
}

.booking-panel {
  margin-top: 2rem;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--olive-soft);
  overflow: hidden;
}

.booking-panel iframe {
  width: 100%;
  min-height: 640px;
  border: none;
}

.booking-closed {
  min-height: 60vh;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.booking-closed__title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 4vw, 28px);
  margin: 0;
}

.booking-closed__text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.booking-closed__text a {
  color: var(--olive-strong);
  font-weight: 600;
  text-decoration: none;
}

.booking-closed__text a:hover,
.booking-closed__text a:focus-visible {
  text-decoration: underline;
}

.booking-fallback {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-fallback a {
  color: var(--olive-strong);
  font-weight: 600;
}

.booking-ui {
  margin-top: 2rem;
}

.booking-ui__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .booking-ui__grid {
    grid-template-columns: 1fr;
  }
}

.booking-ui__panel {
  background: var(--panel);
  border-radius: var(--radius);
  border: 1px solid var(--olive-soft);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.booking-ui__panel--summary {
  position: sticky;
  top: 96px;
}

.booking-step {
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(90, 115, 89, 0.2);
  margin-bottom: 1.5rem;
}

.booking-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.booking-step h2 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.booking-label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.6rem 0 0.3rem;
}

.booking-form-grid input,
.booking-form-grid select,
.booking-form-grid textarea,
.booking-step select {
  width: 100%;
  border: 1px solid rgba(90, 115, 89, 0.2);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  font-size: 0.95rem;
  transition: border var(--transition-base), box-shadow var(--transition-base);
}

.booking-form-grid input:focus,
.booking-form-grid select:focus,
.booking-form-grid textarea:focus,
.booking-step select:focus {
  outline: none;
  border-color: rgba(90, 115, 89, 0.5);
  box-shadow: 0 0 0 3px rgba(122, 143, 117, 0.18);
}

.booking-form-grid {
  display: grid;
  gap: 0.75rem;
}

.booking-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.booking-chip {
  border: 1px solid rgba(90, 115, 89, 0.2);
  background: #f8f8f4;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border var(--transition-base);
}

.booking-chip.is-active,
.booking-chip:hover {
  background: var(--olive-strong);
  color: #fff;
  border-color: transparent;
}

.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.booking-slot {
  border: 1px solid rgba(90, 115, 89, 0.2);
  border-radius: 12px;
  padding: 0.6rem;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border var(--transition-base);
}

.booking-slot.is-active,
.booking-slot:hover {
  background: var(--olive-strong);
  color: #fff;
  border-color: transparent;
}

.booking-summary {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.booking-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.booking-summary__row span {
  color: var(--muted);
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.booking-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-status {
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

.booking-status[data-type=\"error\"] {
  color: #b1422e;
}

.booking-success {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(90, 115, 89, 0.08), rgba(90, 115, 89, 0.02));
  border-radius: var(--radius);
  border: 1px solid rgba(90, 115, 89, 0.2);
  padding: 1.6rem;
}

.booking-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0;
}

.booking-code__label {
  color: var(--muted);
}

.booking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.booking-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(90, 115, 89, 0.2);
  background: #fff;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.booking-link.is-preferred {
  background: var(--olive-strong);
  color: #fff;
  border-color: transparent;
}

.booking-ui .is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.hero-ornament {
  position: absolute;
  inset: auto -40px -40px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, rgba(14, 165, 165, 0.18), transparent 70%);
  border-radius: 50%;
  filter: blur(0);
}

main {
  display: block;
}

/* Remove founder image from About section and use single-column layout */
#about .about>div:first-child {
  display: none !important;
}

#about .about {
  grid-template-columns: 1fr !important;
}

/* --- Hero responsive typography overrides (mobile-first, non-breaking) --- */
/* 1) Main headline */
.hero h1,
h1.hero-title,
.hero__title {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: -0.01em;
  margin-bottom: 0.6em;
}

@supports (text-wrap: balance) {

  .hero h1,
  h1.hero-title,
  .hero__title {
    text-wrap: balance;
  }
}

/* 2) Lead/subheading */
.hero .lead,
.hero p.lead,
.hero__lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: #6c7566;
}

/* 3) Hero buttons */
.hero .buttons .btn,
.btn-primary,
.btn-secondary,
.hero .button,
.hero .button--primary,
.hero .button--secondary {
  font-size: clamp(14px, 1.9vw, 16px);
  padding: clamp(12px, 2.8vw, 16px) clamp(18px, 4.2vw, 28px);
  border-radius: 999px;
}

/* 4) Extra safety on very narrow screens */
@media (max-width: 360px) {

  .hero h1,
  h1.hero-title,
  .hero__title {
    font-size: 26px;
  }

  .hero .lead,
  .hero p.lead,
  .hero__lead {
    font-size: 14px;
  }
}

/* 5) A bit more breathing room on mobile */
@media (max-width: 768px) {
  .hero {
    padding-top: 20px;
  }
}

/* === Blueprint section (text + image) === */
/* Scope: apply to optional .section-blueprint and to current #about/.about markup */
.section-blueprint,
#about {
  --olive: #5E6652;
  --text: #495343;
}

/* heading */
.section-blueprint h2,
#about .section__heading {
  font-size: clamp(24px, 5.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

@supports (text-wrap: balance) {

  .section-blueprint h2,
  #about .section__heading {
    text-wrap: balance;
  }
}

/* lead text */
.section-blueprint .lead,
.section-blueprint p.lead,
#about .section__subhead {
  font-size: clamp(15px, 2.3vw, 18px);
  line-height: 1.55;
  color: #6c7566;
  margin-bottom: 1.1rem;
}

/* list with bullets */
.section-blueprint ul,
#about .about__bullets {
  margin: 0.6rem 0 1.1rem;
  padding-left: 1.25rem;
  list-style: disc;
  display: block;
  gap: 0 !important;
  /* override previous grid gap */
}

.section-blueprint ul li,
#about .about__bullets li {
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.5;
  margin: 0.5rem 0;
  color: var(--text);
  padding-left: 0;
  /* remove custom bullet offset */
}

.section-blueprint ul li::marker,
#about .about__bullets li::marker {
  color: var(--olive);
}

#about .about__bullets li::before {
  content: none;
}

/* chips / badges */
.section-blueprint .chips,
#about .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 0.6rem;
}

.section-blueprint .chip,
#about .badges span {
  background: #fff;
  color: var(--text);
  border: 1px solid #dfe5db;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* media (image) */
.section-blueprint .media,
#about picture,
#about img[alt*="LeviLaser"] {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.section-blueprint .media img,
#about img[alt*="LeviLaser"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* section grid: mobile-first */
.section-blueprint .grid,
#about .about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* desktop: two columns */
@media (min-width: 1024px) {

  .section-blueprint .grid,
  #about .about {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* extra mobile tweaks */
@media (max-width: 420px) {

  .section-blueprint h2,
  #about .section__heading {
    font-size: 22px;
  }

  .section-blueprint .chip,
  #about .badges span {
    padding: 9px 12px;
    font-size: 13px;
  }
}

/* --- Hero polish + gallery (scroll-snap on mobile) --- */
/* Remove any decorative green overlays/blobs in hero images */
.hero__media::after,
.hero-duo::after,
.hero-card::after,
.hero-card--portrait::after {
  content: none !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0 !important;
}

.hero__decor,
.blob,
.shape,
.bg-bubble {
  display: none !important;
}

/* Ensure we don't use the mobile duplicate kicker */
.hero__kicker--mobile {
  display: none !important;
}

@media (max-width: 767px) {
  .hero>.hero__eyebrow {
    display: block !important;
  }
}

/* Base gallery/cards */
.hero-gallery {
  display: grid;
  gap: 24px;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #f4f6f2;
}

.hero-slide>img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Mobile carousel */
@media (max-width: 1023px) {
  .hero-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 8px;
  }

  .hero-gallery::-webkit-scrollbar {
    display: none;
  }

  .hero-gallery {
    scrollbar-width: none;
  }

  .hero-slide {
    flex: 0 0 86%;
    scroll-snap-align: start;
    aspect-ratio: 4 / 3;
  }

  .hero-slide[data-ratio~="portrait-src"]>img {
    object-position: right center;
  }

  .hero__cta {
    margin-bottom: 16px;
  }
}

/* Desktop two cards */
@media (min-width: 1024px) {
  .hero-gallery {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: stretch;
  }

  .hero-slide {
    aspect-ratio: auto;
    max-height: 640px;
  }
}

@media (min-width: 1280px) {
  .hero__media {
    width: min(52vw, 920px);
  }

  .hero-slide {
    max-height: 680px;
  }
}

@media (min-width: 1536px) {
  .hero__media {
    width: min(50vw, 1000px);
  }

  .hero-slide {
    max-height: 720px;
  }
}

/* ===== HERO EYEBROW/KICKER — single line, fluid, neat ===== */
.hero__kicker,
.hero__eyebrow {
  display: block;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(11px, 3.2vw, 14px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 380px) {

  .hero__kicker,
  .hero__eyebrow {
    letter-spacing: 0.06em;
    font-size: clamp(10px, 3.4vw, 13px);
  }
}

@media (min-width: 768px) {

  .hero__kicker,
  .hero__eyebrow {
    margin-bottom: 12px;
    letter-spacing: 0.09em;
    font-size: clamp(12px, 1.4vw, 14px);
  }
}

/* Hide any leftover hero ornament if present */
.hero-ornament {
  display: none !important;
}

/* ==== Mobile H2 scale — same as "Your personal youth blueprint" ==== */
@media (max-width: 767px) {
  .h2-mobile {
    font-size: clamp(24px, 5.2vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
  }
}

/* Desktop: make media larger */
@media (min-width: 1280px) {
  .hero__media {
    width: min(52vw, 880px);
  }

  .hero-duo {
    gap: 28px;
    grid-template-columns: 1.35fr 1fr;
  }

  .hero-card {
    max-height: 640px;
  }
}

@media (min-width: 1536px) {
  .hero__media {
    width: min(50vw, 960px);
  }

  .hero-card {
    max-height: 700px;
  }
}

/* ==== Contact Map ==== */
.contact__map {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef3ec;
  box-shadow: var(--shadow);
}

.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1023px) {
  .contact__map {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .contact__map {
    height: 280px;
  }
}


/* ===== Client stories grid ===== */
.stories-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  background: #f4f6f2;
}

.story figcaption {
  font-size: 16px;
  line-height: 1.35;
  color: #1a1a1a;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .story figcaption {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .stories-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .story {
    min-width: 240px;
    scroll-snap-align: start;
  }
}

@media (max-width: 360px) {
  .hero__lead {
    font-size: 15px;
  }
}

/* ===== HERO stacked card for mobile ===== */
@media (max-width: 767px) {
  .hero-stack {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    background: #f4f6f2;
  }

  .hero-stack .hero-gallery {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0;
  }

  .hero-stack .hero-slide {
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .hero-stack .hero-slide>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .hero-stack .hero-slide[data-ratio~="portrait-src"]>img {
    object-position: center right;
  }
}

/* Desktop / tablet keep current layout */
@media (min-width: 768px) {
  .hero-stack {
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }
}
