/* Auto Sanctuary — sand / black / white design system */

:root {
    --sand: #c4b098;
    --sand-light: #ded1c0;
    --sand-pale: #f4efe8;
    --sand-dark: #a8927a;
    --black: #0b0b0b;
    --ink: #f3f3f3;
    --ink-soft: rgba(255, 255, 255, 0.72);
    --grey: rgba(255, 255, 255, 0.5);
    --line: rgba(196, 176, 152, 0.2);
    --line-dark: rgba(196, 176, 152, 0.28);
    --white: #ffffff;
    --off-white: #1c1c1c;
    --surface: #1c1c1c;

    --font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --radius: 4px;
    --radius-lg: 10px;
    --shadow: 0 24px 60px -28px rgba(11, 11, 11, 0.35);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 1rem;
    color: var(--white);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

h4 {
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1.15rem;
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    background: var(--sand);
    color: var(--black);
}

:focus-visible {
    outline: 2px solid var(--sand-dark);
    outline-offset: 3px;
}

/* ---------- Layout primitives ---------- */

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.wrap--narrow {
    max-width: 860px;
}

.section {
    padding-block: clamp(4rem, 9vw, 7.5rem);
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--sand), transparent);
    pointer-events: none;
}

.section--tight {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.section--sand {
    background: var(--black);
}

.section--dark {
    background: var(--black);
    color: var(--sand-pale);
}

.section--dark h2,
.section--dark h3 {
    color: var(--white);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--black);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    z-index: 999;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

/* ---------- Type helpers ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sand);
    margin: 0 0 1.1rem;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--sand);
}

.section--dark .eyebrow {
    color: var(--sand);
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 62ch;
}

.section--dark .lead {
    color: rgba(244, 239, 232, 0.78);
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head--center .eyebrow {
    justify-content: center;
}

.prose p {
    color: var(--ink-soft);
    max-width: 68ch;
}

.section--dark .prose p {
    color: rgba(244, 239, 232, 0.78);
}

.note {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--grey);
    max-width: 78ch;
}

.section--dark .note {
    color: rgba(244, 239, 232, 0.55);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.9rem;
    border: 1px solid transparent;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--sand);
    color: var(--black);
}

.btn--primary:hover {
    background: var(--sand-light);
}

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

.btn--dark:hover {
    background: var(--sand);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn--outline {
    border-color: var(--sand);
    color: var(--white);
}

.btn--outline:hover {
    border-color: var(--sand);
    background: var(--sand);
    color: var(--black);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sand);
}

.text-link svg {
    transition: transform 0.3s var(--ease);
}

.text-link:hover svg {
    transform: translateX(4px);
}

/* ---------- Header ---------- */

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
    border-bottom: 1px solid transparent;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 84px;
}

.header--solid,
.header--fixed {
    background: rgba(11, 11, 11, 0.86);
    backdrop-filter: blur(18px);
    border-bottom-color: var(--line-dark);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--white);
    text-transform: uppercase;
}

.logo__sub {
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sand);
}

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

.nav__item {
    position: relative;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.82);
    border-radius: var(--radius);
    transition: color 0.25s;
    white-space: nowrap;
}

.nav__link:hover,
.nav__item--active > .nav__link {
    color: var(--sand);
}

.nav__link svg {
    transition: transform 0.3s var(--ease);
}

.nav__item:hover .nav__link svg {
    transform: rotate(180deg);
}

.nav__sub {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 270px;
    background: rgba(15, 15, 15, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    box-shadow: var(--shadow);
}

.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__sub a {
    display: block;
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius);
    transition: background-color 0.25s, color 0.25s;
}

.nav__sub a:hover,
.nav__sub a[aria-current='page'] {
    background: rgba(196, 176, 152, 0.14);
    color: var(--sand);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
}

.header__phone:hover {
    color: var(--sand);
}

.header .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.76rem;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--white);
}

.nav-toggle span {
    position: relative;
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease), background-color 0.3s;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
}

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

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

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

.nav-toggle[aria-expanded='true'] span::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: min(94vh, 900px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    padding-block: 9rem 4.5rem;
}

.hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A 16:9 iframe sized so it always covers the viewport, like object-fit: cover. */
.hero__frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(11, 11, 11, 0.92) 0%, rgba(11, 11, 11, 0.35) 45%, rgba(11, 11, 11, 0.55) 100%);
}

.hero__scrim::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--black);
    opacity: calc(var(--overlay, 55) / 100);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero__intro {
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 56ch;
}

