/* ===== Reset & base ===== */
* { box-sizing: border-box; }
html, body { margin: 0;}
body {
  color: #fff;
  background: #9e775d;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial;
  display: flex; flex-direction: column; align-items: center;
}

/* ===== Vars ===== */
:root{
  --radius: 16px;
  --brand-brown: #9e775d;

  /* Icon scale (ratios preserved) */
  --icon-big: clamp(48px, 12vw, 56px);
  --icon-med: calc(var(--icon-big) * 0.85);
  --icon-sm:  calc(var(--icon-big) * 0.75);
}


.logo-name {
  font-family: "Courgette", cursive;
  font-weight: 600;
  font-style: normal;
  font-size: 2rem;
  color: #e15311;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  margin-right: -1rem;
}

.highlight {
  display: inline-flex;                      /* keeps the background tight to text */
  background: rgb(255 255 255 / 0.40);  /* ≈ 40% white */
  padding: .1em .35em;                  /* some breathing room */
  border-radius: .35em;                 /* rounded edges */
  /* make the background clone on wrapped lines */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}


header, section { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-around;
  height: 72px; padding: 8px 12px;
  background: var(--brand-brown);
}
/* --- Hamburger as image --- */
.hamburger {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-right: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.logo-medallion { width:86px; height:86px; border-radius:50%; background:#fff; display:grid; place-items:center; }
.logo-medallion img { width:87px; height:87px; object-fit:contain; margin-top: 4px;}
.header-cta { color:#fff; text-decoration:none; font-family:'Nunito', system-ui; font-weight:700; line-height:1.15; text-align:center; }

/*Desktop header*/


/* Mobile first: show mobile header + drawer; hide desktop header */
.header--desktop { display: none; }

/* Desktop breakpoint */
@media (min-width: 1000px) {
  .force-mobile-header .header--mobile { display: flex !important; }
  .force-mobile-header .header--mobile .logo-medallion { width:86px; height: 86px;}
  .force-mobile-header .header--mobile .logo-medallion img { width:87px; height: 87px; margin-top: 4px; margin-left: 0;}

  .header--mobile, .mobile-drawer { display: none !important; }  /* hide all mobile UI */
  .header--desktop { display: flex; gap: 24px; }
  .header--desktop .nav ul { display: flex; gap: clamp(12px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
  .brand { display: flex; align-items: center; gap: 12px; }


  nav ul li a {
    text-decoration: none;
    color: inherit;
  }

  .logo-medallion { width:92px; height:92px; }
  .logo-medallion img { width:120px; height:120px; object-fit:contain; margin-top: -11px; margin-left: -15px}

  .highlight {
    background: rgb(255 255 255);
    padding: .1em .35em;                  /* some breathing room */
    border-radius: .35em;                 /* rounded edges */
    margin-left: -20px;
  }
}



/* ===== Hero ===== */
.hero { position:relative; width:100%; height:404px; overflow:hidden; }
.hero-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 35%; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(178,197,203,.40) 33%, rgba(34,34,34,.50) 61%); }
.hero-content { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:12px; }
.hero-title { margin:0; text-align:center; font-weight:800; font-size:30px; text-shadow:4px 4px 4px rgba(0,0,0,.2); }
.hero-sub { margin:0; text-align:center; font-weight:700; font-size:18px; max-width:310px; text-shadow:4px 4px 4px rgba(0,0,0,.2); }



/* Buttons */
.ghost-button {
  display:inline-flex; flex-direction:column; align-items:center; justify-content:center;
  min-width:120px; padding:8px 10px; text-align:center;
  border:2px solid #fff; border-radius:var(--radius);
  color:#fff; text-decoration:none; font-family:'Nunito', system-ui; font-weight:700; line-height:1.15;
  box-shadow:4px 4px 4px rgba(0,0,0,.2);
}
.cta-row { display:flex; gap:20px; margin-top:10px; }

/* ===== Wave ===== */
.hero-wave { position:absolute; left:0; right:0; bottom:-2.5rem; width:100%; height:120px; display:block; pointer-events:none; }
.hero-wave path { fill: var(--brand-brown); }

/*==== Mini Hero =====*/
.hero-mini {height: 150px}
.hero-wave, .hero-wave-mini path {fill: #fff}

/* ===== Clarifier (mobile-first) ===== */
.clarifier { padding: 24px 12px 28px; }
.clarifier-text {
  margin: 0 0 16px; text-align: center;
  font-family: 'Nunito', system-ui; font-weight: 700; font-size: 24px; line-height: 1.25;
  color: #fff;
}

/* Mobile diagonal icons block (shown by default) */
.mobile-only { display:block; }

.icons-diag {
  width: 100%;
  max-width: 360px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: calc(var(--icon-big) + 14px);

  padding-inline: 8px;   /* adds 8px left + right */

  /* Responsive gap: shrinks as screen narrows */
  gap: clamp(2px, 1.5vw, 10px) clamp(2px, 2vw, 12px);

  justify-items: center;
  align-items: center;
}
.icon { display:block; object-fit: contain; }
.icon.big { width: var(--icon-big); height: var(--icon-big); }
.icon.med { width: var(--icon-med); height: var(--icon-med); }
.icon.sm  { width: var(--icon-sm);  height: var(--icon-sm);  }

/* top row (shifted right) */
.dog  { grid-column: 5; grid-row: 1; }
.hrs  { grid-column: 11;  grid-row: 1; }
.snk  { grid-column: 8;  grid-row: 1; }
.cat  { grid-column: 2;  grid-row: 1; }

/* bottom row (shifted left) */
.chk  { grid-column: 1;  grid-row: 2; }
.home { grid-column: 4;  grid-row: 2; }
.liz  { grid-column: 7;  grid-row: 2; }
.paw  { grid-column: 10; grid-row: 2; }

/* Desktop/tablet split layout (hidden by default) */
.clarifier-grid{ display:none; }

/* ====== Breakpoints ====== */

/* When screens get wider, keep mobile stack (centered) */
@media (min-width: 700px){
  /* widen sections but keep them centered */
  .clarifier {
    display: flex;
    justify-content: center;

  }

  .hero {
    height: 20dvh;
  }
  /* hero can trim a bit as width grows, but layout stays the same */
  .hero.hero-home{
    height: 50dvh;
    display: flex;
  }


  .hero-content.hero-content-home {
    align-self: center;
    align-content: flex-start;
    inset: unset;
    align-items: flex-start;
    justify-content: center;
    margin: 0 10vw 30px 15vw;
  }
  .hero-title.hero-title-home {
    text-align: start;
    font-size: 3rem;
  }
  .hero-sub.hero-sub-home {
    text-align: start;
    font-size: 18px;
  }
  /* keep CTA buttons side-by-side like mobile */
  .cta-row{
    flex-direction: row;
    gap: 20px;
  }

  /* use the same overlay logic as mobile (or keep this subtle boost) */
  .hero-overlay{
    background:
      linear-gradient(180deg, rgba(178,197,203,.40) 33%, rgba(34,34,34,.50) 61%);
  }

  /* wave position for wider screens */
  .hero-wave{ height: 100px; bottom: -1.25rem; }

}

/* 720px: hide mobile block, show split left/right icons */
@media (min-width: 700px){
  .mobile-only{ display:none; }
  .clarifier-grid{
    display:grid;
    align-items:center;
    gap: 12px 24px;
    margin-inline:auto;
    place-items: center;
  }
  .icons-col{
    display:grid;
    grid-auto-flow: row;
    justify-items:center;
    align-items:center;
    row-gap: 10px;
  }
  .icons-left  { grid-column:1; }
  .clarifier-text { grid-column:2; margin:0; text-align:center; max-width: 750px;}
  .icons-right { grid-column:3; }

  /* responsive icon sizing that keeps your ratios */
  .icon.big { width: clamp(48px, 8vw, var(--icon-big));  height:auto; }
  .icon.med { width: clamp(40px, 7vw, var(--icon-med));  height:auto; }
  .icon.sm  { width: clamp(32px, 6vw, var(--icon-sm));   height:auto; }
}

/* 1024px: a touch more trim + lower wave */
@media (min-width: 1024px){
  .hero-wave{ height: 90px; bottom: -0.75rem; }
}
/* 1) Let columns shrink fully */
.icons-diag{
  grid-template-columns: repeat(8, minmax(0, 1fr));
  column-gap: clamp(0px, 0.5vw, 6px);
  row-gap: clamp(4px, 1vw, 8px);
  /* tighter, responsive gaps */
  max-width: 100%; /* don't lock to 360px on very narrow phones */
}


/* 3) On ultra-narrow screens, trim padding and allow even smaller icons */
@media (max-width: 360px){
  .clarifier{ padding-inline: 8px; } /* was 12px; this buys ~8px total width */
  :root{
    --icon-big: clamp(36px, 12vw, 48px); /* a softer floor on the smallest phones */
    --icon-med: calc(var(--icon-big) * 0.85);
    --icon-sm:  calc(var(--icon-big) * 0.75);
  }
}
/* ============== Testimonials (mobile-first) ============== */
:root{
  /* reuse your mobile max width */
  --radius: 16px;
}

/* Section wrapper */
.testimonials{
  width:100%;
  background:#866348;          /* Penpot swatch for this section */
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:24px 12px;            /* matches your spacing scale */
}

/* Title */
.t-title{
  margin:0 0 8px;
  font-family:'Poppins', system-ui;
  font-weight:500;
  font-size:24px;
  color:#fff;
  text-align:center;
  width:100%;
}

/* List of cards */
.t-list{
  list-style:none;
  margin:8px 0 16px;
  padding:0;
  width:100%;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-flow: wrap;
  gap:12px;                     /* space between cards */
}

/* Card */
.t-card{
  background:#fff;
  color:#000;
  border-radius:var(--radius);
  border:2px solid #fff;        /* Penpot border look */
  padding:16px;
  width: 100%;
}

@media (min-width: 750px){
  .t-card{max-width: 350px;}
}

/* Hidden state */
.t-card.is-hidden {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

/* Animation when revealed */
.t-card.revealed {
  display: block;                  /* ensure it's visible */
  animation: slideFadeIn 400ms ease forwards;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card header: name + date */
.t-card-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:8px;
  margin-bottom:6px;
}
.t-name{
  font-family:'Nunito', system-ui;
  font-weight:600;
  font-size:18px;
}
.t-date{
  font-family:'Nunito', system-ui;
  font-weight:400;
  font-size:16px;
  color:#000;
}

/* Review text */
.t-body{
  margin:0;
  font-family:'Nunito', system-ui;
  font-weight:400;
  font-size:16px;
  line-height:1.5;
  color: #333;
}

/* Load more — uses your existing .ghost-button if present */
.t-load{
  margin-top:8px;
  text-align:center;
}
/* ---------- SERVICES LAYOUT ---------- */
.services {
  position: relative;
  width: 90%;
  padding: 48px 16px 24px;
  display: grid;
  gap: 24px;
  place-items: center;
}

.services__heading {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #fff;
  text-align: center;
  margin: 0 0 8px;
}

/* Responsive grid that “wraps” like flex */
.services__grid {
  width: 100%;
  display: grid;
  gap: clamp(20px, 3vw, 64px);
  gap: 20px;
  /* min column width ~300px, grow to fill; collapses like wrap */
  grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
  justify-items: center;    /* center each card in its track */
  justify-content: center;
  align-items: start;
}

/* Grid item sizing (no flex props) */
.service-item {
  position: relative;
  width: 100%;
  max-width: 380px;         /* cap how wide a card can get */
  padding-top: 14px;
  padding-left: 14px;
  justify-self: center;     /* keep centered on wide tracks */
}

@media (min-width: 1390px) and (max-width: 1912px) {
  .services__grid {

  /* min column width ~300px, grow to fill; collapses like wrap */
  grid-template-columns: repeat(auto-fit, minmax(260px, 305px));

  }
}

.service-item::before {
  /* the “paper” behind the card */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: 14px;
  background: white;
  /* soft fade toward bottom-right */
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.4) 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.4) 100%);
  /* subtle depth so it feels like a sheet */
  box-shadow: 0 6px 24px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.6);
  z-index: 0;
  pointer-events: none;
}

/* lift on hover as a unit */
.service-item:hover .service-card {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.32);
}

