@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --brand-ink: #16121b;
    --brand-ink-2: #221a2b;
    --brand-cream: #f7f2ea;
    --brand-cream-2: #efe6d6;
    --brand-gold: #c8963c;
    --brand-gold-soft: #e2bb6b;
    --brand-rose: #c9587a;
    --brand-teal: #2c7a7b;
    --text-on-dark: var(--brand-cream);
    --text-on-light: var(--brand-ink);
    --muted-on-dark: rgba(247, 242, 234, 0.82);
    --muted-on-light: #57505f;
    --line-on-dark: rgba(247, 242, 234, 0.16);
    --line-on-light: rgba(22, 18, 27, 0.12);
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --shadow-soft: 0 18px 45px rgba(22, 18, 27, 0.16);
    --shadow-strong: 0 30px 72px rgba(22, 18, 27, 0.3);
    --section-pad: clamp(64px, 8vw, 120px);
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-on-light);
    background-color: var(--brand-cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-teal);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus-visible {
    color: var(--brand-rose);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    color: var(--text-on-light);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.9rem);
}

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

p {
    margin: 0 0 1.1em;
}

.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--muted-on-light);
}

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

.section {
    padding-block: var(--section-pad);
    position: relative;
}

.section--dark {
    background-color: var(--brand-ink);
    color: var(--text-on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--text-on-dark);
}

.section--dark p {
    color: var(--muted-on-dark);
}

.section--cream {
    background-color: var(--brand-cream);
}

.section--cream-2 {
    background-color: var(--brand-cream-2);
}

.section--photo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-on-dark);
}

.section--photo h1,
.section--photo h2,
.section--photo h3 {
    color: var(--text-on-dark);
}

.section--photo p {
    color: var(--muted-on-dark);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 1.1rem;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background-color: var(--brand-gold);
    display: inline-block;
}

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

.section-heading {
    margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.92rem 1.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 3px;
}

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

.btn-gold {
    background-color: var(--brand-gold);
    color: var(--brand-ink);
    box-shadow: 0 12px 28px rgba(200, 150, 60, 0.35);
}

.btn-gold:hover,
.btn-gold:focus-visible {
    background-color: var(--brand-gold-soft);
    color: var(--brand-ink);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-on-dark);
    border-color: rgba(247, 242, 234, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background-color: var(--text-on-dark);
    color: var(--brand-ink);
    border-color: var(--text-on-dark);
}

.btn-ink {
    background-color: var(--brand-ink);
    color: var(--text-on-dark);
}

.btn-ink:hover,
.btn-ink:focus-visible {
    background-color: var(--brand-ink-2);
    color: var(--brand-gold-soft);
}

.btn-block {
    width: 100%;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1040;
    padding-block: 18px;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(22, 18, 27, 0.18);
    backdrop-filter: blur(6px);
}

.site-header.is-scrolled {
    background-color: rgba(22, 18, 27, 0.94);
    padding-block: 10px;
    box-shadow: 0 14px 40px rgba(22, 18, 27, 0.35);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-on-dark);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
}

.brand-mark:hover {
    color: var(--brand-gold-soft);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    color: var(--text-on-dark);
    font-size: 0.9rem;
}

.header-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-on-dark);
}

.header-contact__item i {
    color: var(--brand-gold);
}

.header-contact__item:hover {
    color: var(--brand-gold-soft);
}

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

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

.primary-nav a {
    color: var(--text-on-dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-block: 6px;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--brand-gold);
    transition: width 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
    width: 100%;
}

@media (max-width: 991px) {
    .header-contact {
        display: none;
    }

    .primary-nav {
        display: none;
    }

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 90px;
    color: var(--text-on-dark);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(to top, rgba(22, 18, 27, 0.85), rgba(22, 18, 27, 0));
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    margin-bottom: 1.2rem;
}

.hero__title em {
    font-style: italic;
    color: var(--brand-gold-soft);
}

.hero__lead {
    color: var(--muted-on-dark);
    font-size: clamp(1.05rem, 1.5vw, 1.3rem);
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__stat-card {
    background-color: rgba(22, 18, 27, 0.55);
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-strong);
}

