:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  --paper: #faf9f5;
  --paper-light: #fbf8f0;
  --paper-dark: #ebe6dc;
  --surface: #fffdf8;
  --surface-soft: #fbf8f0;
  --ink: #141413;
  --ink-soft: #2d2b28;
  --muted: #8c8678;
  --muted-strong: #5f594f;
  --terracotta: #b03838;
  --terracotta-text: #98302f;
  --gold: #dcc676;
  --success: #5b7a4d;
  --error: #a83232;
  --line: rgba(20, 20, 19, 0.11);
  --line-strong: rgba(20, 20, 19, 0.18);
  --shadow-sm: 0 8px 22px rgba(20, 20, 19, 0.055);
  --shadow-md: 0 18px 48px rgba(20, 20, 19, 0.085);
  --shadow-lg: 0 26px 70px rgba(20, 20, 19, 0.13);
  --container: 1160px;
  --header-height: 66px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-card: 16px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--paper);
  background: var(--terracotta);
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

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

ul {
  margin: 0;
  padding: 0;
}

::placeholder {
  color: rgba(95, 89, 79, 0.62);
}

:focus-visible {
  outline: 3px solid rgba(176, 56, 56, 0.24);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-sm);
  transform: translateY(-140%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section-pad {
  padding: 64px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(158px, auto) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px max(24px, calc((100vw - var(--container)) / 2));
  color: var(--ink);
  background: rgba(250, 249, 245, 0.84);
  border-bottom: 1px solid rgba(20, 20, 19, 0.07);
  backdrop-filter: blur(20px) saturate(1.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
  transition:
    background 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.site-header[data-elevated="true"] {
  background: rgba(250, 249, 245, 0.94);
  border-color: rgba(20, 20, 19, 0.12);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-grid;
  width: fit-content;
  gap: 1px;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-word,
.brand-payoff,
.eyebrow,
.section-kicker,
.service-pill span,
.offer-note,
.package-price span:last-child {
  letter-spacing: 0;
}

.brand-word {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
}

.brand-payoff {
  color: var(--terracotta-text);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  color: var(--muted-strong);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--ink);
  background: var(--paper-light);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}

.header-cta {
  justify-self: end;
  min-height: 38px;
  padding: 0 18px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(20, 20, 19, 0.18);
  box-shadow: 0 12px 24px rgba(176, 56, 56, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--terracotta);
  box-shadow: 0 14px 30px rgba(176, 56, 56, 0.22);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100svh - 96px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 42px) 0 54px;
  background: var(--paper);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 18%;
  background: linear-gradient(180deg, rgba(250, 249, 245, 0), var(--paper));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(1.02) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(250, 249, 245, 0.98) 28%, rgba(250, 249, 245, 0.72) 45%, rgba(250, 249, 245, 0.18) 67%, rgba(250, 249, 245, 0) 100%),
    linear-gradient(180deg, rgba(250, 249, 245, 0.48) 0%, rgba(250, 249, 245, 0) 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  justify-items: start;
  max-width: var(--container);
}

.eyebrow,
.section-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-intro h2,
.plain-content h1,
.plain-content h2 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero h1 {
  max-width: 690px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 66px;
  font-weight: 780;
  line-height: 0.99;
}

.hero h1 em,
.section-heading h2 em,
.contact-intro h2 em {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 650;
}

.hero-copy {
  max-width: 520px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.hero-offer {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 2px 14px;
  margin-top: 28px;
  padding: 14px 18px 15px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.old-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.new-price,
.package-price strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.92;
}

.offer-note {
  grid-column: 1 / -1;
  color: var(--terracotta-text);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 720;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(20, 20, 19, 0.18);
  box-shadow: 0 14px 30px rgba(176, 56, 56, 0.12);
}

.button-primary:hover {
  background: var(--terracotta);
  box-shadow: 0 16px 34px rgba(176, 56, 56, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  background: var(--surface);
  border-color: rgba(176, 56, 56, 0.28);
}

.button-secondary.light {
  background: var(--surface);
}

.button.full {
  width: 100%;
}

#zone,
#come-funziona,
#foto,
#pacchetto,
#faq,
#contatti {
  scroll-margin-top: 88px;
}

.next-hint {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.next-hint::after {
  content: "";
  width: 52px;
  height: 1px;
  background: rgba(176, 56, 56, 0.42);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.contact-intro h2 {
  margin-top: 12px;
  color: var(--ink);
  font-size: 46px;
  font-weight: 760;
  line-height: 1.06;
}

.section-heading p:not(.section-kicker),
.contact-intro p {
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.68;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}

.spotlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 56, 56, 0.22);
  box-shadow: var(--shadow-lg);
}

.panel-note {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.62;
}

.service-strip {
  position: relative;
  z-index: 2;
  padding: 30px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-pill {
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-top: 3px solid rgba(176, 56, 56, 0.72);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    border-color 180ms var(--ease);
}

.service-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 56, 56, 0.26);
  box-shadow: var(--shadow-md);
}

.service-pill span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  text-transform: uppercase;
}

.service-pill strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 760;
  line-height: 1.1;
}

