:root {
    --page: #ffffff;
    --paper: #ffffff;
    --paper-soft: #f7f7f7;
    --paper-warm: #fff8f3;

    --text: #161616;
    --muted: #5f6673;
    --soft: #8d95a1;

    --brand: #ff385c;
    --brand-dark: #d91f47;
    --brand-soft: #fff0f3;

    --ink: #111111;
    --white: #ffffff;

    --border: #ededed;
    --border-strong: #dedede;

    --shadow-xs: 0 4px 14px rgba(0, 0, 0, 0.045);
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.13);

    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --radius-xl: 42px;

    --container: 1600px;
    --section-space: 78px;

    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display:
        "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--page);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100%;
    color: var(--text);
    background: var(--page);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(255, 248, 243, 0.95), rgba(255, 255, 255, 0) 310px), #ffffff;
}

/* Navbar */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(237, 237, 237, 0.9);
    backdrop-filter: blur(18px);
}

.topbar-inner {
    width: min(100% - 40px, var(--container));
    height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    font-weight: 850;
    letter-spacing: -0.045em;
    font-size: 19px;
}

.brand-logo {
    width: auto;
    height: 40px;
    object-fit: contain;
}

.brand-text {
    display: inline-flex;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 999px;
    color: #4c4c4c;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav a:hover {
    background: var(--paper-soft);
    color: var(--ink);
}

.topbar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.topbar-action:hover {
    border-color: #cfcfcf;
    box-shadow: var(--shadow-md);
}

/* Layout */

.main {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}

.section {
    padding: var(--section-space) 0 0;
}

.section-tight {
    padding-top: 46px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 26px;
}

.section-title {
    margin: 0;
    max-width: 760px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(30px, 3.6vw, 50px);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 800;
    text-wrap: balance;
}

.section-subtitle {
    margin: 12px 0 0;
    max-width: 660px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    font-weight: 450;
}

.section-link {
    min-width: max-content;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Typography helpers */

.eyebrow {
    display: inline-flex;
    color: var(--brand);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.title-xl {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(48px, 6.8vw, 88px);
    line-height: 0.93;
    letter-spacing: -0.055em;
    font-weight: 800;
    text-wrap: balance;
}

.title-lg {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-weight: 800;
    text-wrap: balance;
}

.lead {
    margin: 24px 0 0;
    max-width: 700px;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.62;
    letter-spacing: -0.015em;
    font-weight: 450;
}

/* UI elements */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.86);
    color: #3d3d3d;
    font-size: 13px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.verified-dot {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
}

.handle {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    background: #f6f6f6;
    border: 1px solid #eeeeee;
    color: #4f4f4f;
    font-size: 13px;
    font-weight: 800;
}

.pill:hover {
    background: #ffffff;
    border-color: #d9d9d9;
    box-shadow: var(--shadow-sm);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 22px;
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: #cfcfcf;
}

.btn-primary {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    box-shadow: 0 16px 30px rgba(255, 56, 92, 0.22);
}

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.btn-dark {
    border-color: #111;
    background: #111;
    color: #fff;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.card-soft {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--paper-soft);
}

.media-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #f2f2f2;
    box-shadow: var(--shadow-md);
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile page */

.profile-page {
    padding: 34px 0 0;
}

.hero-profile {
    display: grid;
    grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
    gap: 44px;
    align-items: center;
    min-height: calc(100vh - 138px);
    padding: 30px 0 54px;
}

.hero-copy {
    max-width: 570px;
}

.hero-kicker-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-eyebrow {
    display: block;
    margin-bottom: 14px;
}

.hero-actions {
    margin-top: 32px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.hero-media {
    position: relative;
    min-height: 610px;
}

.media-stack {
    position: relative;
    height: 610px;
}

.media-main,
.media-small,
.floating-profile-card {
    position: absolute;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: var(--shadow-md);
}

.media-main {
    inset: 0 0 42px 64px;
    border-radius: 42px;
}

.media-main img,
.media-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-small {
    left: 0;
    bottom: 0;
    width: 250px;
    height: 310px;
    border-radius: 34px;
    border: 8px solid #ffffff;
}

.floating-profile-card {
    right: 34px;
    bottom: 0;
    width: min(390px, 76%);
    border-radius: 30px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.floating-card-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.profile-avatar {
    width: 62px;
    height: 62px;
    border-radius: 22px;
    overflow: hidden;
    flex: 0 0 auto;
    background: #eee;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card-inner h2 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.floating-card-inner p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
}

/* Search */

.experience-search {
    position: relative;
    z-index: 4;
    margin: -24px auto 0;
    width: min(100%, 980px);
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.1);
}

.search-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr auto;
    align-items: center;
    gap: 4px;
}

.search-item {
    min-height: 64px;
    padding: 12px 22px;
    border-radius: 999px;
}

.search-item:hover {
    background: #f7f7f7;
}

.search-label {
    display: block;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.search-value {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.search-button {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 0;
    background: var(--brand);
    color: #fff;
    font-size: 19px;
    font-weight: 950;
    cursor: pointer;
}

/* Experience cards */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.experience-card {
    min-width: 0;
}

.experience-image-link {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    background: #f2f2f2;
}

.experience-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.experience-card:hover img {
    transform: scale(1.045);
}

.experience-copy {
    padding: 14px 2px 0;
}

.experience-copy span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.experience-copy h3,
.city-card-copy h3,
.module-card h3,
.business-content h3,
.zone-card h3,
.floating-card-inner h2,
.split-copy h2,
.closing-card h2,
.home-wall h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.experience-copy p,
.city-card-copy p,
.module-card p,
.business-content p,
.zone-card p,
.split-copy p,
.home-wall p,
.closing-card p {
    font-family: var(--font-body);
}

/* Split content */

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    gap: 48px;
    align-items: center;
    padding: 86px 0 8px;
}

.split-media {
    position: relative;
    overflow: hidden;
    border-radius: 38px;
    aspect-ratio: 1 / 1.08;
    background: #f2f2f2;
    box-shadow: var(--shadow-md);
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-copy h2 {
    margin-top: 22px;
}

.split-copy p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: -0.02em;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.social-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
    box-shadow: var(--shadow-sm);
}

/* Modules */

.module-wrap {
    padding: 80px 0 0;
}

.module-panel {
    border-radius: 38px;
    padding: 10px;
    background: #111;
    box-shadow: var(--shadow-md);
}

.module-panel-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
}

.module-card {
    min-height: 250px;
    padding: 24px;
    background: #171717;
    color: #fff;
}

.module-number {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 28px;
}

.module-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.module-card p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.5;
}

