/* Theme Medellin - 70s Geometric Art Inspired */
:root {
    --color-primary: oklch(0.6161 0.1283 234.3);
    /* Blue / Cyan */
    --color-secondary: oklch(0.7188 0.1033 300.9);
    /* Purple */
    --color-tertiary: oklch(0.4796 0.1394 2.2);
    /* Bordeaux / Navy */
    --color-tertiary-600: oklch(0.5415 0.1394 2.2);
    /* Pinkish */
    --color-quaternary: oklch(0.3792 0.0675 273.95);
    /* Deep Marine */
    --color-quinary: oklch(0.6037 0.2196 8.75);
    /* Hot Pink */

    --medellin-bg: #fdfaf6;
    /* Warm Cream */
    --medellin-text: #1a1a2e;
}

html {
    overflow-x: hidden;
    overflow-x: clip;
    /* `clip` (not just `hidden` on body) reliably contains the absolutely-positioned
       decorative shapes whose vw-based widths/offsets bleed past the right edge.
       On iOS Safari, body-only overflow-x:hidden lets the page pan horizontally;
       clip on the root fixes it and pairs with visible overflow-y, so vertical
       scrolling and position:sticky keep working. `hidden` is the older fallback. */
}

body.medellin-theme {
    background-color: var(--medellin-bg);
    color: var(--medellin-text);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    overflow-x: clip;
    /* Prevent horizontal scrollbars from bleeding shapes at the window edge */
    position: relative;
    z-index: 0;
}

/* Background Geometric Art Canvas */
.medellin-art-canvas {
    display: none;
    /* Safely removed */
}

