:root {
    --navy: #071a38;
    --navy2: #0d2449;
    --gold: #d8a13d;
    --gold2: #bf8330;
    --cream: #fffaf2;
    --text: #10243f;
    --muted: #637083;
    --line: #eadfce;
    --shadow: 0 18px 50px rgba(17, 34, 61, .14)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: #fff;
    color: var(--text)
}

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

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

.header {
    height: 62px;
    padding: 0 7.5%;
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .04)
}

.brand img {
    width: 190px
}

.nav {
    margin-left: auto;
    display: flex;
    gap: 30px;
    font-size: 13px;
    font-weight: 600
}

.header-actions {
    display: flex;
    gap: 14px
}

.header-actions .cta-pair > .btn {
    min-width: 172px;
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer
}

.btn-gold {
    background: linear-gradient(180deg, var(--gold), var(--gold2));
    color: #fff;
    box-shadow: 0 10px 24px rgba(216, 161, 61, .25)
}

.btn-outline {
    border-color: #173352;
    color: #173352;
    background: #fff
}

.btn-light {
    background: rgba(255, 255, 255, .78);
    border-color: #132846;
    color: #132846
}

.menu-btn {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 0;
    font-size: 28px
}

.hero {
    height: 610px;
    min-height: 520px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 245, 226, .08), rgba(255, 252, 247, .12) 60%, rgba(255, 255, 255, .24))
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: -18px
}

.hero-logo {
    width: 190px;
    height: 190px;
    object-fit: contain;
    margin: 0 auto 20px
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    line-height: .99;
    margin: 0;
    color: #10243f;
    letter-spacing: -1px
}

.hero h1 span {
    color: var(--gold2)
}

.hero p {
    font-size: 16px;
    line-height: 1.55;
    margin: 20px 0 24px;
    color: #23364e
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center
}

.chips {
    position: absolute;
    bottom: 74px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
    width: min(1040px, 88vw);
    justify-content: center;
    flex-wrap: wrap
}

.chips button {
    height: 34px;
    border-radius: 999px;
    border: 1px solid #e5e1db;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
    padding: 0 18px;
    font-weight: 700;
    color: #4a5565
}

.search {
    position: relative;
    z-index: 5;
    margin: -34px auto 0;
    width: min(1010px, 84vw);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
    border-radius: 15px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 1.4fr 1.25fr .7fr auto;
    gap: 18px;
    align-items: center
}

.search-field {
    border-right: 1px solid var(--line);
    padding-right: 18px;
    text-align: left
}

.search label {
    display: block;
    color: #9a8d7b;
    font-size: 12px;
    margin-bottom: 8px
}

.search input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 13px;
    color: #1f2f44
}

.checks {
    display: grid;
    gap: 8px;
    text-align: left;
    font-size: 13px
}

.checks input {
    accent-color: var(--gold)
}

.section {
    width: min(1010px, 84vw);
    margin: 0 auto;
    padding: 54px 0
}

.section h2,
.stories h2,
.professional h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin: 0;
    color: #10243f
}

.how {
    position: relative;
    text-align: center;
    background: linear-gradient(180deg, #fffdfa 0%, #fff7ed 44%, #f6e0b8 100%);
    width: 100%;
    margin: 0;
    padding: 54px 0 44px;
    overflow: hidden
}

.how::before,
#categorias::before {
    content: "";
    position: absolute;
    inset: -8% -1% -8% auto;
    width: 28%;
    pointer-events: none;
    opacity: .10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 1200' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23e8c780' stroke-linecap='round' stroke-opacity='.28'%3E%3Cpath d='M120 0 C70 130 150 200 112 320 S160 520 116 650 S150 850 112 980 S148 1110 118 1200' stroke-width='1.6'/%3E%3Cpath d='M235 0 C190 135 255 240 216 365 S262 575 220 740 S260 915 216 1060 S255 1145 220 1200' stroke-width='1.1'/%3E%3Cpath d='M355 0 C308 145 382 245 344 380 S390 580 348 740 S388 920 346 1080 S384 1145 350 1200' stroke-width='1.8'/%3E%3Cpath d='M480 0 C432 120 505 215 468 345 S510 560 470 720 S510 900 470 1050 S505 1140 475 1200' stroke-width='1.2'/%3E%3Cpath d='M600 0 C550 125 625 220 588 350 S630 560 590 730 S625 910 592 1060 S620 1140 598 1200' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 100% 100%;
    filter: blur(1.4px);
    transform: translateX(14%);
    z-index: 0
}

