:root {
  --violet: #5424d6;
  --pink: #ff3cac;
  --amber: #ff9d00;
  --cyan: #00b8ff;
  --midnight: #15162f;
  --white: #ffffff;
  --muted: #4c4d6a;
  --line: #e6e3f2;
  --tint: #f6f4fc;
  --danger: #9f1239;
  --header-offset: 7.5rem;
  --display: "Barlow Condensed", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --gradient: linear-gradient(100deg, var(--amber) 0%, var(--pink) 52%, var(--cyan) 100%);
  --shadow: 0 18px 40px rgba(21, 22, 47, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--midnight);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color-scheme: light;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.form-success h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--midnight);
}

h1,
h2 {
  scroll-margin-top: var(--header-offset);
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 6.4vw, 5rem);
}

h2 {
  margin-bottom: 0.75rem;
  max-width: 16ch;
  font-size: clamp(2.15rem, 3.6vw, 2.8rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

p {
  color: var(--midnight);
}

a {
  color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  background: #e4d9ff;
  color: var(--midnight);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 20;
  transform: translateY(-120%);
  background: var(--midnight);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 0 0 10px 10px;
}

.skip:focus {
  transform: none;
}

.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;
}

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.lead {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
}

.stripes {
  display: inline-block;
  width: 46px;
  height: 22px;
  flex: 0 0 auto;
  background:
    linear-gradient(var(--pink), var(--pink)) 0 0 / 100% 5px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 0 9px / 74% 5px no-repeat,
    linear-gradient(90deg, var(--amber), var(--pink), var(--violet), var(--cyan)) 0 18px / 52% 5px no-repeat;
  transform: skewX(-18deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(21, 22, 47, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  width: 220px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--midnight);
  border-radius: 2px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.btn) {
  color: var(--midnight);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--violet);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-solid {
  background: var(--violet);
  color: var(--white);
}

.btn-solid:hover {
  background: #451db8;
  color: var(--white);
}

.btn-gradient {
  background: var(--gradient);
  color: var(--midnight);
  box-shadow: 0 10px 24px rgba(255, 60, 172, 0.22);
}

.btn-gradient:hover,
.btn-amber:hover {
  filter: saturate(1.05) brightness(1.03);
  color: var(--midnight);
}

.btn-amber {
  background: var(--amber);
  color: var(--midnight);
}

.btn-dark {
  background: var(--midnight);
  color: var(--white);
}

.btn-dark:hover {
  background: #2a2b4a;
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.2rem;
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.hero {
  padding: 4.5rem 0;
  background:
    linear-gradient(90deg, rgba(21, 22, 47, 0.78) 0%, rgba(21, 22, 47, 0.42) 46%, rgba(21, 22, 47, 0.12) 100%),
    url("../assets/warm.jpg") center 45% / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 28rem;
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 0.85rem;
  color: var(--white);
  font-size: clamp(3.2rem, 6.2vw, 5.1rem);
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 1.4rem;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
}

.hero-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  color: inherit;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot {
  display: none;
}

.hero-copy {
  text-shadow: 0 2px 18px rgba(21, 22, 47, 0.45);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.trust li {
  position: relative;
  padding-top: 0.85rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.trust li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 4px;
  border-radius: 99px;
  transform: translateX(-50%) skewX(-18deg);
}

.trust li:nth-child(1)::before { background: var(--amber); }
.trust li:nth-child(2)::before { background: var(--pink); }
.trust li:nth-child(3)::before { background: var(--violet); }
.trust li:nth-child(4)::before { background: var(--cyan); }

.section {
  padding: 5rem 0;
  scroll-margin-top: var(--header-offset);
}

.band {
  background: #f4f4f6;
}

.center {
  max-width: none;
  margin-bottom: 2.4rem;
  text-align: center;
}

.rule {
  display: block;
  width: 3.4rem;
  height: 4px;
  margin: 0.2rem 0 1.15rem;
  border-radius: 99px;
  background: var(--amber);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.split-top {
  align-items: start;
}

.frame {
  border-radius: 18px;
  overflow: hidden;
}

.frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.frame-natural img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.frame-tall {
  justify-self: center;
  width: min(100%, 22rem);
}

.shot.frame-tall img {
  aspect-ratio: 2 / 3;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center 12%;
}

.pains {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pains li {
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.closer {
  margin: 1rem 0 0;
  font-weight: 700;
}

.block-title {
  margin-bottom: 1.1rem;
  font-size: 1.45rem;
}

.features {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--midnight);
  color: var(--white);
}

.badge svg {
  width: 18px;
  height: 18px;
}

.estimate-bar {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.estimate-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.estimate-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.estimate-inner p {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1;
  text-transform: uppercase;
}

.place-grid,
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.reviews-grid figure {
  margin: 0;
  text-align: left;
}

.reviews-grid .shot {
  aspect-ratio: 16 / 10;
}

.reviews-grid .shot img {
  height: 100%;
  object-fit: cover;
}

.reviews-grid figcaption {
  margin: 0.85rem 0.1rem 0;
  color: var(--midnight);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.place-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.place-card h3,
.gallery figcaption {
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.place-card p {
  max-width: 34rem;
  margin: 0.9rem 0 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

.gallery figure {
  margin: 0;
  text-align: center;
}

.gallery figcaption {
  margin: 0.75rem 0 0;
}

.concept-note {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

#area .lead,
#work .lead,
#reviews .lead,
#difference .lead {
  margin-bottom: 1.4rem;
}

.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.towns li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-copy .stripes {
  margin-bottom: 0.85rem;
}

.next-steps {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.next-steps li {
  counter-increment: step;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.next-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}

.direct-contact {
  margin-top: 1.5rem;
}

.direct-label {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.direct-contact a,
.footer-contact a {
  font-weight: 700;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.field {
  margin: 0 0 0.9rem;
  padding: 0;
  border: 0;
  min-width: 0;
  scroll-margin-top: var(--header-offset);
}

.field label,
.field legend {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #d9d6e8;
  border-radius: 12px;
  background: var(--white);
  color: var(--midnight);
  font: inherit;
  font-size: 1rem;
}

.field input::placeholder {
  color: #8b8ca3;
}

.field input:focus {
  border-color: var(--violet);
  outline: none;
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 0;
  margin: 0.3rem 0 0;
  color: var(--danger);
  font-size: 0.9rem;
}

.field-error:empty {
  display: none;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border: 1.5px solid #d9d6e8;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}

.choice input:checked + span {
  border-color: var(--violet);
  background: #f3eeff;
  color: var(--violet);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

fieldset[aria-invalid="true"] .choice span {
  border-color: #e7b3c2;
}

.fine {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.form-success {
  padding: 1.5rem 0.5rem 1rem;
}

.form-success h3 {
  margin-bottom: 0.6rem;
  font-size: 2.4rem;
}

.form-success p {
  margin: 0;
  max-width: 32rem;
}

.site-footer {
  padding: 2.2rem 0 2.6rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo img {
  width: 180px;
}

.site-footer ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:not(.logo) {
  color: var(--midnight);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:not(.logo):hover {
  color: var(--violet);
}

.footer-meta p,
.footer-contact p {
  margin: 0 0 0.35rem;
}

#lightbox {
  width: fit-content;
  max-width: calc(100vw - 2rem);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

#lightbox::backdrop {
  background: rgba(21, 22, 47, 0.84);
}

#lightbox img {
  display: block;
  width: min(960px, 92vw);
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 16px;
  background: var(--midnight);
}

#lightbox p {
  margin: 0.8rem 0 0;
  color: var(--white);
  text-align: center;
}

.lightbox-close {
  display: block;
  margin: 0 0 0.7rem auto;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--midnight);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 980px) {
  .split,
  .contact-layout,
  .footer-grid,
  .place-grid {
    grid-template-columns: 1fr;
  }

  .gallery,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 3.2rem 0;
  }

  .hero-grid {
    min-height: 22rem;
  }

  .footer-logo img,
  .logo img {
    width: 180px;
  }
}

@media (max-width: 1040px) {
  .wrap {
    width: min(1200px, calc(100% - 32px));
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav,
  .site-nav.is-open {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    position: absolute;
    z-index: 12;
    top: 100%;
    left: 0;
    right: 0;
    gap: 0.25rem;
    padding: 0.4rem 1.25rem 1.1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(21, 22, 47, 0.08);
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .site-nav .btn {
    margin-top: 0.4rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .estimate-inner {
    flex-wrap: wrap;
    text-align: center;
  }
}

@media (max-width: 640px) {
  h2 {
    max-width: none;
  }

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

@media (min-width: 1041px) {
  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-gradient:hover,
  .btn-amber:hover {
    filter: none;
  }
}