/* Base shape styling + Blend mode */
.medellin-shape {
    position: absolute;
    mix-blend-mode: multiply;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

/* Hero Shapes */
.shape-hero-1 {
    width: 25vw;
    height: 80vh;
    background: var(--color-quinary);
    border-radius: 200px;
    top: -20vh;
    left: 5vw;
    transform: rotate(30deg);
}

.shape-hero-2 {
    width: 28vw;
    height: 28vw;
    background: var(--color-primary);
    border-radius: 50%;
    bottom: -15vh;
    right: 10vw;
}

/* Features Shapes */
.shape-features-1 {
    width: 15vw;
    height: 15vw;
    background: var(--color-secondary);
    border-radius: 50%;
    top: -5vh;
    left: -10vh;
}

.shape-features-2 {
    width: 35vw;
    height: 80vh;
    background: var(--color-quaternary);
    border-radius: 300px;
    bottom: -20vh;
    right: 5vw;
    transform: rotate(-15deg);
}

.shape-features-3 {
    width: 15vw;
    height: 15vw;
    background: var(--color-quinary);
    border-radius: 50%;
    top: 30vh;
    right: 5vw;
}

/* Text Image / How it works Shapes */
.shape-text-1 {
    width: 40vw;
    height: 40vw;
    background: var(--color-primary);
    border-radius: 50%;
    top: -15vh;
    right: -5vw;
}

.shape-text-2 {
    width: 20vw;
    height: 70vh;
    background: var(--color-tertiary-600);
    border-radius: 150px;
    bottom: -10vh;
    left: 5vw;
    transform: rotate(45deg);
}

/* Variant 0 (Default text image logic uses shape-text-1 and shape-text-2) */

/* Variant 1 (for text-image sections with .text-variant-1) */
.ud-text-image.text-variant-1 .shape-text-1 {
    background: var(--color-quinary);
    border-radius: 250px;
    width: 25vw;
    height: 80vh;
    top: -10vh;
    left: 5vw;
    right: auto;
    transform: rotate(20deg);
}

.ud-text-image.text-variant-1 .shape-text-2 {
    background: var(--color-quaternary);
    border-radius: 50%;
    width: 30vw;
    height: 30vw;
    bottom: -15vh;
    right: -10vw;
    left: auto;
    transform: none;
}

/* Variant 2 (for text-image sections with .text-variant-2) */
.ud-text-image.text-variant-2 .shape-text-1 {
    background: var(--color-secondary);
    border-radius: 50%;
    width: 25vw;
    height: 25vw;
    top: -5vh;
    right: 20vw;
    left: auto;
    transform: none;
}

.ud-text-image.text-variant-2 .shape-text-2 {
    background: var(--color-primary);
    border-radius: 150px;
    width: 25vw;
    height: 80vh;
    bottom: -10vh;
    left: 20vw;
    right: auto;
    transform: rotate(-35deg);
}

/* Pricing Shapes */
.shape-pricing-1 {
    width: 45vw;
    height: 40vh;
    background: var(--color-secondary);
    border-radius: 100px;
    top: -10vh;
    left: 20vw;
    transform: rotate(-5deg);
}

.shape-pricing-2 {
    width: 25vw;
    height: 25vw;
    background: var(--color-quinary);
    border-radius: 50%;
    bottom: -10vh;
    right: 10vw;
}

/* FAQ Shapes */
.shape-faq-1 {
    width: 30vw;
    height: 80vh;
    background: var(--color-quaternary);
    border-radius: 250px;
    top: -10vh;
    left: 5vw;
    transform: rotate(20deg);
}

.shape-faq-2 {
    width: 20vw;
    height: 20vw;
    background: var(--color-primary);
    border-radius: 50%;
    bottom: -15vh;
    right: 15vw;
}

/* Testimonials / Footer prep */
.shape-test-1 {
    width: 25vw;
    height: 25vw;
    background: var(--color-tertiary-600);
    border-radius: 50%;
    top: -5vh;
    left: 30vw;
}

.shape-test-2 {
    width: 18vw;
    height: 80vh;
    background: var(--color-secondary);
    border-radius: 100px;
    bottom: -20vh;
    right: 15vw;
    transform: rotate(-30deg);
}


/* Content Overlay Adjustments to ensure readability over the art */
.medellin-theme .ud-hero {
    background: transparent !important;
    padding-top: 160px;
    /* Massive top breathing room to clear navigation */
    padding-bottom: 80px;
    /* Bottom breathing room to fit giant image */
    position: relative;
    overflow: visible;
}

.medellin-theme .ud-hero-content {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
    position: relative;
    z-index: 10;
    padding-right: 30px;
}

.medellin-theme .ud-hero-title {
    font-size: 84px !important;
    line-height: 0.9 !important;
    font-weight: 900 !important;
    letter-spacing: -4px !important;
    color: var(--medellin-text) !important;
    margin-bottom: 30px;
    text-align: left !important;
}

@media (max-width: 991px) {
    .medellin-theme .ud-hero-title {
        font-size: 60px !important;
        letter-spacing: -2px !important;
    }
}

@media (max-width: 575px) {
    .medellin-theme .ud-hero-title {
        font-size: 44px !important;
        line-height: 1.02 !important;
        letter-spacing: -1.5px !important;
    }
}

@media (max-width: 399px) {
    .medellin-theme .ud-hero-title {
        font-size: 38px !important;
        letter-spacing: -1px !important;
    }
}

.medellin-theme .ud-hero-desc {
    font-size: 22px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: #333 !important;
    max-width: 480px;
    margin-left: 0;
    margin-bottom: 40px;
    text-align: left;
}

.medellin-theme .ud-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-bottom: 60px;
}

.medellin-theme .ud-hero-brands-wrapper {
    text-align: left;
    margin-top: 40px;
}

.medellin-theme .ud-hero-brands-wrapper img {
    opacity: 0.8;
    max-width: 140px;
    filter: grayscale(1) invert(0);
}

.medellin-theme .ud-hero-image {
    position: relative;
    width: 125%;
    /* Let the image scale past its column container slightly for massive dramatic effect */
    transform: translateX(-5%);
    max-width: none;
    z-index: 5;
}

.medellin-theme .ud-hero-image img {
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    border: 8px solid #fff;
    width: 100%;
}

