/* =========================================================
   Tile & Stone — Jacksonville, FL
   Warm, light, editorial landing page
   ========================================================= */

:root {
  --bg: #f7f3ed;
  --cream: #fbf8f3;
  --sand: #efe7dc;
  --sand-2: #e4d8c8;
  --ink: #1e1a16;
  --ink-2: #3a332c;
  --muted: #6e655c;
  --line: rgba(30, 26, 22, .12);
  --accent: #8a6424;
  --accent-2: #c49a45;
  --accent-dark: #6f4f1b;
  --accent-light: #e6c97f;
  --gold: linear-gradient(135deg, #8a6424 0%, #c49a45 26%, #f0d78f 50%, #c49a45 74%, #8a6424 100%);
  --gold-soft: linear-gradient(135deg, #b8913f 0%, #e9cf8a 50%, #b8913f 100%);
  --dark: #221d19;
  --dark-2: #2d2621;

  --display: "Jost", "Futura", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px -24px rgba(34, 29, 25, .35);
  --shadow-sm: 0 8px 24px -14px rgba(34, 29, 25, .3);
  --container: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.65 var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1em; height: 1em; flex: none; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.section { padding-block: clamp(72px, 10vw, 128px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--accent-light); }
.lead { font-size: 1.06rem; color: var(--ink-2); }

.section-head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head__sub { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.section-head--light h2 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--gold); background-size: 220% 100%; background-position: 0% 50%; color: var(--ink); box-shadow: 0 10px 26px -12px rgba(160, 120, 45, .75), inset 0 1px 0 rgba(255, 255, 255, .35); transition: background-position .6s var(--ease), box-shadow .3s, transform .25s var(--ease); }
.btn--accent:hover { background-position: 100% 50%; box-shadow: 0 14px 30px -12px rgba(160, 120, 45, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--dark); color: #d9cfc3; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__area, .topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__area .ic { color: var(--accent-light); }
.topbar__links { display: flex; align-items: center; gap: 24px; }
.topbar__links a:hover { color: #fff; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 237, .88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__img { width: auto; height: 62px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-family: var(--display); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }
.logo__text small { margin-top: 5px; font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.logo--light .logo__img { height: 72px; padding: 6px 8px; border-radius: 12px; background: #fbf8f3; }
.logo--light .logo__text small { color: #a99d90; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); margin-left: auto; font-size: .92rem; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__phone { display: none; }

.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.header__phone .ic { color: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(24, 19, 15, .86) 0%, rgba(24, 19, 15, .62) 42%, rgba(24, 19, 15, .25) 75%, rgba(24, 19, 15, .35) 100%),
    linear-gradient(0deg, rgba(24, 19, 15, .55) 0%, transparent 30%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px);
  align-items: center; gap: clamp(32px, 6vw, 88px);
  min-height: min(calc(100svh - 116px - 64px), 760px);
  padding-block: clamp(56px, 8vw, 96px);
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; font-weight: 500; max-width: 15ch; }
.hero__sub { margin-top: 24px; max-width: 520px; font-size: clamp(1rem, 1.4vw, 1.12rem); color: rgba(255, 255, 255, .86); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.quick-form {
  background: rgba(251, 248, 243, .97); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6);
  display: grid; gap: 14px;
}
.quick-form__title { font-family: var(--display); font-size: 1.6rem; font-weight: 500; letter-spacing: -.01em; }
.quick-form__note { margin-top: -8px; margin-bottom: 4px; color: var(--muted); font-size: .9rem; }

.trustbar { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(24, 19, 15, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.trustbar__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; min-height: 64px; padding-block: 14px; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .9); }
.trustbar__list li { display: inline-flex; align-items: center; gap: 10px; }
.trustbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-soft); }

/* ---------- Form fields ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--sand-2); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236e655c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field select:invalid { color: #9a9087; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(196, 154, 69, .18); }
.field.is-invalid input, .field.is-invalid select { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .1); }
.form-success { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; background: #edf5ec; color: #2c5d2e; font-size: .92rem; font-weight: 500; }
.form-success .ic { margin-top: 3px; }
.form-success[hidden] { display: none; }
.js-form.is-sent .field, .js-form.is-sent .upload, .js-form.is-sent .form-row, .js-form.is-sent button[type=submit], .js-form.is-sent .quick-form__note { display: none; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__img-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.about__img-detail {
  position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius); border: 8px solid var(--bg); box-shadow: var(--shadow);
}
.about__badge {
  position: absolute; left: -14px; bottom: 22%;
  background: var(--gold); color: var(--ink); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
}
.about__badge strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 500; line-height: 1.05; }
.about__badge span { display: block; margin-top: 8px; font-size: .78rem; opacity: .85; }
.about__content h2 { margin-bottom: 24px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.feature { display: flex; gap: 16px; }
.feature__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--accent); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; font-size: 1.02rem; }
.feature p { font-size: .92rem; color: var(--muted); line-height: 1.55; }

/* ---------- Services ---------- */
.services { background: var(--sand); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(360px, auto); gap: 18px; }
.service {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--dark);
  color: #fff; display: flex; align-items: flex-end; isolation: isolate;
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 13, .05) 15%, rgba(20, 16, 13, .6) 45%, rgba(20, 16, 13, .95) 100%); }
.service:hover img { transform: scale(1.06); }
.service__body { padding: 26px; }
.service h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.service p { margin-top: 10px; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.service__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .86rem; font-weight: 600; color: #fff; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .45); transition: gap .3s var(--ease), border-color .3s; }
.service__btn:hover { gap: 14px; border-color: #fff; }
.service--lg { grid-column: span 2; grid-row: span 2; }
.service--lg h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.service--lg p { font-size: 1rem; max-width: 440px; }
.service--lg .service__body { padding: clamp(26px, 3vw, 40px); }
.service-cta {
  grid-column: span 2; border-radius: var(--radius-lg); background: var(--dark); color: #fff;
  padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.service-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.service-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 154, 69, .35), transparent 55%),
    linear-gradient(100deg, rgba(20, 16, 13, .92) 0%, rgba(20, 16, 13, .78) 45%, rgba(20, 16, 13, .45) 100%);
}
.service-cta:hover .service-cta__bg { transform: scale(1.05); }
.service-cta h3 { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; max-width: 24ch; }
.service-cta__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.link-light { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.link-light .ic { color: var(--accent-light); }

/* ---------- Process ---------- */
.process { background: var(--cream); border-block: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.process__aside .section-head__sub { max-width: 440px; }
.process__photo { position: relative; margin: 32px 0 28px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.process__photo img { width: 100%; height: 100%; object-fit: cover; }
.process__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.process__photo figcaption span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(251, 248, 243, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 600;
}
.process__photo figcaption .ic { color: var(--accent); }

.steps { position: relative; display: grid; gap: 6px; }
.steps::before { content: ""; position: absolute; left: 48px; top: 48px; bottom: 48px; width: 1px; background: var(--gold-soft); opacity: .7; }
.step {
  position: relative; z-index: 1; display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: center;
  padding: 16px 24px 16px 16px; border-radius: var(--radius);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.step__num {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--accent-2);
  font-family: var(--display); font-size: 1.4rem; font-weight: 400; color: var(--accent);
  transition: background .4s var(--ease), color .4s, border-color .4s, box-shadow .4s;
}
.step h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .95rem; max-width: 460px; }
@media (hover: hover) and (pointer: fine) {
  .step:hover { background: #fff; box-shadow: var(--shadow-sm); }
  .step:hover .step__num { background: var(--gold); border-color: transparent; color: var(--ink); box-shadow: 0 10px 22px -12px rgba(160, 120, 45, .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
}

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink-2); transition: all .25s var(--ease); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item {
  display: block; position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--sand);
  animation: fadeIn .5s var(--ease) both;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.g-item::after {
  content: ""; position: absolute; inset: 0; background: rgba(24, 19, 15, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 38px no-repeat;
  opacity: 0; transition: opacity .35s;
}
.g-item:hover img { transform: scale(1.04); }
.g-item:hover::after { opacity: 1; }
.g-item.is-hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gallery__more { display: flex; justify-content: center; margin-top: 24px; }
.gallery__more[hidden] { display: none; }

/* Before / After */
.ba, .videos { margin-top: clamp(64px, 8vw, 104px); }
.ba__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ba__head h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; letter-spacing: -.01em; }
.ba__head p { color: var(--muted); font-size: .92rem; }
.ba__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ba-item { margin: 0; }
.ba__nav { display: none; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }
.ba-item figcaption { margin-top: 14px; font-weight: 600; font-size: .95rem; }
.ba-slider { --pos: 50%; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); user-select: none; touch-action: pan-y; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba-slider__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; }
.ba-slider__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5' fill='none' stroke='%231e1a16' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.ba-slider input:focus-visible ~ .ba-slider__handle::after { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.ba-tag { position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(24, 19, 15, .6); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; }

/* Videos */
.videos__track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.video-card { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--dark); text-align: left; color: #fff; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 16, 13, .8)); }
.video-card:hover img { transform: scale(1.05); }
.video-card__play { position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(6px); transition: background .3s, transform .3s var(--ease); }
.video-card__play .ic { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .video-card__play { background: var(--gold); border-color: transparent; color: var(--ink); transform: translate(-50%, -50%) scale(1.06); }
.video-card__label { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-weight: 600; font-size: .9rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--cream); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.g-rating { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); font-size: .88rem; color: var(--muted); }
.g-rating__logo { width: 34px; height: 34px; color: var(--ink); }
.stars { display: flex; gap: 3px; color: #d39b2b; }
.stars svg { width: 18px; height: 18px; }
.slider { --per: 3; --gap: 20px; }
.slider__viewport { overflow: hidden; padding: 4px; margin: -4px; touch-action: pan-y; cursor: grab; }
.slider__viewport:active { cursor: grabbing; }
.slider__viewport:focus-visible { outline-offset: 6px; }
.slider__track { display: flex; gap: var(--gap); padding-bottom: 12px; transition: transform .7s var(--ease); will-change: transform; user-select: none; -webkit-user-select: none; }
.slider__track.is-dragging { transition: none; }
.slider__track > * { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.slider__arrow { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; transition: background .3s, border-color .3s, opacity .3s; }
.slider__arrow .ic { width: 20px; height: 20px; }
.slider__arrow:hover { background: var(--gold); border-color: transparent; }
.slider__arrow:disabled { opacity: .35; pointer-events: none; }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 8px; height: 8px; border-radius: 999px; background: var(--sand-2); transition: width .4s var(--ease), background .4s; }
.slider__dots button[aria-selected="true"] { width: 28px; background: var(--gold-soft); }
.review { margin: 0; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.review p { font-size: 1.02rem; line-height: 1.65; color: var(--ink-2); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.review footer strong { display: block; font-size: .95rem; }
.review footer small { color: var(--muted); font-size: .8rem; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--accent); font-weight: 700; }
.reviews__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }

/* ---------- Area ---------- */
.area__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: stretch; }
.area__content h2 { max-width: 20ch; }
.counties { margin: 36px 0 0; display: grid; }
.counties > div { display: grid; grid-template-columns: 190px 1fr; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.counties > div:first-child { border-top: 1px solid var(--line); }
.counties dt { font-weight: 700; font-size: .92rem; }
.counties dd { margin: 0; color: var(--muted); font-size: .94rem; }
.area__map { min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.area__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.35) sepia(.12) contrast(1.02); }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro a { color: var(--accent); font-weight: 600; }
.qa { border-bottom: 1px solid rgba(30, 26, 22, .16); }
.qa:first-child { border-top: 1px solid rgba(30, 26, 22, .16); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(30, 26, 22, .25);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231e1a16' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); background-color: #fff; }
.qa p { padding: 0 56px 26px 0; color: var(--ink-2); }
.qa p a { color: var(--accent); font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact__grid {
  display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
  background: #fff;
}
.contact__info {
  position: relative; padding: clamp(32px, 5vw, 64px); color: #fff; background: var(--dark);
  background-image: linear-gradient(180deg, rgba(34, 29, 25, .82), rgba(34, 29, 25, .94)), url("../img/shower-2/img-7342-sm.webp");
  background-size: cover; background-position: center;
}
.contact__info h2 { color: #fff; margin-bottom: 16px; }
.contact__info > p { color: rgba(255, 255, 255, .78); max-width: 380px; }
.contact__list { display: grid; gap: 18px; margin-top: 40px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; font-weight: 500; }
.contact__list .ic { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--accent-light); }
.contact__list a:hover { color: var(--accent-light); }
.socials { display: flex; gap: 10px; margin-top: 36px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); transition: background .25s, border-color .25s; }
.socials a:hover { background: var(--gold); border-color: transparent; color: var(--ink); }
.socials .ic { width: 18px; height: 18px; }

.contact__form { padding: clamp(28px, 5vw, 64px); display: grid; gap: 16px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.upload { position: relative; display: block; cursor: pointer; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload__box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px dashed var(--sand-2); border-radius: 10px; background: var(--cream); font-size: .9rem; color: var(--muted); transition: border-color .2s, background .2s; }
.upload__box svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.upload__box strong { color: var(--ink); }
.upload:hover .upload__box, .upload input:focus-visible + .upload__box { border-color: var(--accent-2); background: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #cfc4b7; padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 20px; max-width: 320px; font-size: .94rem; }
.footer .logo__text strong { color: #fff; }
.footer h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #8f8478; margin-bottom: 18px; font-weight: 600; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: .94rem; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: #8f8478; }

/* ---------- Fancybox theme ---------- */
.fancybox__container { --fancybox-bg: rgba(16, 13, 11, .95); --fancybox-accent-color: #c49a45; }
.fancybox__caption { font-family: var(--sans); font-size: .92rem; }
.fancybox__thumbs .f-thumbs__slide__button { border-radius: 8px; }
.with-fancybox .call-fab { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--line); }
  .videos__track { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .header__phone { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.3rem; font-weight: 400; }
  .nav a::after { display: none; }
  .nav__phone { display: inline-flex; align-items: center; gap: 10px; border-bottom: 0 !important; color: var(--accent); font-family: var(--sans) !important; font-size: 1.05rem !important; font-weight: 600 !important; margin-top: 8px; }

  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { max-width: 14ch; }
  .quick-form { max-width: 560px; }
  .trustbar__list { justify-content: flex-start; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(340px, auto); }
  .service--lg { grid-row: span 1; min-height: 460px; }

  .process__grid { grid-template-columns: 1fr; }
  .process__photo { max-width: 680px; }

  .ba__grid { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .ba__grid::-webkit-scrollbar { display: none; }
  .ba-item { scroll-snap-align: start; }

  .slider { --per: 2; --gap: 16px; }
  .area__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .area__map, .area__map iframe { min-height: 360px; }
}

@media (max-width: 760px) {
  .topbar__area { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 18px; }
  .header__cta .btn { display: none; }
  .logo__text strong { font-size: 1.3rem; }
  .logo__img { height: 46px; }

  .hero__bg { object-position: 50% 50%; }
  .hero__btns .btn { flex: 1 1 auto; }
  .trustbar__list { display: grid; grid-template-columns: 1fr 1fr; font-size: .82rem; }

  .features { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .service, .service--lg { min-height: 400px; grid-column: auto; }
  .service-cta { grid-column: auto; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-item { border-radius: 10px; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overflow-y: hidden; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }

  .ba__grid { grid-template-columns: repeat(3, 82%); scroll-padding-inline: var(--gutter); }
  .ba__nav { display: flex; }
  .videos__track { grid-template-columns: repeat(6, 46%); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .videos__track::-webkit-scrollbar { display: none; }
  .video-card { scroll-snap-align: start; }

  .review { padding: 26px; }
  .slider { --per: 1; }
  .slider__track > * { flex-basis: 88%; }
  .steps::before { left: 38px; top: 40px; bottom: 40px; }
  .step { grid-template-columns: 52px 1fr; gap: 16px; padding: 14px 12px; align-items: start; }
  .step__num { width: 52px; height: 52px; font-size: 1.15rem; }
  .counties > div { grid-template-columns: 1fr; }
  .qa p { padding-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact__grid { border-radius: var(--radius-lg); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

}

@media (max-width: 380px) {
  .topbar__links a[href^="mailto"] { display: none; }
}

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

/* ---------- Gold accents ---------- */
.gold-text {
  background: linear-gradient(100deg, #c49a45 0%, #f3dc98 45%, #d6b061 70%, #b8913f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Floating call button ---------- */
.call-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: var(--gold); background-size: 200% 200%;
  box-shadow: 0 14px 30px -10px rgba(140, 100, 36, .8), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .3s var(--ease);
}
.call-fab .ic { width: 26px; height: 26px; animation: fab-ring 2.4s ease-in-out infinite; }
.call-fab::before, .call-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  background: rgba(196, 154, 69, .55);
  animation: fab-pulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.call-fab::after { animation-delay: 1.2s; }
.call-fab:hover { transform: scale(1.07); }
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: .75; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes fab-ring {
  0%, 60%, 100% { transform: rotate(0); }
  64% { transform: rotate(-14deg); }
  70% { transform: rotate(12deg); }
  76% { transform: rotate(-10deg); }
  82% { transform: rotate(6deg); }
  88% { transform: rotate(0); }
}
@media (max-width: 760px) {
  .call-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .call-fab::before, .call-fab::after { display: none; }
}