.how::after,
#categorias::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 28%, rgba(216, 161, 61, .06), transparent 36%),
        radial-gradient(circle at 82% 68%, rgba(216, 161, 61, .05), transparent 32%),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .50), transparent 28%);
    z-index: 0
}

.how > *,
#categorias > * {
    width: min(1010px, 84vw);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1
}

.steps {
    display: grid;
    grid-template-columns: 1fr .25fr 1fr .25fr 1fr;
    align-items: center;
    margin-top: 32px
}

.steps article {
    position: relative
}

.steps i {
    position: absolute;
    left: 55%;
    top: -8px;
    background: #0b2345;
    color: #fff;
    border-radius: 50%;
    font-style: normal;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800
}

.round {
    width: 74px;
    height: 74px;
    background: #fbf1df;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    color: var(--gold);
    font-size: 27px
}

.steps h3 {
    margin: 0 0 8px;
    font-size: 15px
}

.steps p {
    color: #657082;
    font-size: 13px;
    line-height: 1.55;
    margin: 0
}

.arrow {
    font-size: 34px;
    color: var(--gold);
    font-weight: 200
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-top: 16px
}

.section-title a {
    font-size: 12px;
    font-weight: 700;
    color: #34425a
}

#categorias {
    position: relative;
    background: linear-gradient(180deg, #f6e0b8 0%, #fff8ef 48%, #fffdfa 100%);
    width: 100%;
    margin: 0;
    padding: 44px 0 54px;
    overflow: hidden
}

.mid-cta-wrap {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 4;
    margin: -26px 0 -26px
}

.mid-cta {
    min-width: 168px;
    box-shadow: 0 12px 30px rgba(191, 131, 48, .24)
}

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

.cat-grid article {
    height: 106px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 9px 20px rgba(0, 0, 0, .08)
}

.cat-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cat-grid article:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5))
}

.cat-grid span {
    position: absolute;
    left: 18px;
    bottom: 14px;
    z-index: 2;
    color: white;
    font-weight: 800
}

.pros {
    position: relative
}

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

.card {
    border: 1px solid #eee2d2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding-bottom: 14px
}

.card img {
    height: 142px;
    width: 100%;
    object-fit: cover
}

.card h3 {
    font-size: 15px;
    margin: 13px 0 4px
}

.card p,
.card small {
    margin: 0 0 6px;
    color: #5c6675;
    font-size: 12px;
    display: block
}

.card b {
    display: block;
    color: var(--gold2);
    font-size: 13px;
    margin-bottom: 8px
}

.card a {
    border: 1px solid var(--gold2);
    border-radius: 4px;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 12px;
    color: #32415a
}

.slider {
    position: absolute;
    top: 57%;
    border: 0;
    background: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
    font-size: 24px;
    color: #0a213e
}

.left {
    left: -46px
}

.right {
    right: -46px
}

.stories {
    background: #fbf7f0;
    padding: 42px max(7.5%, calc((100% - 1010px)/2));
    display: grid;
    grid-template-columns: .9fr 2.1fr;
    gap: 42px;
    align-items: center;
    overflow: visible
}

.testimonials article {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .07);
    padding: 16px;
    margin: 14px 0
}

.testimonials img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover
}