.hero__stat-card h3 {
    color: var(--brand-gold-soft);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

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

.slider-shell {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.slider-track {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    padding: clamp(2rem, 4vw, 3rem);
    background-color: var(--brand-ink-2);
    color: var(--text-on-dark);
}

.slide--alt {
    background-color: var(--brand-ink);
}

.slide__title {
    color: var(--text-on-dark);
}

.slide__meta {
    color: var(--brand-gold-soft);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 1rem;
    background-color: rgba(22, 18, 27, 0.85);
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid var(--line-on-dark);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
}

.slider-dot.is-active {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.4rem;
}

.stat-card {
    padding: 1.6rem;
    border-radius: var(--radius-md);
    background-color: rgba(247, 242, 234, 0.06);
    border: 1px solid var(--line-on-dark);
}

.stat-card__value {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--brand-gold-soft);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-card__label {
    font-size: 0.9rem;
    color: var(--muted-on-dark);
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--line-on-light);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-cream-2);
    color: var(--brand-gold);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.feature-card p:last-child {
    margin-bottom: 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line-on-light);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.service-card__media {
    aspect-ratio: 4 / 3;
    background-color: var(--brand-cream-2);
    overflow: hidden;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
}

.service-card__body p {
    margin: 0;
    flex: 1;
}

.service-card__link {
    font-weight: 700;
    color: var(--brand-teal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card__link:hover {
    color: var(--brand-rose);
}

.service-card__link i {
    transition: transform 0.2s ease;
}

.service-card__link:hover i {
    transform: translateX(4px);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.split--reverse .split__media {
    order: 2;
}

.split__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    aspect-ratio: 4 / 3;
    background-color: var(--brand-cream-2);
}

.split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.check-list li {
    display: flex;
    gap: 0.8rem;
    padding-block: 0.45rem;
    color: var(--muted-on-light);
}

.check-list i {
    color: var(--brand-teal);
    margin-top: 0.35rem;
}

.section--dark .check-list li {
    color: var(--muted-on-dark);
}

.section--dark .check-list i {
    color: var(--brand-gold);
}

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

    .split--reverse .split__media {
        order: 0;
    }
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: steps;
    display: grid;
    gap: 1.4rem;
}

.process-list li {
    counter-increment: steps;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.4rem;
    align-items: start;
    padding: 1.6rem;
    border-radius: var(--radius-md);
    background-color: rgba(247, 242, 234, 0.05);
    border: 1px solid var(--line-on-dark);
}

.process-list li::before {
    content: counter(steps, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brand-gold);
    line-height: 1;
}

.process-list h3 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
}

.process-list p {
    margin: 0;
    font-size: 0.95rem;
}

.section--cream .process-list li,
.section--cream-2 .process-list li {
    background-color: #fff;
    border-color: var(--line-on-light);
}

.section--cream .process-list h3,
.section--cream-2 .process-list h3 {
    color: var(--brand-ink);
}

.section--cream .process-list p,
.section--cream-2 .process-list p {
    color: var(--muted-on-light);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
    align-items: stretch;
}

.price-card {
    background-color: #fff;
    border: 1px solid var(--line-on-light);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    box-shadow: var(--shadow-soft);
}

.price-card--feature {
    background-color: var(--brand-ink);
    color: var(--text-on-dark);
    border-color: transparent;
}

.price-card--feature h3,
.price-card--feature .price-card__value {
    color: var(--text-on-dark);
}

.price-card--feature p {
    color: var(--muted-on-dark);
}

.price-card__value {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--brand-ink);
    line-height: 1;
}

.price-card__value span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted-on-light);
}

.price-card--feature .price-card__value span {
    color: var(--muted-on-dark);
}

.price-card .check-list {
    margin-bottom: 0;
    flex: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--brand-cream-2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item__caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.4rem 1.2rem 1rem;
    background: linear-gradient(to top, rgba(22, 18, 27, 0.9), rgba(22, 18, 27, 0));
    color: var(--text-on-dark);
    font-size: 0.92rem;
    margin: 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--line-on-light);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.testimonial-card__stars {
    color: var(--brand-gold);
}

.testimonial-card__quote {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--brand-ink);
    margin: 0;
}

.testimonial-card__person {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
}

.testimonial-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--brand-cream-2);
    flex-shrink: 0;
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__name {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
    color: var(--brand-ink);
}

.testimonial-card__role {
    font-size: 0.85rem;
    color: var(--muted-on-light);
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.6rem;
}

.team-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--line-on-light);
    box-shadow: var(--shadow-soft);
}

.team-card__media {
    aspect-ratio: 4 / 5;
    background-color: var(--brand-cream-2);
    overflow: hidden;
}

.team-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__body {
    padding: 1.4rem;
}

