@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #f5f4f0;
    --ink: #1a1e25;
    --muted: #666b73;
    --placeholder: #989ca3;
    --line: #e5e3db;
    --blue: #1f3a5f;
    --blue-hover: #152a47;
    --blue-soft: #9db4d0;
    --white: #ffffff;
    --header-h: 5rem;
    --max: 80rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

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

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

::selection {
    background: var(--blue);
    color: var(--white);
}

.serif {
    font-family: "Cormorant Garamond", serif;
}

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .wrap {
        padding: 0 2rem;
    }
}

.kicker {
    margin-bottom: 1rem;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.title {
    max-width: 36rem;
    color: var(--ink);
    font-size: 1.875rem;
    font-weight: 400;
    letter-spacing: -0.025em;
}

@media (min-width: 640px) {
    .title {
        font-size: 2.25rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-solid {
    background: var(--blue);
    color: var(--white);
}

.btn-solid:hover {
    background: var(--blue-hover);
}

.btn-ghost {
    border: 1px solid var(--ink);
    color: var(--ink);
}

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

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: gap 0.15s;
}

.link-arrow:hover {
    gap: 0.75rem;
}

/* Header */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    background: transparent;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
    background: rgb(245 244 240 / 0.95);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.logo-mark {
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.site-nav {
    display: none;
    align-items: center;
    gap: 2.5rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.25rem;
    height: 2.25rem;
}

.nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .site-nav {
        display: flex;
    }

    .header-cta {
        display: inline-flex;
    }

    .nav-toggle {
        display: none;
    }
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 49;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 1rem 2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav a {
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mobile-nav a:hover,
.mobile-nav a.btn {
    color: var(--white);
}

/* Hero */

.hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--header-h);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 1rem;
}

.hero-copy .kicker {
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.hero-lead {
    max-width: 28rem;
    margin-bottom: 2.5rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-media {
    min-height: 50vh;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-mask {
    clip-path: none;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .hero-copy {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
    }

    .hero-copy,
    .hero-media {
        width: 50%;
        min-height: 0;
    }

    .hero-copy {
        padding: 0 4rem 0 4rem;
    }

    .hero-image-mask {
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }
}

@media (min-width: 1280px) {
    .hero-copy {
        padding-left: 6rem;
    }
}

/* Sections */

.section {
    padding: 6rem 1rem;
}

/* Two sections on the same background would otherwise stack both paddings. */
.section + .section {
    padding-top: 0;
}

.section-head {
    margin-bottom: 4rem;
}

.section-split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-note {
    max-width: 24rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.band {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
    .section {
        padding: 8rem 2rem;
    }

    .section-split {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-media img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-label {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blue);
    color: var(--ink);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.card-text {
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.625;
}

.card-title {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.card-detail {
    color: var(--muted);
    font-size: 0.875rem;
}

.card-soft {
    background: var(--bg);
}

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--ink);
    color: var(--white);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .card-body-lg {
        padding: 2rem;
    }
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-intro {
    margin-bottom: 3rem;
    max-width: 28rem;
    color: var(--muted);
}

.contact-intro p + p {
    margin-top: 1rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--blue);
}

.contact-item small {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.contact-item a:hover {
    color: var(--blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.field label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.75rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--placeholder);
}

.field input:focus,
.field textarea:focus {
    border-bottom-color: var(--blue);
}

.form-alert {
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
}

.form-alert.is-ok {
    background: #e7edf5;
    color: var(--blue);
}

.form-alert.is-err {
    background: #f6e8e8;
    color: #8a2b2b;
}

@media (min-width: 768px) {
    .contact-form {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */

.site-footer {
    padding: 3rem 1rem;
    background: var(--ink);
    color: var(--white);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-mark-light {
    color: var(--blue-soft);
}

.footer-meta {
    color: rgb(255 255 255 / 0.6);
    font-size: 0.875rem;
}

.footer-copy {
    color: rgb(255 255 255 / 0.4);
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 3rem 2rem;
    }

    .site-footer__inner {
        flex-direction: row;
        align-items: center;
    }
}

/* WhatsApp */

.whatsapp {
    position: fixed;
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 6px 18px rgb(0 0 0 / 0.25);
    transition: background-color 0.2s, transform 0.2s;
}

.whatsapp:hover {
    background: #1ebe5b;
    transform: scale(1.06);
}

.whatsapp:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp {
        transition: none;
    }

    .whatsapp:hover {
        transform: none;
    }
}