/* ---------- CARD (image + overlay + content) ---------- */
.service-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;          /* clip media, NOT the paper (since paper is on wrapper) */
  background: none;          /* image rendered in ::after */
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 240ms ease, box-shadow 240ms ease;
  z-index: 1;                /* above the paper */
}

/* background photo layer */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 240ms ease, filter 240ms ease;
  z-index: 0;
}

/* dark overlay (covers full image) */
.service-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34,34,34,0.8); /* #222222cc */
  z-index: -1;                    /* behind text, above image */
}

.service-card:hover::after {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.service-card__inner {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;                     /* on top of overlay */
}

/* text */
.service-card__title {
  margin: 0 0 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}

.service-card__desc {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  line-height: 1.55;
}

.service-card__price {
  margin: 12px 0 0;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
}

.service-card__note { opacity: 0.9; }

/* arrow */
.service-card__arrow {
  align-self: flex-end;
  width: 42px;
  height: 42px;
  background: url('./assets/icons/right-arrow.png') no-repeat center / cover;
  border-radius: 999px;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
  opacity: 0.9;
}
.service-card:hover .service-card__arrow {
  transform: translate(2px, -2px);
  filter: brightness(1.15);
  opacity: 1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .service-item { flex: 1 1 100%; max-width: 325px; }
  .service-card__inner { padding: 24px; }
  .services { padding-top: 32px; }
}


/* Optional: on very small screens force a single column */
@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}
/* Section is the white background */
.whyme {
  background: #fff;
  width: 100%;
  padding: 56px 0 28px;
}

