/* ==========================================================================
   Dr. Madhu Chopra — Base
   Design tokens, typography, layout primitives, buttons, header, footer,
   forms, dialogs and floating actions.
   ========================================================================== */

:root {
    /* Brand palette */
    --burgundy: #702D43;
    --burgundy-deep: #5A2235;
    --burgundy-ink: #3F1826;
    --footer-bg: #4E1F2F;
    --gold: #C5A47E;
    --gold-light: #D9BF9B;
    --gold-ink: #8A6841;
    --ivory: #FAF7F3;
    --sand: #F3ECE3;
    --blush: #F2E6E1;
    --white: #FFFFFF;
    --charcoal: #29252A;
    --grey: #68636A;
    --line: rgba(41, 37, 42, 0.1);
    --line-gold: rgba(197, 164, 126, 0.45);
    --error: #A8322D;
    --success: #2F6B45;

    /* Typography */
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Shape & depth */
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --shadow-sm: 0 2px 10px rgba(41, 37, 42, 0.05);
    --shadow: 0 18px 40px -22px rgba(112, 45, 67, 0.32);
    --shadow-lg: 0 40px 80px -40px rgba(112, 45, 67, 0.38);

    /* Layout */
    --container: 1240px;
    --gutter: 20px;
    --topbar-h: 40px;                                  /* phone and social bar */
    --header-top-h: 88px;                              /* logo row */
    --nav-h: 0px;                                      /* menu row (desktop only) */
    --header-h: calc(var(--topbar-h) + var(--header-top-h) + var(--nav-h));
    --sticky-h: calc(var(--header-top-h) + var(--nav-h)); /* header height left on screen when scrolled */
    --section-y: clamp(48px, 5.5vw, 76px);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--sticky-h) + 12px);
    -webkit-text-size-adjust: 100%;
    scrollbar-color: var(--burgundy) var(--sand);
}

/* Browsers without scrollbar-color (Safari) */
@supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar {
        width: 12px;
    }

    ::-webkit-scrollbar-track {
        background: var(--sand);
    }

    ::-webkit-scrollbar-thumb {
        border: 3px solid var(--sand);
        border-radius: 999px;
        background: var(--burgundy);
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--burgundy-deep);
    }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--charcoal);
}

p {
    margin: 0 0 1.1em;
}

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

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

dl,
dd {
    margin: 0;
}

address {
    font-style: normal;
}

::selection {
    background: var(--burgundy);
    color: var(--ivory);
}

:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Sections take focus when reached from a link (see main.js); no ring around a whole section */
section[tabindex="-1"]:focus,
footer[tabindex="-1"]:focus {
    outline: none;
}

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--burgundy);
    color: var(--ivory);
    font-size: 0.875rem;
    transform: translateY(-160%);
    transition: transform 0.3s var(--ease);
}

.skip-link:focus {
    transform: none;
}

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

/* --------------------------------------------------------------------------
   Preloader (only while JavaScript is available to remove it)
   -------------------------------------------------------------------------- */

.preloader {
    display: none;
}

.js-enabled .preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background:
        radial-gradient(600px 420px at 50% 45%, #F4E7E1 0%, rgba(244, 231, 225, 0) 70%),
        var(--ivory);
    transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 250px;
    height: 250px;
    transition: transform 0.7s var(--ease);
}

.preloader.is-hidden .preloader__mark {
    transform: scale(1.06);
}

.preloader__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    stroke: var(--line-gold);
    stroke-width: 1;
}

.preloader__arc {
    stroke: var(--burgundy);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 22 78;
}

.preloader__logo {
    width: 168px;
    height: auto;
}

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

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

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

.section--white {
    background: var(--white);
}

.section--ivory {
    background: var(--ivory);
}

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

.section-head {
    max-width: 720px;
    margin-bottom: clamp(28px, 3.8vw, 42px);
}

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

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

