/* ==========================================================================
   Purify Cleaning Services: Home page styles
   ========================================================================== */

:root {
  /* Greenish-blue (teal) palette taken from the Purify logo ring */
  --blue: #3A7C7E;          /* header / footer bar */
  --blue-deep: #2A5F64;
  --teal: #5FA6A0;          /* icon squares, arrows */
  --royal: #2E7174;         /* accent text, links */
  --tag: #D5EBE7;           /* label tag background */
  --tag-ink: #1F4F55;
  --panel: #DDEFEB;         /* light panels */
  --card: #EEF6F4;          /* service cards */
  --page: #F4F8F7;
  --ink: #121826;           /* headings */
  --body: #353B4A;          /* body text */
  --line: #DCE3EB;
  --navy: #1C315D;          /* brand navy from logo */
  --plum: #2B2F4A;          /* photo CTA bar */
  --sponge: #F6A623;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 12px 34px rgba(28, 49, 93, 0.10);
  --shadow-lg: 0 22px 60px rgba(28, 49, 93, 0.16);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 400 1.0625rem/1.8 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--sponge); outline-offset: 3px; }

/* ---------- Shared bits ---------- */
.label-tag {
  display: inline-block;
  background: var(--tag);
  color: var(--tag-ink);
  font: 500 .95rem/1 var(--font-head);
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 22px;
}
.label-tag--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.7); }

.icon-square {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  background: var(--teal); color: var(--white);
  border-radius: 10px; font-size: 1.35rem;
}
.icon-square svg path[d^="M6.6"] { fill: currentColor; stroke: none; }

.btn {
  display: inline-flex; align-items: center; gap: 18px;
  font: 600 1.05rem/1 var(--font-head);
  text-decoration: none; border: 0; border-radius: 10px;
  padding: 6px 6px 6px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--teal); color: var(--white); font-size: 1.25rem; }
.btn--light { background: rgba(255,255,255,.95); color: var(--ink); }