@media (max-width: 991px) {
    .medellin-theme .ud-hero-content {
        max-width: 100%;
    }

    .medellin-theme .ud-hero-image {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-top: 50px;
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .medellin-theme .ud-hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .medellin-theme .ud-hero-content {
        padding-right: 0;
    }

    .medellin-theme .ud-hero-desc {
        font-size: 18px !important;
        margin-bottom: 28px;
    }

    .medellin-theme .ud-hero-buttons {
        margin-bottom: 30px;
    }

    .medellin-theme .ud-hero-image {
        margin-top: 30px;
        width: calc(100vw - 24px);
        max-width: none;
        margin-left: calc(50% - 50vw + 12px);
        margin-right: calc(50% - 50vw + 12px);
    }

    .medellin-theme .ud-hero-image img {
        border-radius: 24px;
        border-width: 4px;
    }
}

.medellin-theme .navbar-nav .nav-item a {
    color: var(--medellin-text) !important;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.medellin-theme .ud-lang-switcher > a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.medellin-theme .ud-lang-icon {
    width: 22px;
    height: 22px;
    display: block;
}

@media (min-width: 992px) {
    .medellin-theme .navbar-nav .nav-item.nav-item-has-children > a {
        padding-right: 22px;
    }

    .medellin-theme .navbar-nav .nav-item.nav-item-has-children > a::after {
        right: 6px;
    }
}

.medellin-theme .navbar-nav .nav-item a:hover {
    color: var(--color-quinary) !important;
    opacity: 1 !important;
}

/* =========================================================================
   Buttons — three reusable looks, no !important.

     SOLID      marine fill, pink hover         (default for .ud-main-btn)
     GHOST      marine outline, pink fill hover (navbar Sign Up, pricing border)
     TEXT LINK  no border / fill, pink hover    (navbar Sign In only)

   Plus one special-case CTA in brand blue (hero "Get Started").

   Cascade: every override out-specifies its ud-styles.css competitor by
   prepending `.medellin-theme` (and mirroring ud-styles' contextual scope
   `.navbar-btn`, `.ud-hero-buttons`, `.ud-single-pricing`).
   ========================================================================= */

/* ---------- SOLID (base) ---------- *
   Applies to every .ud-main-btn that isn't matched by a more specific rule
   below — contact "Send Message", pricing "popular" (.ud-white-btn under
   .ud-single-pricing), and anything else added later. */
.medellin-theme .ud-main-btn {
    background: var(--color-quaternary);
    color: var(--medellin-bg);
    border: 2px solid var(--color-quaternary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.medellin-theme .ud-main-btn:hover {
    background: var(--color-quinary);
    border-color: var(--color-quinary);
    color: #fff;
    opacity: 1;
}

/* ---------- GHOST ---------- *
   Navbar Sign Up + pricing "Talk to sales" share one rule. */
.medellin-theme .navbar-btn .ud-main-btn.ud-white-btn,
.medellin-theme .ud-single-pricing .ud-main-btn.ud-border-btn {
    background: transparent;
    border-color: var(--color-quaternary);
    color: var(--color-quaternary);
}
.medellin-theme .navbar-btn .ud-main-btn.ud-white-btn:hover,
.medellin-theme .ud-single-pricing .ud-main-btn.ud-border-btn:hover {
    background: var(--color-quinary);
    border-color: var(--color-quinary);
    color: #fff;
}
/* Navbar ghost uses tighter padding than pricing ghost. */
.medellin-theme .navbar-btn .ud-main-btn.ud-white-btn {
    padding: 8px 16px;
}

/* ---------- TEXT LINK ---------- *
   Sign In only. */
.medellin-theme .navbar-btn .ud-main-btn.ud-login-btn {
    background: transparent;
    border-color: transparent;
    color: var(--color-quaternary);
    padding: 8px 16px;
}
.medellin-theme .navbar-btn .ud-main-btn.ud-login-btn:hover {
    color: var(--color-quinary);
    opacity: 1;
}

/* ---------- MOBILE MENU AUTH ---------- *
   Sign In / Sign Up shown inside the collapsed hamburger menu (<992px),
   where the desktop .navbar-btn is hidden. A distinct class is used so the
   mobile `.navbar-btn { position:absolute }` rule never applies here. */
@media (max-width: 991px) {
    .medellin-theme .navbar-btn-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 18px 24px 22px;
        border-top: 2px solid rgba(26, 26, 46, 0.1);
    }

    .medellin-theme .navbar-btn-mobile .ud-main-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 13px 16px;
        border-radius: 10px;
        font-weight: 700;
    }

    .medellin-theme .navbar-btn-mobile .ud-login-btn {
        background: transparent;
        border: 2px solid var(--medellin-text);
        color: var(--medellin-text);
    }

    .medellin-theme .navbar-btn-mobile .ud-login-btn:hover {
        background: var(--medellin-text);
        color: #fff;
        opacity: 1;
    }

    .medellin-theme .navbar-btn-mobile .ud-white-btn {
        background: var(--color-quinary);
        border: 2px solid var(--color-quinary);
        color: #fff;
    }

    .medellin-theme .navbar-btn-mobile .ud-white-btn:hover {
        background: var(--color-tertiary);
        border-color: var(--color-tertiary);
        color: #fff;
    }
}

/* ---------- HERO CTA (special) ---------- *
   Brand blue, slightly darker hover. */
.medellin-theme .ud-hero-buttons .ud-main-btn.ud-cta-primary {
    background: #0690C6;
    border-color: #0690C6;
    color: #fff;
}
.medellin-theme .ud-hero-buttons .ud-main-btn.ud-cta-primary:hover {
    background: #057DAE;
    border-color: #057DAE;
    color: #fff;
}

/* Section Cards & Glass overlay for readability */
.medellin-theme .ud-features,
.medellin-theme .ud-pricing,
.medellin-theme .ud-about,
.medellin-theme .ud-contact,
.medellin-theme .ud-text-image,
.medellin-theme .ud-faq,
.medellin-theme .ud-testimonials {
    background: transparent !important;
    position: relative;
    z-index: auto;
    /* CRITICAL: Must be 'auto' to prevent generating isolated stacking contexts. This lets shapes bleed globally. */
    overflow: visible;
    /* Prevent slicing bounds. We use % tops/bottoms to keep shapes inside natively. */
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 767px) {

    .medellin-theme .ud-features,
    .medellin-theme .ud-pricing,
    .medellin-theme .ud-about,
    .medellin-theme .ud-contact,
    .medellin-theme .ud-text-image,
    .medellin-theme .ud-faq,
    .medellin-theme .ud-testimonials {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.medellin-theme .ud-hero .container,
.medellin-theme .ud-features .container,
.medellin-theme .ud-text-image .container,
.medellin-theme .ud-pricing .container,
.medellin-theme .ud-faq .container,
.medellin-theme .ud-testimonials .container {
    position: relative;
    z-index: 10;
    /* Elevate container content above the absolute shapes */
}

/* Typography */
.medellin-theme .ud-section-title span,
.medellin-theme .ud-text-image-content span {
    font-weight: 800;
    font-size: 18px;
    color: var(--color-quaternary) !important;
    margin-bottom: 12px;
    display: block;
    text-transform: lowercase;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .medellin-theme .ud-section-title {
        margin-bottom: 40px;
    }

    .medellin-theme .ud-section-title h2 {
        font-size: 30px;
        line-height: 1.2;
    }
}

.medellin-theme h1,
.medellin-theme h2,
.medellin-theme h3,
.medellin-theme h4 {
    color: var(--medellin-text) !important;
    font-weight: 900;
    letter-spacing: -1px;
}

.medellin-theme p {
    color: #333 !important;
    font-weight: 500;
}

.medellin-theme .ud-text-image-content .tag {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
}

.medellin-theme .page-content > *:first-child:not(section) {
    padding-top: 130px;
}

/* Extra navbar clearance for the first section on explore / legal pages */
.medellin-theme .page-content > section:first-child {
    padding-top: 160px;
}

@media (max-width: 767px) {
    .medellin-theme .page-content > *:first-child:not(section) {
        padding-top: 100px;
    }

    .medellin-theme .page-content > section:first-child {
        padding-top: 110px;
    }
}

/* Explore submenu — visual hierarchy between hubs and child pages */
.medellin-theme .ud-submenu .ud-submenu-item--hub:not(:first-child) {
    margin-top: 6px;
}

.medellin-theme .ud-submenu .ud-submenu-item--hub > .ud-submenu-link {
    font-weight: 700 !important;
    color: var(--medellin-text) !important;
}

.medellin-theme .ud-submenu .ud-submenu-item--child > .ud-submenu-link {
    padding-left: 18px !important;
    font-weight: 400 !important;
    color: rgba(26, 26, 46, 0.65) !important;
    position: relative;
}

.medellin-theme .ud-submenu .ud-submenu-item--child > .ud-submenu-link::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 8px;
    height: 1px;
    background: rgba(0, 0, 0, 0.25);
}

.medellin-theme .ud-submenu .ud-submenu-item--child > .ud-submenu-link:hover {
    color: var(--color-primary) !important;
}

.medellin-theme .ud-submenu .ud-submenu-item--child > .ud-submenu-link:hover::before {
    background: var(--color-primary);
}

/* Explore submenu — separator line between hub pages and the all-features / docs links */
.medellin-theme .ud-submenu-divider {
    height: 0;
    margin: 8px 18px;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(26, 26, 46, 0.14);
}

@media (max-width: 991px) {
    .medellin-theme .ud-submenu-divider {
        margin: 6px 24px;
        border-top-color: rgba(26, 26, 46, 0.12);
    }
}

/* ===== Home features — "see all features" footer link ===== */
.medellin-theme .ud-features-footer {
    text-align: center;
    margin-top: 18px;
}

.medellin-theme .ud-features-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 17px;
    color: var(--color-primary) !important;
    transition: all 0.3s ease;
}

.medellin-theme .ud-features-footer-link:hover {
    color: var(--color-quinary) !important;
    transform: translateX(4px);
}

/* ===== Feature matrix (All Features page) ===== */
.medellin-theme .ud-feature-matrix .ud-matrix-group {
    background: rgba(253, 250, 246, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 28px;
    padding: 36px 34px;
    margin-bottom: 30px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.medellin-theme .ud-feature-matrix .ud-matrix-group:hover {
    background: rgba(253, 250, 246, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
}

.medellin-theme .ud-matrix-group-head {
    margin-bottom: 8px;
}

.medellin-theme .ud-matrix-group-title {
    position: relative;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    color: var(--medellin-text);
}

.medellin-theme .ud-matrix-group-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--matrix-accent, var(--color-primary));
}

.medellin-theme .ud-matrix-group-subtitle {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    color: #555 !important;
    margin: 0 0 18px;
}

.medellin-theme .ud-matrix-table {
    width: 100%;
    border-collapse: collapse;
}

.medellin-theme .ud-matrix-table tr {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.medellin-theme .ud-matrix-table tr:first-child {
    border-top: none;
}

.medellin-theme .ud-matrix-table th[scope="row"] {
    width: 38%;
    text-align: left;
    vertical-align: top;
    padding: 14px 18px 14px 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--medellin-text);
}

.medellin-theme .ud-matrix-table td {
    vertical-align: top;
    padding: 14px 0;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
    color: #444 !important;
}

@media (max-width: 575px) {
    .medellin-theme .ud-feature-matrix .ud-matrix-group {
        padding: 28px 22px;
        border-radius: 22px;
        margin-bottom: 20px;
    }

    .medellin-theme .ud-matrix-table th[scope="row"],
    .medellin-theme .ud-matrix-table td {
        display: block;
        width: 100%;
    }

    .medellin-theme .ud-matrix-table th[scope="row"] {
        padding: 16px 0 2px;
    }

    .medellin-theme .ud-matrix-table td {
        padding: 0 0 4px;
    }
}

.medellin-theme .ud-features .row > [class*="col-"] {
    display: flex;
}

/* Schedule & Coverage hub: 3+2 grid (5 cards, 3 in row 1, 2 centered in row 2) */
@media (min-width: 992px) {
    .page-schedule-coverage .ud-features .row > .col-xl-3 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        justify-content: center;
    }

    .page-schedule-coverage .ud-features .row:has(> .col-xl-3) {
        justify-content: center;
    }
}

.medellin-theme .ud-single-feature {
    background: rgba(253, 250, 246, 0.4) !important;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 40px !important;
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (max-width: 575px) {
    .medellin-theme .ud-single-feature {
        padding: 40px 24px;
        border-radius: 28px !important;
        margin-bottom: 20px;
    }
}

.medellin-theme .ud-single-feature .ud-feature-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.medellin-theme .ud-single-feature .ud-feature-content .ud-feature-link {
    margin-top: auto;
}

.medellin-theme .ud-single-feature:hover {
    transform: translateY(-8px);
    /* Pure vertical lift, no scale (tilting) */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12) !important;
    background: rgba(253, 250, 246, 0.8) !important;
}

/* Feature Shape Accent */
.medellin-theme .ud-single-feature .feature-shape-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--icon-bg-color, var(--color-secondary));
    border-radius: 50%;
    bottom: -40px;
    left: -40px;
    opacity: 0.1;
    transition: all 0.5s ease;
    pointer-events: none;
}