.testimonials b {
    color: var(--gold);
    letter-spacing: 2px
}

.testimonials p {
    margin: 6px 0;
    color: #3d4a5e;
    font-size: 14px;
    line-height: 1.35
}

.testimonials a {
    float: right;
    font-size: 13px;
    font-weight: 700
}

.map {
    position: relative;
    min-height: 520px;
    border-left: 1px solid #dfd1bf;
    padding-left: 44px;
    overflow: visible
}

.map > div {
    position: relative;
    z-index: 2;
    max-width: 50%
}

.map p {
    font-size: 14px;
    color: #4d5a6a;
    line-height: 1.5
}

.map-cta {
    position: absolute;
    right: 30%;
    bottom: 28px;
    transform: none;
    min-width: 196px;
    padding: 15px 36px;
    font-size: 15px;
    box-shadow: 0 12px 30px rgba(191, 131, 48, .24);
    z-index: 3
}

.map-actions {
    position: absolute;
    left: 34px;
    bottom: 6px;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(240px, 28vw);
    align-items: stretch;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
}

.map.is-visible .map-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: .75s;
}

.map-actions.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.map-actions .map-cta {
    position: static;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    padding: 11px 16px;
    font-size: 13px;
}

.map img {
    position: absolute;
    right: calc(-1 * max(2%, calc((100vw - 1010px) / 2) - 196px));
    top: 56%;
    max-height: none;
    max-width: none;
    width: min(100%, 440px);
    height: auto;
    opacity: 0;
    transform: translateX(72px) translateY(-50%);
    transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s ease;
    z-index: 1;
    pointer-events: none
}

.map.is-visible img {
    opacity: 1;
    transform: translateX(0) translateY(-50%)
}

.stats {
    display: flex;
    gap: 35px;
    margin-top: 30px
}

.stats span {
    display: grid;
    gap: 4px;
    text-align: center;
    font-size: 12px;
    color: #5c6675
}

.stats b {
    font-size: 27px;
    color: #10243f
}

.professional {
    display: grid;
    grid-template-columns: 36% 64%;
    background: #061c3d;
    color: #fff
}

.professional>img {
    height: 304px;
    width: 100%;
    object-fit: cover
}

.professional>div {
    padding: 48px 7.5% 35px 54px
}

.professional span,
.community span {
    color: var(--gold);
    font-weight: 800
}

.professional h2 {
    color: #fff;
    font-size: 32px;
    margin: 8px 0 24px
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px
}

.benefits p {
    font-size: 12px;
    line-height: 1.45;
    color: #e1e8f1;
    margin: 0
}

.more {
    margin-left: 24px;
    color: var(--gold);
    font-weight: 700;
    font-size: 14px
}

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

.events article {
    background: #fff;
    border: 1px solid #eee2d2;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06)
}

.events img {
    height: 124px;
    width: 100%;
    object-fit: cover
}

.events h3 {
    font-size: 15px;
    margin: 14px 14px 7px
}

.events p,
.events small {
    display: block;
    margin: 0 14px 8px;
    color: #607086;
    font-size: 12px
}

.events small {
    color: var(--gold2);
    font-weight: 700;
    margin-bottom: 14px
}

.community {
    background: #061a38;
    color: #fff;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 22px;
    align-items: center;
    padding: 42px 7.5%;
    border-bottom: 1px solid rgba(216, 161, 61, .5)
}

.community h2 {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    line-height: 1.15;
    margin: 6px 0
}

.community article {
    text-align: center
}

.community b {
    font-size: 31px;
    color: var(--gold);
    display: block
}

.community small {
    color: #f2e7d5
}

.footer {
    background: #05152d;
    color: #e8eef6;
    padding: 36px 7.5%;
    display: grid;
    grid-template-columns: 1.6fr 1fr .9fr;
    gap: 36px
}

.footer img {
    width: 160px;
    margin-bottom: 12px
}

