/*
 Theme Name:   Charlottesville Aquatics
 Template:     twentytwenty
 Author: Zain
*/
 

/* =================================================================== */
/* ========== Default ========== */
/* =================================================================== */
/* =========================================================================
   CHARLOTTESVILLE AQUATICS — pools-first, bright & sunlit
   Palette: crisp white + azure/ocean blue + bright pool aqua
   Type: high-contrast serif headlines (Cormorant) + Hanken Grotesk
   ========================================================================= */

:root {
  /* Deep ocean (dark bands / footer) — derived from brand azure */
  --ink:      #023A5A;
  --ink-2:    #02466B;
  --ink-3:    #03527E;
  --hairline-dark: rgba(228, 244, 252, 0.18);

  /* Light tints */
  --bone:     #EAF6FC;   /* sky tint panel */
  --bone-2:   #D7ECF7;
  --paper:    #FFFFFF;
  --hairline-light: rgba(10, 52, 76, 0.14);

  /* Text on dark */
  --on-dark:        #EBF6FC;
  --on-dark-soft:   rgba(235, 246, 252, 0.74);
  --on-dark-faint:  rgba(235, 246, 252, 0.46);
  /* Text on light */
  --on-light:       #0B2D40;
  --on-light-soft:  #51707F;

  /* Brand accents — sampled from the Charlottesville Aquatics logo */
  --azure:      #00609C;       /* logo deep ocean blue (primary) */
  --azure-deep: #00476F;
  --accent:     #18A8B4;       /* logo bright teal-aqua (highlight) */
  --accent-deep:#12909B;
  --brass:      #D79A3C;       /* warm sun accent */

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 96px);
  --section-y: clamp(58px, 6.5vw, 110px);
  --maxw: 1320px;
  --eyebrow-ls: 0.32em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--on-light);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  color: var(--on-light);
}
p { margin: 0; }

/* ---- utilities ----------------------------------------------------------- */
.wrap { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--eyebrow-ls);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--azure);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.eyebrow.center::before { display: none; }
.eyebrow.plain { color: var(--azure); }
.eyebrow.on-dark { color: var(--accent); }

.display-xl { font-size: clamp(3.4rem, 9vw, 8.4rem); }
.display-l  { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.display-m  { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }

.lede {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.55;
  font-weight: 350;
}

.btn {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .4s ease, color .4s ease, border-color .4s ease, gap .35s ease, box-shadow .4s ease;
  background: var(--azure);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(0,96,156,0.5);
}
.btn:hover { gap: 18px; background: var(--azure-deep); }
.btn .arr { transition: transform .35s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn--accent { background: var(--accent); box-shadow: 0 10px 30px -12px rgba(24,168,180,0.55); }
.btn--accent:hover { background: var(--accent-deep); }
.btn--lg { font-size: 15px; font-weight: 800; letter-spacing: 0.1em; padding: 21px 40px; }
.btn--lg .arr { font-size: 1.1em; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
}
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }

.btn--ghost-ink { background: transparent; color: var(--azure); border-color: var(--hairline-light); box-shadow: none; }
.btn--ghost-ink:hover { border-color: var(--azure); background: var(--bone); }

/* ---- image placeholders -------------------------------------------------- */
.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--bone-2);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0, 96, 156, 0.08) 0px,
    rgba(0, 96, 156, 0.08) 1px,
    transparent 1px,
    transparent 11px
  );
}
.ph.dark { background-color: #0A4A6E; background-image: repeating-linear-gradient(-45deg, rgba(235,246,252,0.06) 0px, rgba(235,246,252,0.06) 1px, transparent 1px, transparent 11px); }
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5em;
  font-family: 'SFMono-Regular', ui-monospace, 'Menlo', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 52, 76, 0.45);
}
.ph.dark::after { color: var(--on-dark-faint); }
/* real images fill placeholders */
.ph > .ph-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.ph.has-img::after { display: none; }
.reno-tag {
  position: absolute; z-index: 4;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  color: #fff; background: rgba(2,58,90,0.78); padding: 4px 10px; border-radius: 100px;
  backdrop-filter: blur(3px);
}
.reno-tag--before { top: 14px; left: 14px; }
.reno-tag--after  { bottom: 14px; right: 14px; background: var(--accent); }

/* =========================================================================
   HEADER — transparent over hero, white when scrolled
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 22px 0;
  transition: background .5s ease, padding .5s ease, border-color .5s ease, box-shadow .5s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 7px 0;
  border-bottom: 1px solid var(--hairline-light);
  box-shadow: 0 12px 40px -22px rgba(10, 52, 76, 0.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}
.brand-logo {
  height: 66px !important;
  width: auto;
  display: block;
  transition: height .5s ease;
}
.brand-logo--color { display: none; }
.site-header.scrolled .brand-logo { height: 40px; }
.site-header.scrolled .brand-logo--white { display: none; }
.site-header.scrolled .brand-logo--color { display: block; }

.nav { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.nav__row { display: flex; align-items: center; gap: 22px; }
.nav__row > a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 4px 0;
  transition: color .3s ease;
  white-space: nowrap;
}
.nav__row > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .35s ease;
}
.nav__row > a:hover { color: #fff; }
.nav__row > a:hover::after { width: 100%; }
.site-header.scrolled .nav__row > a { color: var(--on-light-soft); }
.site-header.scrolled .nav__row > a:hover { color: var(--azure); }
.nav .btn { padding: 12px 22px; box-shadow: none; color: #fff; }
.nav .btn::after { display: none; }
.site-header.scrolled .nav .btn { color: #fff; }
/* Scrolled: hide the consultation button and collapse nav to a single thin row */
.site-header.scrolled .nav { flex-direction: row; gap: 0; }
.site-header.scrolled .nav .btn { display: none; }

.nav-toggle {
  display: none;
  background: none; border: none;
  color: #fff; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.site-header.scrolled .nav-toggle { color: var(--on-light); }
.nav-toggle span { width: 24px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- nav dropdowns ------------------------------------------------------- */
.nav .has-menu { position: relative; }
.nav .has-menu > a { display: inline-flex; align-items: center; gap: 7px;color:#fff; font-weight:500;}
.nav .caret { font-size: 9px; opacity: .7; transform: translateY(1px); transition: transform .3s ease; }
.nav .has-menu:hover .caret { transform: translateY(1px) rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--hairline-light);
  border-radius: 4px;
  padding: 12px;
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  z-index: 90;
  box-shadow: 0 24px 60px -24px rgba(10,52,76,0.45);
}
.nav .has-menu:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px); }
.dropdown a {
  font-size: 13px;
  font-weight: 500;
  color: var(--on-light-soft);
  padding: 11px 14px;
  border-radius: 3px;
  display: flex !important;
  align-items: baseline; gap: 12px;
  transition: background .25s ease, color .25s ease;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--bone); color: var(--azure); }