.medellin-theme .ud-single-feature:hover .feature-shape-accent {
    width: 180px;
    height: 180px;
    opacity: 0.2;
    background: var(--icon-bg-color, var(--color-primary));
}

.medellin-theme .ud-feature-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.medellin-theme .ud-feature-desc {
    font-weight: 500;
    color: #444 !important;
    margin-bottom: 25px;
    line-height: 1.6;
}

.medellin-theme .ud-single-feature .ud-feature-link {
    font-weight: 800;
    color: var(--color-primary) !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.medellin-theme .ud-single-feature .ud-feature-link:hover {
    color: var(--color-quinary) !important;
    transform: translateX(5px);
}

.medellin-theme .ud-single-pricing {
    background: rgba(253, 250, 246, 0.4) !important;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 40px !important;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.medellin-theme .ud-single-pricing:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1) !important;
    background: rgba(253, 250, 246, 0.8) !important;
}

/* Remove Internal Pricing Accent circle */
.medellin-theme .ud-single-pricing .pricing-shape-accent {
    display: none;
}

.medellin-theme .ud-single-pricing:hover .pricing-shape-accent {
    display: none;
}

/* Remove base theme corner graphics (blue bottom-left, green top-right) */
.medellin-theme .ud-single-pricing.first-item::after,
.medellin-theme .ud-single-pricing.last-item::after {
    display: none !important;
}