.service-pill p {
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.45;
}

.service-pill s {
  color: var(--muted);
  font-size: 14px;
}

.flow-section {
  background: var(--paper-light);
  border-bottom: 1px solid var(--line);
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(520px, 1fr);
  gap: 58px;
  align-items: start;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.flow-step span {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--terracotta-text);
  background: var(--paper-light);
  border: 1px solid rgba(176, 56, 56, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 780;
}

.flow-step strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 760;
  line-height: 1.06;
}

.flow-step p {
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
}

.gallery-section {
  padding: 72px 0 0;
  background: var(--paper);
}

.gallery-section > .container {
  width: 100%;
  max-width: none;
}

.gallery-section .section-heading {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-heading.compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  max-width: var(--container);
  margin-bottom: 30px;
}

.section-heading.compact .section-kicker {
  grid-column: 1 / -1;
}

.section-heading.compact h2 {
  margin: 0;
}

.photo-story {
  display: grid;
  gap: 18px;
}

.photo-panel {
  position: relative;
  min-height: clamp(560px, 82svh, 760px);
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-block: 1px solid rgba(20, 20, 19, 0.08);
  box-shadow: 0 24px 80px rgba(20, 20, 19, 0.11);
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 20, 19, 0.08), rgba(20, 20, 19, 0) 44%),
    linear-gradient(180deg, rgba(20, 20, 19, 0) 48%, rgba(20, 20, 19, 0.22) 100%);
  pointer-events: none;
}

.photo-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 700ms var(--ease),
    filter 700ms var(--ease);
}

.photo-panel:hover img {
  transform: scale(1.018);
  filter: saturate(1.04) contrast(1.02);
}

.photo-panel-main img {
  object-position: 70% center;
}

.photo-panel-rear img {
  object-position: center center;
}

.photo-panel-interior img {
  object-position: 58% center;
}

.photo-panel-side img {
  object-position: center center;
}

.photo-panel figcaption {
  position: absolute;
  inset: auto auto 32px max(24px, calc((100vw - var(--container)) / 2));
  z-index: 2;
  width: min(430px, calc(100% - 48px));
  display: grid;
  gap: 7px;
  padding: 20px 22px;
  color: var(--ink-soft);
  background: rgba(250, 249, 245, 0.88);
  border: 1px solid rgba(255, 253, 248, 0.44);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 70px rgba(20, 20, 19, 0.16);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.photo-panel figcaption span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  text-transform: uppercase;
}

.photo-panel figcaption strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 760;
  line-height: 1.05;
}