.dropdown a .dd-num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 14px; }

.site-header.scrolled .nav__row .has-menu a {
  color: #51707f;
  font-weight: 500;
}
.site-header.scrolled .nav__row .has-menu a:hover {
  color: var(--azure);
}

/* =========================================================================
   HERO SLIDER
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(48px, 7vw, 110px);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.active { opacity: 1; }
.hero__slide .ph { width: 100%; height: 100%; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.active .ph { transform: scale(1); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(6, 40, 60, 0.78) 0%, rgba(6, 40, 60, 0.06) 42%, rgba(6, 40, 60, 0) 70%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow {
  color: var(--accent);
}
.hero .eyebrow::before { background: var(--accent); }
.hero h1 { max-width: 15ch; margin-top: 24px; text-wrap: balance; color: #fff; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__row {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 28px; margin-top: 38px;
}
.hero__row p { max-width: 46ch; color: rgba(255,255,255,0.86); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__caption { display: none; }
.hero__caption.active { display: block; }

.hero__nav {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 7vw, 110px);
  z-index: 3;
  display: flex; align-items: center; gap: 16px;
}
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  color: #fff; cursor: pointer; font-size: 18px;
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
.hero__arrows button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.hero__dots { display: flex; gap: 10px; align-items: center; }
.hero__dots button {
  width: 32px; height: 2px;
  background: rgba(255,255,255,0.45);
  border: none; padding: 0; cursor: pointer;
  transition: background .35s ease, transform .35s ease;
}
.hero__dots button.active { background: var(--accent); transform: scaleY(2.5); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
}
.scroll-cue .chev {
  width: 17px; height: 17px;
  border-right: 2px solid rgba(255,255,255,0.9);
  border-bottom: 2px solid rgba(255,255,255,0.9);
  transform: rotate(45deg);
  margin-top: -7px;
  animation: chevbob 1.9s ease-in-out infinite;
}
.scroll-cue .chev:nth-child(1) { animation-delay: 0s; }
.scroll-cue .chev:nth-child(2) { animation-delay: .2s; }
@keyframes chevbob {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

/* =========================================================================
   SERVICE THUMBNAIL GRID
   ========================================================================= */
.thumbs { background: var(--bone); padding: clamp(56px, 7vw, 96px) 0; }
.thumbs__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 52px);
}
.thumbs__head h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
.thumb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: 6px;
  box-shadow: 0 18px 44px -28px rgba(10,52,76,0.5);
}
.thumb .ph { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.thumb:hover .ph { transform: scale(1.06); }
.thumb__scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(6,40,60,0.9) 0%, rgba(6,40,60,0.1) 55%, rgba(6,40,60,0.3) 100%);
}
.thumb__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 30px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px;
}
.thumb__label h3 { font-size: clamp(1.65rem, 2.3vw, 2.3rem); line-height: 1.05; text-wrap: balance; color: #fff; }
.thumb__label .cue { width: 26px; height: 2px; background: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.thumb:hover .thumb__label .cue { opacity: 1; transform: translateY(0); }
.thumb__cat {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: #fff; background: rgba(0,96,156,0.9);
  padding: 5px 11px; border-radius: 100px;
}
.thumb.feature { aspect-ratio: auto; grid-row: span 2; }
.thumb.feature .thumb__label h3 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.thumb.feature .thumb__cat { background: var(--accent); }

/* =========================================================================
   STATEMENT (Why) — now a tinted band near the bottom
   ========================================================================= */
.statement { padding: var(--section-y) 0; background: var(--bone); }
.statement__grid {
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 7vw, 120px); align-items: start;
}
.statement h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); text-wrap: balance; }
.statement h2 em { font-style: italic; color: var(--azure); }
.statement__body p + p { margin-top: 1.4em; }
.statement__body .lede { color: var(--on-light); }
.statement__body p { color: var(--on-light-soft); }
.statement__meta { margin-top: 44px; display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.stat .n { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--azure); }
.stat .l { margin-top: 8px; font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-light-soft); }

/* =========================================================================
   SERVICES — full-bleed alternating split panels
   ========================================================================= */
.svc-intro { background: var(--paper); padding: clamp(60px,7vw,108px) 0 clamp(34px,3.5vw,52px); }
.svc-intro .inner { max-width: 720px; }
.svc-intro h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-top: 16px; text-wrap: balance; }
.svc-intro h2 em { font-style: italic; color: var(--azure); }
.svc-intro p { margin-top: 18px; color: var(--on-light-soft); font-size: 1.06rem; max-width: 56ch; }

.svc { position: relative; }
.svc.light { background: var(--paper); color: var(--on-light); }
.svc.tint  { background: var(--bone);  color: var(--on-light); }
.svc.dark  { background: var(--ink);   color: var(--on-dark); }

/* ---- shared content typography (used by every layout) ---- */
.svc__kicker {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-light-soft);
  display: inline-flex; align-items: center; gap: 9px;
}
.svc__kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.svc.dark .svc__kicker, .svc--glass.dark .svc__kicker { color: var(--accent); }

.svc__content h3 { font-size: clamp(1.55rem, 2.5vw, 2.3rem); margin: 0 0 14px; text-wrap: balance; }
.svc__content h3::before {
  content: ""; display: inline-block;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); margin-right: 14px; vertical-align: 0.18em;
}
.svc__content h3 em { font-style: italic; color: var(--azure); }
.svc.dark .svc__content h3 em { color: var(--accent); }
.svc__content > p { color: var(--on-light-soft); max-width: 52ch; }
.svc.dark .svc__content > p { color: var(--on-dark-soft); }

.svc__feats { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.svc__feats.cols2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.svc__feats li { display: flex; align-items: baseline; gap: 11px; font-size: 0.94rem; color: var(--on-light-soft); }
.svc.dark .svc__feats li { color: var(--on-dark-soft); }
.svc__feats li::before { content: "✦"; color: var(--accent); font-size: 0.8em; transform: translateY(-1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--azure); padding-bottom: 6px; border-bottom: 2px solid transparent;
  transition: gap .3s ease, border-color .3s ease; align-self: flex-start;
}
.svc.dark .link-arrow { color: var(--accent); }
.link-arrow:hover { gap: 16px; border-color: currentColor; }

.svc__badge {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 14px; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--azure); background: rgba(0,96,156,0.10);
  padding: 7px 14px; border-radius: 100px;
}
.svc .tag {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 7px 13px; font-weight: 700; border-radius: 100px;
}

/* =========================================================================
   LAYOUT A — SHOWCASE  (clear full photo on top, solid content band below)
   Used by: New Pool (flagship), Hot Tubs
   ========================================================================= */