.footer p,
.footer a {
    font-size: 12px;
    color: #b5c0cf;
    line-height: 1.55;
    display: block
}

.footer b {
    color: #fff;
    font-size: 13px;
    margin-bottom: 10px;
    display: block
}

.footer-brand {
    max-width: 360px
}

.social {
    display: grid;
    gap: 10px;
    justify-content: start
}

.footer .social {
    display: none
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #b5c0cf;
    font-size: 12px
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8
}

.nav.open {
    display: flex
}

@media(max-width:1050px) {
    .header {
        padding: 0 24px
    }

    .nav,
    .header-actions {
        display: none
    }

    .menu-btn {
        display: block
    }

    .nav.open {
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 22px;
        gap: 16px
    }

    .hero h1 {
        font-size: 46px
    }

    .search {
        grid-template-columns: 1fr 1fr
    }

    .cat-grid,
    .pro-grid,
    .events {
        grid-template-columns: repeat(2, 1fr)
    }

    .stories,
    .professional,
    .community,
    .footer {
        grid-template-columns: 1fr
    }

    .map {
        border-left: 0;
        padding-left: 0
    }

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

@media(max-width:640px) {
    .brand img {
        width: 150px
    }

    .hero {
        height: 720px;
        align-items: flex-start;
        padding-top: 60px
    }

    .hero-content {
        margin-top: -24px
    }

    .hero-content {
        background: rgba(255, 250, 241, .28);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 18px;
        padding: 14px 16px 16px;
        max-width: calc(100% - 18px);
        margin-left: auto;
        margin-right: auto
    }

    .hero-logo {
        width: 160px;
        height: 160px;
        margin-bottom: 14px
    }

    .hero h1 {
        font-size: 33px
    }

    .hero p {
        margin-top: 14px;
        line-height: 1.45
    }

    .hero p br {
        display: none
    }

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

    .hero-bg img {
        object-position: center 78%
    }

    .chips {
        bottom: 170px
    }

    .search {
        margin-top: -140px;
        width: 92vw;
        grid-template-columns: 1fr
    }

    .search-field {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 0 0 14px
    }

    .section {
        width: 92vw;
        padding: 44px 0
    }

    .how {
        padding: 42px 0 38px;
        background: linear-gradient(180deg, #fffdfa 0%, #fff8ef 52%, #f5deb4 100%);
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw)
    }

    .how::before {
        display: none
    }

    .how::after {
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .42), transparent 38%),
            radial-gradient(circle at 50% 62%, rgba(216, 161, 61, .05), transparent 34%),
            radial-gradient(circle at 50% 96%, rgba(216, 161, 61, .04), transparent 30%)
    }

    .how > * {
        width: 92vw;
        max-width: 100%
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .arrow {
        display: none
    }

    .cat-grid,
    .pro-grid,
    .events {
        grid-template-columns: 1fr
    }

    .stories {
        padding: 40px 4vw
    }

    .map {
        min-height: 0
    }

    .map > div {
        max-width: none
    }

    .map-cta {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        min-width: 0;
        width: fit-content;
        margin: 14px auto 0;
        padding: 12px 26px;
        font-size: 13px
    }

    .map-actions {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        align-items: flex-start;
        width: auto;
        margin-top: 14px;
    }

    .map img {
        position: static;
        display: block;
        width: min(78vw, 320px);
        max-width: 100%;
        max-height: 420px;
        height: auto;
        object-fit: contain;
        justify-self: center;
        margin: 34px auto 0;
        margin-inline: auto;
        opacity: 1;
        transform: none;
        transition: none
    }

    .map.is-visible img {
        transform: none
    }

    .professional>div {
        padding: 34px 5vw
    }

    .benefits {
        grid-template-columns: 1fr
    }

    .community {
        padding: 36px 5vw;
        text-align: center
    }

    .footer {
        padding: 34px 5vw
    }

    .left,
    .right {
        display: none
    }
}