.medellin-theme .ud-single-pricing h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
    text-transform: lowercase;
}

.medellin-theme .ud-single-pricing h4 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.medellin-theme .ud-single-pricing li {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 15px;
    color: #444 !important;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.medellin-theme .ud-single-pricing li::before {
    flex: 0 0 auto;
    line-height: 1.5;
}

.medellin-theme .ud-single-pricing.active {
    background: var(--color-primary) !important;
    border: none !important;
    box-shadow: 0 30px 60px rgba(6, 144, 198, 0.25) !important;
}

.medellin-theme .ud-single-pricing.active .pricing-shape-accent {
    background: var(--color-quinary);
    opacity: 0.2;
}

.medellin-theme .ud-single-pricing.active h3,
.medellin-theme .ud-single-pricing.active h4,
.medellin-theme .ud-single-pricing.active li {
    color: #fdfaf6 !important;
}

.medellin-theme .ud-popular-tag {
    background: var(--color-quinary) !important;
    color: #fff !important;
    font-weight: 900;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    letter-spacing: 1px;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 5;
}

@media (max-width: 575px) {
    .medellin-theme .ud-single-pricing {
        padding: 32px 22px;
        border-radius: 28px !important;
    }

    .medellin-theme .ud-single-pricing h4 {
        font-size: 30px;
        letter-spacing: -1px;
        overflow-wrap: anywhere;
        word-break: break-word;
        margin-bottom: 24px;
    }

    .medellin-theme .ud-popular-tag {
        position: static;
        display: inline-block;
        margin-bottom: 14px;
    }
}