.hero .eyebrow {
    color: var(--sand);
}

.hero__scroll {
    position: absolute;
    right: var(--gutter);
    bottom: 4.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    writing-mode: vertical-rl;
}

.hero__scroll::after {
    content: '';
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--sand), transparent);
    animation: scroll-pulse 2.4s var(--ease) infinite;
}

@keyframes scroll-pulse {
    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.hero--compact {
    min-height: auto;
    padding-block: 11rem 5rem;
    align-items: center;
}

.hero--compact h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.hero--compact .hero__media img {
    opacity: 0.75;
}

/* ---------- Stat strip ---------- */

.stats {
    background: var(--black);
    color: var(--sand-pale);
    border-block: 1px solid var(--line-dark);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
    padding: clamp(1.75rem, 4vw, 2.75rem) 1.5rem;
    border-right: 1px solid var(--line-dark);
    text-align: center;
}

.stat:last-child {
    border-right: 0;
}

.stat__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 300;
    color: var(--sand);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat__label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244, 239, 232, 0.6);
}

/* ---------- Split / media sections ---------- */

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

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

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.split__media--wide img {
    aspect-ratio: 16 / 11;
}

/* ---------- Cards ---------- */

.grid {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.15rem);
    transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--sand);
    box-shadow: var(--shadow);
}

.card h3,
.card h4 {
    margin-bottom: 0.65rem;
}

.card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(196, 176, 152, 0.14);
    color: var(--sand);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.card__price {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--sand-dark);
    margin-bottom: 0.75rem;
}

.card__sub {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 0.9rem;
}

.card__link {
    margin-top: 1.35rem;
}

.section--dark .card {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--line-dark);
}

.section--dark .card p {
    color: rgba(244, 239, 232, 0.7);
}

.section--dark .card__index {
    background: rgba(196, 176, 152, 0.14);
    color: var(--sand);
}

.section--dark .card__sub {
    color: rgba(244, 239, 232, 0.5);
}

/* Service tiles with imagery */

/* Tiles wrap as a flex row rather than a grid so a final row holding fewer
   cards than the others stretches across the full width instead of leaving a
   hole beside it — the services list has seven. */
.tiles {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.tiles > .tile {
    flex: 1 1 290px;
}

.tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--black);
    min-height: 340px;
    color: var(--white);
    isolation: isolate;
}

.tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.8s var(--ease), opacity 0.6s;
    z-index: -2;
}

.tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.93) 8%, rgba(11, 11, 11, 0.15) 70%);
    z-index: -1;
}

.tile:hover img {
    transform: scale(1.06);
    opacity: 0.75;
}

.tile__body {
    position: absolute;
    inset: auto 0 0;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.tile__body h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.tile__body p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.tile__more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sand);
}

.tile:hover .tile__more svg {
    transform: translateX(4px);
}

.tile__more svg {
    transition: transform 0.3s var(--ease);
}

/* ---------- Packages ---------- */

.packages {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    align-items: start;
}

.package {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.4rem);
    height: 100%;
}

.package--featured {
    background: var(--black);
    border-color: var(--black);
    color: var(--sand-pale);
    position: relative;
}

.package--featured h3 {
    color: var(--white);
}

.package__flag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--sand);
    padding: 0.35rem 0.7rem;
    border-radius: 100px;
}

.package__name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.package__subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 1.5rem;
}

.package--featured .package__subtitle {
    color: var(--sand);
}

.package__price {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.5rem;
}

.package--featured .package__price {
    border-bottom-color: var(--line-dark);
    color: var(--sand);
}

.ticks {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.ticks li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

.ticks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid var(--sand-dark);
}

.package--featured .ticks li,
.section--dark .ticks li {
    color: rgba(244, 239, 232, 0.78);
}

.package--featured .ticks li::before,
.section--dark .ticks li::before {
    border-color: var(--sand);
}

.package__best {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--grey);
}

.package--featured .package__best {
    border-top-color: var(--line-dark);
    color: rgba(244, 239, 232, 0.6);
}

/* ---------- Steps ---------- */

.steps {
    display: grid;
    gap: 0;
    counter-reset: step;
}

.step {
    display: grid;
    grid-template-columns: minmax(0, 5rem) 1fr;
    gap: clamp(1rem, 4vw, 3rem);
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
    border-top: 1px solid var(--line);
    align-items: start;
}

.step:last-child {
    border-bottom: 1px solid var(--line);
}

.section--dark .step {
    border-color: var(--line-dark);
}

