@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;700;800&display=swap');

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 0; list-style: none; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0; }

/* ---------- Design tokens ---------- */
:root {
  /* Primary — cyan, used for header bar, primary buttons, service titles, FAQ "+" icons */
  --color-primary: #34bcf2;
  --color-primary-hover: #1aa6dc;
  --color-primary-light: rgba(52, 188, 242, 0.12);
  --color-primary-contrast: #ffffff;
  /* Accent — terracotta, used for eyebrows, thin section separators, page rules */
  --color-accent: hsl(14, 70%, 57%);
  --color-accent-hover: hsl(14, 70%, 50%);
  --color-text: #141414;
  --color-text-soft: #555;
  --color-text-muted: #888;
  --color-bg: #fbfaf9;
  --color-bg-soft: #f4f3f1;
  --color-border: #e6e4e0;

  --font-display: 'Unbounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Unbounded', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --container-max: 1200px;
  --container-pad: 16px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);

  --header-h: 64px;

  --transition: 0.2s ease;
}

@media (min-width: 768px) {
  :root { --container-pad: 24px; --header-h: 72px; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }

.section { padding-block: 48px; }
@media (min-width: 768px) { .section { padding-block: 72px; } }
@media (min-width: 1024px) { .section { padding-block: 96px; } }

.section--soft { background: var(--color-bg-soft); }
/* Tight section variant — used for the about block which sits between separators */
.section--tight { padding-block: 30px 40px; }
@media (min-width: 768px) { .section--tight { padding-block: 30px 48px; } }

/* Thin terracotta separator — appears between major sections in the original design */
.section-separator {
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}
.section-separator--inset { max-width: var(--container-max); margin-inline: auto; }

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

/* Section titles in original are surprisingly small (14-27px) compared to typical "page-title" sizing */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.section-title--small { font-size: 14px; }
.section-title--medium { font-size: 27px; }
.section-title--large { font-size: 36px; }

.section-lead {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
  color: var(--color-text-soft);
  max-width: 70ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: var(--color-primary);
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { background: var(--color-primary-hover); }
.btn:active { transform: translateY(1px); }
/* ---------- Header (cyan bar) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-primary);
  color: #ffffff;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.site-logo { display: inline-flex; align-items: center; }
.site-logo picture, .site-logo img { display: block; max-width: 180px; height: auto; }
.site-logo:hover { opacity: 0.85; }

.site-nav { display: none; }
.site-nav__list { display: flex; gap: 36px; align-items: center; }
.site-nav__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: #fbfaf9;
  transition: color var(--transition);
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--color-accent); }

.site-header__cta { display: none; align-items: center; gap: 24px; }
.site-header__phone, .site-header__hours {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: #fbfaf9;
  white-space: nowrap;
  transition: color var(--transition);
}
.site-header__phone:hover { color: var(--color-accent); }

.burger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.burger:hover { background: rgba(255,255,255,0.15); }
.burger__lines { position: relative; width: 22px; height: 14px; }
.burger__lines span, .burger__lines::before, .burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fbfaf9;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.burger__lines::before { top: 0; }
.burger__lines span { top: 6px; }
.burger__lines::after { top: 12px; }
[aria-expanded="true"] .burger__lines::before { top: 6px; transform: rotate(45deg); }
[aria-expanded="true"] .burger__lines span { opacity: 0; }
[aria-expanded="true"] .burger__lines::after { top: 6px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .site-nav { display: block; }
  .burger { display: none; }
  .site-header__cta { display: inline-flex; align-items: center; gap: 16px; }
}

/* Mobile drawer — extends the cyan header downward */
.site-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--color-primary);
  padding: 24px var(--container-pad) 32px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  z-index: 40;
  overflow-y: auto;
  max-height: calc(100vh - var(--header-h));
  color: #fff;
}
.site-drawer[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}
.site-drawer__list, .site-drawer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}
.site-drawer__link, .site-drawer__contacts a, .site-drawer__contacts > div {
  display: block;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: #fbfaf9;
  text-decoration: none;
  border: 0;
}
.site-drawer__link:hover, .site-drawer__contacts a:hover { color: var(--color-accent); }
.site-drawer__contacts { margin-top: 0; }
@media (min-width: 1024px) { .site-drawer { display: none; } }

/* ---------- Hero (full-viewport with bg video, left-aligned text) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: 64px;
  background: #2a2a2a;
  overflow: hidden;
  text-align: left;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg picture, .hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero__content { position: relative; z-index: 1; color: #fff; width: 100%; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw + 1.6rem, 5.625rem); /* mobile 38px → desktop 90px */
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: #fff;
}
@media (min-width: 1280px) { .hero__title { font-size: 90px; } }
.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.7);
}
.hero .btn {
  /* Original button: 192×39px, padding 8px 35px, font 15px, border-radius 50px */
  padding: 8px 35px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- About / single-column text block ---------- */
.prose {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: normal;
}
.prose p + p { margin-top: 1em; }
.prose strong { font-weight: 700; }

/* ---------- Catalog (vertical text list) — matches original layout (each item ≈ 10px 0 14px) ---------- */
.service-list { display: flex; flex-direction: column; }
.service-list > .service-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 0 14px;
  flex-direction: column;
  gap: 0;
  transform: none !important;
  box-shadow: none !important;
}
.service-list > .service-card:hover { background: transparent; }
.service-list > .service-card .service-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
}
.service-list > .service-card .service-card__title a {
  color: var(--color-primary);
  text-decoration: none;
}
.service-list > .service-card .service-card__more {
  display: inline-block;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--color-primary);
}
.service-list > .service-card .service-card__more::after { content: none; }
.service-list > .service-card .service-card__title a:hover,
.service-list > .service-card .service-card__more:hover {
  color: #2fc6f6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-list > .service-card .service-card__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text);
  text-transform: none;
  max-width: none;
  margin: 6px 0 0;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  aspect-ratio: 1;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

/* ---------- Price block (inside the toggle body) ---------- */
.price-section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text);
  margin: 0 0 8px;
}
.price-section-heading + .price-notes,
.price-section-heading + .price-list,
.price-section-heading + .price-howto { margin-top: 0; }