.medellin-theme .ud-single-feature:hover,
.medellin-theme .ud-single-testimonial:hover,
.medellin-theme .ud-single-faq:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15) !important;
}

/* FAQ specialized */
.medellin-theme .ud-faq-btn {
    background: transparent !important;
    color: var(--medellin-text) !important;
    font-weight: 800;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.medellin-theme .ud-faq-body {
    color: #333 !important;
}

/* Text Image / How it works */
.medellin-theme .ud-text-image-image img {
    border-radius: 30px;
    border: 4px solid #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.medellin-theme .ud-feature-icon {
    background: var(--icon-bg-color, linear-gradient(135deg, var(--color-quinary), var(--color-tertiary-600))) !important;
    color: #fff !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
    /* Soft, color-neutral shadow */
}

.medellin-theme .ud-feature-icon::before {
    display: none !important;
    /* Remove the legacy background graphic */
}

.medellin-theme .ud-feature-icon .ud-feature-svg {
    width: 32px;
    height: 32px;
    display: block;
}

.medellin-theme .ud-single-pricing.active {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.medellin-theme .ud-single-pricing.disabled {
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.medellin-theme .ud-single-pricing.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ===== Subpage intro (first section, no image) ===== */
.medellin-theme .ud-feature-intro {
    padding-bottom: 60px;
    position: relative;
}

.medellin-theme .ud-feature-intro-content {
    text-align: left;
}

.medellin-theme .ud-feature-intro-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.medellin-theme .ud-feature-intro-heading {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--medellin-text);
    margin: 0 0 24px;
}

.medellin-theme .ud-feature-intro-paragraph {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 991px) {
    .medellin-theme .ud-feature-intro-heading {
        font-size: 32px;
    }

    .medellin-theme .ud-feature-intro-paragraph {
        font-size: 17px;
    }
}

/* ===== Steps section ===== */
.medellin-theme .ud-steps {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 767px) {
    .medellin-theme .ud-steps {
        padding: 48px 0;
    }
}

.medellin-theme .ud-steps-list {
    max-width: 760px;
    margin: 0 auto;
}

.medellin-theme .ud-step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.medellin-theme .ud-step:last-child {
    border-bottom: none;
}

.medellin-theme .ud-step-number {
    flex: 0 0 auto;
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -1px;
    min-width: 60px;
}

.medellin-theme .ud-step-content {
    flex: 1 1 auto;
}

.medellin-theme .ud-step-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--medellin-text);
}