.svc--showcase .svc__photo {
  position: relative; width: 100%;
  height: clamp(360px, 46vw, 600px); overflow: hidden;
}
.svc--showcase.flagship .svc__photo { height: clamp(440px, 60vw, 760px); }
.svc--showcase .svc__photo .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc--showcase .svc__photo .tag { position: absolute; left: var(--gutter); bottom: 22px; z-index: 3; }
.svc__band {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 72px); align-items: start;
  padding: clamp(40px, 4.6vw, 76px) var(--gutter);
}
.svc--showcase.flagship .svc__band { grid-template-columns: 1fr 1fr; }
.svc__band-head { display: flex; flex-direction: column; align-items: flex-start; }
.svc__band-head h3 { margin-bottom: 0; }
.svc--showcase.flagship .svc__band-head h3 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.svc__band-body { display: flex; flex-direction: column; }
.svc__band-body > p { margin-bottom: 4px; }

/* =========================================================================
   LAYOUT B — SPLIT  (big clear image + content box, side by side, no overlap)
   Used by: Saunas
   ========================================================================= */
.svc--split .svc__split {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  max-width: var(--maxw); margin: 0 auto;
}
.svc--split .svc__photo { position: relative; min-height: clamp(380px, 44vw, 560px); overflow: hidden; }
.svc--split .svc__photo .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc--split.flip .svc__photo { order: 2; }
.svc--split .svc__photo .tag { position: absolute; left: 22px; bottom: 22px; z-index: 3; }
.svc--split .svc__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(44px, 5vw, 88px) clamp(34px, 4.4vw, 76px);
}
.svc--split.flagship .svc__photo { min-height: clamp(440px, 52vw, 640px); }
.svc--split.flagship .svc__content h3 { font-size: clamp(1.8rem, 2.9vw, 2.5rem); }
.svc--split.flagship .svc__content > p { font-size: 1.06rem; }

/* =========================================================================
   LAYOUT C — GLASS  (full-bleed photo, floating frosted card)
   Used by: Swim Spas (sheer), Cold Plunge (sheer), Game Tables (dark), Service
   ========================================================================= */
.svc--glass { overflow: hidden; isolation: isolate; }
.svc--glass .svc__media { position: absolute; inset: 0; z-index: 0; }
.svc--glass .svc__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc--glass .svc__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(2,40,60,0.16) 0%, rgba(2,40,60,0.02) 50%, rgba(2,40,60,0) 70%);
}
.svc--glass.flip .svc__media::after {
  background: linear-gradient(270deg, rgba(2,40,60,0.16) 0%, rgba(2,40,60,0.02) 50%, rgba(2,40,60,0) 70%);
}
.svc--glass .svc__media .tag { position: absolute; bottom: 24px; right: 24px; z-index: 4; }
.svc--glass.flip .svc__media .tag { right: auto; left: 24px; }
.svc--glass .svc__inner {
  position: relative; z-index: 3;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(56px, 7vw, 110px) var(--gutter);
  min-height: clamp(460px, 50vw, 600px);
  display: flex; align-items: center;
}
.svc--glass.flip .svc__inner { justify-content: flex-end; }
.svc--glass .svc__content {
  width: min(520px, 58%);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 8px;
  padding: clamp(32px, 3.2vw, 52px);
  box-shadow: 0 46px 100px -46px rgba(2,40,60,0.62);
  color: var(--on-light);
}
/* sheer = lower-opacity card so the photo reads through */
.svc--glass.sheer .svc__content {
  background: rgba(255,255,255,0.62);
  border-color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 14px rgba(255,255,255,0.5);
}
.svc--glass.sheer .svc__content > p,
.svc--glass.sheer .svc__feats li { color: #1c2f36; }
.svc--glass.dark .svc__content {
  background: rgba(4,24,38,0.86);
  border-color: rgba(255,255,255,0.16);
  color: var(--on-dark);
}
.svc--glass.dark .svc__content h3 { color: #fff; }
.svc--glass.dark .svc__content > p { color: var(--on-dark-soft); }
.svc--glass.dark .svc__content h3 em { color: var(--accent); }
.svc--glass.dark .svc__feats li { color: var(--on-dark-soft); }
.svc--glass.dark .link-arrow { color: var(--accent); }

/* Game Tables — wider text, centered, more transparent card */
.svc--gt .svc__inner { justify-content: center; }
.svc--gt .svc__content { width: min(700px, 80%); }
.svc--gt.svc--glass.dark .svc__content { background: rgba(4,24,38,0.56); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.svc--gt .svc__media::after { background: linear-gradient(90deg, rgba(2,24,38,0.42) 0%, rgba(2,24,38,0.18) 50%, rgba(2,24,38,0.42) 100%); }
/* keep faces in frame for the billiards photo */
.svc--glass .svc__media .ph.pos-high img { object-position: center 22%; }

/* =========================================================================
   LAYOUT D — RENOVATION  (content box + before/after slider, side by side)
   ========================================================================= */
.svc--reno .svc__split {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center;
  gap: clamp(28px, 4vw, 72px);
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 5vw, 88px) var(--gutter);
}
.svc--reno .svc__content { display: flex; flex-direction: column; }
.svc--reno.flip .svc__split { grid-template-columns: 1.1fr 1fr; }
.svc--reno.flip .svc__content { order: 2; }
.svc--reno.flip .ba { order: 1; }

/* before/after comparison */
.ba {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; border-radius: 8px; cursor: ew-resize; user-select: none;
  box-shadow: 0 40px 90px -50px rgba(2,40,60,0.6);
  touch-action: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { z-index: 1; }
.ba__after { z-index: 2; clip-path: inset(0 0 0 var(--split, 50%)); }
.ba__tag {
  position: absolute; top: 16px; z-index: 4;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px; border-radius: 100px; color: #fff;
  background: rgba(5,30,46,0.66); backdrop-filter: blur(4px);
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }
.ba__divider {
  position: absolute; top: 0; bottom: 0; z-index: 5;
  left: var(--split, 50%); width: 2px; background: #fff; transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(2,40,60,0.18);
}
.ba__handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--azure);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: 0 8px 24px -6px rgba(2,40,60,0.5);
}
.ba__hint {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 5;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
  background: rgba(5,30,46,0.5); padding: 5px 12px; border-radius: 100px;
  pointer-events: none; transition: opacity .4s ease;
}

/* =========================================================================
   (legacy band styles retained for safety)
   ========================================================================= */
.svc-band { padding: var(--section-y) 0; }

/* =========================================================================
   10 STEPS REPORT BAND (deep ocean)
   ========================================================================= */
.report {
  background: linear-gradient(135deg, var(--ink) 0%, var(--azure-deep) 100%);
  color: var(--on-dark);
  position: relative; overflow: hidden; padding: var(--section-y) 0;
}
.report .eyebrow { color: var(--accent); }
.report .eyebrow::before { background: var(--accent); }
.report__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  left: -10vw; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(24,168,180,0.32) 0%, rgba(24,168,180,0) 62%);
}
.report__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(16px, 2.5vw, 44px); align-items: center; }
.report h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); text-wrap: balance; color: #fff; margin-top: 14px; }
.report h2 em { font-style: italic; color: var(--accent); }
.report__title {
  font-size: clamp(2.6rem, 5.4vw, 5rem) !important;
  line-height: 1.0; letter-spacing: -0.015em;
}
.report__title em { font-style: italic; }
.report__intro { margin-top: 22px; color: var(--on-dark-soft); max-width: 46ch; font-size: 1.06rem; }