.team-card__body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.team-card__role {
    color: var(--brand-teal);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

.accordion-item {
    border: 1px solid var(--line-on-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 0.9rem;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--brand-ink);
    background-color: #fff;
    font-size: 1rem;
    padding: 1.15rem 1.3rem;
}

.accordion-button:not(.collapsed) {
    color: var(--brand-ink);
    background-color: var(--brand-cream-2);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(200, 150, 60, 0.4);
    border-color: var(--brand-gold);
}

.accordion-body {
    color: var(--muted-on-light);
    font-size: 0.96rem;
    padding: 1.15rem 1.3rem;
}

.form-panel {
    background-color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 4vw, 3rem);
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--line-on-light);
}

.form-panel .form-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-ink);
    margin-bottom: 0.4rem;
}

.form-panel .form-control,
.form-panel .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-on-light);
    padding: 0.8rem 1rem;
    font-size: 0.96rem;
    color: var(--brand-ink);
    background-color: var(--brand-cream);
}

.form-panel .form-control:focus,
.form-panel .form-select:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 60, 0.25);
    background-color: #fff;
}

.form-panel .form-check-input:checked {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.newsletter-form {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.newsletter-form .form-control {
    flex: 1 1 220px;
    border-radius: 999px;
    border: 1px solid var(--line-on-dark);
    background-color: rgba(247, 242, 234, 0.08);
    color: var(--text-on-dark);
    padding: 0.85rem 1.3rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(247, 242, 234, 0.55);
}

.newsletter-form .form-control:focus {
    background-color: rgba(247, 242, 234, 0.14);
    color: var(--text-on-dark);
    border-color: var(--brand-gold);
    box-shadow: none;
}

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

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-list i {
    color: var(--brand-gold);
    font-size: 1.1rem;
    margin-top: 0.25rem;
    width: 22px;
    text-align: center;
}

.contact-list strong {
    display: block;
    color: var(--brand-ink);
    margin-bottom: 0.1rem;
}

.contact-list a {
    color: var(--brand-teal);
    word-break: break-word;
}

.section--dark .contact-list strong {
    color: var(--text-on-dark);
}

.section--dark .contact-list a,
.section--dark .contact-list span {
    color: var(--muted-on-dark);
}

.map-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line-on-light);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

.breadcrumb-trail {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted-on-dark);
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex-wrap: wrap;
}

.breadcrumb-trail a {
    color: var(--brand-gold-soft);
}

.breadcrumb-trail a:hover {
    color: var(--brand-gold);
}

.cta-band {
    position: relative;
    padding-block: var(--section-pad);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--text-on-dark);
    background-size: cover;
    background-position: center;
    text-align: center;
    box-shadow: var(--shadow-strong);
}

.cta-band h2 {
    color: var(--text-on-dark);
}

.cta-band p {
    color: var(--muted-on-dark);
    max-width: 620px;
    margin-inline: auto;
}

.cta-band__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.site-footer {
    background-color: var(--brand-ink);
    color: var(--text-on-dark);
    padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.site-footer p,
.site-footer li,
.site-footer span,
.site-footer a {
    color: var(--muted-on-dark);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--brand-gold-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.4rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    color: var(--text-on-dark);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-col a {
    font-size: 0.92rem;
}

.footer-legal {
    border-top: 1px solid var(--line-on-dark);
    padding-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
}

.footer-registration {
    font-size: 0.82rem;
    color: var(--muted-on-dark);
    margin: 0.4rem 0 0;
}

.social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-on-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
    background-color: var(--brand-gold);
    color: var(--brand-ink);
    border-color: var(--brand-gold);
}

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

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

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-gold);
    color: var(--brand-ink);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 14px 32px rgba(200, 150, 60, 0.4);
    z-index: 1035;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--brand-gold-soft);
}

.cookie-dock {
    position: fixed;
    inset: auto 20px 20px auto;
    max-width: 420px;
    width: calc(100% - 40px);
    background-color: #fff;
    border: 1px solid var(--line-on-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-strong);
    padding: 1.5rem 1.5rem 1.4rem;
    z-index: 1080;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    display: none;
}

.cookie-dock.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cookie-dock__heading {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin: 0 0 0.6rem;
}

.cookie-dock__text {
    font-size: 0.9rem;
    color: var(--muted-on-light);
    margin: 0 0 1.1rem;
    line-height: 1.6;
}

