/* ================================
   RESET
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f8f6f2;
    color: #272522;
    line-height: 1.6;
}

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

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

button {
    font-family: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* ================================
   VARIABLES
================================ */

:root {
    --background: #f8f6f2;
    --white: #ffffff;
    --dark: #272522;
    --muted: #77736d;
    --accent: #9a8065;
    --accent-dark: #78634e;
    --border: #e5e0d8;
}


/* ================================
   TYPOGRAPHY
================================ */

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    line-height: 1.15;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

h3 {
    font-size: 1.5rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--accent);
}


/* ================================
   BUTTONS
================================ */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 28px;

    border-radius: 3px;

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

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

.button.primary {
    background: var(--dark);
    color: var(--white);
}

.button.primary:hover {
    background: var(--accent-dark);
}

.button.secondary {
    border: 1px solid var(--dark);
    color: var(--dark);
}

.button.secondary:hover {
    background: var(--dark);
    color: var(--white);
}


/* ================================
   HEADER
================================ */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(248, 246, 242, 0.96);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
}

.header-content {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;

    width: 150px;
}

.logo img {
    width: 100%;
    height: auto;

    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-size: 0.85rem;
    font-weight: 500;

    transition: color 0.2s ease;
}

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

.nav-button {
    padding: 12px 20px;

    background: var(--dark);
    color: var(--white) !important;

    border-radius: 3px;
}

.nav-button:hover {
    background: var(--accent-dark);
}

.menu-toggle {
    display: none;

    border: 0;
    background: none;

    font-size: 1.6rem;
    color: var(--dark);

    cursor: pointer;
}


/* ================================
   HERO
================================ */

.hero {
    padding: 80px 0 100px;
}

.hero-grid {
    min-height: 650px;

    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 80px;
}

.hero-text {
    max-width: 620px;
}

.hero h1 {
    margin-bottom: 28px;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero-text > p {
    max-width: 500px;

    margin-bottom: 35px;

    color: var(--muted);
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-image {
    height: 650px;

    overflow: hidden;
    border-radius: 3px;
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ================================
   SECTIONS
================================ */

.section {
    padding: 110px 0;
}

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

.section-heading {
    max-width: 680px;
    margin-bottom: 60px;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1rem;
}


/* ================================
   PROCEDURES
================================ */

.procedure-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.procedure-card {
    background: var(--white);
    border: 1px solid var(--border);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.procedure-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(39, 37, 34, 0.08);
}

.procedure-image {
    height: 270px;
    overflow: hidden;
}

.procedure-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.procedure-card:hover .procedure-image img {
    transform: scale(1.04);
}

.procedure-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #eee9e1;
}

.procedure-image-placeholder div {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--accent);
    border-radius: 50%;

    color: var(--accent);
    font-size: 1.5rem;
}

.procedure-content {
    padding: 28px;
}

.procedure-number {
    display: block;

    margin-bottom: 12px;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;

    color: var(--accent);
}

.procedure-content h3 {
    margin-bottom: 12px;
}

.procedure-content p {
    margin-bottom: 22px;

    color: var(--muted);
    font-size: 0.9rem;
}

.text-button {
    border: 0;
    background: transparent;

    color: var(--accent-dark);

    font-size: 0.85rem;
    font-weight: 700;

    cursor: pointer;

    transition: color 0.2s ease;
}

.text-button:hover {
    color: var(--dark);
}


/* ================================
   PRICES
================================ */

.price-list {
    max-width: 950px;

    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--border);
}

.price-item {
    min-height: 125px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 28px 0;

    border-bottom: 1px solid var(--border);
}

.price-info h3 {
    margin-bottom: 7px;
}

.price-info p {
    color: var(--muted);
    font-size: 0.88rem;
}

.price-value {
    display: flex;
    align-items: center;
    gap: 25px;

    text-align: right;
}

.price-value strong {
    min-width: 150px;

    font-size: 1rem;
    font-weight: 600;
}

.price-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    min-height: 42px;

    padding: 0 18px;

    border: 1px solid var(--dark);

    font-size: 0.8rem;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.price-button:hover {
    background: var(--dark);
    color: var(--white);
}


/* ================================
   ABOUT
================================ */

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    align-items: center;
    gap: 90px;
}

.about-image {
    height: 600px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-content {
    max-width: 560px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content h2 span {
    display: block;
    color: var(--accent);
}

.about-content p {
    margin-bottom: 18px;

    color: var(--muted);
}

.about-content .button {
    margin-top: 18px;
}


/* ================================
   DIFFERENTIALS
================================ */

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.differential {
    padding: 30px;

    border: 1px solid var(--border);
    background: var(--background);
}

.differential-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border: 1px solid var(--accent);

    color: var(--accent);

    font-size: 0.7rem;
    font-weight: 700;
}

.differential h3 {
    margin-bottom: 12px;

    font-size: 1.25rem;
}

.differential p {
    color: var(--muted);
    font-size: 0.88rem;
}


/* ================================
   FAQ
================================ */

.faq-container {
    max-width: 850px;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 0;

    border: 0;
    background: transparent;

    color: var(--dark);

    font-size: 0.95rem;
    font-weight: 600;

    text-align: left;

    cursor: pointer;
}

.faq-question span {
    font-size: 1.4rem;
    font-weight: 400;

    transition: transform 0.25s ease;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 25px;

    color: var(--muted);
    font-size: 0.9rem;
}


/* ================================
   LOCATION
================================ */

.location-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: center;
    gap: 90px;
}