.section-head--split {
    display: grid;
    gap: 20px;
    max-width: none;
    align-items: end;
}

.section-head--split .section-lead {
    margin-top: 0;
    max-width: 460px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.eyebrow--light {
    color: var(--gold-light);
}

.eyebrow--light::before {
    background: var(--gold-light);
}

.section-title {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
}

.section-title em {
    font-style: italic;
    color: var(--burgundy);
}

.section-lead {
    margin-top: 18px;
    font-size: 1.0625rem;
}

.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 150px;
    margin: 28px 0;
    color: var(--gold);
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: currentColor;
}

.divider span {
    width: 7px;
    height: 7px;
    border: 1px solid currentColor;
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease),
        transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--burgundy);
    color: var(--ivory);
    box-shadow: 0 14px 30px -14px rgba(112, 45, 67, 0.6);
}

.btn--primary:hover {
    background: var(--burgundy-deep);
    transform: translateY(-2px);
}

.btn--outline {
    border-color: rgba(112, 45, 67, 0.35);
    color: var(--burgundy);
}

.btn--outline:hover {
    border-color: var(--burgundy);
    background: var(--burgundy);
    color: var(--ivory);
}

.btn--gold {
    background: var(--gold);
    color: var(--burgundy-ink);
}

.btn--gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn--ghost-light {
    border-color: rgba(250, 247, 243, 0.4);
    color: var(--ivory);
}

.btn--ghost-light:hover {
    border-color: var(--ivory);
    background: var(--ivory);
    color: var(--burgundy);
}

.btn--sm {
    min-height: 46px;
    padding: 0 22px;
    font-size: 0.875rem;
}

.btn--block {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--burgundy);
}

.link-arrow .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.35s var(--ease);
}

.link-arrow:hover .icon {
    transform: translateX(4px);
}

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

/* Sticky; on desktop the logo row scrolls away and the menu row stays pinned */
.site-header {
    position: sticky;
    top: calc(var(--topbar-h) * -1); /* the bar scrolls away, the logo row stays pinned */
    z-index: 50;
    background: var(--white);
    transition: box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled,
.site-header.nav-is-open {
    box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(41, 37, 42, 0.35);
}

.scroll-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

/* Slim bar above the logo: phone number and social links */
.topbar {
    background: var(--burgundy-deep);
    color: var(--white);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    height: var(--topbar-h);
}

.topbar__phone,
.topbar__follow {
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
}

.topbar__phone {
    gap: 10px;
    height: 100%;
    transition: color 0.3s var(--ease);
}

.topbar__phone:hover {
    color: var(--gold-light);
}

.topbar__phone .icon {
    width: 16px;
    height: 16px;
    fill: #F08080;
    stroke: none;
}

.topbar__divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.35);
}

.topbar__follow {
    gap: 18px;
}

/* The footer's social icons, scaled down to fit the bar */
.topbar .socials {
    flex-wrap: nowrap;
    gap: 8px;
}

.topbar .socials a {
    width: 32px;
    height: 32px;
}

.topbar .socials a .icon {
    width: 16px;
    height: 16px;
}

.site-header__top {
    border-bottom: 1px solid var(--line);
}

.site-header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--header-top-h);
}

.site-header__info {
    display: none;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--charcoal);
}

.site-header__info small {
    display: block;
    margin-bottom: 2px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-ink);
}

.site-header__info a {
    transition: color 0.3s var(--ease);
}

.site-header__info a:hover {
    color: var(--burgundy);
}

.site-header__info-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-gold);
    border-radius: 50%;
    color: var(--burgundy);
}

.site-header__info-icon .icon {
    width: 18px;
    height: 18px;
}

/* Transparent logo, sized from the logo row's height */
.brand {
    display: flex;
    align-items: center;
    align-self: stretch;
}