.whyme__title {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #222;
  text-align: center;
  margin: -8px 16px 24px;
}

.whyme__text {
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;              /* lighter paragraph weight */
  font-size: 16px;
  line-height: 1.65;
  color: #333;
  margin: 0 auto 48px;
  max-width: 900px;
  padding: 0 40px;
}

.aboutme__text, p {
  margin-bottom: -20px;
}

.whyme__text a {color: #3d9ca8}

/* --- Full-bleed, edge-peek carousel --- */
.whyme__carousel {
  --gap: clamp(12px, 3.5vw, 28px);
  --slide-w: clamp(260px, 70vw, 460px);  /* main card size */
  position: relative;
}

/* the track is a native horizontal scroller with snap */
.carousel__track {
  list-style: none;
  margin: 0;
  padding: 0 clamp(16px, 7vw, 72px);     /* gutters so neighbors peek at the edges */
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-height:400px;
}
.carousel__track::-webkit-scrollbar { display: none; }

.carousel__slide {
  flex: 0 0 var(--slide-w);
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;                   /* tall look like your ref */
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
  transform: scale(.92);
  opacity: .8;
  transition: transform .35s ease, opacity .35s ease, filter .35s ease;
  background: #111;
  max-width:350px;
}
.carousel__slide.is-active {
  transform: scale(1);
  opacity: 1;
  filter: none;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.carousel__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* arrows float over the edges of the screen */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #222;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: transform .15s ease, filter .15s ease, opacity .15s ease;
}
.carousel__btn:hover { transform: translateY(-50%) scale(1.06); }
.carousel__btn.prev { left: clamp(8px, 2vw, 18px); }
.carousel__btn.next { right: clamp(8px, 2vw, 18px); }

/* dots centered below */
.carousel__dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: #666;
  opacity: .9;
  cursor: pointer;
}
.carousel__dots button[aria-selected="true"] {
  background: #222;
  width: 10px; height: 10px;
}