/* floating angled book cover — larger than the text beside it; sides may crop */
.report__book { display: flex; justify-content: flex-start; align-items: center; overflow: visible; }
.report__book img {
  width: min(820px, 152%); height: auto;
  filter: drop-shadow(0 50px 60px rgba(0,18,30,0.6));
  transform: scale(1.24) translateX(-7%) translateY(-1%);
  transform-origin: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.report__book img:hover { transform: scale(1.28) translateX(-7%) translateY(-3%); }

.report__form { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; max-width: 540px; }
.report__form input {
  flex: 1 1 240px; background: rgba(255,255,255,0.08);
  border: 1px solid var(--hairline-dark); border-radius: 4px;
  padding: 16px 18px; color: #fff; font-family: var(--font-sans); font-size: 15px;
  transition: border-color .3s ease, background .3s ease;
}
.report__form input::placeholder { color: var(--on-dark-faint); }
.report__form input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.12); }
.report__note { margin-top: 14px; font-size: 12px; color: var(--on-dark-faint); }

/* =========================================================================
   REVIEWS (tint)
   ========================================================================= */
.reviews { background: var(--bone); padding: var(--section-y) 0; }
/* ---- review slider ---- */
.review-slider { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(10px, 2vw, 28px); }
.review-viewport { overflow: hidden; }
.review-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.review {
  flex: 0 0 100%; min-width: 100%;
  background: #fff; border: 1px solid var(--hairline-light); border-radius: 10px;
  padding: clamp(34px, 4vw, 60px) clamp(28px, 5vw, 80px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 24px 60px -40px rgba(10,52,76,0.5); margin: 6px;
}
.stars { color: var(--brass); letter-spacing: 4px; font-size: 15px; }
.review blockquote {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.28; margin: 22px 0 28px; color: var(--on-light); text-wrap: pretty; max-width: 28ch;
}
.review figcaption { display: flex; flex-direction: column; gap: 5px; }
.review figcaption .nm { font-size: 1rem; color: var(--on-light); font-weight: 600; }
.review figcaption .lo { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-light-soft); }
.review-nav {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--hairline-light); background: #fff; color: var(--azure);
  font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
  box-shadow: 0 12px 30px -18px rgba(10,52,76,0.55);
}
.review-nav:hover { background: var(--azure); color: #fff; border-color: var(--azure); transform: scale(1.06); }
.review-dots { grid-column: 2; display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.review-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(10,52,76,0.22); transition: background .3s ease, transform .3s ease;
}
.review-dots button.active { background: var(--azure); transform: scale(1.25); }
.reviews__foot {
  margin-top: clamp(34px, 4vw, 52px); display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap; color: var(--on-light-soft); font-size: 13px;
}
.reviews__foot .g { display: inline-flex; align-items: center; gap: 9px; }
.reviews__foot .g b { color: var(--azure); font-weight: 700; }

/* =========================================================================
   CRAFT / STORY (light)
   ========================================================================= */
.craft { background: var(--paper); padding: var(--section-y) 0; }
.craft__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.craft__media { position: relative; }
.craft__media .ph { width: 100%; aspect-ratio: 4/5; border-radius: 6px; box-shadow: 0 30px 70px -40px rgba(10,52,76,0.6); }
.craft__media .badge {
  position: absolute; left: -16px; bottom: -16px;
  background: var(--azure); color: #fff; padding: 22px 28px; max-width: 230px; border-radius: 6px;
  box-shadow: 0 20px 50px -22px rgba(0,96,156,0.6);
}
.craft__media .badge .n { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.craft__media .badge .l { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; margin-top: 6px; font-weight: 600; }
.craft h2 { margin: 0 0 26px; }
.craft-title::before {
  content: ""; display: inline-block;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); margin-right: 16px; vertical-align: 0.16em;
}
.craft h2 em { font-style: italic; color: var(--azure); }
.craft__body p { color: var(--on-light-soft); }
.craft__body p + p { margin-top: 1.3em; }
.craft__sign { margin-top: 34px; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--on-light); }
.craft__sign small { display:block; font-family: var(--font-sans); font-style: normal; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-light-soft); margin-top: 8px; }

/* =========================================================================
   SECTION HEAD (shared)
   ========================================================================= */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head h2 { max-width: 18ch; text-wrap: balance; }
.section-head .sh-aside { max-width: 38ch; color: var(--on-light-soft); }

/* =========================================================================
   CONTACT (deep ocean)
   ========================================================================= */
.contact { background: var(--ink); color: var(--on-dark); padding: var(--section-y) 0; }
.contact .eyebrow { color: var(--accent); }
.contact .eyebrow::before { background: var(--accent); }
.contact__inner { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); text-wrap: balance; color: #fff; }
.contact h2 em { font-style: italic; color: var(--accent); }
.contact__intro { margin-top: 24px; color: var(--on-dark-soft); max-width: 52ch; }
.contact__cta { margin-top: 38px; }
.contact__detail { margin-top: 44px; display: grid; gap: 22px; }
.contact__detail .row { display: block; border: 0; border-top: 1px solid var(--hairline-dark); padding: 16px 0 0; grid-template-columns: none; }
.contact__detail .k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.contact__detail .v { font-family: var(--font-display); font-size: 1.4rem; margin-top: 6px; color: #fff; }
.contact__detail .v a { color: #fff; text-decoration: underline; text-decoration-skip-ink: none; text-underline-offset: 4px; transition: color .3s ease; }
.contact__detail .v a:hover { color: var(--accent); }

/* Phone — promoted: first, large, click-to-call */
.contact__detail .row--phone .v { font-size: clamp(2.6rem, 4.2vw, 3.4rem); line-height: 1; margin-top: 10px; letter-spacing: -0.01em; }
.contact__detail .row--phone .v a { color: #fff; text-underline-offset: 7px; }
.contact__detail .row--phone .v a:hover { color: var(--accent); }

.contact__detail .row__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  text-decoration: underline; text-decoration-skip-ink: none; text-underline-offset: 4px;
  padding-bottom: 3px; transition: gap .3s ease, color .3s ease;
}
.contact__detail .row__link:hover { gap: 13px; color: #fff; }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.06); border: 1px solid var(--hairline-dark); border-radius: 4px;
  padding: 14px 14px; color: #fff; font-family: var(--font-sans); font-size: 16px;
  transition: border-color .35s ease, background .35s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--on-dark-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.1); }
.field select option { background: var(--ink); color: #fff; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form .btn { justify-content: center; margin-top: 6px; background: var(--accent); box-shadow: none; }
.form .btn:hover { background: var(--accent-deep); }

/* =========================================================================
   FOOTER (deepest ocean)
   ========================================================================= */
.site-footer { background: #052B40; color: var(--on-dark); border-top: 1px solid var(--hairline-dark); padding: clamp(56px, 7vw, 96px) 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--hairline-dark); }
.footer-logo { height: 56px; width: auto; display: block; margin-bottom: 4px; }
.footer-brand p { margin-top: 16px; color: var(--on-dark-soft); max-width: 34ch; }
.fcol h5 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; font-family: var(--font-sans); font-weight: 700; }
.fcol a { display: block; color: var(--on-dark-soft); padding: 6px 0; transition: color .3s; }
.fcol a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; letter-spacing: 0.03em; color: var(--on-dark-faint); }

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue .chev { animation: none; }
  html { scroll-behavior: auto; }
}
body.no-motion .reveal { transition: none !important; }
body.no-motion .tile .ph, body.no-motion .thumb .ph, body.no-motion .svc, body.no-motion .btn { transition: none !important; }
body.no-motion .scroll-cue .chev { animation: none; }


