@font-face {
    font-family: "Poppins";
    src: url("../assets/fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/fonts/Poppins-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: 700;
}

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

:root {
    --lilac: #8d6a9d;
    --lilac-dark: #6d4f7c;
    --lilac-light: #f3edf5;
    --cream: #fbfafb;
    --white: #ffffff;
    --text: #302933;
    --muted: #918791;
    --line: #e3dce5;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

.preserve-page {
    width: 100%;
    min-height: 100vh;
}

.top-header {
    height: 82px;
    padding: 0 52px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
}

.back-link {
    justify-self: start;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
    transition: 0.25s ease;
}

.back-link span {
    margin-right: 7px;
    color: var(--lilac);
    font-size: 14px;
}

.back-link:hover {
    color: var(--lilac);
}

.logo img {
    width: 68px;
    display: block;
}

.header-label {
    justify-self: end;
    color: #a39aa4;
    font-size: 7px;
    letter-spacing: 2.5px;
}

.hero-preserve {
    width: min(1140px, 88%);
    min-height: 650px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 85px;
}

.hero-copy {
    max-width: 500px;
}

.eyebrow,
.section-heading > span,
.closing-eyebrow {
    color: var(--lilac);
    font-size: 8px;
    letter-spacing: 3px;
}

.hero-copy h1 {
    margin-top: 19px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 70px);
    line-height: 0.99;
    font-weight: 400;
}

.hero-copy h1 em {
    display: block;
    color: var(--lilac);
    font-style: italic;
}

.hero-copy p {
    max-width: 420px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
}

.hero-button {
    margin-top: 30px;
    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--lilac);
    color: var(--lilac);
    font-size: 8px;
    letter-spacing: 0.7px;
    transition: 0.25s ease;
}

.hero-button:hover {
    background: var(--lilac);
    color: white;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-frame {
    width: min(490px, 100%);
    height: 490px;
    padding: 13px;
    background: white;
    box-shadow: 0 30px 70px rgba(65, 46, 70, 0.11);
    transform: rotate(1.2deg);
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-caption {
    align-self: flex-start;
    margin-top: 19px;
    color: #a39aa4;
    font-size: 7px;
    letter-spacing: 2px;
}

.services-section {
    padding: 105px 6% 120px;
    background: white;
}

.section-heading {
    width: min(1120px, 100%);
    margin: auto;
}

.section-heading h2 {
    max-width: 650px;
    margin-top: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(37px, 4vw, 53px);
    line-height: 1.04;
    font-weight: 400;
}

.section-heading h2 em {
    color: var(--lilac);
    font-style: italic;
}

.service-grid {
    width: min(1120px, 100%);
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-card {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 360px;
    background: var(--cream);
    border: 1px solid var(--line);
    transition: 0.3s ease;
}

.service-card:hover,
.service-card.active {
    border-color: rgba(141, 106, 157, 0.48);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(65, 46, 70, 0.08);
}

.service-image {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: var(--lilac-light);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.035);
}

.service-number {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--lilac);
    font-size: 7px;
    letter-spacing: 1px;
}

.service-content {
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-type {
    color: #a097a1;
    font-size: 7px;
    letter-spacing: 2px;
}

.service-content h3 {
    margin-top: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 400;
}

.service-content p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.8;
}

.view-service {
    width: fit-content;
    margin-top: 25px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--lilac);
    background: transparent;
    color: var(--lilac);
    font-size: 8px;
}

.view-service span {
    margin-left: 12px;
}

.detail-section {
    width: min(1000px, 88%);
    margin: auto;
    padding: 125px 0;
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    gap: 85px;
}

.detail-image {
    height: 470px;
    padding: 10px;
    background: white;
    box-shadow: 0 25px 65px rgba(65, 46, 70, 0.09);
}

.detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-copy > span {
    color: var(--lilac);
    font-size: 8px;
    letter-spacing: 2.5px;
}

.detail-copy h2 {
    margin-top: 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1;
    font-weight: 400;
}

.detail-copy p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.9;
}

.detail-note {
    margin-top: 32px;
    padding: 19px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.detail-note span {
    display: block;
    color: var(--lilac);
    font-size: 7px;
    letter-spacing: 2px;
}

.detail-note strong {
    display: block;
    margin-top: 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
}

.contact-button {
    margin-top: 27px;
    padding: 14px 19px;
    display: inline-flex;
    align-items: center;
    gap: 25px;
    background: var(--lilac);
    color: white;
    font-size: 8px;
    letter-spacing: 0.7px;
    transition: 0.25s ease;
}

.contact-button:hover {
    background: var(--lilac-dark);
    transform: translateY(-2px);
}

.contact-button span {
    font-size: 13px;
}

.closing-section {
    padding: 125px 20px 110px;
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(224, 211, 229, 0.38),
            transparent 45%
        ),
        #f8f5f9;
}

.closing-line {
    width: 45px;
    height: 1px;
    margin: 0 auto 30px;
    background: var(--lilac);
}

.closing-section h2 {
    max-width: 800px;
    margin: 18px auto 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.06;
    font-weight: 400;
}

.closing-section h2 em {
    display: block;
    color: var(--lilac);
    font-style: italic;
}

.closing-section p {
    max-width: 530px;
    margin: 25px auto 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.9;
}

.closing-section p strong {
    color: var(--lilac-dark);
    font-weight: 500;
}

.closing-link {
    display: inline-block;
    margin-top: 31px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--lilac);
    color: var(--lilac);
    font-size: 8px;
    letter-spacing: 1px;
}

.footer {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: white;
    border-top: 1px solid var(--line);
}

.footer p {
    max-width: 620px;
    color: #a097a1;
    font-size: 7px;
    line-height: 1.6;
}

.footer span {
    color: #a097a1;
    font-size: 6px;
    letter-spacing: 2px;
}

@media (max-width: 900px) {

    .hero-preserve {
        gap: 50px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .detail-section {
        gap: 50px;
    }

}

@media (max-width: 700px) {

    .top-header {
        padding: 0 20px;
    }

    .header-label {
        display: none;
    }

    .hero-preserve {
        width: 88%;
        padding: 75px 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 55px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-copy h1 {
        font-size: 48px;
    }

    .hero-frame {
        height: 390px;
    }

    .services-section {
        padding: 80px 6%;
    }

    .service-card {
        display: block;
    }

    .service-image {
        height: 330px;
        min-height: 0;
    }

    .service-content {
        min-height: 270px;
    }

    .detail-section {
        padding: 85px 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .detail-image {
        height: 390px;
    }

    .detail-copy h2 {
        font-size: 40px;
    }

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

}

@media (max-width: 450px) {

    .logo img {
        width: 58px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-frame {
        height: 330px;
    }

    .service-image {
        height: 280px;
    }

    .detail-image {
        height: 330px;
    }

} 