.medellin-theme .ud-step-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* ===== Callouts section ===== */
.medellin-theme .ud-callouts {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 767px) {
    .medellin-theme .ud-callouts {
        padding: 48px 0;
    }

    .medellin-theme .ud-callout {
        padding: 28px 22px;
        border-radius: 22px;
        margin-bottom: 16px;
    }
}

.medellin-theme .ud-callout {
    background: rgba(253, 250, 246, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 28px;
    padding: 36px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    margin-bottom: 24px;
}

.medellin-theme .ud-callout:hover {
    transform: translateY(-4px);
    background: rgba(253, 250, 246, 0.85);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.medellin-theme .ud-callout-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.medellin-theme .ud-callout h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--medellin-text);
}

.medellin-theme .ud-callout p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* ===== Pull quote section ===== */
.medellin-theme .ud-pull-quote {
    padding: 80px 0;
    text-align: center;
}

.medellin-theme .ud-pull-quote-text {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1px;
    color: var(--medellin-text);
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.medellin-theme .ud-pull-quote-attr {
    margin-top: 24px;
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 767px) {
    .medellin-theme .ud-pull-quote-text {
        font-size: 24px;
    }

    .medellin-theme .ud-step {
        gap: 18px;
    }

    .medellin-theme .ud-step-number {
        font-size: 28px;
        min-width: 48px;
    }
}

.medellin-theme .ud-single-pricing.active h1,
.medellin-theme .ud-single-pricing.active h2,
.medellin-theme .ud-single-pricing.active h3,
.medellin-theme .ud-single-pricing.active h4,
.medellin-theme .ud-single-pricing.active p,
.medellin-theme .ud-single-pricing.active span {
    color: #fff !important;
}

/* Footer Redesign - Exact Match to Screenshot Layout */
.medellin-theme .ud-single-pricing li::before {
    content: '→';
    margin-right: 12px;
    color: var(--color-quinary);
    font-weight: 900;
}

.medellin-theme .ud-single-pricing.active li::before {
    color: #fff;
}

.medellin-theme .ud-footer {
    background: transparent !important;
    border-top: none;
    position: relative;
    overflow: hidden;
    /* Slices shapes exactly at the footer bounding box (bottom and right side) */
    margin-top: 4rem;
    padding-top: 80px;
}

/* Lila Circle (Left) */
.medellin-theme .ud-footer::before {
    content: '';
    position: absolute;
    width: 55vw;
    height: 55vw;
    background: var(--color-secondary);
    /* Lila / Dusty Pink */
    border-radius: 50%;
    top: 0;
    left: 0;
    /* Flush with the left edge to prevent the straight vertical cutoff */
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    transform: none;
}

/* Massive Soft Grey/Blue Circle (Right) */
.medellin-theme .ud-footer::after {
    content: '';
    position: absolute;
    width: 65vw;
    height: 65vw;
    background: #dde0e6;
    /* Soft grey/blue exactly like the screenshot */
    border-radius: 50%;
    top: 5vh;
    /* Natural top arc */
    right: -10vw;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    transform: none;
}

.medellin-theme .ud-footer-widgets,
.medellin-theme .ud-footer-bottom {
    position: relative;
    z-index: 2;
    /* Content sits on top of shapes */
}

/* Clean Dark Typography (from screenshot) */
.medellin-theme .ud-footer h5 {
    color: var(--medellin-text) !important;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 25px;
}

.medellin-theme .ud-footer p,
.medellin-theme .ud-footer a,
.medellin-theme .ud-footer li {
    color: var(--medellin-text) !important;
    font-weight: 500;
}

.medellin-theme .ud-footer a:hover {
    color: var(--color-quinary) !important;
}

.medellin-theme .ud-footer-logo img {
    filter: none;
    /* Dark logo */
    margin-bottom: 25px;
}

/* Solid Dark Social Icons */
.medellin-theme .ud-widget-socials li a {
    color: var(--medellin-bg) !important;
    background: var(--color-primary);
    /* Dark Navy */
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.medellin-theme .ud-widget-socials li a:hover {
    background: var(--color-quinary);
    transform: translateY(-4px);
}

.medellin-theme .ud-footer-bottom {
    border-top: none;
    /* Clean finish, no dividing line at bottom */
    padding: 30px 0;
    margin-top: 50px;
}

/* Back To Top Button */
.medellin-theme .back-to-top {
    background: var(--color-quaternary) !important;
    color: var(--medellin-bg) !important;
    border-radius: 50px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.medellin-theme .back-to-top:hover {
    background: var(--color-quinary) !important;
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(228, 41, 102, 0.3) !important;
}

/* ===== Mobile Menu ===== */

/* Toggler icon - dark hamburger lines for light theme */
.medellin-theme .navbar-toggler .toggler-icon {
    background-color: var(--medellin-text) !important;
}

@media (max-width: 991px) {
    .medellin-theme .navbar-collapse {
        background: var(--medellin-bg) !important;
        border: 2px solid var(--medellin-text) !important;
        border-radius: 16px !important;
        box-shadow: 8px 8px 0px var(--medellin-text) !important;
        margin-top: 12px;
        overflow: hidden;
    }

    .medellin-theme .navbar-nav .nav-item > a {
        color: var(--medellin-text) !important;
        border-bottom: 2px solid rgba(26, 26, 46, 0.1);
        padding: 14px 24px !important;
        font-size: 18px;
        font-weight: 900;
        letter-spacing: -0.5px;
    }

    .medellin-theme .navbar-nav .nav-item > a:hover,
    .medellin-theme .navbar-nav .nav-item > a.active {
        color: var(--color-quinary) !important;
        opacity: 1 !important;
        background: rgba(26, 26, 46, 0.04);
    }

    /* Submenu inside mobile */
    .medellin-theme .ud-submenu {
        background: rgba(26, 26, 46, 0.04) !important;
        border-top: 2px solid rgba(26, 26, 46, 0.1);
        padding: 4px 0 !important;
    }

    .medellin-theme .ud-submenu .ud-submenu-link {
        color: var(--medellin-text) !important;
        padding: 10px 40px !important;
        font-size: 15px;
        font-weight: 700;
        display: block;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .medellin-theme .ud-submenu .ud-submenu-link:hover {
        color: var(--color-quinary) !important;
        background: rgba(26, 26, 46, 0.04);
    }
}