/* =================================================================== */
/* ========== before/after slider CSS ========== */
/* =================================================================== */
.reno-slider .slider-container {
  position: relative;
  width: 48%;
  height: 550px;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 20px;
  margin-left: 1%;
  margin-right: 1%;
  float: left;
}
.reno-slider .after-image {
  width: 50%;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.1s;
}
.reno-slider .slider-container img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}


.reno-slider .label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 1;
}
.reno-slider .before-label {
  left: 0.5%;
}
.reno-slider .after-label {
  right: 0.5%;
}
.reno-slider .slider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transform: translateY(-50%);
  border: 2px solid #333;
}

.reno-slider .slider-container {
  position: relative;
  width: 48%;
  height: 550px;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 20px;
  margin-left: 1%;
  margin-right: 1%;
  float: left;
}
.reno-slider .slider-container img { width: 100%; height: 100%; position: absolute; top: 0; left: 0; object-fit: cover; }
        .reno-slider .after-image { width: 50%; clip-path: inset(0 50% 0 0); transition: clip-path 0.1s; }
       .reno-slider .slider { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: white; cursor: ew-resize; overflow:visible !important;}
        .reno-slider .slider::before { content: '';
  position: absolute;
  top: 50%;
 left: -80px;
  width: 160px;
  height: 80px;
  background: url('https://poolbuildermarketing.info/wp-content/uploads/2026/08/before-after-icon.png') no-repeat center center;
  background-size: contain;
  transform: translateY(-50%);
  border: none;
  border-radius: 0; }
        .reno-slider .label { position: absolute; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: bold; color: white; background: rgba(0, 0, 0, 0.5); padding: 5px 10px; border-radius: 5px; z-index:1;}
        .reno-slider .before-label { left: 0.5%; }
        .reno-slider .after-label { right: 0.5%; }

#inner-page {
  width: min(100% - 40px, 990px);
  margin: 0 auto;
}
.single-left p a {
  text-decoration: underline;
}
body a {
  text-decoration: none;
  color: #00869B;
  transition: 0.5s;
}
a:hover {
  color: #004b57;
 
}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  margin: 0 auto;

}

.btn-item {
  display: flex;
  justify-content: center;
}
.btn-item a{
	width:100%;
	text-align: center;
  display: block;
}
/* Responsive: stack on smaller screens */
@media (max-width: 640px) {
  .btn-grid {
    grid-template-columns: 1fr;
  }
	.reno-slider .slider-container {
  position: relative;
  width: 98%;
  height: 550px;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 20px;
  float: none;
}
}

.alignright {
  text-align: right;
  float: right;
  width: 400px;
  margin-left: 15px;
  margin-bottom: 15px !important;
  height: auto;
  margin-top: 5px;
}
.cert-img img{
	width: 250px;
}
h2{
	font-size: 50px;
  margin-bottom: 20px;
}
h3{
	font-size: 38px;
  margin-bottom: 15px;
	color:#18a8b4;
}
h4{
	font-size: 30px;
  margin-bottom: 15px;
	color:#052b40;
}

p {
  
  line-height: normal;
  padding-bottom: 15px;
	color: var(--on-light-soft);
}

li {
  line-height: normal;
  color: var(--on-light-soft);
}
.cus-all-reviews h4{
	padding-bottom:0px;
	margin-bottom:0px;
}
.cus-all-reviews img{
	margin-left:-7px;
}
.cus-all-reviews hr {
  margin: 25px auto;
  border: 0;
  border-top: 1px solid #000;
}

.team-box {
  background: rgb(255, 255, 255);
  overflow: hidden;
  box-shadow: rgba(8, 63, 103, 0.12) 0px 14px 32px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
  padding: 30px 30px;
  padding-bottom: 20px;
	min-height: 264px;
}
.team-box h4{
	color:#052b40;
}
.team-box a{
	text-decoration:none !important;
}

.gallery-box {
  display: block;
  background: #ffffff;
  overflow: hidden;
  box-shadow: rgba(8, 63, 103, 0.12) 0px 14px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 15px;
  text-decoration: none !important;
}
.gallery-box:hover {
  transform: translateY(-6px);
  box-shadow: rgba(8, 63, 103, 0.18) 0px 20px 42px;
  text-decoration: none !important;
}
.gallery-img-style {
  width: 100%;
  height: 290px;
  overflow: hidden;
  box-sizing: border-box;
  background: #f3f3f3;
}
.gallery-box img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.gallery-box:hover img {
  transform: scale(1.08);
}
.gallery-title {
  padding: 16px 12px 0;
}
.gallery-box h4 {
  margin: 0;
  padding-bottom: 0 !important;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  transition: color 0.25s ease;
}
/* =================================================================== */
/* ========== Gallery CSS ========== */
/* =================================================================== */
body{
	overflow-x:hidden;
}
.gmedia_header {
  display: none;
}
.ultraBox{
	height:100vh;
	background:#000;
	font-family: "Josefin Sans", sans-serif !important;
}
.ultraBox_descriptionWrap {
	min-height: auto !important;
    max-width: 100% !important;
    top: -54px;
    background-color: rgba(0, 0, 0, 0.8) !important;
	
  }