.stars { color: #F5B301; letter-spacing: 2px; }
.stars--orange { color: #F68B1F; }
.muted { color: #4F5767; font-size: .9rem; }

/* ---------- Utility bar ---------- */
.utility-bar { background: #D5EBE7; color: #0B1830; font: 700 .8rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; }
.utility-bar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--blue); color: var(--white); box-shadow: 0 6px 24px rgba(20, 40, 80, .18); }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.call-block { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-head); }
.call-block__text { display: flex; flex-direction: column; line-height: 1.15; }
.call-block small { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.call-block strong { font-size: 1.1rem; font-weight: 700; }

.main-nav { flex: 1; display: flex; justify-content: space-between; padding-inline: 40px; }
.main-nav ul { display: flex; gap: 40px; align-items: center; }
.main-nav a, .mega-toggle {
  font: 700 1.12rem/1 var(--font-head); color: var(--white); text-decoration: none;
  background: none; border: 0; padding: 10px 0; display: inline-flex; align-items: center; gap: 6px;
}
/* Crisp white header text: no shadow (it made the letters look fuzzy) and normal font smoothing */
.site-header { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; text-rendering: optimizeLegibility; }
.call-block strong { font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; font-variant-numeric: lining-nums; }
.main-nav a:hover, .mega-toggle:hover { color: #D5EBE7; }
.mega-toggle svg { font-size: 1.1rem; transition: transform .2s; }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Whole logo (badge + "Purify") sits inside the header bar */
.logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: calc(var(--header-h) - 14px); }
.logo img { height: 100%; width: auto; }

.sign-in { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1rem/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mega menu */
/* Services drop-down: same light mint as the top "Bonded • Licensed" bar, with dark text */
.mega-menu { position: absolute; left: 0; right: 0; top: 100%; background: #D5EBE7; color: #0B1830; box-shadow: 0 22px 50px rgba(15, 40, 45, .25); border-top: 1px solid rgba(58,124,126,.25); }
.mega-menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 44px 0 52px; }
.mega-menu h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; color: #0B1830; }
.mega-menu li + li { margin-top: 10px; }
.mega-menu a { color: #1F2B3A; font-weight: 600; text-decoration: none; letter-spacing: .03em; }
.mega-menu a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero: cabin slideshow ---------- */
/* Height follows the photos' shape (about 3:2) so as little as possible is trimmed */
/* Full-width banner, edge to edge with no side borders (matches the mockup).
   Its shape (1.45 : 1) is close to the cabin photos' own shape, so almost all of each photo shows;
   only a thin strip of sky or ground is trimmed. No zoom effect, so the photos stay sharp. */
.hero { position: relative; z-index: 0; aspect-ratio: 1.45 / 1; min-height: 420px; display: grid; place-items: center; overflow: hidden; background: var(--blue-deep); }
.hero__slide { position: absolute; inset: 0; opacity: 0; z-index: 0; overflow: hidden;
  /* Each slide gets its own graphics layer so transitions stay smooth */
  will-change: opacity, clip-path; transform: translateZ(0); backface-visibility: hidden; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide.is-entering { opacity: 1; z-index: 2; }

/* Slide 1 (Kiki): soft cross-fade */
.hero__slide.is-entering[data-transition="fade"] { animation: enterFade 1.6s ease forwards; }
@keyframes enterFade { from { opacity: 0; } to { opacity: 1; } }
/* Slide 2 (Eagles Peak): clean left-to-right wipe */
.hero__slide.is-entering[data-transition="wipe"] { animation: enterWipe 1.4s cubic-bezier(.77, 0, .18, 1) forwards; }
@keyframes enterWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* Slide 3 (Sequoia Ridge): focus-pull dissolve */
.hero__slide.is-entering[data-transition="blur"] { animation: enterBlur 1.8s ease forwards; }
/* Lighter blur than before: full-screen blur is heavy work for a computer, so it was causing stutter */
@keyframes enterBlur { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }
/* Slide 4 (A Summit To Remember): rises up from the bottom */
.hero__slide.is-entering[data-transition="rise"] { animation: enterRise 1.5s cubic-bezier(.77, 0, .18, 1) forwards; }
@keyframes enterRise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
/* Slide 5 (Firefly): opens out from the center in a circle */
.hero__slide.is-entering[data-transition="iris"] { animation: enterIris 1.6s ease-in-out forwards; }
@keyframes enterIris { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }

/* Darkens the lower photo for the white text, then softly fades the very bottom edge into the page */
.hero__overlay { position: absolute; inset: 0; z-index: 3; background:
  /* Bottom of the photo fades into the page so the intro text (no box behind it) stays readable */
  linear-gradient(180deg, rgba(244,248,247,0) calc(100% - 230px), rgba(244,248,247,.85) calc(100% - 90px), var(--page) calc(100% - 40px)),
  linear-gradient(180deg, rgba(10,25,28,.12) 0%, rgba(10,25,28,.32) 40%, rgba(10,25,28,.6) 85%); }
/* Headline, tagline and button all sit on the cabin slideshow */
.hero__content {
  position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; box-sizing: border-box;
  /* Centered in the open photo area above the overlapping intro card, with room to breathe */
  padding: 40px 16px 180px;
}
/* Small line above the slogan that says what Purify does */
.hero__eyebrow {
  margin: 0 0 22px; color: var(--white);
  font: 700 clamp(.8rem, 1.2vw, 1.05rem)/1.4 var(--font-head); letter-spacing: .2em; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.hero__title {
  color: var(--white);
  font-size: clamp(3rem, 9vw, 8rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05;
  margin: 0 0 34px;
  text-shadow: 0 8px 40px rgba(10, 25, 55, .45);
}
.hero__tagline {
  max-width: 820px; color: var(--white); text-wrap: balance;
  font: 500 clamp(1.05rem, 1.6vw, 1.35rem)/1.7 var(--font-head);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
  margin: 0 0 38px;
}
.hero__dots { position: absolute; bottom: 166px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 4; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; padding: 0; }
.hero__dots button.is-active { background: var(--white); }

/* ---------- Intro card ---------- */
/* Sits below the banner (no overlap) with room for the mascot to pop out the top */
/* The intro card overlaps the bottom of the banner by about half (like the mockup),
   with the sponge mascot popping up into the cabin photo */
.intro { position: relative; z-index: 2; margin-top: -140px; }
.intro__card {
  /* No background box at all: the sponge, text and chips sit straight on the page (Mat's request) */
  position: relative; background: none; border: 0; box-shadow: none;
  display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center;
  padding: 40px 48px 40px 24px;
}
.intro__mascot { width: 240px; margin: -110px 0 -40px; filter: drop-shadow(0 18px 24px rgba(28,49,93,.22)); }
.intro__body p { font-size: 1.2rem; color: #2B3140; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.chips li { display: flex; align-items: center; gap: 12px; border: 2.5px solid var(--blue); border-radius: 12px; padding: 16px 18px; font: 600 1rem/1.3 var(--font-head); color: var(--ink); background: var(--card); }
.chips svg { font-size: 1.6rem; color: var(--blue); flex: none; }

/* ---------- About ---------- */
.about { background: var(--page); }
.section-head--split { display: grid; grid-template-columns: 1fr 1.6fr; align-items: start; gap: 24px; margin-bottom: 56px; }
.section-head--split h2 { margin: 0; }
.section-head--split .label-tag { justify-self: start; }

.about__layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.about__tabs { display: flex; flex-direction: column; gap: 8px; }
.about__tabs button {
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 18px 0; color: #6B7384; font: 500 1.15rem/1.3 var(--font-head);
  display: flex; gap: 14px; transition: color .2s;
}
.about__tabs button span { font-size: .85rem; padding-top: 3px; }
.about__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.about__tabs button:hover { color: var(--ink); }

.about__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* Photos show in full, at their own shape */
.about__photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__photo > img:first-child { width: 100%; height: auto; }
.photo-cta {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 16px;
  background: var(--plum); color: var(--white); text-decoration: none;
  font: 600 1.05rem/1 var(--font-head); padding: 18px 22px; border-top-right-radius: 14px;
}
.photo-cta span { display: grid; place-items: center; width: 34px; height: 34px; background: var(--white); color: var(--plum); border-radius: 6px; }
.photo-badge { position: absolute; right: 16px; bottom: 16px; width: 76px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.about__text h3 { font-weight: 500; }
.ratings { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; margin-top: 28px; }
.ratings .google-badge { color: var(--ink); }
.ratings .ha-badge, .ratings .ha-badge:hover, .reviews .ha-badge, .reviews .ha-badge:hover { color: var(--ink); text-decoration: none; }
.trust-row--footer .ha-badge, .trust-row--footer .ha-badge:hover { color: var(--white); text-decoration: none; }
.rating { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--ink); }
.rating__brand { font: 700 1.05rem/1.2 var(--font-head); }
.rating__brand--google { background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 45%, #FBBC05 45% 65%, #34A853 65%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating__brand--ha { color: #F68B1F; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--page) 0, var(--white) 180px); }
.services__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.services__intro h2 { margin: 0; }
.pill-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.pill-tabs button {
  border: 0; border-radius: 999px; padding: 12px 24px; background: #EEF1F5; color: #454C5C;
  font: 500 1rem/1.2 var(--font-head); transition: background .2s, color .2s;
}
.pill-tabs button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.pill-tabs button:hover:not([aria-selected="true"]) { background: #E1E7EF; color: var(--ink); }

.service-list { display: grid; gap: 28px; animation: fadeUp .45s ease; }
.service-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 44px; align-items: center;
  background: #E3F1EE; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px);
  /* Stronger teal outline + soft shadow so cards stand out from the white page */
  border: 3px solid var(--blue);
  box-shadow: 0 10px 28px rgba(42, 95, 100, .14);
}
.service-card h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
/* Whole picture, never cropped */
.service-card > img, .service-card__photo-link img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
/* Card photo that opens the service's Guide page */
.service-card__photo-link { display: block; border-radius: var(--radius); transition: transform .2s ease; }
.service-card__photo-link:hover { transform: translateY(-3px); }
.btn--guide { margin: 6px 0 0; }
.ticks { display: grid; gap: 10px; margin: 6px 0 18px; }
.ticks li { position: relative; padding-left: 34px; font: 500 1.02rem/1.5 var(--font-head); color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- What makes Purify different ---------- */
.different {
  color: var(--white); padding: clamp(80px, 10vw, 130px) 0;
  /* Neutral dark shade (no color tint) so the storefront photo keeps its natural colors */
  /* ...and fades into the reviews teal at the bottom for a smooth hand-off */
  /* ...and fades in from the white Services section at the top */
  padding-top: clamp(150px, 15vw, 210px);
  padding-bottom: clamp(120px, 14vw, 180px);
  background:
    linear-gradient(180deg, #FFFFFF 0, rgba(255,255,255,0) 150px),
    linear-gradient(180deg, rgba(12,12,12,.66) 0%, rgba(12,12,12,.58) 70%, #295963 100%),
    url("../img/storefront.jpg") center/cover fixed;
}
.different h2 { color: var(--white); }
.different__text { columns: 2 340px; column-gap: 48px; font: 500 1.05rem/1.75 var(--font-head); color: rgba(255,255,255,.92); }
.different__text p { break-inside: avoid; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.stats li {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; padding: 28px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stats svg { font-size: 3rem; stroke-width: 1.5; }
.stats strong { display: block; font: 700 2.2rem/1.1 var(--font-head); margin-top: 24px; }
.stats span { font: 500 1rem/1.3 var(--font-head); opacity: .9; }

/* ---------- Reviews ---------- */
.reviews {
  padding: clamp(72px, 9vw, 120px) 0 clamp(130px, 13vw, 180px);
  /* Top edge starts in solid teal so it blends with the section above;
     bottom edge fades to white so it blends into the contact section */
  background:
    linear-gradient(180deg, rgba(255,255,255,0) calc(100% - 150px), #FFFFFF 100%),
    linear-gradient(180deg, #295963 0, rgba(41,89,99,0) 180px),
    #295963 url("../img/reviews-bg.jpg") center bottom / cover no-repeat;
}
.reviews__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
/* Frosted, see-through boxes so the mountain picture shows behind them */
.reviews__card, .review-widget {
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.reviews__card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow-lg); }
.reviews__card h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
/* Darker text inside the see-through boxes so it stays easy to read */
.reviews__card p, .review p { color: #161B27; }
.reviews .muted, .review__who small, .reviews .google-badge__text small { color: #1F2533; }
.review-widget__link { color: #123C40 !important; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; }
.trust-row li { font: 600 .95rem/1.2 var(--font-head); color: var(--ink); }
.trust-row a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
.trust-row a:hover { color: var(--blue-deep); }
.trust-row { align-items: center; }
/* Official BBB dynamic seal (120x61, served by BBB), linked to the BBB profile */
.bbb-seal a { display: block; line-height: 0; transition: transform .2s ease; }
.bbb-seal img { width: 120px; height: 61px; }
.bbb-seal a:hover { transform: translateY(-2px); }
/* Google 5-star badge: always sits right beside the BBB seal in the reviews section */
.google-badge { display: flex; align-items: center; gap: 10px; height: 61px; text-decoration: none; color: var(--ink); transition: transform .2s ease; }
.google-badge:hover { transform: translateY(-2px); }
.trust-row .google-badge, .trust-row .google-badge:hover { text-decoration: none; color: var(--ink); }
/* Footer version: white text on the teal, no box behind it */
.trust-row .google-badge--light, .trust-row .google-badge--light:hover { color: var(--white); }
.google-badge--light .google-badge__text small { color: rgba(255,255,255,.85); }
.google-badge svg { width: 34px; height: 34px; flex: none; }
.google-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.google-badge__text strong { font: 700 1.05rem/1.2 var(--font-head); }
.google-badge__text .stars { font-size: 1rem; letter-spacing: 1px; }
.google-badge__text small { font: 500 .78rem/1.2 var(--font-head); color: #454C5C; }
/* Trustindex live reviews sit in the right-hand column */
/* Same see-through frosted box as the card on the left, so the widget's dark text is readable */
.trustindex-reviews {
  min-width: 0; min-height: 200px;
  background: rgba(255,255,255,.42); border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-lg); padding: 24px 16px; box-shadow: var(--shadow-lg);
}
/* Make the reviewer name, date and "Read more" readable on the widget's teal review cards */
.trustindex-reviews .ti-name { color: #FFFFFF !important; font-weight: 700 !important; }
.trustindex-reviews .ti-date { color: rgba(255,255,255,.85) !important; }
.trustindex-reviews .ti-read-more, .trustindex-reviews .ti-read-more-active,
.trustindex-reviews .ti-read-more span, .trustindex-reviews .ti-read-more * { color: #D5EBE7 !important; text-decoration: underline; }
.trustindex-reviews .ti-review-content, .trustindex-reviews .ti-review-content * { color: #FFFFFF !important; }
.review-widget { border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.review-widget__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.review-widget__head img { width: 56px; }
.review-widget__head strong { font-family: var(--font-head); color: var(--ink); }
.review { margin: 20px 0; padding: 20px; background: rgba(255,255,255,.38); border-radius: var(--radius); }
.review__who { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__who > div { flex: 1; line-height: 1.3; }
.review__who strong { display: block; color: var(--ink); font-family: var(--font-head); }
.review__who small { color: #4F5767; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #7C4DFF; color: var(--white); font: 600 1.1rem/1 var(--font-head); }
.review p { margin: 0; color: #2B3140; }
.review-widget__link { font: 700 .95rem/1 var(--font-head); color: var(--blue-deep); text-decoration: none; }
.review-widget__link:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
/* Fades into the footer teal at the bottom */
.contact { background: linear-gradient(180deg, var(--white) calc(100% - 170px), #3A7C7E 100%); padding-bottom: clamp(150px, 15vw, 210px); }
.contact h2 { max-width: 820px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.quote-form { display: grid; gap: 22px; }
.quote-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 4px; font: 500 1rem/1.2 var(--font-head); color: var(--ink); }
.quote-form label > span { color: #D9534F; }
.quote-form label > .optional { font: 400 .85rem/1.2 var(--font-body); color: #6B7384; }
.quote-form label > input, .quote-form label > textarea, .quote-form label > select { flex: 1 0 100%; }
/* Subject drop-down: matches the other boxes, with a teal arrow */
.quote-form label > select, .quote-form label > select:focus {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A7C7E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center; background-size: 20px; background-repeat: no-repeat;
}
.quote-form select:invalid { color: #6B7384; }
.quote-form select option { color: var(--ink); }
.quote-form input, .quote-form textarea, .quote-form select {
  font: 400 1rem/1.5 var(--font-body); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--page);
  transition: border-color .2s, background .2s;
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { outline: none; border-color: var(--blue); background: var(--white); }
.quote-form textarea { resize: vertical; }
.quote-form [aria-invalid="true"] { border-color: #D9534F; }

/* Message after the form is sent */
.form-status { margin: 0; padding: 14px 18px; border-radius: 10px; font: 600 1rem/1.5 var(--font-head); }
.form-status--success { background: #E3F1EE; color: var(--blue-deep); border: 1.5px solid var(--blue); }
.form-status--fail { background: #FBEAEA; color: #8E2B28; border: 1.5px solid #D9534F; }
.btn--submit:disabled { opacity: .7; cursor: wait; }

/* Short-Term Rental questions (open when that service is picked) */
.str-details {
  margin: 0; padding: 22px 22px 24px; border: 2px solid rgba(58,124,126,.45); border-radius: 14px;
  background: var(--card); display: grid; gap: 20px; min-width: 0;
  animation: fadeUp .35s ease;
}
.str-details legend { padding: 0 8px; font: 600 1.05rem/1.2 var(--font-head); color: var(--blue-deep); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid__wide { grid-column: 1 / -1; }
.str-details input[type="text"], .str-details input[type="number"] { background: var(--white); }
.str-details select { background-color: var(--white); }
.str-details textarea { background: var(--white); width: 100%; }
/* Maintenance: emergency note at the top of the box */
.mm-emergency { margin: 0; padding: 12px 16px; border-radius: 10px; background: #FBEAEA; border: 1.5px solid #E7A5A3; color: #6E2422; font: 500 .98rem/1.5 var(--font-head); }
.mm-emergency a { color: #8E2B28; font-weight: 700; white-space: nowrap; }
.choice-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.choice-group__label { font: 600 1rem/1.2 var(--font-head); color: var(--ink); min-width: 120px; }
.choice-group__label small { font-weight: 500; color: #4F5767; }
.quote-form .choice {
  display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  font: 500 .95rem/1.2 var(--font-head); color: var(--ink); transition: border-color .2s, background .2s;
}
.quote-form .choice > input { flex: none; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--blue); }
.quote-form .choice:has(input:checked) { border-color: var(--blue); background: #E3F1EE; }
.beds { display: grid; gap: 12px; }
.beds__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.beds__grid label, .form-grid label { min-width: 0; font-size: .95rem; }
.beds__grid input, .form-grid input { background: var(--white); width: 100%; min-width: 0; }
/* Linens: the question sits on its own line with both answers under it */
.choice-group--stack .choice-group__label { flex-basis: 100%; }
.choice-group__label .req { color: #D9534F; }
/* Unanswered required question: red outline + red label */
.choice-group.is-invalid .choice { border-color: #D9534F; }
.choice-group.is-invalid .choice-group__label, .beds.is-invalid .choice-group__label { color: #B23B37; }
.beds.is-invalid .beds__grid input { border-color: #D9534F; }
.beds__total { margin: 0; font: 500 .95rem/1.2 var(--font-head); color: var(--blue-deep); }
.nowrap { white-space: nowrap; }
@media (max-width: 600px) {
  /* Short number answers stay two per row on phones; the cabin name gets the full width */
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .beds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .str-details { padding: 18px 14px 20px; }
}
.form-error { color: #B23B37; margin: 0; font-size: .95rem; }
.btn--submit { justify-content: space-between; width: 100%; background: var(--panel); color: var(--navy); padding-block: 6px; }

.catch-us { background: var(--panel); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.catch-us h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; }
.contact-list { display: grid; gap: 22px; margin: 24px 0 30px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list div { display: flex; flex-direction: column; line-height: 1.45; }
.contact-list small { font: 500 .85rem/1.4 var(--font-head); color: #3D4C60; }
.contact-list a, .contact-list span { font: 600 1.05rem/1.4 var(--font-head); color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.contact-list em { font-style: normal; color: var(--royal); font: 600 .95rem/1.5 var(--font-head); margin-top: 4px; }
.icon-circle { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 1.3rem; }
.icon-circle svg path[d^="M6.6"] { fill: currentColor; stroke: none; }
.catch-us__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; padding-top: 24px; border-top: 1px solid rgba(28,49,93,.15); }
.catch-us h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.social { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--font-head); color: var(--ink); text-decoration: none; }
.social svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #1877F2; color: var(--white); fill: currentColor; stroke: none; }
/* Service areas: even two-column grid, each town with a matching check badge */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.areas li { position: relative; padding-left: 26px; font: 500 .98rem/1.4 var(--font-head); color: var(--ink); white-space: nowrap; }
.areas li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #3A7C7E, #2A5F64); color: var(--white); padding: 64px 0 0; }
.site-footer__grid { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: center; padding-bottom: 40px; }
.site-footer__logo { width: 180px; }
.site-footer h4 { color: var(--white); font-size: 1.2rem; }
.footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.footer-contact li { display: flex; flex-direction: column; line-height: 1.4; }
.footer-contact small { font: 500 .85rem/1.4 var(--font-head); opacity: .8; }
.footer-contact a, .footer-contact span { font: 600 1.02rem/1.4 var(--font-head); text-decoration: none; }
.trust-row--footer { margin-top: 0; }
.trust-row--footer li { color: var(--white); }
.trust-row--footer a { color: var(--white); }
.trust-row--footer a:hover { color: #D5EBE7; }
.trust-row--footer .ha-badge { color: var(--white); }
/* The BBB image has "Click for Profile" under the seal (hard to see on teal), so the seal itself
   looks high. Nudge it down so the visible seal lines up with the other footer badges. */
.trust-row .bbb-seal { transform: translateY(8px); }
/* Facebook logo (round blue "f") in place of the word */
.fb-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1877F2; transition: transform .2s ease; }
.fb-icon svg { width: 24px; height: 24px; fill: #FFFFFF; stroke: none; }
.fb-icon:hover { transform: translateY(-2px); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.25); padding: 20px 0 28px; font-size: .9rem; opacity: .9; }

/* ==========================================================================
   Cabins page
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }

/* Teal page banner with the page name (mockup 5189) */
.page-hero {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  /* Slim banner for every inner page (Cabins, Contact, and future pages) */
  color: var(--white); text-align: center; padding: clamp(26px, 3.5vw, 40px) 0 clamp(30px, 4vw, 46px);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
.page-hero__eyebrow { margin: 0 0 8px; font: 700 clamp(.72rem, 1.1vw, .95rem)/1.4 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: #D5EBE7; }

.cabins { background: linear-gradient(180deg, var(--blue-deep) 0, var(--page) 70px); padding-top: 0; }
.cabins__intro { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0 auto 12px; padding-top: clamp(40px, 5vw, 60px); }
.cabins__sub { text-align: center; max-width: 680px; margin: 0 auto 48px; color: var(--body); }

/* Three cards per row on computers, two on tablets, one on phones */
.cabin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cabin-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 2px solid rgba(58,124,126,.35); border-radius: var(--radius-lg);
  padding: 16px 16px 24px; box-shadow: 0 10px 28px rgba(42, 95, 100, .10);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cabin-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42, 95, 100, .18); border-color: var(--blue); }
.cabin-card__photo { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel); }
.cabin-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cabin-card:hover .cabin-card__photo img { transform: scale(1.04); }
.cabin-card h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 600; margin: 20px 8px 10px; }
.cabin-card p { margin: 0 8px 22px; font-size: .98rem; line-height: 1.7; flex: 1; }
/* Booking button: teal, sits at the bottom of every card */
.btn--book { align-self: flex-start; margin: 0 8px; background: var(--blue); color: var(--white); }
.btn--book .btn__arrow { background: var(--white); color: var(--blue); }
.btn--book:hover { background: var(--blue-deep); }

/* Owner call-to-action under the cabins */
.cabins-cta { background: linear-gradient(180deg, var(--page) 0, var(--blue) 120px, var(--blue) 100%); color: var(--white); padding: 150px 0 80px; }
.cabins-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cabins-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 8px; }
.cabins-cta p { margin: 0; color: rgba(255,255,255,.92); max-width: 620px; }

/* Home page quote banner: starts white so it flows out of the reviews fade */
.home-cta { background: var(--blue); padding: 40px 0 72px; }
/* On the home page the reviews now flow straight into the teal quote banner (no white band between) */
.reviews:has(+ .home-cta) {
  padding-bottom: clamp(90px, 9vw, 120px);
  background:
    linear-gradient(180deg, rgba(58,124,126,0) calc(100% - 160px), #3A7C7E 100%),
    linear-gradient(180deg, #295963 0, rgba(41,89,99,0) 180px),
    #295963 url("../img/reviews-bg.jpg") center bottom / cover no-repeat;
}

/* ==========================================================================
   About page (mockups 5165, 5167, 5169, 5175)
   ========================================================================== */
.person { background: var(--page); }
.page-hero + .person { background: linear-gradient(180deg, var(--blue-deep) 0, var(--page) 70px); padding-top: clamp(56px, 7vw, 88px); }
.person--alt { background: var(--white); }
.person__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.person__grid--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.person__text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.person__text p { font-size: 1.05rem; line-height: 1.85; }
.person__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid var(--blue); background: var(--panel); }
.person__photo img { width: 100%; height: auto; }

.mission { background: linear-gradient(180deg, var(--page) 0, #E3F1EE 100%); }
.mission__head { text-align: center; margin-bottom: 32px; }
.mission__head h2 { margin: 0; }
.mission__photo { margin: 0 0 36px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mission__photo img { width: 100%; height: auto; }
.mission__text { max-width: 900px; margin: 0 auto; text-align: center; }
.mission__text p { font-size: 1.12rem; line-height: 1.85; color: #2B3140; }
.values__title { text-align: center; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 56px 0 24px; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.values li {
  display: flex; flex-direction: column; gap: 8px; padding: 26px 22px; background: var(--white);
  border: 2px solid rgba(58,124,126,.35); border-radius: var(--radius); box-shadow: 0 10px 26px rgba(42,95,100,.08);
}
.values svg { width: 40px; height: 40px; color: var(--blue); stroke-width: 1.7; margin-bottom: 6px; }
.values strong { font: 700 1.15rem/1.2 var(--font-head); color: var(--ink); }
.values span { font-size: .97rem; line-height: 1.6; color: var(--body); }
.mission + .cabins-cta { background: linear-gradient(180deg, #E3F1EE 0, var(--blue) 120px, var(--blue) 100%); }

@media (max-width: 900px) {
  .person__grid, .person__grid--flip { grid-template-columns: 1fr; }
  /* On tablets and phones the photo always comes first, then the story */
  .person__grid .person__photo { order: -1; max-width: 520px; margin-inline: auto; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Less empty space between the value cards and the quote banner */
  .mission { padding-bottom: 48px; }
  .mission + .cabins-cta { padding-top: 90px; background: linear-gradient(180deg, #E3F1EE 0, var(--blue) 70px, var(--blue) 100%); }
}
@media (max-width: 600px) {
  .values { grid-template-columns: 1fr; }
  .mission__text { text-align: left; }
  /* Taller crop on phones so the two mascots stay big */
  .mission__photo img { aspect-ratio: 1.6 / 1; object-fit: cover; object-position: 48% center; }
}

/* ==========================================================================
   Service Guide pages (Standard Turnover Guide; mockup 5187)
   ========================================================================== */
.guide-intro { background: linear-gradient(180deg, var(--blue-deep) 0, var(--page) 70px); padding-top: clamp(56px, 7vw, 88px); }
.guide-intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.guide-intro__text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.guide-intro__text .ticks { margin: 18px 0 28px; }
.guide-intro__text p a, .guide__list a { color: var(--blue-deep); font-weight: 600; text-underline-offset: 3px; }
.guide-intro__text p a:hover, .guide__list a:hover { color: var(--blue); }
/* Cabin tour video, top right (4:5) */
.guide-video { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 3px solid var(--blue); box-shadow: var(--shadow-lg); background: var(--blue-deep); max-width: 460px; justify-self: end; width: 100%; }
.guide-video__player { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
/* Guides without a video show a photo in the same spot */
.guide-video--photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

.guide { background: var(--white); }
.guide__head { text-align: center; margin-bottom: 40px; }
.guide__head h2 { margin: 0; }
.guide__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; }
/* Room list on the left, like the mockup */
.guide__tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.guide__tabs button {
  text-align: left; background: none; border: 0; border-left: 3px solid transparent; border-radius: 0 10px 10px 0;
  padding: 12px 16px; font: 500 1.08rem/1.3 var(--font-head); color: #4F5767; transition: color .2s, background .2s, border-color .2s;
}
.guide__tabs button:hover { color: var(--ink); background: var(--page); }
.guide__tabs button[aria-selected="true"] { color: var(--blue-deep); font-weight: 700; background: #E3F1EE; border-left-color: var(--blue); }
/* What we do in that room, on the right */
.guide__panel {
  background: #E3F1EE; border: 2px solid rgba(58,124,126,.35); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px); min-height: 420px; animation: fadeUp .35s ease;
}
.guide__panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; margin-bottom: 14px; }
.guide__intro { font-size: 1.08rem; color: #2B3140; margin-bottom: 18px; }
.guide__intro a { color: var(--blue-deep); font-weight: 600; text-underline-offset: 3px; }
.guide__intro a:hover { color: var(--blue); }
.guide__list { display: grid; gap: 14px; }
.guide__list li { position: relative; padding-left: 36px; font: 500 1.05rem/1.55 var(--font-head); color: var(--ink); }
.guide__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;
}
.guide__list strong { color: var(--blue-deep); }
/* Quiet "there's more below" cue at the bottom of the guide intro: plain text with a bobbing arrow */
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 2px; width: max-content; margin: 44px auto 0;
  font: 500 .95rem/1.3 var(--font-head); letter-spacing: .04em; color: var(--blue-deep); text-decoration: none; opacity: .85;
}
.scroll-cue svg { width: 26px; height: 26px; stroke-width: 2.4; animation: bob 1.8s ease-in-out infinite; }
.scroll-cue:hover { opacity: 1; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(5px); } }
/* Quote prompt right under the guide */
.guide__quote { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; text-align: center; }
.guide__quote p { margin: 0; font: 600 1.15rem/1.4 var(--font-head); color: var(--ink); }

/* Small price / note tag after an item */
.addon { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--white); border: 1px solid rgba(58,124,126,.4); font: 600 .82rem/1.4 var(--font-head); color: var(--blue-deep); vertical-align: 1px; }

@media (max-width: 900px) {
  .guide-intro__grid { grid-template-columns: 1fr; }
  .guide-video { justify-self: center; max-width: 420px; order: -1; }
  .guide__layout { grid-template-columns: 1fr; gap: 20px; }
  /* Rooms become tappable chips that wrap above the checklist */
  .guide__tabs { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .guide__tabs button { border-left: 0; border-radius: 999px; padding: 9px 16px; font-size: .95rem; background: var(--page); border: 1.5px solid var(--line); }
  .guide__tabs button[aria-selected="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
  .guide__panel { min-height: 0; }
}
@media (max-width: 600px) {
  .btn--book { align-self: stretch; justify-content: space-between; }
  .guide-intro__text .btn--book { display: flex; }
  /* Quote button under the guide: full width on phones like the other buttons */
  .guide__quote { flex-direction: column; align-items: stretch; }
  .guide__quote .btn--book { justify-content: space-between; }
}

/* Contact page: short intro under the title, and the banner fades into the form section */
.page-hero__lead { max-width: 640px; margin: 10px auto 0; color: rgba(255,255,255,.92); font: 500 clamp(1rem, 1.5vw, 1.2rem)/1.6 var(--font-head); }
.page-hero--contact + .contact { background: linear-gradient(180deg, var(--blue-deep) 0, var(--white) 70px, var(--white) calc(100% - 170px), #3A7C7E 100%); padding-top: clamp(48px, 6vw, 72px); }

@media (max-width: 1000px) { .cabin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cabin-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Full-width Book button on phones: easier to tap with a thumb */
  .btn--book { align-self: stretch; justify-content: space-between; }
  .cabins-cta__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cabins-cta .btn { justify-content: space-between; }
  .cabins-cta { padding: 110px 0 56px; }
}

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%; background: var(--white); color: var(--navy);
  box-shadow: var(--shadow); font-size: 1.4rem; text-decoration: none;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Five menu items: tighten spacing on smaller laptops so nothing crowds the logo */
@media (max-width: 1280px) {
  .main-nav { padding-inline: 24px; }
  .main-nav ul { gap: 28px; }
}
/* Below 1180px wide the five links don't fit beside the logo, so the menu becomes the ☰ button */
@media (max-width: 1180px) {
  .site-header__inner { gap: 12px; }
  .call-block small { display: none; }
  .sign-in { margin-left: auto; }
  .menu-toggle { display: flex; margin-left: 0; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 16px 16px 24px;
    background: var(--blue-deep); box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .mega-toggle { width: 100%; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.14); justify-content: space-between; }
  .mega-menu__grid { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .mega-menu { max-height: calc(100vh - var(--header-h)); overflow: auto; }
}
@media (max-width: 1100px) {
  .main-nav { padding-inline: 20px; }
  .main-nav ul { gap: 26px; }
  .call-block__text small { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .utility-bar__inner { justify-content: center; }
  .utility-bar__inner span:not(.utility-bar__center) { display: none; }

  .site-header__inner { gap: 12px; }
  .call-block__text { display: none; }
  .icon-square { width: 42px; height: 42px; }
  .sign-in { margin-left: auto; }
  .sign-in > span:last-child { display: none; }
  .menu-toggle { display: flex; margin-left: 0; }

  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 16px 16px 24px;
    background: var(--blue-deep); box-shadow: var(--shadow-lg); display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .mega-toggle { width: 100%; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.14); justify-content: space-between; }
  .mega-menu__grid { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .mega-menu { max-height: calc(100vh - var(--header-h)); overflow: auto; }

  /* Tablet banner: room for the text, and the sponge sits below the button */
  .hero { aspect-ratio: auto; min-height: 620px; }
  .hero__content { padding: 60px 24px 150px; }
  .hero__dots { bottom: 110px; }
  .intro { margin-top: -80px; }
  .intro__card { grid-template-columns: 1fr; padding: 0 8px 16px; text-align: center; gap: 20px; }
  .intro__mascot { width: 160px; margin: -40px auto 0; }
  .chips { grid-template-columns: repeat(3, 1fr); text-align: left; }

  .section-head--split, .services__intro { grid-template-columns: 1fr; gap: 8px; }
  .about__layout { grid-template-columns: 1fr; gap: 28px; }
  /* About tabs wrap onto two lines instead of running off the screen */
  .about__tabs { flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
  .about__tabs button { white-space: nowrap; padding: 12px 0; }
  .reviews__card h2 br { display: none; }
  .trust-row { gap: 14px 24px; }
  .about__panel { grid-template-columns: 1fr; gap: 28px; }
  .about__photo { max-width: 460px; }

  .service-card { grid-template-columns: 1fr; gap: 24px; }
  .service-card > img, .service-card__photo-link { order: -1; }

  .different { background-attachment: scroll; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { min-height: 180px; }

  .reviews__grid, .contact__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact { grid-template-columns: 1fr; gap: 14px; }
  .site-footer__logo { width: 130px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .utility-bar { font-size: .68rem; letter-spacing: .16em; }
  /* Phone banner: tall enough for the text, which sits clear of the sponge below it */
  .hero { aspect-ratio: auto; height: auto; min-height: 600px; }
  .hero__content { padding: 70px 20px 130px; }
  .hero__eyebrow { font-size: .72rem; letter-spacing: .14em; margin-bottom: 14px; }
  .hero__title { font-size: clamp(2.6rem, 13vw, 3.4rem); margin-bottom: 20px; }
  .hero__tagline { font-size: 1rem; margin-bottom: 26px; }
  .hero__dots { bottom: 92px; }
  /* Sponge overlaps the banner a little less, so it never covers the button */
  .intro { margin-top: -70px; }
  .intro__card { padding: 0 4px 12px; }
  .intro__mascot { width: 140px; margin: -30px auto 0; }
  .intro__body p { font-size: 1.05rem; }
  .chips { grid-template-columns: 1fr; }
  /* Shorter fades between sections on phones, so there are no big empty gaps */
  .contact { padding-bottom: 110px; background: linear-gradient(180deg, var(--white) calc(100% - 100px), #3A7C7E 100%); }
  .reviews { padding-bottom: 110px; }
  .site-footer { padding-top: 40px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats li { padding: 20px; min-height: 160px; }
  .stats strong { font-size: 1.7rem; }
  .stats svg { font-size: 2.2rem; }
  .catch-us__row { grid-template-columns: 1fr; }
  .pill-tabs button { padding: 10px 16px; font-size: .92rem; }
}

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

/* Text message consent checkbox on the quote form (carrier rules: optional, unchecked) */
.quote-form label.sms-consent { flex-wrap: nowrap; align-items: flex-start; gap: 12px; font: 400 .85rem/1.5 var(--font-body); color: #4F5767; margin-top: -8px; }
.quote-form label.sms-consent > input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--blue); }
.quote-form label.sms-consent .sms-consent__text { color: #4F5767; }
.sms-consent a { color: var(--blue-deep); text-decoration: underline; }

/* Footer legal links */
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Privacy Policy and Text Message Terms pages */
.legal { background: linear-gradient(180deg, var(--blue-deep) 0, var(--page) 70px); padding-top: clamp(40px, 5vw, 64px); }
.legal__body { max-width: 820px; background: var(--white); border-radius: 16px; padding: clamp(24px, 5vw, 56px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.legal__body h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 32px 0 10px; }
.legal__body p, .legal__body li { color: var(--body); line-height: 1.7; }
.legal__body ul { list-style: disc; padding-left: 1.4em; margin: 0 0 12px; }
.legal__body li { margin-bottom: 6px; }
.legal__body a { color: var(--blue-deep); text-decoration: underline; }
.legal__updated { font-size: .9rem; color: #6B7384; margin-top: 0; }
@media (max-width: 600px) { .legal__body { width: calc(100% - 32px); } }

/* Phones only: "What Makes Purify Different" keeps the storefront as the background, but less zoomed in.
   On a tall phone section, "cover" blew the photo up to the section's full height (very zoomed).
   Instead, a screen-sized photo layer stays pinned behind the text while you scroll (like desktop's
   fixed background), so the photo is only sized to the screen. Desktop and tablet are unchanged. */
@media (max-width: 600px) {
  .different {
    position: relative; isolation: isolate; background: #1C2427;
    padding-top: 0; padding-bottom: 0;
  }
  .different::before {
    content: ""; display: block; position: sticky; top: 0; z-index: -2;
    height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh;
    background:
      linear-gradient(180deg, rgba(12,12,12,.62), rgba(12,12,12,.58)),
      url("../img/storefront.jpg") 50% 50% / cover no-repeat;
  }
  .different::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      linear-gradient(180deg, #FFFFFF 0, rgba(255,255,255,0) 120px),
      linear-gradient(0deg, #295963 0, rgba(41,89,99,0) 160px);
  }
  .different > .container { padding-top: 130px; padding-bottom: 120px; }
}
