:root {
    --sf-ink: #101a31;
    --sf-text: #3e4658;
    --sf-paper: #f4f6f8;
    --sf-stone: #f7f4ee;
    --sf-accent: #c8a24a;
    --sf-accent-dark: #a9852f;
    --sf-sage: #5e6b7d;
    --sf-gold: #c8a24a;
    --sf-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sf-paper);
    color: var(--sf-text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

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

.sf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr minmax(180px, 260px);
    align-items: center;
    gap: 28px;
    min-height: 82px;
    padding: 0 8vw;
    background: rgba(244, 246, 248, 0.96);
    border-bottom: 1px solid rgba(16, 26, 49, 0.09);
    backdrop-filter: blur(14px);
}

.sf-brand {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    justify-self: start;
    min-width: 220px;
    color: var(--sf-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.sf-brand__logo {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
}

.sf-brand span {
    color: var(--sf-accent);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.sf-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 30px;
    color: var(--sf-ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.sf-nav a,
.sf-header-action,
.sf-btn {
    min-height: 44px;
}

.sf-nav a:hover {
    color: var(--sf-accent);
}

.sf-header-action,
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.sf-header-action {
    min-width: 112px;
    padding: 0 18px;
    background: var(--sf-ink);
    color: var(--sf-white);
}

.sf-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 82vh;
    padding: 110px 8vw 92px;
    overflow: hidden;
    background-image: url("../img/hero/h1_hero1.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sf-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(16, 26, 49, 0.72);
}

.sf-hero__content,
.sf-hero__meta {
    position: relative;
    z-index: 1;
}

.sf-hero__content {
    max-width: 700px;
    color: var(--sf-white);
}

.sf-eyebrow {
    margin: 0 0 16px;
    color: var(--sf-gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.sf-hero h1 {
    margin: 0;
    color: var(--sf-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 76px;
    font-weight: 700;
    line-height: 0.95;
}

.sf-hero__text {
    max-width: 600px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

.sf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.sf-btn {
    min-width: 150px;
    padding: 15px 22px;
    border: 1px solid transparent;
}

.sf-btn--primary {
    background: var(--sf-accent);
    color: var(--sf-ink);
}

.sf-btn--primary:hover {
    background: var(--sf-accent-dark);
    color: var(--sf-white);
}

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

.sf-btn--dark:hover {
    background: #1b2642;
    color: var(--sf-white);
}

.sf-btn--whatsapp {
    background: var(--sf-ink);
    color: var(--sf-white);
}

.sf-btn--whatsapp:hover {
    background: var(--sf-accent-dark);
    color: var(--sf-white);
}

.sf-btn--instagram {
    background: var(--sf-ink);
    color: var(--sf-white);
}

.sf-btn--instagram:hover {
    background: var(--sf-accent-dark);
    color: var(--sf-white);
}

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

.sf-btn--ghost:hover {
    background: var(--sf-white);
    color: var(--sf-ink);
}

.sf-hero__meta {
    position: absolute;
    right: 8vw;
    bottom: 34px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sf-hero__meta span {
    min-width: 112px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--sf-ink);
    font-weight: 800;
    text-align: center;
}

.sf-section,
.sf-contact {
    padding: 94px 8vw;
}

.sf-section__head {
    display: grid;
    gap: 6px;
    max-width: 760px;
    margin-bottom: 42px;
}

.sf-section h2,
.sf-process h2,
.sf-about h2,
.sf-contact h2 {
    margin: 0;
    color: var(--sf-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    line-height: 1.05;
}

.sf-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sf-service {
    display: grid;
    grid-template-rows: 230px 1fr;
    min-height: 490px;
    overflow: hidden;
    background: var(--sf-white);
    border: 1px solid rgba(16, 26, 49, 0.08);
    border-radius: 8px;
}

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

.sf-service div {
    padding: 30px;
}

.sf-service i,
.sf-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    background: rgba(96, 116, 108, 0.12);
    color: var(--sf-sage);
}

.sf-service-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: sepia(55%) saturate(840%) hue-rotate(1deg) brightness(92%) contrast(92%);
}

.sf-service h3 {
    margin: 0 0 12px;
    color: var(--sf-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
}

.sf-service p,
.sf-about p,
.sf-contact p {
    margin: 0;
}

.sf-process {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
    min-height: 620px;
    background: var(--sf-stone);
}

.sf-process__image {
    min-height: 520px;
    background-image: url("../img/gallery/visit_bg.png");
    background-position: center;
    background-size: cover;
}

.sf-process__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 84px 8vw 84px 70px;
}

.sf-steps {
    display: grid;
    gap: 18px;
    margin: 34px 0 0;
    padding: 0;
}

.sf-steps li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 4px 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(16, 26, 49, 0.13);
    list-style: none;
}

.sf-steps span {
    grid-row: span 2;
    color: var(--sf-accent);
    font-weight: 800;
}

.sf-steps strong {
    color: var(--sf-ink);
    font-size: 18px;
}

.sf-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 44px;
    align-items: center;
    background: var(--sf-white);
}

.sf-about__copy {
    display: grid;
    gap: 18px;
    max-width: 760px;
}

.sf-about__note {
    display: grid;
    gap: 12px;
    padding: 34px;
    background: var(--sf-ink);
    color: var(--sf-white);
    border-radius: 8px;
}

.sf-about__note strong {
    color: var(--sf-gold);
    font-size: 13px;
    text-transform: uppercase;
}

.sf-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    gap: 46px;
    background: var(--sf-paper);
}

.sf-contact__info {
    display: grid;
    align-content: start;
    gap: 18px;
}

.sf-contact ul {
    display: grid;
    gap: 14px;
    margin: 12px 0 0;
    padding: 0;
}

.sf-contact li {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--sf-ink);
    font-weight: 700;
    list-style: none;
}

.sf-contact li i {
    color: var(--sf-accent);
}

.sf-contact-card {
    display: grid;
    align-content: center;
    gap: 18px;
    min-height: 420px;
    padding: 34px;
    background: var(--sf-white);
    border: 1px solid rgba(16, 26, 49, 0.08);
    border-radius: 8px;
}

.sf-contact-card__label {
    color: var(--sf-accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.sf-contact-card h3 {
    margin: 0;
    color: var(--sf-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.12;
}

.sf-contact-card p {
    font-size: 18px;
}

.sf-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.sf-map {
    grid-column: 1 / -1;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid rgba(16, 26, 49, 0.08);
    border-radius: 8px;
    background: var(--sf-white);
}

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

.sf-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 30px;
    background: var(--sf-white);
    border: 1px solid rgba(16, 26, 49, 0.08);
    border-radius: 8px;
}

.sf-form label {
    display: grid;
    gap: 8px;
    color: var(--sf-ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.sf-form label:nth-child(4) {
    grid-column: 1 / -1;
}

.sf-form input,
.sf-form select,
.sf-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(16, 26, 49, 0.15);
    border-radius: 0;
    padding: 12px 14px;
    background: #fbfcff;
    color: var(--sf-ink);
    font: inherit;
}

.sf-form textarea {
    resize: vertical;
}

.sf-form .sf-btn {
    justify-self: start;
}

.sf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 42px 8vw;
    background: var(--sf-ink);
    color: rgba(255, 255, 255, 0.76);
}

.sf-brand--footer {
    color: var(--sf-white);
}

.sf-footer p {
    margin: 10px 0 0;
}

.sf-credit {
    max-width: 650px;
    text-align: right;
}

.sf-credit a {
    color: var(--sf-gold);
}

@media (max-width: 991px) {
    .sf-header {
        display: flex;
        min-height: auto;
        flex-wrap: wrap;
        padding: 18px 28px;
    }

    .sf-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        gap: 18px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .sf-hero {
        min-height: calc(100vh - 150px);
        padding: 88px 28px 110px;
        background-position: 62% center;
    }

    .sf-hero h1 {
        font-size: 56px;
    }

    .sf-services,
    .sf-process,
    .sf-about,
    .sf-contact {
        grid-template-columns: 1fr;
    }

    .sf-process__content {
        padding: 64px 28px;
    }

    .sf-section,
    .sf-contact {
        padding: 72px 28px;
    }

    .sf-about__note {
        max-width: 430px;
    }

    .sf-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .sf-credit {
        text-align: left;
    }
}

@media (max-width: 575px) {
    .sf-brand {
        min-width: 158px;
        font-size: 22px;
    }

    .sf-brand__logo {
        width: 170px;
    }

    .sf-header-action {
        min-width: 94px;
    }

    .sf-hero h1 {
        font-size: 44px;
    }

    .sf-hero__text {
        font-size: 18px;
    }

    .sf-hero__meta {
        left: 28px;
        right: 28px;
        justify-content: flex-start;
    }

    .sf-section h2,
    .sf-process h2,
    .sf-about h2,
    .sf-contact h2 {
        font-size: 34px;
    }

    .sf-service {
        grid-template-rows: 210px 1fr;
    }

    .sf-form {
        grid-template-columns: 1fr;
        padding: 22px;
    }

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

    .sf-form label:nth-child(4) {
        grid-column: auto;
    }
}