/* Closing */

.closing-section {
    padding: 86px 0 10px;
}

.closing-card {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    border-radius: 42px;
    padding: clamp(28px, 5vw, 58px);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18)),
        url("https://picsum.photos/seed/medellin-night-clean/1600/900");
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: end;
    box-shadow: var(--shadow-md);
}

.closing-card-content {
    max-width: 640px;
}

.closing-card span {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.closing-card h2 {
    margin: 14px 0 0;
    font-size: clamp(34px, 5vw, 66px);
    line-height: 0.96;
    letter-spacing: -0.075em;
    font-weight: 950;
}

.closing-card p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.55;
}

.closing-card .btn-row {
    margin-top: 26px;
}

/* Footer */

.footer {
    width: min(100% - 40px, var(--container));
    margin: 72px auto 0;
    padding: 30px 0 44px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.footer strong {
    color: var(--ink);
}

/* Responsive */

@media (max-width: 1060px) {
    .hero-profile {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 28px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-media {
        min-height: auto;
    }

    .media-stack {
        height: 540px;
    }

    .grid-4,
    .experience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .module-panel-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    :root {
        --section-space: 58px;
    }

    .topbar-inner {
        width: min(100% - 28px, var(--container));
        height: 68px;
    }

    .brand-logo {
        height: 36px;
    }

    .brand-text {
        display: none;
    }

    .nav {
        display: none;
    }

    .topbar-action {
        display: none;
    }

    .main {
        width: min(100% - 28px, var(--container));
    }

    .footer {
        width: min(100% - 28px, var(--container));
        flex-direction: column;
    }

    .section-head {
        display: block;
    }

    .section-link {
        display: inline-flex;
        margin-top: 14px;
    }
}

@media (max-width: 720px) {
    .profile-page {
        padding-top: 16px;
    }

    .hero-profile {
        padding-top: 18px;
    }

    .title-xl {
        font-size: clamp(42px, 13vw, 68px);
    }

    .lead {
        font-size: 17px;
    }

    .media-stack {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .media-main,
    .media-small,
    .floating-profile-card {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
    }

    .media-main {
        aspect-ratio: 1 / 1.05;
        border-radius: 30px;
    }

    .media-small {
        display: none;
    }

    .floating-profile-card {
        width: 100%;
        border-radius: 26px;
    }

    .experience-search {
        margin-top: 10px;
        border-radius: 28px;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-item {
        border-radius: 20px;
    }

    .search-button {
        width: 100%;
        height: 52px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .split-section {
        padding-top: 62px;
    }

    .module-panel-inner {
        grid-template-columns: 1fr;
    }

    .module-card {
        min-height: auto;
    }

    .closing-card {
        min-height: 480px;
        border-radius: 32px;
    }
}

/* Home page */

.home-page {
    padding: 34px 0 0;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 132px);
    padding: 30px 0 54px;
}

.home-hero-copy {
    max-width: 650px;
}

.home-hero-copy .title-xl {
    max-width: 9ch;
}

.home-split-copy .title-lg {
    max-width: 8.8ch;
}

.split-copy .title-lg {
    max-width: 9.5ch;
}

.home-search {
    width: min(100%, 960px);
    margin-top: 34px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr auto;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.1);
}

.home-search-item {
    min-height: 64px;
    padding: 12px 22px;
    border-radius: 999px;
}

.home-search-item:hover {
    background: #f7f7f7;
}

.home-search-item span {
    display: block;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
}

.home-search-item strong {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.home-search-button {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 20px;
    font-weight: 950;
}

.home-hero-gallery {
    position: relative;
    min-height: 620px;
}

.home-photo {
    position: absolute;
    overflow: hidden;
    margin: 0;
    background: #f2f2f2;
    box-shadow: var(--shadow-md);
}

.home-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-photo-large {
    inset: 0 70px 0 70px;
    border-radius: 44px;
}

.home-photo-top {
    top: 42px;
    right: 0;
    width: 210px;
    height: 210px;
    border-radius: 32px;
    border: 8px solid #fff;
}

.home-photo-bottom {
    left: 0;
    bottom: 54px;
    width: 240px;
    height: 310px;
    border-radius: 34px;
    border: 8px solid #fff;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.city-card {
    min-width: 0;
}

.city-card-media {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    background: #f2f2f2;
}

.city-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.city-card:hover .city-card-media img {
    transform: scale(1.045);
}

.city-card-copy {
    padding: 14px 2px 0;
}

.city-card-copy span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.city-card-copy h3 {
    margin: 7px 0 0;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.15;
    letter-spacing: -0.035em;
    font-weight: 900;
}

.city-card-copy p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.home-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 48px;
    align-items: center;
}

.home-split-copy p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    letter-spacing: -0.02em;
}

.home-split-copy .btn-row {
    margin-top: 28px;
}

.home-split-copy h2 {
    margin-top: 22px;
}

.business-window {
    overflow: hidden;
    border-radius: 38px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.business-cover {
    aspect-ratio: 16 / 9;
    background: #f2f2f2;
}

.business-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 24px;
}

.business-avatar {
    width: 74px;
    height: 74px;
    overflow: hidden;
    border-radius: 24px;
    background: #eee;
}

.business-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-content h3 {
    margin: 14px 0 0;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.business-content p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.map-preview {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 22px;
    align-items: stretch;
}

.map-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 38px;
    background:
        radial-gradient(circle at 22% 28%, rgba(255, 56, 92, 0.22), transparent 16%),
        radial-gradient(circle at 72% 45%, rgba(255, 181, 71, 0.2), transparent 18%),
        radial-gradient(circle at 50% 80%, rgba(0, 0, 0, 0.08), transparent 22%),
        linear-gradient(135deg, #fff8f3, #f6f6f6);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.map-visual::before {
    content: "";
    position: absolute;
    inset: 42px;
    border-radius: 34px;
    border: 1px dashed rgba(0, 0, 0, 0.14);
}

.map-pin {
    position: absolute;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    box-shadow: var(--shadow-md);
}

.map-pin-one {
    left: 20%;
    top: 24%;
}

.map-pin-two {
    left: 54%;
    top: 36%;
}

.map-pin-three {
    left: 34%;
    top: 62%;
}

.map-pin-four {
    left: 64%;
    top: 70%;
}

.zone-list {
    display: grid;
    gap: 12px;
}

.zone-card {
    min-height: 118px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.zone-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.zone-card h3 {
    margin: 7px 0 0;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.045em;
}

.zone-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.zone-card a {
    align-self: start;
    min-width: max-content;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-wall {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 42px;
    align-items: center;
    padding: clamp(28px, 5vw, 54px);
    border-radius: 42px;
    background: #111;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.home-wall h2 {
    color: #fff;
}

.home-wall p {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.65;
}

.home-wall .btn-row {
    margin-top: 28px;
}

.wall-feed-preview {
    display: grid;
    gap: 12px;
}

.wall-feed-preview article {
    padding: 20px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.08);
}

.wall-feed-preview span {
    color: #ff8fa3;
    font-size: 13px;
    font-weight: 900;
}

.wall-feed-preview p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.5;
}

/* Profile concept helpers */

.profile-type-note {
    padding: 18px;
    border-radius: 24px;
    background: var(--paper-warm);
    border: 1px solid #ffe2d6;
    color: #4d3b33;
    font-size: 14px;
    line-height: 1.5;
}

/* Home responsive */

@media (max-width: 1060px) {
    .home-hero,
    .home-split,
    .map-preview,
    .home-wall {
        grid-template-columns: 1fr;
    }

    .home-hero-gallery {
        min-height: 560px;
    }

    .city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-page {
        padding-top: 16px;
    }

    .home-hero {
        min-height: auto;
        padding-top: 18px;
        gap: 28px;
    }

    .home-search {
        grid-template-columns: 1fr;
        border-radius: 28px;
    }

    .home-search-item {
        border-radius: 20px;
    }

    .home-search-button {
        width: 100%;
        height: 52px;
    }

    .home-hero-gallery {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .home-photo {
        position: relative;
        inset: auto;
        width: 100%;
        border: 0;
    }

    .home-photo-large {
        aspect-ratio: 1 / 1.05;
        border-radius: 30px;
    }

    .home-photo-top,
    .home-photo-bottom {
        display: none;
    }

    .city-grid {
        grid-template-columns: 1fr;
    }

    .business-content {
        grid-template-columns: 1fr;
    }

    .map-visual {
        min-height: 420px;
    }

    .zone-card {
        display: block;
    }

    .zone-card a {
        display: inline-flex;
        margin-top: 12px;
    }

    .home-wall {
        border-radius: 32px;
    }
}

/* Map page */

.map-page {
    padding: 34px 0 0;
}

/* Map hero premium */

.map-hero-premium {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.62fr);
    gap: 48px;
    align-items: end;
    padding: 58px 0 36px;
}

.map-hero-copy {
    max-width: 760px;
}

.map-hero-copy .title-lg {
    max-width: 820px;
}

.map-hero-copy .lead {
    max-width: 720px;
}

.map-hero-panel {
    display: grid;
    gap: 18px;
    justify-items: stretch;
}

.map-hero-panel-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 248, 243, 0.9), rgba(255, 255, 255, 1)), #fff;
    box-shadow: var(--shadow-md);
}