.step__num {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    color: var(--sand);
    line-height: 1;
    letter-spacing: -0.03em;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.section--dark .step p {
    color: rgba(244, 239, 232, 0.7);
}

/* ---------- Accordion ---------- */

.accordion {
    border-top: 1px solid var(--line);
}

.section--dark .accordion {
    border-color: var(--line-dark);
}

.accordion details {
    border-bottom: 1px solid var(--line);
}

.section--dark .accordion details {
    border-color: var(--line-dark);
}

.accordion summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.25s;
}

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

.accordion summary:hover {
    color: var(--sand-dark);
}

.section--dark .accordion summary:hover {
    color: var(--sand);
}

.accordion summary::after {
    content: '';
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-top: 0.4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.35s var(--ease);
}

.accordion details[open] summary::after {
    transform: rotate(-135deg);
}

.accordion__body {
    padding-bottom: 1.6rem;
    max-width: 76ch;
}

.accordion__body p {
    color: var(--ink-soft);
    font-size: 0.96rem;
}

.section--dark .accordion__body p {
    color: rgba(244, 239, 232, 0.72);
}

/* ---------- Testimonials ---------- */

.carousel {
    --carousel-gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.carousel__track {
    display: flex;
    gap: var(--carousel-gap);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

.carousel__track:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 8px;
}

/* Grow is allowed so that a section with too few cards to scroll still spreads
   across the full width instead of leaving a gap on the right. Once the cards
   overflow there is no free space left, so growing stops on its own. */
.carousel__slide {
    flex: 1 0 100%;
    scroll-snap-align: start;
    display: flex;
}

.carousel__slide > .quote {
    width: 100%;
}

@media (min-width: 700px) {
    .carousel__slide {
        flex-basis: calc((100% - var(--carousel-gap)) / 2);
    }
}

@media (min-width: 1080px) {
    .carousel__slide {
        flex-basis: calc((100% - 2 * var(--carousel-gap)) / 3);
    }
}

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.carousel__controls[hidden] {
    display: none;
}

.carousel__nav {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--sand);
    cursor: pointer;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.carousel__nav::before {
    content: '';
    width: 9px;
    height: 9px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateX(1px) rotate(45deg);
}

.carousel__nav--next::before {
    transform: translateX(-1px) rotate(-135deg);
}

.carousel__nav:hover,
.carousel__nav:focus-visible {
    background: var(--sand);
    border-color: var(--sand);
    color: var(--black);
}

.carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(244, 239, 232, 0.28);
    cursor: pointer;
    transition: background-color 0.3s var(--ease), width 0.3s var(--ease);
}

.carousel__dot:hover {
    background: rgba(244, 239, 232, 0.55);
}

.carousel__dot[aria-current='true'] {
    width: 26px;
    border-radius: 100px;
    background: var(--sand);
}

.quote {
    padding: clamp(1.75rem, 3vw, 2.35rem);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
}

.quote__stars {
    color: var(--sand);
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    margin-bottom: 1.1rem;
}

.quote__text {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--white);
    /* Clears the browser's default 40px side margins on blockquote. */
    margin: 0 0 1.5rem;
}

.quote__meta {
    margin-top: auto;
    font-size: 0.8rem;
    color: rgba(244, 239, 232, 0.6);
}

.quote__meta strong {
    display: block;
    color: var(--sand);
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ---------- Quote / estimate block ---------- */

.quote-block {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.quote-block::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--sand), transparent);
}

.quote-block__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Reserved space for the quote builder — drop the real tool in here. */
.quote-slot {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px dashed var(--sand-dark);
    border-radius: var(--radius-lg);
    background:
        repeating-linear-gradient(
            135deg,
            rgba(196, 176, 152, 0.08) 0 12px,
            transparent 12px 24px
        ),
        var(--surface);
}

.quote-slot__badge {
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand-dark);
    border: 1px solid var(--sand);
    border-radius: 100px;
    padding: 0.35rem 0.85rem;
}

.quote-slot h3 {
    margin: 0;
}