.price-toggle__body .price-section-heading:not(:first-child) { margin-top: 24px; }

.price-list { list-style: disc; padding-left: 20px; margin: 0; }
.price-list__item {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
}
.price-list__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  color: var(--color-text);
}
.price-list__name a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.price-list__name a:hover { color: var(--color-primary); }
.price-list__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
  margin: 8px 0 0 8px;
}

.price-notes { list-style: disc; padding-left: 20px; margin: 0; font-size: 14px; color: var(--color-text); }
.price-notes li { padding: 2px 0; line-height: 1.5; }

.price-howto { list-style: decimal; padding-left: 20px; margin: 0; font-size: 14px; color: var(--color-text); }
.price-howto li { padding: 2px 0; line-height: 1.5; }

/* ---------- FAQ accordion ---------- */
.faq-title { margin-bottom: 7px; text-align: left; }
.faq { display: flex; flex-direction: column; gap: 0; }
.faq__item {
  border-bottom: 1px solid #dbdbdb;
  padding: 10px 0;
}
.faq__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--color-text);
  text-transform: none;
}
@media (hover: hover) {
  .faq__trigger:hover { color: var(--color-primary); }
}
/* After tap on mobile, blur the trigger so :focus highlight doesn't linger when collapsed */
.faq__trigger:focus { outline: none; }
.faq__trigger:focus-visible { outline: 2px solid var(--color-primary-light); outline-offset: 2px; }
.faq__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq__trigger[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--color-primary); color: #fff; }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.faq__trigger[aria-expanded="true"] + .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; }
.faq__answer-inner > div { padding: 0; margin: 25px 0; color: var(--color-text); font-size: 16px; line-height: 1.6; }

/* ---------- Footer (light, 3 columns) ---------- */
.site-footer {
  background: var(--color-bg);
  color: var(--color-text);
  margin-top: 0;
}
.site-footer__main { padding-block: 30px 0; }
.site-footer a { color: var(--color-primary); text-decoration: none; }
.site-footer a:hover { color: var(--color-primary-hover); }

.site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 40px; } }

.site-footer__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: normal;
  color: var(--color-text);
  margin: 0 0 20px;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-text);
  margin: 0 0 20px;
}
.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-style: normal;
  font-size: 14px;
  color: var(--color-text);
}
.site-footer__row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.site-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--color-text);
}
.site-footer__icon svg { width: 100%; height: 100%; display: block; }

.site-footer__list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.site-footer__list a { font-family: var(--font-display); font-weight: 400; }

/* Subfooter — separate band below the main footer */
.site-subfooter {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  margin-top: 30px;
  padding-block: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-align: center;
}
.site-subfooter .container { display: flex; align-items: center; justify-content: center; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; border-radius: var(--radius-md); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.2); }
.lightbox__close { top: 20px; right: 20px; transform: none; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
@media (max-width: 640px) {
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
}

/* ---------- Features (3 columns) ---------- */
#features { padding-top: 0; }
.services--features {
  gap: 32px;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services--features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 0 8px; }
.feature__icon {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.feature__icon svg { width: 100%; height: 100%; display: block; }
.feature__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin-bottom: 15px;
  line-height: 1.4;
}
.feature__text {
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* ---------- Price hero block (photo bg + expandable card) ---------- */
.price-hero {
  position: relative;
  padding-block: 96px;
  overflow: hidden;
  isolation: isolate;
}
.price-hero__bg { position: absolute; inset: 0; z-index: -1; }
.price-hero__bg picture, .price-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.price-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.25); }
.price-hero__content { position: relative; text-align: center; color: #fff; }
.price-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.25rem); /* ≈ 36px on desktop */
  text-transform: uppercase;
  margin-bottom: 32px;
}
.price-toggle {
  background: #fff;
  border-radius: 10px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.price-toggle > summary {
  list-style: none;
  cursor: pointer;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: normal;
  color: var(--color-text);
}
.price-toggle > summary::-webkit-details-marker { display: none; }
.price-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: rgb(131, 136, 142);
  transition: transform 0.25s ease;
}
.price-toggle__icon svg { width: 100%; height: 100%; display: block; }
.price-toggle[open] .price-toggle__icon { transform: rotate(180deg); }
.price-toggle__body { padding: 0 30px 30px; text-align: left; }

/* ---------- Subpage video block ---------- */
.page-videos { padding-block: 16px; }
.page-video {
  margin: 0 0 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
}
.page-video:last-child { margin-bottom: 0; }
.page-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Subpage head ---------- */
.page-head { padding-block: 56px 24px; }
.page-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.page-head__rule {
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 20px;
}
.page-head__lead {
  font-size: 1rem;
  color: var(--color-text-soft);
  max-width: 80ch;
  line-height: 1.65;
}

/* ---------- Privacy doc styling ---------- */
/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-scroll { overflow: hidden; }

/* Skip anchor offset for sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