.cookie-dock__text a {
    color: var(--brand-teal);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-dock__actions {
    display: flex;
    gap: 0.6rem;
}

.cookie-dock__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-dock__btn--accept {
    background-color: var(--brand-ink);
    color: var(--text-on-dark);
}

.cookie-dock__btn--accept:hover {
    background-color: var(--brand-ink-2);
    color: var(--brand-gold-soft);
}

.cookie-dock__btn--decline {
    background-color: transparent;
    color: var(--brand-ink);
    border-color: var(--line-on-light);
}

.cookie-dock__btn--decline:hover {
    background-color: var(--brand-cream-2);
}

@media (max-width: 575px) {
    .cookie-dock {
        inset: auto 12px 12px 12px;
        max-width: none;
        width: auto;
    }

    .cookie-dock__actions {
        flex-direction: column-reverse;
    }
}

.prose-block h2 {
    margin-top: 2rem;
}

.prose-block h3 {
    margin-top: 1.6rem;
}

.prose-block ul,
.prose-block ol {
    color: var(--muted-on-light);
    padding-left: 1.2rem;
}

.prose-block ul li,
.prose-block ol li {
    margin-bottom: 0.4rem;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    border-left: 2px solid var(--line-on-light);
    padding-left: 1.6rem;
}

.timeline li {
    position: relative;
    padding-bottom: 1.6rem;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -2.35rem;
    top: 0.4rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--brand-gold);
}

.timeline strong {
    display: block;
    font-family: var(--font-display);
    color: var(--brand-ink);
    font-size: 1.1rem;
}