.map-hero-panel-card > span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.map-hero-panel-card h2 {
    margin: 9px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 25px;
    line-height: 1.04;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.map-hero-panel-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.map-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.map-hero-stats div {
    min-height: 78px;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
}

.map-hero-stats strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.map-hero-stats small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.map-hero-buttons {
    justify-content: flex-end;
}

/* Ajuste del layout del mapa para que se sienta más integrado */

.live-map-layout {
    align-items: stretch;
}

.map-stage {
    background: linear-gradient(135deg, #f7f7f7, #efefef);
}

/* .map-stage::before {
    content: "";
    position: absolute;
    inset: 16px;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
} */

.maplibregl-map,
.maplibregl-canvas-container,
.maplibregl-canvas {
    width: 100% !important;
    height: 100% !important;
}

.maplibregl-control-container {
    position: relative;
    z-index: 30;
}

.maplibregl-marker {
    z-index: 25;
}

.wlm-map {
    z-index: 0;
}

/* Fix para controles sobre pseudo capa */

.maplibregl-ctrl-top-right,
.maplibregl-ctrl-bottom-right,
.maplibregl-ctrl-bottom-left,
.maplibregl-ctrl-top-left {
    z-index: 5;
}

@media (max-width: 1060px) {
    .map-hero-premium {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .map-hero-panel {
        max-width: 720px;
    }

    .map-hero-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .map-hero-premium {
        padding: 34px 0 28px;
        gap: 28px;
    }

    .map-hero-stats {
        grid-template-columns: 1fr;
    }
}

.live-map-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 18px;
    min-height: 720px;
}

.map-sidebar {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 34px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.map-sidebar-head {
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--border);
}

.map-sidebar-head h2 {
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.map-sidebar-head p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.map-filter-row {
    display: flex;
    gap: 8px;
    padding: 14px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
}

.map-filter {
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    white-space: nowrap;
}

.map-filter.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.map-place-list {
    max-height: 542px;
    overflow: auto;
    padding: 14px;
    display: grid;
    gap: 12px;
}

.map-place-card {
    width: 100%;
    text-align: left;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 24px;
    padding: 10px;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.map-place-card:hover {
    border-color: #d6d6d6;
    box-shadow: var(--shadow-sm);
}

.map-place-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    object-fit: cover;
    background: #f2f2f2;
}

.map-place-card span {
    display: inline-flex;
    margin-top: 12px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.map-place-card h3 {
    margin: 5px 0 0;
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.map-place-card p {
    margin: 6px 0 4px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.map-stage {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    border-radius: 34px;
    background: #eef0f3;
    box-shadow: var(--shadow-lg);
}

.wlm-map {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 720px;
    background: #eef0f3;
}

.map-loading {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff8f3;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.wlm-marker {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    transform: translateY(0);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.wlm-marker:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.wlm-marker-event {
    background: var(--brand);
}

.wlm-marker-venue {
    background: #111;
}

.wlm-marker-photo {
    background: #6c5ce7;
}

.maplibregl-popup-content {
    padding: 0 !important;
    border-radius: 24px !important;
    overflow: hidden;
    box-shadow: var(--shadow-lg) !important;
}

.map-popup-card {
    width: 300px;
    background: #fff;
}

.map-popup-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.map-popup-card div {
    padding: 14px;
}

.map-popup-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.map-popup-card h3 {
    margin: 5px 0 0;
    font-family: var(--font-display);
    color: var(--ink);
    font-size: 20px;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.map-popup-card p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.map-popup-card a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.maplibregl-ctrl-group {
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: var(--shadow-md) !important;
}

.maplibregl-ctrl-attrib {
    font-family: var(--font-body) !important;
}

@media (max-width: 1060px) {
    .map-hero {
        grid-template-columns: 1fr;
    }

    .map-hero-actions {
        justify-content: flex-start;
    }

    .live-map-layout {
        grid-template-columns: 1fr;
    }

    .map-place-list {
        max-height: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-stage {
        min-height: 620px;
    }
}

@media (max-width: 720px) {
    .map-page {
        padding-top: 16px;
    }

    .map-hero {
        padding-top: 28px;
    }

    .map-sidebar,
    .map-stage {
        border-radius: 28px;
    }

    .map-place-list {
        grid-template-columns: 1fr;
    }

    .map-stage {
        min-height: 540px;
    }
}

/* User location marker */

.wlm-user-marker {
    position: relative;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.wlm-user-marker-pulse {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 56, 92, 0.24);
    animation: wlm-user-pulse 1.8s ease-out infinite;
}

.wlm-user-marker-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 4px solid #ffffff;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 12px 30px rgba(255, 56, 92, 0.38);
    transform: translate(-50%, -50%);
}

.map-user-popup {
    width: 230px;
    padding: 14px;
    background: #fff;
}

.map-user-popup strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.map-user-popup p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

@keyframes wlm-user-pulse {
    0% {
        transform: scale(0.55);
        opacity: 0.75;
    }

    80% {
        transform: scale(1.55);
        opacity: 0;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

/* Location permission custom prompt */

.location-permission-card {
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 35;
    width: min(420px, calc(100% - 48px));
    padding: 22px;
    border-radius: 30px;
    border: 1px solid rgba(237, 237, 237, 0.96);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.location-permission-card.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.location-permission-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.location-permission-card h3 {
    margin: 8px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 25px;
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.location-permission-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.location-permission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.location-permission-actions .btn {
    min-height: 44px;
    padding: 0 16px;
}

.location-skip {
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.location-skip:hover {
    color: var(--ink);
}

.location-permission-status {
    min-height: 18px;
    margin-top: 12px !important;
    color: var(--brand) !important;
    font-size: 13px !important;
    font-weight: 800;
}

/* User location marker */

.wlm-user-marker {
    position: relative;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.wlm-user-marker-pulse {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 56, 92, 0.24);
    animation: wlm-user-pulse 1.8s ease-out infinite;
}

.wlm-user-marker-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 4px solid #ffffff;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 12px 30px rgba(255, 56, 92, 0.38);
    transform: translate(-50%, -50%);
}

.map-user-popup {
    width: 230px;
    padding: 14px;
    background: #fff;
}

.map-user-popup strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.map-user-popup p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

@keyframes wlm-user-pulse {
    0% {
        transform: scale(0.55);
        opacity: 0.75;
    }

    80% {
        transform: scale(1.55);
        opacity: 0;
    }

    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@media (max-width: 720px) {
    .location-permission-card {
        left: 14px;
        right: 14px;
        top: 14px;
        width: auto;
        border-radius: 24px;
    }

    .location-permission-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .location-permission-actions .btn,
    .location-skip {
        width: 100%;
    }
}

/* Map popup and marker polish */

.maplibregl-popup {
    z-index: 90 !important;
}

.maplibregl-popup-tip {
    display: none;
}

.maplibregl-marker {
    z-index: 35;
}

.maplibregl-marker:has(.wlm-marker.is-active) {
    z-index: 80;
}

.wlm-marker {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    transform: translateY(0);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.wlm-marker i {
    line-height: 1;
    pointer-events: none;
}

.wlm-marker:hover,
.wlm-marker.is-active {
    transform: translateY(-3px) scale(1.04);
    border-color: #ffffff;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
}

.wlm-marker-event {
    background: var(--brand);
}

.wlm-marker-venue {
    background: #111;
}

.wlm-marker-photo {
    background: #6c5ce7;
}

.map-popup-card {
    width: 320px;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
}

.map-popup-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #f2f2f2;
}

.map-popup-card div {
    padding: 16px;
}

.map-popup-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.map-popup-card h3 {
    margin: 6px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.map-popup-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.map-popup-card a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.map-popup-card a:hover {
    background: var(--brand);
}

@media (max-width: 720px) {
    .map-popup-card {
        width: 280px;
    }

    .map-popup-card h3 {
        font-size: 20px;
    }
}

/* Better map explorer controls */

.map-panel-section {
    padding: 14px;
    border-bottom: 1px solid var(--border);
}

.map-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.map-panel-title span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.map-panel-title button {
    border: 0;
    background: transparent;
    color: var(--brand);
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.map-zone-row,
.map-mini-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.map-zone-chip,
.map-mini-filter-row button {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.map-zone-chip:hover,
.map-mini-filter-row button:hover {
    border-color: #d2d2d2;
    color: var(--ink);
}

.map-zone-chip.is-active,
.map-mini-filter-row button.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.map-filter-row-wrap {
    flex-wrap: wrap;
    overflow: visible;
    padding: 0;
    border-bottom: 0;
}

.map-filter i {
    margin-right: 6px;
    font-size: 12px;
}

.map-results-summary {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--paper-warm);
    color: #5f514b;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
}

.map-place-list {
    max-height: 390px;
}

/* =========================================================
   Main navigation dropdowns
   ========================================================= */

.nav-dropdown {
    position: relative;
    display: inline-flex;
}

.nav-dropdown-trigger {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #4c4c4c;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.nav-dropdown-trigger i {
    font-size: 10px;
    color: var(--soft);
    transition: transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
    background: var(--paper-soft);
    color: var(--ink);
}

.nav-dropdown:hover .nav-dropdown-trigger i,
.nav-dropdown:focus-within .nav-dropdown-trigger i {
    transform: rotate(180deg);
    color: var(--ink);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 90;
    width: 330px;
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    pointer-events: none;
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.nav-dropdown-menu-right {
    left: auto;
    right: 0;
    transform: translate(0, 8px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-menu-right,
.nav-dropdown:focus-within .nav-dropdown-menu-right {
    transform: translate(0, 0);
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.nav-dropdown-menu a {
    min-height: auto;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    padding: 10px;
    border-radius: 18px;
    color: var(--ink);
}

.nav-dropdown-menu a:hover {
    background: var(--paper-soft);
}

.nav-dropdown-menu a i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 15px;
}

.nav-dropdown-menu a span {
    min-width: 0;
}

.nav-dropdown-menu a strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.015em;
}

.nav-dropdown-menu a small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
}

/* Cuando el menú empieza a quedar apretado */
@media (max-width: 1120px) {
    .nav a,
    .nav-dropdown-trigger {
        padding: 0 12px;
        font-size: 13px;
    }

    .nav {
        gap: 3px;
    }
}

/* =========================================================
   Home hero video background
   Fondo full width + contenido centrado
   ========================================================= */

/* Solo en la home, permitimos que el main ocupe todo el ancho */
.main:has(.home-page) {
    width: 100%;
    max-width: none;
    margin: 0;
}

/* La página home no debe recortar el video */
.home-page {
    width: 100%;
    max-width: none;
    overflow-x: hidden;
    padding-top: 0 !important;
}

/* Las secciones normales de la home vuelven al ancho premium */
.home-page > .section,
.home-page > .closing-section {
    width: min(100% - 40px, var(--container));
    margin-left: auto;
    margin-right: auto;
}

/* Navbar translúcido para que el video se sienta detrás */
.topbar {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
}

/* Hero real de pantalla completa */
.home-hero-full {
    position: relative;

    width: 100%;
    min-height: 100vh;

    margin-top: -76px;
    padding-top: 76px;

    display: flex;
    align-items: center;

    overflow: hidden;
    isolation: isolate;

    background: #f6f4f1;
}

/* Fondo absoluto a todo el ancho del navegador */
.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
    pointer-events: none;

    background: #f6f4f1;
}

.home-hero-bg-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    transform: scale(1.04);
    filter: saturate(1.04) contrast(0.92);
}

.home-hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgb(255 255 255 / 74%) 34%, rgba(255, 255, 255, 0.4) 64%, rgba(255, 255, 255, 0.5) 100%), linear-gradient(180deg, rgb(255 255 255 / 67%) 0%, rgba(255, 255, 255, 0.64) 100%);
}

/* Contenido centrado, pero sin limitar el fondo */
.home-hero-inner {
    position: relative;
    z-index: 2;

    width: min(100% - 80px, var(--container));
    margin: 0 auto;
    padding: 0;
}

.home-hero-full .home-hero {
    min-height: calc(100vh - 76px);

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    gap: 54px;
    align-items: center;

    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.home-hero-full .home-hero-copy,
.home-hero-full .home-hero-gallery {
    position: relative;
    z-index: 2;
}

.home-hero-full .home-hero-copy {
    max-width: 700px;
}

.home-hero-full .home-search {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.home-hero-full .home-photo {
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
}

.home-hero-full .home-photo-large {
    border: 8px solid rgba(255, 255, 255, 0.7);
}

.home-hero-full .home-photo-top,
.home-hero-full .home-photo-bottom {
    border-color: rgba(255, 255, 255, 0.92);
}

/* Responsive */

@media (max-width: 1180px) {
    .home-hero-inner {
        width: min(100% - 32px, var(--container));
    }

    .home-hero-full .home-hero {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
        gap: 34px;
    }
}

@media (max-width: 920px) {
    .home-hero-full {
        min-height: auto;
        margin-top: -68px;
        padding-top: 68px;
    }

    .home-hero-inner {
        width: min(100% - 28px, var(--container));
        padding: 34px 0 36px;
    }

    .home-hero-full .home-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-hero-bg-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.94) 0%,
                rgba(255, 255, 255, 0.76) 56%,
                rgba(255, 255, 255, 0.88) 100%
            );

        backdrop-filter: blur(2px);
    }
}

@media (max-width: 720px) {
    .home-page > .section,
    .home-page > .closing-section {
        width: min(100% - 28px, var(--container));
    }

    .home-hero-inner {
        width: min(100% - 28px, var(--container));
        padding: 28px 0 30px;
    }

    .home-hero-full .home-hero {
        gap: 22px;
    }

    .home-hero-full .home-search {
        background: rgba(255, 255, 255, 0.94);
    }
}