.ultraBox_bar_left{
	margin-top:5px !important;
}
.ultraBox_sliderWrap {
  height: 95vh !important;
  min-height: 95vh !important;
}
.ultraBox_menuWrap {
  display: none !important;
}
.ultraBox_itemTitle {
  color: #fff !important;
	width:100%;
	text-align:center;
	font-weight:400 !important;
}
.gmedia_UltraBox_GridCollection_Item_Inner:hover img {
  transform: scale(1.1) !important;
	transition: 0.5s;
}
.gmedia_UltraBox_Grid_SearchForm {
  display: none !important;
}
.gmedia_UltraBox_GridCollection_Item_Inner .item_title {
  display: none !important;
}
.ultraBox_itemAuthorWrap {
  display: none !important;
}
.ultraBox_TermsWrap {
  display: none !important;
}
.ultraBox_bar_right {
  display: none !important;
}
.ultraBox_RelatedMediaWrap {
  display: none !important;
}
.gmedia_sliderPage_inner {
  background: #000 !important;
}
.gmedia_itemsButtons {
  display: none !important;
}



.gmpts_info_button.gmpts_b_style1 {
  display: none;
}
.gmpts_title {
  font-weight: 600 !important;
}
.gmpts_user_avatar {
  display: none;
}
.gmpts_author_name {
  display: none;
}
.gmpts_actions {
  display: none;
}
.gmpts_name_wrap.gmpts_clearfix {
  padding: 0px !important;
  margin: 0px;
    margin-top: 0px;
  text-align: center;
  width: 100%;
  margin-top: 15px;
}
.gmpts_gallery_info_menu {
  display: none;
}
.gmpts_title{
	margin-top:15px !important;
}
.gmpts_name_wrap.gmpts_clearfix {
  margin-left: 0px !important;
}


/* =================================================================== */
/* ========== Blogs CSS ========== */
/* =================================================================== */

.blog-page {
  width: min(100% - 40px, 1240px) !important;
  margin: 0 auto;
}
.blog-page .container {
  width: min(100% - 40px, 1240px) !important;
  margin: 0 auto;
}