.photo-panel figcaption p {
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.package-section {
  background: var(--paper-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.package-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 64px;
  align-items: start;
}

.package-panel {
  padding: 28px;
}

.package-price {
  display: grid;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.package-price span:last-child {
  color: var(--terracotta-text);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.zone-line {
  margin-top: 22px;
  padding: 14px 16px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.5;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 14px;
  height: 8px;
  border-bottom: 2px solid var(--terracotta);
  border-left: 2px solid var(--terracotta);
  transform: translateY(-50%) rotate(-45deg);
}

.panel-note {
  margin: 24px 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(420px, 0.82fr);
  gap: 64px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 18px 50px 18px 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.28;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(20, 20, 19, 0.62);
  border-bottom: 2px solid rgba(20, 20, 19, 0.62);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms var(--ease);
}

.faq-list details[open] summary::after {
  transform: translateY(3px) rotate(225deg);
}

.faq-list p {
  margin: -4px 20px 20px;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.7;
}

.contact-section {
  background: var(--paper-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.82fr);
  gap: 64px;
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.contact-intro p:not(.section-kicker) {
  margin-top: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 720;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.9);
  font-size: 15px;
  font-weight: 480;
  transition:
    border-color 160ms var(--ease),
    box-shadow 160ms var(--ease),
    background 160ms var(--ease);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: rgba(176, 56, 56, 0.56);
  box-shadow: 0 0 0 4px rgba(176, 56, 56, 0.1);
}

.privacy-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted-strong);
  font-weight: 560;
  line-height: 1.45;
}

.privacy-row input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  margin-top: 2px;
  background: transparent;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  accent-color: var(--terracotta);
}

.privacy-row a {
  color: var(--terracotta-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 24px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 650;
}

.form-status[data-type="success"] {
  color: var(--success);
}

.form-status[data-type="error"] {
  color: var(--error);
}

.button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.site-footer {
  padding: 58px 0 30px;
  color: rgba(250, 249, 245, 0.78);
  background:
    linear-gradient(135deg, rgba(176, 56, 56, 0.16), rgba(20, 20, 19, 0) 42%),
    var(--ink);
  border-top: 1px solid rgba(20, 20, 19, 0.18);
  font-size: 14px;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.44fr) auto;
  align-items: start;
  gap: 34px;
}

.footer-brand {
  display: grid;
  gap: 8px;
  max-width: 540px;
}

.footer-logo {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  line-height: 0.92;
}

.footer-brand p {
  color: rgba(250, 249, 245, 0.76);
  font-size: 15px;
  line-height: 1.55;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact span {
  color: rgba(250, 249, 245, 0.5);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.footer-layout a:not(.button) {
  color: var(--paper);
  font-weight: 650;
}

.footer-action {
  justify-self: end;
}

.footer-action .button-primary {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(176, 56, 56, 0.18);
}

.footer-action .button-primary:hover {
  color: var(--paper);
  background: var(--terracotta);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  margin-top: 18px;
  border-top: 1px solid rgba(250, 249, 245, 0.12);
  color: rgba(250, 249, 245, 0.52);
}

.mobile-sticky {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 650ms var(--ease),
    transform 650ms var(--ease);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.plain-page {
  min-height: 100vh;
  background: var(--paper);
}

.plain-content {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
  padding: 84px 0;
}

.plain-content h1 {
  margin: 12px 0 18px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 760;
  line-height: 1.1;
}

.plain-content h2 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 740;
}

.plain-content p,
.plain-content li {
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.72;
}

.plain-content .button {
  margin-top: 30px;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(170px, auto) 1fr auto;
    padding-inline: 22px;
  }

  .desktop-nav a {
    padding-inline: 10px;
  }

  .hero h1 {
    max-width: 590px;
    font-size: 56px;
  }

  .hero-copy {
    max-width: 440px;
  }

  .package-layout,
  .faq-layout,
  .contact-layout,
  .flow-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: auto;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 58px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section-pad {
    padding: 50px 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: var(--header-height);
    padding: 10px 16px;
  }

  .brand-word {
    font-size: 23px;
  }

  .brand-payoff {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 15px;
    font-size: 13px;
    box-shadow: none;
  }

  .hero {
    min-height: 690px;
    align-items: start;
    padding: calc(var(--header-height) + 26px) 0 42px;
  }

  .hero::after {
    height: 12%;
  }

  .hero-media img {
    object-position: center bottom;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, var(--paper) 0%, rgba(250, 249, 245, 0.98) 30%, rgba(250, 249, 245, 0.62) 51%, rgba(250, 249, 245, 0.12) 74%, rgba(250, 249, 245, 0) 100%),
      linear-gradient(90deg, rgba(250, 249, 245, 0.72), rgba(250, 249, 245, 0));
  }

  .hero h1 {
    max-width: 360px;
    margin-top: 14px;
    font-size: 38px;
    line-height: 1.04;
  }

  .hero-copy {
    max-width: 335px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.52;
  }

  .hero-offer {
    margin-top: 20px;
    padding: 12px 14px;
    gap: 2px 10px;
  }

  .new-price,
  .package-price strong {
    font-size: 34px;
  }

  .hero-actions {
    width: min(100%, 360px);
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .next-hint {
    display: none;
  }

  .section-heading h2,
  .contact-intro h2,
  .plain-content h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .section-heading p:not(.section-kicker),
  .contact-intro p {
    font-size: 16px;
    line-height: 1.62;
  }

  .service-strip {
    padding: 18px 0;
  }

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

  .service-pill {
    min-height: 132px;
    padding: 15px;
  }

  .service-pill strong {
    font-size: 18px;
  }

  .service-pill p {
    font-size: 13px;
  }

  .flow-section {
    padding-block: 46px;
  }

  .flow-layout {
    gap: 24px;
  }

  .flow-step {
    padding: 18px;
    gap: 10px;
  }

  .flow-step strong {
    font-size: 21px;
  }

  .gallery-section {
    padding: 50px 0 0;
  }

  .section-heading.compact {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading.compact h2 {
    margin-top: 12px;
  }

  .photo-story {
    gap: 32px;
  }

  .photo-panel {
    width: min(calc(100% - 32px), 560px);
    min-height: auto;
    margin-inline: auto;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .photo-panel::after {
    display: none;
  }

  .photo-panel img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid rgba(20, 20, 19, 0.08);
    border-radius: var(--radius-card);
    box-shadow: 0 18px 46px rgba(20, 20, 19, 0.11);
  }

  .photo-panel:hover img {
    transform: none;
    filter: none;
  }

  .photo-panel-main img {
    object-position: 68% center;
  }

  .photo-panel-rear img {
    aspect-ratio: 4 / 3;
    object-position: 54% center;
  }

  .photo-panel-interior img {
    object-position: 54% center;
  }

  .photo-panel-side img {
    aspect-ratio: 4 / 3;
    object-position: 56% center;
  }

  .photo-panel figcaption {
    position: relative;
    inset: auto;
    z-index: auto;
    width: auto;
    margin-top: 12px;
    padding: 0 2px 0 13px;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-left: 2px solid var(--terracotta);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .photo-panel figcaption span {
    color: var(--terracotta-text);
  }

  .photo-panel figcaption strong {
    font-size: 22px;
  }

  .photo-panel figcaption p {
    font-size: 14px;
    line-height: 1.5;
  }

  .package-panel,
  .contact-form {
    padding: 20px;
  }

  .faq-list summary {
    min-height: 56px;
    padding: 16px 46px 16px 16px;
    font-size: 15px;
  }

  .faq-list summary::after {
    right: 18px;
  }

  .faq-list p {
    margin: -4px 16px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions,
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contact-actions .button,
  .hero-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-action {
    justify-self: stretch;
  }

  .footer-action .button {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
    margin-top: 4px;
  }

  .mobile-sticky {
    position: fixed;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 120;
    width: min(calc(100% - 24px), 248px);
    display: grid;
    grid-template-columns: 0.88fr 1fr;
    gap: 5px;
    padding: 5px;
    background: rgba(250, 249, 245, 0.9);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    box-shadow: 0 16px 44px rgba(20, 20, 19, 0.16);
    backdrop-filter: blur(20px) saturate(1.16);
    -webkit-backdrop-filter: blur(20px) saturate(1.16);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 18px, 0);
    transition:
      opacity 220ms var(--ease),
      transform 220ms var(--ease);
  }

  .mobile-sticky[data-visible="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .sticky-label {
    display: none;
  }

  .mobile-sticky a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 760;
  }

  .site-footer {
    padding-bottom: 104px;
  }

  .mobile-sticky a:first-of-type {
    color: var(--ink);
    background: rgba(255, 253, 248, 0.82);
    border: 1px solid var(--line);
  }

  .mobile-sticky a:last-of-type {
    color: var(--paper);
    background: var(--ink);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    min-height: 640px;
    padding-top: calc(var(--header-height) + 20px);
  }

  .hero h1 {
    max-width: 342px;
    font-size: 34px;
  }

  .hero-copy {
    max-width: 315px;
    font-size: 14px;
  }

  .hero-offer {
    max-width: 286px;
    margin-top: 16px;
  }

  .button {
    min-height: 46px;
    font-size: 14px;
  }

  .section-heading h2,
  .contact-intro h2,
  .plain-content h1 {
    font-size: 29px;
  }

  .section-pad {
    padding-block: 42px;
  }

  .gallery-section {
    padding-block: 42px 0;
  }

  .photo-panel {
    width: min(calc(100% - 28px), 520px);
  }

  .photo-story {
    gap: 28px;
  }

  .photo-panel figcaption {
    padding-left: 12px;
  }

  .photo-panel figcaption strong {
    font-size: 21px;
  }

  .service-strip-grid {
    grid-template-columns: 1fr;
  }

  .service-pill {
    min-height: auto;
    padding: 14px;
  }

  .service-pill span {
    font-size: 11px;
  }

  .service-pill strong {
    font-size: 17px;
  }

  .flow-section {
    padding-block: 42px;
  }

  .flow-step span {
    width: 38px;
    height: 38px;
  }

  .contact-actions,
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .contact-form {
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