.badge-soft {
    display: inline-block;
    background-color: var(--brand-cream-2);
    color: var(--brand-ink);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.ratio-photo {
    position: relative;
    background-color: var(--brand-cream-2);
    overflow: hidden;
    border-radius: var(--radius-md);
}

.ratio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.align-wide {
    width: min(100% - 40px, 1320px);
    margin-inline: auto;
}

.text-gold {
    color: var(--brand-gold-soft);
}

.text-cream {
    color: var(--text-on-dark);
}

.divider-soft {
    height: 1px;
    background-color: var(--line-on-light);
    border: none;
    margin-block: 2rem;
}

.section--dark .divider-soft {
    background-color: var(--line-on-dark);
}
/* ============================================================
   Fixes: hero heading contrast, nav dropdown contrast,
   mobile fixed-header overlap
   ============================================================ */

/* Hero headings sit on a dark photo overlay: force light text */
.hero .hero__title,
.hero h1,
.hero h2 {
    color: var(--text-on-dark);
}

.hero .hero__title em {
    color: var(--brand-gold-soft);
}

/* Bootstrap dropdown menu keeps a white panel: use dark ink labels */
.primary-nav .dropdown-menu {
    background-color: #fff;
    border: 1px solid var(--line-on-light);
    box-shadow: var(--shadow-soft);
    padding: 0.4rem;
}

.primary-nav .dropdown-menu .dropdown-item {
    color: var(--brand-ink);
    background-color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.primary-nav .dropdown-menu .dropdown-item:hover,
.primary-nav .dropdown-menu .dropdown-item:focus,
.primary-nav .dropdown-menu .dropdown-item:active {
    color: var(--brand-ink);
    background-color: var(--brand-cream-2);
}

/* Remove the animated underline marker from dropdown entries */
.primary-nav .dropdown-menu .dropdown-item::after {
    display: none;
}

/* Mobile / tablet: the fixed header used to cover the hero.
   Put the header back into the normal flow so the hero starts
   right below it, and give it a solid background because the
   hero photo no longer sits behind it. */
@media (max-width: 991px) {
    .site-header {
        position: sticky;
        top: 0;
        background-color: var(--brand-ink);
    }

    .site-header.is-scrolled {
        background-color: rgba(22, 18, 27, 0.97);
    }

    .hero {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 64px;
    }
}

/* ============================================================
   QA overrides — contrast, cookie banner visibility, mobile header
   ============================================================ */

/* 1. Stable, non-animated entry: AOS transforms could leave text
   half-faded / displaced while measuring contrast. Keep everything
   visible and in its final position. */
[data-aos],
[data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* 2. Guarantee a dark backdrop behind hero and slider copy, even if
   a background photo is missing or still loading. */
.hero {
    background-color: #16121b;
}

.slide {
    background-color: #221a2b !important;
}

.slide--alt {
    background-color: #16121b !important;
}

.slider-track {
    transition: none !important;
}

.slider-dots {
    background-color: #16121b;
}

/* 3. Cookie banner: readable heading on the white panel */
.cookie-dock .cookie-dock__heading {
    color: #7a5210;
}

/* 4. Cookie banner: show immediately (no JS delay race) and hide
   reliably once a choice has been stored. */
.cookie-dock {
    display: block;
    opacity: 1;
    transform: none;
}

.cookie-dock[hidden] {
    display: none !important;
}

/* 5. Mobile: keep the header fixed and reserve its height above the
   hero so the two never overlap at 360px. */
@media (max-width: 991px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        background-color: var(--brand-ink);
    }

    .site-header.is-scrolled {
        background-color: rgba(22, 18, 27, 0.97);
    }

    .hero {
        padding-top: 168px;
    }
}

/* ============================================================
   QA round 2 — privacy page fixes
   ============================================================ */

/* 1. Links inside the dark hero (e.g. the email address in the lead
   paragraph) were rendered with the teal brand colour, which only
   reached ~2.8:1 on the dark photo overlay. Use the light gold and
   underline so they are both readable and recognisable as links. */
.hero .hero__lead a,
.hero p a,
.hero a:not(.btn):not(.brand-mark):not(.dropdown-item):not(.header-contact__item) {
    color: #f0d49b;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}

.hero p a:hover,
.hero p a:focus-visible {
    color: #ffffff;
}

/* 2. Mobile header overlap: a fixed header covers the top of the
   first section. Put the header back into the document flow (sticky)
   on small screens so the hero starts right below it, and restore a
   normal hero top padding instead of the large compensation value. */
@media (max-width: 991px) {
    .site-header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        left: auto;
        right: auto;
    }

    .hero {
        padding-top: 48px;
    }
}

/* ============================================================
   QA fixes — legal page: hero link contrast + mobile header gap
   ============================================================ */

/* The email link inside .hero__lead sits on the darkened hero photo;
   the default teal was too low-contrast there. */
.hero .hero__lead a,
.hero .hero__lead a:visited {
    color: var(--brand-gold-soft);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero .hero__lead a:hover,
.hero .hero__lead a:focus-visible {
    color: #f4dfae;
}

/* Mobile: the fixed header must not cover the hero. Reserve its height
   on the body so the hero starts below the header, and trim the hero's
   own top padding accordingly (no overlap, no double spacing). */
@media (max-width: 991px) {
    body {
        padding-top: 126px;
    }

    .hero {
        padding-top: 32px;
    }
}

/* ============================================================
   QA round 3 — thank-you page
   1) mobile header / hero overlap
   2) eyebrow + button contrast on dark and cream surfaces
   3) link contrast inside dark sections
   ============================================================ */

/* 1) Mobile: keep the header in the document flow (sticky) and make
   sure nothing adds an extra offset to the body, so the hero always
   starts exactly where the header ends. */
@media (max-width: 991px) {
    body {
        padding-top: 0 !important;
    }

    .site-header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        background-color: var(--brand-ink);
    }

    .site-header.is-scrolled {
        background-color: rgba(22, 18, 27, 0.97);
    }

    .hero {
        padding-top: 32px;
    }
}

/* 2a) Eyebrow labels: light gold on dark photo surfaces */
.hero .eyebrow {
    color: #f0d49b;
}

.hero .eyebrow::before {
    background-color: #f0d49b;
}

/* 2b) Eyebrow labels: deep gold/bronze on cream surfaces (2.39 -> 6.1) */
.section--cream .eyebrow,
.section--cream-2 .eyebrow {
    color: #7a5210;
}

.section--cream .eyebrow::before,
.section--cream-2 .eyebrow::before {
    background-color: #7a5210;
}

/* 2c) Primary buttons sitting on dark photo / dark panel backgrounds:
   solid ink fill with a cream label, so the label keeps its contrast
   against both the button and its dark surroundings. */
.hero .btn-gold,
.section--dark .btn-gold {
    background-color: #16121b;
    color: #f7f2ea;
    border-color: var(--brand-gold);
    box-shadow: none;
}

.hero .btn-gold:hover,
.hero .btn-gold:focus-visible,
.section--dark .btn-gold:hover,
.section--dark .btn-gold:focus-visible {
    background-color: var(--brand-ink-2);
    color: var(--brand-gold-soft);
    border-color: var(--brand-gold-soft);
}

/* 2d) Secondary buttons inside dark panels: same dark backdrop, cream
   label, so no neighbouring gold fill bleeds into the label area. */
.section--dark .btn-outline-light {
    background-color: #221a2b;
    color: #f7f2ea;
    border-color: rgba(247, 242, 234, 0.55);
}

.section--dark .btn-outline-light:hover,
.section--dark .btn-outline-light:focus-visible {
    background-color: #f7f2ea;
    color: #16121b;
    border-color: #f7f2ea;
}

/* 3) Text links inside dark sections (e-mail address in the contact
   list) were teal on near-black. Use the light gold variant. */
.section--dark a:not(.btn):not(.brand-mark) {
    color: #f0d49b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section--dark a:not(.btn):not(.brand-mark):hover,
.section--dark a:not(.btn):not(.brand-mark):focus-visible {
    color: #ffffff;
}

/* ============================================================
   QA fix — dark-section cards with a light local backdrop
   ============================================================
   `.section--dark p { color: var(--muted-on-dark); }` is inherited by
   paragraphs placed inside white quote/feature cards that live in a
   dark section, producing cream text on a white surface (~1.09:1).
   Restore ink text only for those cards' local light backdrop.
   Scoped (not global): only paragraphs/captions that sit on the card's
   own #fff / cream surface and are not themselves explicitly coloured
   by a dark-surface rule. */
.section--dark .testimonial-card,
.section--dark .testimonial-card h1,
.section--dark .testimonial-card h2,
.section--dark .testimonial-card h3,
.section--dark .testimonial-card h4,
.section--dark .testimonial-card p,
.section--dark .testimonial-card blockquote,
.section--dark .testimonial-card figcaption,
.section--dark .testimonial-card .testimonial-card__quote,
.section--dark .testimonial-card .testimonial-card__name {
    color: var(--brand-ink);
}

.section--dark .testimonial-card .testimonial-card__quote {
    color: var(--brand-ink);
}

.section--dark .testimonial-card .testimonial-card__role {
    color: var(--muted-on-light);
}

.section--dark .testimonial-card .testimonial-card__stars,
.section--dark .testimonial-card .testimonial-card__stars i {
    color: var(--brand-gold);
}

/* Same treatment for the other light-surface cards, so a white card in
   a dark section never inherits cream body text. */
.section--dark .feature-card p,
.section--dark .feature-card li,
.section--dark .price-card:not(.price-card--feature) p,
.section--dark .price-card:not(.price-card--feature) li,
.section--dark .service-card__body p,
.section--dark .form-panel p {
    color: var(--muted-on-light);
}

/* ============================================================
   QA fix — gallery captions sitting on photos
   ============================================================
   `.gallery-item__caption` uses a gradient scrim that fades to
   transparent at the top, so wherever a bright photo area (light
   floor, walls, lamp) sits behind the caption, cream text dropped to
   ~2.3:1. Strengthen the scrim locally so the caption's own backdrop
   is dark throughout the text block, while keeping the caption's
   existing cream label colour and the gradient design language.
   The card background (cream-2) and the palette are unchanged. */
.gallery-item .gallery-item__caption {
    background: linear-gradient(
        to top,
        rgba(22, 18, 27, 0.95) 0%,
        rgba(22, 18, 27, 0.88) 55%,
        rgba(22, 18, 27, 0.55) 100%
    );
    color: var(--text-on-dark);
    text-shadow: 0 1px 2px rgba(22, 18, 27, 0.6);
}

/* ============================================================
   QA fix — hero primary CTA ("Prenota una lezione di prova")
   ============================================================
   The earlier dark-section override gave `.hero .btn-gold` a solid
   ink fill with a cream label. On mobile the hero's own dark overlay
   sits directly behind that fill, so the button surface merged with
   its surroundings and the measured contrast for the label dropped
   to ~1.1:1 (cream text vs. white/photo backdrop between the glyphs).
   Restore the brand's gold fill with ink text for this CTA: gold
   (#c8963c) vs. ink (#16121b) is ~6.3:1, and the gold fill also
   separates the button from the dark photo behind it.
   Scoped to the hero's primary buttons only. */
.hero .btn-gold,
.hero .btn-gold:visited {
    background-color: var(--brand-gold);
    color: var(--brand-ink);
    border-color: var(--brand-gold);
    box-shadow: 0 12px 28px rgba(200, 150, 60, 0.35);
}

.hero .btn-gold:hover,
.hero .btn-gold:focus-visible {
    background-color: var(--brand-gold-soft);
    color: var(--brand-ink);
    border-color: var(--brand-gold-soft);
}