.quote-slot p {
    max-width: 44ch;
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- Contact / map ---------- */

.contact-cta {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

.contact-cta__address {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    word-break: break-word;
    border-bottom: 2px solid var(--sand);
    padding-bottom: 0.15em;
    margin-bottom: 1.75rem;
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.contact-cta__address:hover,
.contact-cta__address:focus-visible {
    color: var(--sand-dark);
    border-color: var(--sand-dark);
}

.contact-cta__note {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.contact-cta__note p:last-child {
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 4.5rem);
    align-items: start;
}

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

.contact-list li {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-list h4 {
    margin-bottom: 0.35rem;
}

.contact-list p {
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
}

.contact-list a {
    font-weight: 500;
    color: var(--sand-dark);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s;
}

.contact-list a:hover {
    border-bottom-color: var(--sand-dark);
}

.map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    line-height: 0;
}

.map iframe {
    width: 100%;
    height: clamp(320px, 42vw, 480px);
    border: 0;
    filter: grayscale(1) brightness(0.42) contrast(1.15) saturate(0.4);
    transition: filter 0.5s;
}

.map:hover iframe {
    filter: grayscale(0);
}

/* ---------- Gallery ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1.15rem);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--black);
    aspect-ratio: 4 / 3;
}

.gallery-item:nth-child(4n + 1) {
    grid-row: span 2;
    aspect-ratio: 4 / 5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), opacity 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 1.5rem 1.25rem 1.15rem;
    background: linear-gradient(to top, rgba(11, 11, 11, 0.9), transparent);
    color: var(--white);
    font-size: 0.9rem;
}

.gallery-item figcaption span {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 0.25rem;
}

/* ---------- Before / after ---------- */

.compare {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.compare figure {
    margin: 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.compare img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.compare figcaption {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(11, 11, 11, 0.78);
    color: var(--sand);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
}

/* ---------- Stage cards (detailing) ---------- */

.stage {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 3vw, 2.4rem);
    background: var(--surface);
}

.stage h3 {
    margin-bottom: 1.5rem;
}

.stage__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stage__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sand-dark);
    margin-bottom: 0.85rem;
}

.stage__why {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
    color: var(--ink-soft);
}

/* ---------- CTA band ---------- */

.cta-band {
    background: var(--black);
    color: var(--sand-pale);
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(196, 176, 152, 0.16), transparent 65%);
    pointer-events: none;
}

.cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    position: relative;
    z-index: 1;
}

.cta-band__text {
    max-width: 620px;
}

.cta-band h2 {
    color: var(--white);
}

.cta-band p {
    color: rgba(244, 239, 232, 0.75);
    margin-bottom: 0;
}

/* ---------- Footer ---------- */

.footer {
    background: var(--black);
    color: rgba(244, 239, 232, 0.68);
    padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
    border-top: 1px solid var(--line-dark);
    font-size: 0.92rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
    gap: clamp(2rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--line-dark);
}

.footer h4 {
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.35rem;
    font-family: var(--font-body);
}

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

.footer a:hover {
    color: var(--sand);
}

.footer__brand p {
    max-width: 40ch;
    margin-block: 1.5rem;
}

.footer__hours {
    display: grid;
    gap: 0.35rem;
    font-size: 0.88rem;
}

.socials {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--sand-pale);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.socials a:hover {
    background: var(--sand);
    border-color: var(--sand);
    color: var(--black);
    transform: translateY(-2px);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(244, 239, 232, 0.5);
}

.footer__bottom nav {
    display: flex;
    gap: 1.5rem;
}

/* ---------- 404 ---------- */

.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-block: 10rem 6rem;
}

.error-page__code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 16vw, 11rem);
    font-weight: 200;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--sand);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html,
    .carousel__track {
        scroll-behavior: auto;
    }

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

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .header__phone {
        display: none;
    }
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* Keep the logo and toggle above the full-screen menu overlay */
    .logo,
    .header__actions {
        position: relative;
        z-index: 2;
    }

    .nav {
        position: fixed;
        inset: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 6.5rem var(--gutter) 3rem;
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(24px);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.45s var(--ease);
    }

    .nav.is-open {
        transform: none;
    }

    .nav__link {
        padding: 1.05rem 0;
        font-size: 1.15rem;
        font-family: var(--font-display);
        border-bottom: 1px solid var(--line-dark);
        justify-content: space-between;
    }

    .nav__sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0.5rem 0 1rem 1rem;
        display: none;
    }

    .nav__item--open .nav__sub {
        display: block;
    }

    .nav__item--open .nav__link svg {
        transform: rotate(180deg);
    }

    .hero__scroll {
        display: none;
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line-dark);
    }
}

@media (max-width: 720px) {
    .header__inner {
        min-height: 72px;
    }

    .logo img {
        height: 38px;
    }

    .header .btn {
        display: none;
    }

    .hero {
        min-height: 88vh;
        padding-block: 7.5rem 3.5rem;
    }

    .step {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .gallery-item:nth-child(4n + 1) {
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }

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

    .cta-band__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