.location-content {
    max-width: 600px;
}

.location-content h2 {
    margin-bottom: 25px;
}

.location-address {
    margin-bottom: 30px;

    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.location-card {
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    border: 1px solid var(--border);

    background: var(--background);

    text-align: center;
}

.location-card-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border: 1px solid var(--accent);
    border-radius: 50%;

    color: var(--accent);

    font-size: 1.8rem;
}

.location-card h3 {
    margin-bottom: 5px;
}

.location-card p {
    margin-bottom: 20px;

    color: var(--muted);
}

.location-card a {
    color: var(--accent-dark);

    font-size: 0.85rem;
    font-weight: 600;
}

.location-card a:hover {
    color: var(--dark);
}


/* ================================
   CTA
================================ */

.cta-section {
    padding: 120px 0;

    background: var(--dark);
    color: var(--white);

    text-align: center;
}

.cta-content {
    max-width: 720px;
}

.cta-section .eyebrow {
    color: #c7b29b;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section h2 span {
    display: block;
    color: #c7b29b;
}

.cta-section p {
    max-width: 520px;

    margin: 0 auto 30px;

    color: #c8c4be;
}

.cta-section .button.primary {
    background: var(--white);
    color: var(--dark);
}

.cta-section .button.primary:hover {
    background: #eee9e1;
}


/* ================================
   FOOTER
================================ */

.footer {
    background: #211f1c;
    color: var(--white);
}

.footer-content {
    min-height: 210px;

    display: grid;
    grid-template-columns: 1.4fr 1fr 0.5fr;
    align-items: center;
    gap: 50px;
}

.footer-logo {
    display: block;

    width: 145px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-brand p {
    margin-top: 15px;

    color: #aaa59e;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.footer-links a,
.footer-contact a {
    color: #c7c2bb;

    font-size: 0.8rem;

    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;

    text-align: right;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    padding: 20px 0;

    color: #8e8982;

    font-size: 0.72rem;
}


/* ================================
   MODAL
================================ */

.modal {
    position: fixed;
    inset: 0;

    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 25px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(25, 23, 21, 0.7);

    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    z-index: 1;

    width: min(600px, 100%);

    max-height: 90vh;
    overflow-y: auto;

    padding: 50px;

    background: var(--white);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    border: 0;
    background: transparent;

    color: var(--dark);

    font-size: 1.8rem;
    font-weight: 300;

    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 18px;

    color: var(--muted);
}

.modal-content ul {
    margin: 15px 0 25px;
    padding-left: 20px;

    color: var(--muted);
}

.modal-content li {
    margin-bottom: 8px;
}

.modal-content .button {
    margin-top: 10px;
}


/* ================================
   TABLET
================================ */

@media (max-width: 1000px) {

    .nav {
        gap: 18px;
    }

    .procedure-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        gap: 50px;
    }

    .location-grid {
        gap: 50px;
    }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 760px) {

    .container {
        width: min(92%, 600px);
    }


    /* HEADER */

    .header-content {
        min-height: 72px;
    }

    .logo {
        width: 125px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 4% 20px;

        background: var(--background);

        border-bottom: 1px solid var(--border);

        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 15px 0;

        border-bottom: 1px solid var(--border);
    }

    .nav-button {
        margin-top: 12px;

        padding: 14px !important;

        border-bottom: 0 !important;

        text-align: center;
    }


    /* HERO */

    .hero {
        padding: 55px 0 70px;
    }

    .hero-grid {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-text {
        max-width: none;
    }

    h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .hero-text > p {
        font-size: 0.98rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-image {
        height: 500px;
    }


    /* SECTIONS */

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }


    /* PROCEDURES */

    .procedure-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .procedure-image {
        height: 300px;
    }

    .procedure-content {
        padding: 25px;
    }


    /* PRICES */

    .price-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;

        padding: 25px 0;
    }

    .price-value {
        width: 100%;

        justify-content: space-between;

        text-align: left;
    }

    .price-value strong {
        min-width: 0;

        font-size: 0.95rem;
    }

    .price-button {
        min-width: 110px;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-image {
        height: 450px;
    }


    /* DIFFERENTIALS */

    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .differential {
        padding: 25px;
    }


    /* FAQ */

    .faq-question {
        gap: 20px;

        font-size: 0.9rem;
    }


    /* LOCATION */

    .location-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .location-buttons {
        flex-direction: column;
    }

    .location-buttons .button {
        width: 100%;
    }


    /* CTA */

    .cta-section {
        padding: 85px 0;
    }


    /* FOOTER */

    .footer-content {
        padding: 45px 0;

        min-height: auto;

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-contact {
        text-align: left;
    }


    /* MODAL */

    .modal {
        padding: 15px;
    }

    .modal-content {
        padding: 40px 25px 30px;
    }

    .modal-content .button {
        width: 100%;
    }

}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 420px) {

    .logo {
        width: 115px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-image {
        height: 420px;
    }

    .procedure-image {
        height: 250px;
    }

    .price-value {
        align-items: center;
    }

    .price-value strong {
        max-width: 170px;
    }

    .about-image {
        height: 380px;
    }

    .modal-content {
        padding: 38px 20px 25px;
    }

}