.brand img {
    width: auto;
    height: calc(var(--header-top-h) - 10px);
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.site-nav,
.header-cta {
    display: none;
}

.site-nav__list {
    display: flex;
    justify-content: center;
    gap: clamp(28px, 3.6vw, 60px);
    height: var(--nav-h);
}

.site-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--charcoal);
    transition: color 0.3s var(--ease);
}

/* Small rounded bar under the active link */
.site-nav__link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 44px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--burgundy);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.4s var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--burgundy);
}

.site-nav__link.is-active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.6);
}

.nav-toggle__bars {
    position: relative;
    width: 20px;
    height: 10px;
}

.nav-toggle__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.nav-toggle__bars span:first-child {
    top: 0;
}

.nav-toggle__bars span:last-child {
    top: calc(100% - 1.5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span {
    top: calc(50% - 0.75px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
    transform: rotate(-45deg);
}

.mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 16px var(--gutter) 40px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--ivory);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

/* Once the bar has scrolled away the menu starts higher, so it needs the extra height */
.site-header.is-scrolled .mobile-nav {
    height: calc(100vh - var(--sticky-h));
    height: calc(100dvh - var(--sticky-h));
}

.mobile-nav__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    color: var(--charcoal);
}

.mobile-nav__list a .icon {
    width: 15px;
    height: 15px;
    color: var(--gold);
}

.mobile-nav__list a.is-active {
    color: var(--burgundy);
}

.mobile-nav .btn {
    align-self: center;
    min-height: 44px;
    padding: 0 22px;
    font-size: 0.875rem;
}

.mobile-nav__meta {
    font-size: 0.8125rem;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--charcoal);
}

.req {
    color: var(--burgundy);
}

.input {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid rgba(41, 37, 42, 0.16);
    border-radius: 14px;
    background: var(--ivory);
    font-size: 1rem;
    color: var(--charcoal);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.input::placeholder {
    color: #9A949B;
}

.input:focus {
    outline: none;
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(112, 45, 67, 0.1);
}

textarea.input {
    min-height: 132px;
    resize: vertical;
}

select.input {
    padding-right: 46px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23702D43' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

.field.has-error .input {
    border-color: var(--error);
}

.field__error {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--error);
}

.field__error:empty {
    display: none;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    line-height: 1.6;
    color: var(--grey) !important;
    cursor: pointer;
}

.consent input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--burgundy);
}

.consent button {
    color: var(--burgundy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-actions {
    gap: 14px;
}

.btn__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(250, 247, 243, 0.35);
    border-top-color: var(--ivory);
    border-radius: 50%;
}

.btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.btn.is-loading .btn__spinner {
    display: inline-block;
}

.btn.is-loading .btn__icon {
    display: none;
}

.form-status {
    display: none;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.form-status .icon {
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.form-status.is-success {
    display: flex;
    background: #EDF5EF;
    color: var(--success);
}

.form-status.is-error {
    display: flex;
    background: #FBEDEC;
    color: var(--error);
}

.form-note {
    margin: 0;
    font-size: 0.8125rem;
    text-align: center;
}

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

.site-footer {
    position: relative;
    padding-top: clamp(48px, 6vw, 72px);
    background-color: var(--footer-bg);
    background-image:
        radial-gradient(ellipse 70% 40% at 50% 0%, rgba(217, 191, 155, 0.14) 0%, transparent 80%),
        url('../images/footer-pattern.svg');
    background-repeat: no-repeat, repeat;
    background-position: top center, top left;
    background-size: 100% 320px, 60px 60px;
    color: rgba(250, 247, 243, 0.76);
}

.footer__grid {
    display: grid;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(250, 247, 243, 0.12);
}

.footer__logo {
    display: block;
    width: fit-content;
    margin-bottom: 14px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

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

.footer__logo img {
    display: block;
    width: auto;
    max-width: 150px;
    height: auto;
    margin-inline: auto;
    filter: brightness(0) invert(1);
    opacity: 0.96;
}

/* The logo's own tagline is too small to read at footer size, so it is set as text */
.footer__tagline {
    display: block;
    margin-top: 8px;
    padding-left: 0.12em;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--ivory);
}

.footer__name {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.1;
    color: var(--ivory);
}

.footer__creds {
    margin: 0 0 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--gold-light);
}

.footer__about {
    max-width: 320px;
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.footer__follow {
    margin-top: 20px;
}

.footer__heading {
    margin-bottom: 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.footer__heading--lg {
    margin-bottom: 22px;
    font-size: 1rem;
    letter-spacing: 0.2em;
}

.footer__contact {
    display: grid;
    gap: 16px;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer__contact .icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--gold-light);
}

.footer__contact a {
    color: rgba(250, 247, 243, 0.78);
    overflow-wrap: anywhere;
    transition: color 0.3s var(--ease);
}

.footer__contact a:hover {
    color: var(--ivory);
}

.footer__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.footer__phones a {
    white-space: nowrap;
}

.footer__phones a + a {
    padding-left: 14px;
    border-left: 1px solid rgba(250, 247, 243, 0.25);
}

.footer__contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ivory);
}

.footer__map {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(250, 247, 243, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(250, 247, 243, 0.06);
}

.footer__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer__directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-light);
    transition: color 0.3s var(--ease);
}