/* Blog section */
.blog-list-section {
  padding: 10px 0 0px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

/* Blog card */
.blog-box {
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(8, 63, 103, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-box:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 42px rgba(8, 63, 103, 0.18);
}

.blg-fe-img {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #083f67;
}

.blg-fe-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.blog-box:hover .blg-fe-img img {
  transform: scale(1.1);
}

.blog-btm {
  padding: 28px 26px 30px;
}

.blog-btm h4 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 500;
  color: #083f67;
}

.blog-btm h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-btm h4 a:hover {
  color: #0072bc;
}

.blog-btm p {
  margin: 0 0 24px;
  color: #000;
  font-size: 17px;
  line-height: 1.55;
 margin-bottom:0px;
}

/* Button */
.pool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #083f67;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  border: 0;
  padding: 14px 26px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.pool-btn:hover {
  background: #b8d9ed;
  color: #083f67;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(8, 63, 103, 0.22);
	text-decoration:none !important;
}

/* Pagination */
.blog-pagination {
  margin-top: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b8d9ed;
  color: #083f67;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.blog-pagination .page-numbers:hover {
  background: #083f67;
  color: #ffffff;
  transform: translateY(-3px);
}

.blog-pagination .page-numbers.current {
  background: #083f67;
  color: #ffffff;
}

.blog-pagination .page-numbers.dots {
  background: transparent;
  color: #083f67;
  pointer-events: none;
}

.blog-pagination .prev,
.blog-pagination .next {
  min-width: 92px;
}

/* No posts */
.no-posts {
  text-align: center;
  padding: 50px 20px;
  background: #b8d9ed;
}

.no-posts p {
  margin: 0;
  color: #083f67;
  font-size: 24px;
}

/* Tablet */
@media (max-width: 1024px) {
  .blog-list-section {
    padding: 60px 0 75px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .blg-fe-img {
    height: 240px;
  }

  .blog-btm h4 {
    font-size: 25px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .blog-page .container {
    width: min(100% - 32px, 1200px);
  }

  .blog-hero {
    padding: 58px 0 52px;
  }

  .blog-list-section {
    padding: 45px 0 60px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .blg-fe-img {
    height: 230px;
  }

  .blog-btm {
    padding: 24px 22px 26px;
  }

  .blog-btm h4 {
    font-size: 24px;
  }

  .blog-btm p {
    font-size: 16px;
  }

  .pool-btn {
    width: 100%;
    padding: 15px 24px;
  }

  .blog-pagination {
    margin-top: 45px;
    gap: 8px;
  }

  .blog-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .blog-pagination .prev,
  .blog-pagination .next {
    min-width: 82px;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .blg-fe-img {
    height: 210px;
  }

  .blog-btm h4 {
    font-size: 22px;
  }

  .blog-pagination .prev,
  .blog-pagination .next {
    width: 100%;
  }
}



.web-form {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}

.web-form .infusion-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.web-form .infusion-field {
  width: 100%;
  margin: 0;
}

.web-form .infusion-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}

.web-form .infusion-field input,
.web-form .infusion-field textarea,
.web-form .infusion-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font-size: 16px;
  line-height: 1.4;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

.web-form .infusion-field input {
  min-height: 48px;
}

.web-form .infusion-field textarea {
  min-height: 130px;
  resize: vertical;
}

.web-form .infusion-field select {
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #777 50%),
                    linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.web-form .infusion-field input::placeholder,
.web-form .infusion-field textarea::placeholder {
  color: #999;
  opacity: 1;
}

.web-form .infusion-field input:focus,
.web-form .infusion-field textarea:focus,
.web-form .infusion-field select:focus {
  border-color: #1f73e8;
  box-shadow: 0 0 0 3px rgba(31, 115, 232, 0.12);
}

.web-form .infusion-field:nth-of-type(5),
.web-form .infusion-field:nth-of-type(6),
.web-form .infusion-field:nth-of-type(7),
.web-form .infusion-field:nth-of-type(8),
.web-form .infusion-field:nth-of-type(9),
.web-form .infusion-submit {
  grid-column: 1 / -1;
}

.web-form .infusion-form > div:not(.infusion-field):not(.infusion-submit) {
  display: none;
}

.web-form .infusion-submit {
  margin-top: 4px;
}

.web-form .infusion-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  background: #1f73e8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.web-form .infusion-submit button:hover {
  background: #155fc4;
  box-shadow: 0 6px 16px rgba(31, 115, 232, 0.2);
}

.web-form .infusion-submit button:active {
  transform: translateY(1px);
}

.web-form > input[name="inf-sbt"] {
  display: none !important;
}

@media (max-width: 700px) {
  .web-form {
    padding: 22px;
    border-radius: 10px;
  }

  .web-form .infusion-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .web-form .infusion-field:nth-of-type(5),
  .web-form .infusion-field:nth-of-type(6),
  .web-form .infusion-field:nth-of-type(7),
  .web-form .infusion-field:nth-of-type(8),
  .web-form .infusion-field:nth-of-type(9),
  .web-form .infusion-submit {
    grid-column: auto;
  }
}

.web-form .infusion-field:nth-of-type(9),
.web-form .infusion-field:nth-of-type(10) {
  grid-column: 1 / -1;
}
.web-form .infusion-field:has(#inf_custom_Howdidyouhearaboutus) {
  grid-column: 1 / -1 !important;
}

.web-form .infusion-field:has(#inf_custom_Howdidyouhearaboutus) select {
  width: 100% !important;
  display: block;
}

.web-form .infusion-field:has(#inf_custom_Howdidyouhearaboutus) {
  grid-column: 1 / -1 !important;
}

.web-form .infusion-field:has(#inf_custom_Howdidyouhearaboutus) select {
  width: 100% !important;
  display: block;
}
.web-form .infusion-field:has(#inf_custom_Howdidyouhearaboutus1) {
  grid-column: 1 / -1 !important;
}

.web-form .infusion-field:has(#inf_custom_Howdidyouhearaboutus1) select {
  width: 100% !important;
  display: block;
}
.ten-web-form .infusion-field:has(#inf_custom_Comments) {
  grid-column: 1 / -1 !important;
}

.ten-web-form .infusion-field:has(#inf_custom_Comments) input {
  width: 100% !important;
  display: block;
}



/* =========================================================================
   RESPONSIVE OVERRIDES
   Keep this section at the very end of the stylesheet.
   ========================================================================= */

/* Large laptops and smaller desktop screens */
@media (max-width: 1280px) {
  :root {
    --gutter: clamp(24px, 3.5vw, 52px);
  }

  .nav__row {
    gap: 14px;
  }

  .nav__row > a {
    font-size: 12.5px;
  }

  .nav .btn {
    padding: 11px 15px;
    font-size: 11.5px;
  }

  .footer-top {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 28px;
  }
}

/* Tablet navigation and general tablet layout */
@media (max-width: 1100px) {
  :root {
    --gutter: clamp(22px, 4vw, 42px);
    --section-y: clamp(52px, 7vw, 82px);
  }

  body {
    font-size: 16px;
  }

  .site-header,
  .site-header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--hairline-light);
    box-shadow: 0 10px 30px -24px rgba(10, 52, 76, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .brand-logo,
  .site-header.scrolled .brand-logo {
    height: 48px;
  }

  .brand-logo--white,
  .site-header.scrolled .brand-logo--white {
    display: none;
  }

  .brand-logo--color,
  .site-header.scrolled .brand-logo--color {
    display: block;
  }

  .nav-toggle,
  .site-header.scrolled .nav-toggle {
    display: flex;
    position: relative;
    z-index: 110;
    color: var(--on-light);
  }

  .nav-toggle.open {
    position: fixed;
    top: 18px;
    right: var(--gutter);
  }

  .nav,
  .site-header.scrolled .nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    width: 100%;
    height: 100dvh;
    padding: 92px 24px 42px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.99);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.42s cubic-bezier(.6, 0, .2, 1), visibility 0.42s ease;
  }

  .nav.open,
  .site-header.scrolled .nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: min(100%, 560px);
  }

  .nav__row > a,
  .nav .has-menu > a,
  .site-header.scrolled .nav__row > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 25px);
    line-height: 1.15;
    color: var(--on-light) !important;
    text-align: center;
    white-space: normal;
  }

  .nav__row > a::after,
  .nav .has-menu > a::after {
    display: none;
  }

  .nav .has-menu {
    width: 100%;
    text-align: center;
  }

  .nav .caret {
    display: inline-block;
    color: var(--azure);
  }

  .dropdown,
  .nav .has-menu:hover .dropdown {
    position: static;
    left: auto;
    top: auto;
    display: grid;
    gap: 2px;
    width: min(100%, 430px);
    min-width: 0;
    margin: 0 auto 6px;
    padding: 5px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    background: var(--bone);
  }

  .dropdown a {
    justify-content: center;
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--on-light-soft);
    text-align: center;
    white-space: normal;
  }

  .nav .btn,
  .site-header.scrolled .nav .btn {
    display: inline-flex;
    width: min(100%, 320px);
    margin-top: 6px;
    padding: 15px 22px;
    justify-content: center;
    color: #fff !important;
  }

  .statement__grid,
  .craft__grid,
  .report__grid,
  .svc--split .svc__split,
  .svc--reno .svc__split,
  .svc--reno.flip .svc__split,
  .svc__band,
  .svc--showcase.flagship .svc__band {
    grid-template-columns: 1fr;
  }
	.sitemap-links a{
		text-decoration:underline;
	}
	.footer-bottom a:hover {
  color: #fff;
}
  .statement__grid {
    gap: 34px;
  }

  .craft__grid {
    gap: 48px;
  }

  .craft__media {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .thumb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .thumb.feature {
    grid-row: auto;
    aspect-ratio: 3 / 3.5;
  }

  .report__book {
    order: -1;
    justify-content: center;
  }

  .report__book img,
  .report__book img:hover {
    width: min(560px, 90%);
    transform: none;
  }

  .svc--split.flip .svc__photo,
  .svc--reno.flip .svc__content,
  .svc--reno.flip .ba {
    order: initial;
  }

  .svc--split .svc__photo,
  .svc--split.flagship .svc__photo {
    min-height: clamp(360px, 62vw, 600px);
  }

  .svc--glass .svc__content {
    width: min(600px, 100%);
  }

  .svc--glass .svc__inner,
  .svc--glass.flip .svc__inner {
    justify-content: flex-start;
  }

  .svc--gt .svc__content {
    width: min(700px, 100%);
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* Standard tablets */
@media (max-width: 900px) {
  h2 {
    font-size: clamp(36px, 6vw, 46px);
  }

  h3 {
    font-size: clamp(30px, 5vw, 38px);
  }

  h4 {
    font-size: clamp(25px, 4vw, 30px);
  }

  #inner-page {
    width: min(100% - 36px, 1130px);
  }

  .btn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 110px;
    padding-bottom: 130px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero__nav {
    right: var(--gutter);
    left: var(--gutter);
    bottom: 34px;
    justify-content: space-between;
  }

  .scroll-cue {
    display: none;
  }

  .thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thumb,
  .thumb.feature {
    aspect-ratio: 3 / 4;
  }

  .svc--showcase .svc__photo,
  .svc--showcase.flagship .svc__photo {
    height: clamp(340px, 68vw, 560px);
  }

  .svc__band {
    gap: 20px;
    padding: 42px var(--gutter);
  }

  .svc--glass .svc__inner {
    min-height: 540px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .svc--reno .svc__split {
    gap: 34px;
  }

  .review-slider {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 12px;
  }

  .review-nav {
    width: 46px;
    height: 46px;
  }

  .review {
    margin: 4px;
    padding: 38px 34px;
  }

  .field-2 {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-y: 56px;
    --eyebrow-ls: 0.22em;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  h2 {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.08;
  }

  h3 {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.1;
  }

  h4 {
    font-size: clamp(23px, 7vw, 29px);
    line-height: 1.15;
  }

  p,
  li {
    line-height: 1.55;
  }

  #inner-page,
  .blog-page,
  .blog-page .container {
    width: calc(100% - 32px) !important;
  }

  .display-xl {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .display-l {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .display-m {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .eyebrow {
    gap: 10px;
    font-size: 10.5px;
  }

  .eyebrow::before {
    width: 24px;
  }

  .btn,
  .btn--lg {
    max-width: 100%;
    padding: 15px 20px;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    justify-content: center;
  }

  .hero {
    align-items: flex-end;
    min-height: 100svh;
    padding-top: 100px;
    padding-bottom: 118px;
  }

  .hero h1 {
    max-width: 100%;
    margin-top: 18px;
  }

  .hero__row {
    gap: 22px;
    margin-top: 26px;
  }

  .hero__row p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero__actions {
    width: 100%;
    gap: 10px;
  }

  .hero__actions .btn {
    flex: 1 1 220px;
  }

  .hero__nav {
    bottom: 24px;
    gap: 10px;
  }

  .hero__arrows button {
    width: 44px;
    height: 44px;
  }

  .hero__dots {
    gap: 7px;
  }

  .hero__dots button {
    width: 22px;
  }

  .thumbs__head,
  .section-head {
    align-items: flex-start;
    gap: 20px;
  }

  .thumb__label {
    padding: 24px 14px;
  }

  .statement__meta {
    margin-top: 32px;
    gap: 26px;
  }

  .svc-intro {
    padding-top: 54px;
  }

  .svc__feats.cols2 {
    grid-template-columns: 1fr;
  }

  .svc--split .svc__photo,
  .svc--split.flagship .svc__photo {
    min-height: 360px;
  }

  .svc--split .svc__content {
    padding: 42px var(--gutter);
  }

  .svc--glass .svc__inner,
  .svc--glass.flip .svc__inner {
    min-height: 0;
    padding: 320px var(--gutter) 36px;
    align-items: flex-end;
  }

  .svc--glass .svc__content,
  .svc--glass.sheer .svc__content,
  .svc--glass.dark .svc__content {
    width: 100%;
    padding: 28px 22px;
  }

  .svc--glass .svc__media::after,
  .svc--glass.flip .svc__media::after {
    background: linear-gradient(to top, rgba(2, 40, 60, 0.42) 0%, rgba(2, 40, 60, 0.05) 72%);
  }

  .svc--reno .svc__split {
    padding: 44px var(--gutter);
  }

  .ba {
    aspect-ratio: 4 / 3.3;
  }

  .report__title {
    font-size: clamp(2.5rem, 12vw, 4rem) !important;
  }

  .report__form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .report__form input,
  .report__form .btn {
    width: 100%;
  }

  .review-slider {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
  }

  .review-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .review {
    margin: 2px;
    padding: 32px 20px;
  }

  .review blockquote {
    margin: 18px 0 24px;
    font-size: clamp(1.3rem, 6vw, 1.7rem);
  }

  .craft__media .badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 16px 20px;
  }

  .contact__detail {
    width: 100%;
  }

  .contact__detail .row--phone .v {
    font-size: clamp(2rem, 10vw, 2.7rem);
    overflow-wrap: anywhere;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .alignright {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 22px;
  }

  .cert-img img {
    width: min(250px, 100%);
    height: auto;
  }

  .btn-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .team-box {
    min-height: 0;
    padding: 24px 20px;
  }

  .gallery-img-style,
  .gallery-box img {
    height: clamp(220px, 68vw, 320px);
  }

  .gallery-box h4 {
    font-size: 24px;
  }

  .blog-list-section {
    padding: 42px 0 56px;
  }

  .blg-fe-img {
    height: clamp(210px, 62vw, 300px);
  }

  .blog-btm {
    padding: 22px 20px 24px;
  }

  .blog-btm h4 {
    font-size: 24px;
  }

  .pool-btn {
    width: 100%;
  }

  .ultraBox,
  .ultraBox_sliderWrap {
    height: 100dvh !important;
    min-height: 100dvh !important;
  }
}

/* Small mobile */
@media (max-width: 560px) {
  .header-inner {
    gap: 12px;
  }

  .brand-logo,
  .site-header.scrolled .brand-logo {
    height: 42px;
  }

  .nav,
  .site-header.scrolled .nav {
    padding: 82px 16px 30px;
  }

  .nav-toggle.open {
    top: 15px;
    right: 16px;
  }

  .nav__row > a,
  .nav .has-menu > a,
  .site-header.scrolled .nav__row > a {
    padding: 8px 10px;
    font-size: 21px;
  }

  .dropdown a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .btn-grid,
  .thumb-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .hero {
    padding-bottom: 110px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__dots {
    max-width: 130px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .thumb,
  .thumb.feature {
    aspect-ratio: 4 / 4.6;
  }

  .svc--showcase .svc__photo,
  .svc--showcase.flagship .svc__photo,
  .svc--split .svc__photo,
  .svc--split.flagship .svc__photo {
    height: 320px;
    min-height: 320px;
  }

  .svc--glass .svc__inner,
  .svc--glass.flip .svc__inner {
    padding-top: 270px;
  }

  .svc__content h3::before,
  .craft-title::before {
    width: 8px;
    height: 8px;
    margin-right: 10px;
  }

  .review-slider {
    display: block;
  }

  .review-viewport {
    width: 100%;
  }

  .review-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
  }

  .review-nav:hover {
    transform: translateY(-50%) scale(1.04);
  }

  .review-nav.prev,
  .review-nav:first-child {
    left: 6px;
  }

  .review-nav.next,
  .review-nav:nth-of-type(2) {
    right: 6px;
  }

  .review-dots {
    margin-top: 18px;
  }

  .review {
    padding-right: 48px;
    padding-left: 48px;
  }

  .contact h2 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .blog-pagination .prev,
  .blog-pagination .next {
    width: 100%;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }

  #inner-page,
  .blog-page,
  .blog-page .container {
    width: calc(100% - 24px) !important;
  }

  .hero__arrows button {
    width: 40px;
    height: 40px;
  }

  .hero__dots button {
    width: 18px;
  }

  .svc--glass .svc__content,
  .svc--glass.sheer .svc__content,
  .svc--glass.dark .svc__content {
    padding: 24px 18px;
  }

  .review {
    padding-right: 42px;
    padding-left: 42px;
  }

  .blog-btm h4,
  .gallery-box h4 {
    font-size: 22px;
  }
}

/* Landscape phones and short screens */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 1100px) {
  .nav,
  .site-header.scrolled .nav {
    align-items: stretch;
    padding-top: 72px;
  }

  .nav__row {
    width: 100%;
  }

  .nav__row > a,
  .nav .has-menu > a,
  .site-header.scrolled .nav__row > a {
    font-family: var(--font-sans);
    font-size: 16px;
    padding: 6px 10px;
  }

  .dropdown {
    width: min(100%, 520px);
  }

  .hero {
    min-height: 680px;
  }
}
