:root {
    --ivory: #f4efe6;
    --ivory-deep: #e7e0d4;
    --ink: #1c1916;
    --ink-soft: #5c564c;
    --gold: #6b4e2e;
    --gold-line: rgba(107, 78, 46, 0.4);
    --plinth: #1c1916;
    --plinth-text: #f6f1e8;
    --plinth-muted: #e4d7c2;
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    min-height: 100dvh;
    overflow-x: clip;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(141, 107, 62, 0.08), transparent 55%),
        var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}

.skip {
    position: absolute;
    left: 16px;
    top: 12px;
    transform: translateY(-140%);
    background: var(--ink);
    color: var(--plinth-text);
    padding: 10px 14px;
    z-index: 10;
    text-decoration: none;
}

.skip:focus {
    transform: none;
}

.page {
    min-height: 100dvh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 40px 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.mast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(28, 25, 22, 0.12);
}

.logo-crop {
    width: 232px;
    flex: 0 0 auto;
    min-width: 0;
}

.logo-crop img {
    display: block;
    width: 100%;
    height: auto;
}

.status {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-line);
    padding: 10px 14px;
    line-height: 1;
    white-space: nowrap;
}

.stage {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 1.08fr);
    gap: 48px 56px;
    align-items: center;
    padding: 28px 0 32px;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.intro h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.6rem, 5.2vw, 5.15rem);
    line-height: 0.92;
    letter-spacing: -0.025em;
    color: var(--ink);
    text-wrap: balance;
}

.intro h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.lede {
    margin-top: 22px;
    max-width: 28ch;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--ink-soft);
    padding-top: 18px;
    border-top: 1px solid rgba(28, 25, 22, 0.14);
    position: relative;
}

.lede::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 64px;
    height: 1px;
    background: var(--gold);
}

.vista {
    margin: 0;
    height: clamp(260px, calc(100dvh - 390px), 520px);
    min-height: 240px;
    padding: 10px;
    background: #fffdf8;
    border: 1px solid var(--gold-line);
    box-shadow: 0 28px 50px rgba(28, 25, 22, 0.14);
}

.vista img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
}

.contacts {
    display: grid;
    grid-template-columns: 1.45fr 1.05fr 0.8fr 1.15fr;
    gap: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 6px max(40px, calc((100vw - 1280px) / 2 + 40px)) 10px;
    background: var(--plinth);
    color: var(--plinth-text);
}

.contact {
    padding: 22px 28px 26px 0;
    min-width: 0;
}

.contact + .contact {
    padding-left: 28px;
    border-left: 1px solid rgba(246, 241, 232, 0.14);
}

.label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--plinth-muted);
}

.label svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.contact p:last-child {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact a {
    color: var(--plinth-text);
    display: inline-block;
    padding: 6px 0;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
}

.contact a:hover {
    text-decoration-color: var(--plinth-muted);
}

.amp {
    margin: 0 0.3em;
    color: var(--plinth-muted);
}

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

@media (max-width: 900px) {
    .page {
        padding: 20px 20px 0;
    }

    .stage {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 0 32px;
    }

    .vista {
        order: -1;
        height: 42vh;
        min-height: 220px;
    }

    .contacts {
        grid-template-columns: 1fr 1fr;
        padding: 8px 20px 12px;
    }

    .contact:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .contact:nth-child(3),
    .contact:nth-child(4) {
        border-top: 1px solid rgba(246, 241, 232, 0.14);
    }

    .contact:nth-child(even) {
        padding-left: 20px;
    }
}

@media (max-width: 560px) {
    .mast {
        align-items: center;
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .logo-crop {
        width: 176px;
    }

    .status {
        letter-spacing: 0.16em;
        padding: 9px 10px;
    }

    .intro h1 {
        font-size: clamp(2.55rem, 12vw, 3.3rem);
    }

    .contacts {
        grid-template-columns: 1fr;
        padding-inline: 20px;
    }

    .contact,
    .contact:nth-child(even) {
        padding: 18px 0;
        border-left: 0;
    }

    .contact + .contact {
        border-top: 1px solid rgba(246, 241, 232, 0.14);
    }
}

.quick-actions {
    display: none;
}

@media (max-width: 768px) {
    .contacts {
        padding-bottom: calc(108px + env(safe-area-inset-bottom));
    }

    .quick-actions {
        display: flex;
        position: fixed;
        z-index: 30;
        left: 16px;
        right: 16px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        gap: 10px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
    }

    .quick-actions.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .quick-action {
        flex: 1 1 0;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 999px;
        background: var(--ivory);
        color: var(--ink);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        letter-spacing: 0.03em;
        border: 1px solid rgba(28, 25, 22, 0.14);
        box-shadow: 0 12px 28px rgba(28, 25, 22, 0.28);
    }

    .quick-action svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex: 0 0 auto;
    }

    .quick-action-whatsapp svg {
        stroke: #1b7a43;
    }

    .quick-action:active {
        background: var(--ivory-deep);
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.intro,
.vista {
    animation: rise 680ms ease both;
}

.vista {
    animation-delay: 90ms;
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