.footer__directions .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}

.footer__directions:hover {
    color: var(--ivory);
}

.footer__directions:hover .icon {
    transform: translateX(3px);
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.socials a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(250, 247, 243, 0.2);
    border-radius: 50%;
    color: var(--ivory);
    transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.socials a .icon {
    width: 18px;
    height: 18px;
}

.socials a:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--burgundy-ink);
}

.topbar :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--gold-light);
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-block: 28px;
    font-size: 0.8125rem;
}

.footer__bottom p {
    margin: 0;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 20px;
    margin-top: 6px;
}

.footer__legal button {
    padding: 4px 0;
    color: rgba(250, 247, 243, 0.7);
    transition: color 0.3s var(--ease);
}

.footer__legal button:hover {
    color: var(--ivory);
}

.footer__disclaimer {
    max-width: 560px;
    color: rgba(250, 247, 243, 0.55);
}

/* --------------------------------------------------------------------------
   Floating actions
   -------------------------------------------------------------------------- */

.float-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.float-btn {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 16px 34px -14px rgba(41, 37, 42, 0.45);
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0s linear, background-color 0.35s var(--ease);
}

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

.float-btn--phone {
    position: relative;
    background: var(--burgundy);
    color: var(--ivory);
}

.float-btn--phone:hover {
    background: var(--burgundy-deep);
}

.float-btn--phone .icon {
    width: 22px;
    height: 22px;
}

/* Pulse ring (animated in animations.css) */
.float-btn--phone::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.float-btn--top {
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--burgundy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.float-btn--top .icon {
    width: 20px;
    height: 20px;
}

.float-btn--top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

/* --------------------------------------------------------------------------
   Legal dialogs
   -------------------------------------------------------------------------- */

.legal-dialog {
    width: min(680px, calc(100% - 32px));
    max-height: min(82vh, 760px);
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--grey);
    box-shadow: var(--shadow-lg);
}

.legal-dialog::backdrop {
    background: rgba(41, 20, 28, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.legal-dialog__inner {
    position: relative;
    padding: clamp(28px, 5vw, 48px);
}

.legal-dialog__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--charcoal);
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.legal-dialog__close:hover {
    background: var(--burgundy);
    color: var(--ivory);
}

.legal-dialog__close .icon {
    width: 18px;
    height: 18px;
}

.legal-dialog h2 {
    padding-right: 48px;
    font-size: 1.875rem;
}

.legal-dialog h3 {
    margin: 22px 0 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.legal-dialog__updated {
    margin: 8px 0 20px;
    font-size: 0.8125rem;
    color: var(--gold-ink);
}