/* desktop layout spacing */
@media (min-width: 900px) {
  .whyme { padding-top: 64px; }
  .whyme__text { margin-bottom: 64px; }
}
/* FOOTER */

.site-footer {
  width: 100%;
  background: #3d9ca8; /* teal body */
  color: #0b1b1d;
  isolation: isolate;
}

.footer__top {
  background: #fff;
  min-height: 200px;          /* taller white band */
  display: grid;
  place-items: center;
  position: relative;
}

.footer__logo {
  max-width: min(78vw, 320px);
  height: auto;
  display: block;
  transform: translateY(60%); /* push halfway into teal */
  margin-top: -200px;
}

/* teal body */
.footer__body {
  background: #3d9ca8;
  padding: 0 20px 40px;   /* top padding = logo overlap + breathing */
}

/* teal body */
#footer__real {
  padding: 160px 20px 40px;   /* top padding = logo overlap + breathing */
}
/* unified stack */
.footer__stack {
  display: grid;
  gap: 16px;                  /* consistent spacing between blocks */
  max-width: 960px;
  margin: 0 auto;
}

/* links block */
.footer__links {
  display: grid;
  gap: 18px;
}

.footer__link {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 700;
  color: #0b1b1d;
  text-decoration: none;
}
.footer__link:hover { text-decoration: underline; }

/* headings + note */
.footer__heading {
  margin: 0 0 8px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 24px);
}

.footer__note {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}
.footer__note a { color: #0b1b1d; }

/* social row */
.footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__icon img {
  width: 27px;
  height: 27px;
  display: block;
}
/* ===== Slide-in menu ===== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;          /* disabled until open */
}

.menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity .28s ease;
}

.menu__drawer {
  position: absolute;
  top: 0; left: 0;               /* slides in from the left to the right */
  width: min(420px, 92vw);
  background: #3d9ca8;
  color: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transform: translateX(-100%);
  transition: transform .32s ease;
  display: flex;
  flex-direction: column;
  padding: 0 20px 28px;
  border-bottom-right-radius: 14px; /* optional: soft corner */
}
}

/* Reuse footer layout inside drawer with some spacing tweaks */
.menu .footer__body { padding: 0; }
.menu .footer__stack { gap: 20px; }
.menu .footer__links { display: flex; flex-direction: column; gap: 12px; }
.menu .footer__link { font-size: 18px; }

/* Close button */
.menu__close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 50px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: #222;
  cursor: pointer;
}

/* Open state */
.menu.is-open { pointer-events: auto; }
.menu.is-open .menu__overlay { opacity: 1; }
.menu.is-open .menu__drawer { transform: translateX(0); }

/* Prevent body scroll when menu open */
.body--lock { overflow: hidden; }

.aboutme-spacer {
  display: block;
  height: .5rem; /* half of your usual <br><br> gap */
}


/*Custom modal*/
/* ===== Base look */
.booking-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1000;
  visibility: hidden;
}

.booking-modal[aria-hidden="true"] { pointer-events: none; }

.booking-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}

/* Dialog container (half height) */
.booking-modal__dialog {
  position: relative;
  width: min(860px, 92vw);
  height: auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(12px);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

/* Open state */
.booking-modal.is-open { visibility: visible; }
.booking-modal.is-open .booking-modal__dialog {
  transform: translateY(0);
  opacity: 1;
}

/* Teal header strip behind content (full dialog area) */
.booking-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 40% 0;         /* teal covers upper 60% */
  background: #3d9ca8;
  z-index: 0;
}

/* Close button */
.booking-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  line-height: 1;
  color: #000;
  background: transparent;
  border: 0;
  z-index: 3;
  cursor: pointer;
}

/* Sliding track */
.booking-modal__track {
  position: relative;
  display: flex;
  width: 200%;              /* two panels */
  height: 100%;
  transform: translateX(0%);
  transition: transform .28s ease;
  z-index: 2;               /* above teal background */
}

/* Panel */
.panel {
  width: 50%;
  padding: clamp(16px, 3vw, 28px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  color: #000;              /* force black text */
  background: transparent;
}

/* Move to email view */
.booking-modal.view-email .booking-modal__track { transform: translateX(-50%); }

/* Titles */
.bm-title {
  margin: 0 0 6px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 28px);
  color: #000;
}
.bm-note { margin: 0 0 16px; font: 400 14px/1.5 "Nunito", system-ui, sans-serif; color:#000; }

/* Chooser cards */
.chooser {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 16px);
  align-items: stretch;
}
.chooser__card {
  background: #fff;
  border-radius: 12px;
  padding: clamp(14px, 2vw, 18px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: grid;
  gap: 10px;
}
.chooser__title {
  margin: 0;
  font: 600 18px/1.3 "Poppins", system-ui, sans-serif;
  color: #000;
}
.chooser__body {
  margin: 0;
  font: 400 14px/1.55 "Nunito", system-ui, sans-serif;
  color: #000;
}

/* Buttons & links */
.bm-button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid #111827;
  color: #111827;
  background: #fff;
  font: 600 15px/1 "Poppins", system-ui, sans-serif;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
}
.bm-button--dark {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.bm-link {
  margin-top: 10px;
  background: none;
  border: 0;
  color: #000;
  font: 600 14px/1 "Poppins", system-ui, sans-serif;
  cursor: pointer;
}

/* Email form */
.bm-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  max-width: 520px;
}
.bm-form input[type="email"] {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font: 500 15px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.bm-msg { margin-top: 10px; min-height: 1.2em; font: 600 14px/1.3 "Nunito", system-ui, sans-serif; color:#000; }

/* Screen sizes */
@media (max-width: 700px) {
  .chooser { grid-template-columns: 1fr; }
  .bm-form { grid-template-columns: 1fr; }
}

/* Visually hidden label for a11y */
.sr-only {
  position:absolute!important; height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);
}

.modal{ position:fixed; inset:0; display:none; z-index:1000; }
.modal.show{ display:grid; place-items:center; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.5); }
.modal__dialog{
  position:relative; background:#fff; color:#111;
  padding:50px 24px; border-radius:12px; max-width:420px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.modal__close{
  position:absolute; top:8px; right:8px; border:0; background:transparent;
  font-size:24px; cursor:pointer;
}
