@font-face {
    font-family: 'DM Sans';
    src: url('brand/fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('brand/fonts/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'DM Mono';
    src: url('brand/fonts/DMMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

/* Variables */
:root {
    --primary-color: #111111;
    --secondary-color: #203b73;
    --accent-color: #7da8df;
    --uganda-yellow: #FCD116;
    --uganda-red: #D21034;
    --divider-color: rgba(32, 59, 115, 0.14);
    --divider-strong: rgba(32, 59, 115, 0.2);
    --text-color: #333;
    --light-bg: #f3f1eb;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --heading-font: 'DM Sans', Arial, sans-serif;
    --body-font: 'DM Sans', Arial, sans-serif;
    --mono-font: 'DM Mono', monospace;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    display: none;
}

.positions {
    color: var(--white);
    font-size: 1rem;
    margin-top: 0;
    display: block;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 5.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 1rem;
    list-style: none;
}

.nav-links.active {
    display: block;
}

.nav-links li {
    margin: 1rem 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: min(88vh, 820px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 5.5rem 1.5rem 2.5rem;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--primary-color);
}

.hero-video,
.hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-video {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero.hero-video-ready .hero-video {
    opacity: 1;
}

.hero-fallback {
    display: none;
}

.hero.hero-poster-only .hero-video {
    display: none;
}

.hero.hero-poster-only .hero-fallback {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero-fallback {
        display: block;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.18) 40%,
        rgba(0, 0, 0, 0.5) 68%,
        rgba(0, 0, 0, 0.78) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% center;  /* Adjusted from 0% to 25% to show more of the left side */
    z-index: -1;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: none;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95rem;
}

.cta-button.cta-primary {
    background-color: var(--uganda-red);
    color: var(--white);
    border: 1px solid transparent;
}

.cta-button.cta-primary:hover {
    background-color: #b80e2c;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
}

.cta-button.cta-primary:focus-visible {
    outline: 2px solid var(--uganda-yellow);
    outline-offset: 3px;
}

.cta-button.cta-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.cta-button.whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.cta-button.instagram {
    background-color: #E4405F;
    color: var(--white);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.cta-button.cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

@media (max-width: 340px) {
    .service-card {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .service-icon {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 767px) {
    .positions {
        font-size: 0.92rem;
        margin-top: 0;
    }

    .hero {
        min-height: 100svh;
        align-items: flex-end;
        justify-content: flex-start;
        text-align: left;
        padding: 4.5rem 0 max(5.25rem, calc(env(safe-area-inset-bottom, 0px) + 4.25rem));
    }

    .hero::after {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.22) 0%,
            rgba(0, 0, 0, 0.1) 28%,
            rgba(0, 0, 0, 0.48) 58%,
            rgba(0, 0, 0, 0.78) 78%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }

    .hero-content {
        padding-top: 0;
        width: 100%;
        max-width: none;
        padding-inline: 1.25rem;
        padding-bottom: 0.15rem;
        text-align: left;
        transform: translateY(-32px);
    }

    .hero-content h1 {
        font-size: 2.35rem;
        margin-bottom: 0;
        line-height: 1.1;
        text-align: left;
    }

    .hero-content h1::after {
        content: '';
        display: block;
        width: 64px;
        height: 4px;
        margin: 0.6rem 0 0.85rem;
        border-radius: 999px;
        background: var(--uganda-yellow);
    }

    .hero-content .hero-subtitle {
        font-size: 1.05rem;
        margin: 0 0 1.15rem;
        max-width: 320px;
        line-height: 1.45;
        text-align: left;
    }

    .hero .cta-buttons {
        gap: 0.75rem;
        margin-top: 0;
        width: 100%;
        justify-content: stretch;
    }

    .hero .cta-button {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.9rem 1.2rem;
        min-height: 48px;
    }

    body {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    main {
        padding-bottom: 0;
    }

    .credentials-bar {
        padding: 1.35rem 1.15rem 1.5rem;
        gap: 1.1rem 0.85rem;
    }

    .credential-value {
        font-size: 1.25rem;
    }

    .credential-label {
        font-size: 0.72rem;
        margin-top: 0.15rem;
    }

    section {
        padding: 3rem 1.15rem;
    }

    .about {
        padding: 3rem 1.15rem;
    }

    .services {
        padding: 2.75rem 1.15rem 2.35rem;
    }

    .services-heading {
        margin-bottom: 1.35rem;
    }

    .services-heading .section-intro {
        margin: 0 auto;
    }

    .section-lead {
        font-size: 1.65rem;
        margin-bottom: 0.75rem;
    }

    .section-intro {
        margin: 0 auto 1.5rem;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .section-eyebrow {
        margin-bottom: 0.55rem;
    }

    section h2 {
        margin-bottom: 1.25rem;
        font-size: 1.65rem;
    }

    .services-layout {
        gap: 1.15rem;
    }

    .services-list {
        gap: 0.75rem;
    }

    .service-card {
        padding: 1.05rem 1.05rem;
        border-radius: 12px;
        gap: 0.8rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

    .service-icon i {
        font-size: 1.05rem;
    }

    .service-card h3 {
        font-size: 1.02rem;
        margin-bottom: 0.25rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .training-side {
        border-radius: 12px;
    }

    .training-side img {
        height: 200px;
        object-position: center 6%;
    }

    .how-it-works {
        padding: 2.75rem 1.15rem 3rem;
        background: var(--white);
        border-top: 1px solid var(--divider-color);
    }

    .how-it-works .section-lead {
        margin-bottom: 1.35rem;
    }

    .how-grid {
        border-top: 1px solid var(--divider-strong);
    }

    .how-item {
        padding: 1.15rem 0 1.2rem;
        border-bottom: 1px solid var(--divider-color);
    }

    .how-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .how-step {
        margin-bottom: 0.45rem;
    }

    .how-item h3 {
        font-size: 1.05rem;
        margin-bottom: 0.3rem;
    }

    .how-item p {
        font-size: 0.94rem;
        max-width: none;
    }

    .about-content {
        gap: 1.5rem;
    }

    .main-image {
        height: 280px;
        border-radius: 14px;
    }

    .main-image-portrait {
        height: 360px;
        object-position: center top;
    }

    .about-text h2 {
        font-size: 1.55rem;
        margin-bottom: 0.85rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 0.85rem;
    }

    .testimonials {
        padding: 2.35rem 1.15rem 2.5rem;
        border-top: 1px solid var(--divider-color);
    }

    .testimonial-card {
        padding: 1.35rem 1.2rem;
        border-radius: 14px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    }

    .testimonial-card p {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 0.85rem;
    }

    .contact {
        padding: 2.75rem 1.15rem max(2.75rem, calc(env(safe-area-inset-bottom, 0px) + 2rem));
        border-top: 1px solid var(--divider-color);
    }

    .contact-wrapper {
        gap: 1.15rem;
    }

    .contact-portrait {
        max-width: 220px;
        border-radius: 14px;
    }

    .contact-content {
        padding: 1.65rem 1.25rem 1.75rem;
        border-radius: 14px;
        align-items: center;
    }

    .contact-content .section-eyebrow {
        margin-bottom: 0.35rem;
    }

    .contact-content h2 {
        font-size: clamp(1.55rem, 6.5vw, 1.85rem);
        margin-bottom: 0.7rem;
    }

    .contact-content p {
        font-size: 0.98rem;
        margin: 0 0 0.7rem;
        line-height: 1.5;
        max-width: 32ch;
    }

    .contact-pricing {
        margin: 0.15rem 0 1rem !important;
        font-size: 0.88rem !important;
        max-width: 30ch;
    }

    .contact-content .cta-buttons {
        margin-top: 0;
        width: 100%;
    }

    .contact-content .cta-button {
        width: 100%;
        justify-content: center;
    }

    .site-footer {
        padding: 1.65rem 1.15rem max(1.35rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
    }

    .footer-accent {
        width: 72px;
        height: 3px;
        margin-bottom: 0.8rem;
    }

    .footer-name {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.3rem;
    }

    .footer-tagline {
        font-size: 0.82rem;
        margin-bottom: 0.75rem;
    }

    .footer-links {
        font-size: 0.78rem;
        margin-bottom: 0.65rem;
        gap: 0.5rem 0.85rem;
    }

    .footer-links a {
        padding: 0.45rem 0.2rem;
    }

    .site-footer .footer-meta {
        font-size: 0.65rem;
        opacity: 0.9;
    }

    .community-content {
        text-align: left;
    }
}

@media (max-width: 360px) {
    .positions {
        font-size: 0.85rem;
    }
}

/* Credentials bar */
.credentials-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    position: relative;
}

.credentials-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--uganda-yellow);
    pointer-events: none;
}

.credential {
    text-align: center;
}

.credential-value {
    display: block;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.credential-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.75;
    margin-top: 0.25rem;
    letter-spacing: 0.02em;
}

.credential-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.credential-link:hover .credential-value {
    color: var(--white);
}

.credential-link:hover .credential-label {
    opacity: 1;
}

/* Experience */
.experience {
    padding: 4rem 1.5rem;
    background: var(--white);
}

.experience-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.experience .section-lead {
    margin-bottom: 1.25rem;
}

.experience-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 1rem;
}

.experience-note {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.experience-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.experience-details li {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--primary-color);
    background: var(--light-bg);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    white-space: nowrap;
}

.experience-airbnb-note {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}

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

/* Section typography */
.section-eyebrow {
    display: block;
    font-family: var(--mono-font);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-eyebrow::after {
    content: '';
    display: block;
    width: 1.35rem;
    height: 2px;
    margin: 0.45rem auto 0;
    background: var(--uganda-yellow);
}

.section-eyebrow-light {
    color: var(--accent-color);
}

.section-eyebrow-light::after {
    background: var(--uganda-yellow);
}

.about-text .section-eyebrow::after,
.community-text .section-eyebrow::after {
    margin-left: 0;
    margin-right: auto;
}

.section-lead {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-text .section-eyebrow {
    text-align: left;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.image-caption {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-top: -0.25rem;
}

.bio-subheading {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary-color);
}

/* Secciones */
.about {
    padding: 5rem 1rem 2rem;
}

section {
    padding: 5rem 1rem;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Servicios */
.services {
    background-color: var(--light-bg);
    padding: 4rem 1.25rem;
}

.services-heading {
    max-width: 620px;
    margin: 0 auto 1.35rem;
    text-align: center;
}

.services-heading .section-lead {
    margin-bottom: 0.55rem;
}

.services-heading .section-intro {
    margin: 0 auto;
    max-width: 580px;
}

.services-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.services-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: none;
    margin: 0;
    flex: 1;
}

.service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem 1rem;
    align-items: start;
    background: var(--white);
    padding: 1.2rem 1.25rem;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.service-icon i {
    font-size: 1.15rem;
    color: var(--secondary-color);
}

.service-copy {
    min-width: 0;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    word-spacing: 0.02em;
}

.service-card p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 46rem;
}

/* Sobre Mí */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.about-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0;
    position: relative;
}

.main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-image-portrait {
    object-position: center top;
    height: 420px;
}

/* Community */
.community {
    padding: 5rem 1rem;
    background: var(--light-bg);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.community-image .main-image {
    height: 400px;
    object-position: center 30%;
}

.community-text .section-eyebrow,
.community-text h2,
.community-text p {
    text-align: left;
}

.community-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.3;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.community-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

.community-text a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.community-text a:hover {
    text-decoration: underline;
}

.image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gallery-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.gallery-image:hover {
    transform: scale(1.02);
}

.gallery-map {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.gallery-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    padding: 0;
}

.about-text p:first-of-type {
    margin-top: 0;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
}

.about-text a:hover {
    text-decoration: underline;
}

/* Contacto */
.contact {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    text-align: center;
    padding: 4rem 1rem 3.5rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-image {
    display: flex;
    align-self: stretch;
    min-height: 0;
}

.contact-portrait {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    display: block;
    object-fit: cover;
    object-position: center 18%;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.contact-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-content h2 {
    color: var(--primary-color);
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
}

.contact-content .section-eyebrow {
    margin-bottom: 0.45rem;
}

.contact-content .cta-buttons {
    align-items: center;
    justify-content: center;
    margin-top: 0;
    width: 100%;
}

.contact-instagram {
    flex-shrink: 0;
}

.contact-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.55;
    margin: 0 0 0.85rem;
}

.contact-pricing {
    font-size: 0.92rem !important;
    color: #666 !important;
    margin: 0.35rem 0 1.15rem !important;
    font-weight: 500;
    line-height: 1.45;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-link.whatsapp {
    background-color: #25D366;
}

.social-link.instagram {
    background-color: #E4405F;
}

.social-link.imdb {
    background-color: #F5C518;
    color: #000000;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Footer — Patrick-first */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: clamp(2rem, 4vw, 2.75rem) 1.5rem clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}

.footer-accent {
    width: 88px;
    height: 4px;
    margin: 0 auto 0.95rem;
    background: linear-gradient(
        to right,
        var(--uganda-yellow) 0 48%,
        transparent 48% 52%,
        var(--uganda-red) 52% 100%
    );
    border-radius: 999px;
}

.footer-name {
    font-family: var(--heading-font);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 0.35rem;
}

.footer-tagline {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 0.9rem;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem 0.7rem;
    font-size: 0.8rem;
    margin: 0 0 0.85rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.35rem 0.15rem;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.35);
}

.site-footer .footer-meta {
    font-family: var(--mono-font);
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.42);
    margin: 0;
    font-weight: 400;
}

/* Training + services layout */
.services-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.training-side {
    margin: 0;
    max-width: none;
    border-radius: 14px;
    overflow: hidden;
    height: auto;
}

.training-side img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    object-position: center 8%;
}

/* How it works */
.how-it-works {
    padding: 4rem 1.25rem;
    background: linear-gradient(180deg, #f7f5f0 0%, #f3f1eb 100%);
}

.how-it-works .section-lead {
    margin-bottom: 2.25rem;
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--divider-strong);
}

.how-item {
    text-align: left;
    padding: 1.5rem 0 1.6rem;
    border-bottom: 1px solid var(--divider-color);
    background: transparent;
    box-shadow: none;
}

.how-item:hover {
    transform: none;
    box-shadow: none;
}

.how-step {
    display: block;
    font-family: var(--mono-font);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    margin-bottom: 0.65rem;
    background: none;
    padding: 0;
    border-radius: 0;
}

.how-step::after {
    content: '';
    display: block;
    width: 1.15rem;
    height: 2px;
    margin-top: 0.4rem;
    background: var(--uganda-yellow);
}

.how-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.how-item p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 36ch;
    margin: 0;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-bg);
    padding: 3.25rem 1rem 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 640px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 2.15rem 2.25rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 2px solid rgba(252, 209, 22, 0.55);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.35rem;
    width: 36px;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(252, 209, 22, 0.7),
        rgba(210, 16, 52, 0.45)
    );
    border-radius: 999px;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    font-size: 0.95rem;
    margin-top: auto;
}

.video-testimonial {
    padding: 0;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

.video-container video[poster] {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.video-container video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
}

.video-container video::-webkit-media-controls-play-button {
    background-color: #fff;
    border-radius: 50%;
}

.video-container video::-webkit-media-controls-timeline {
    background-color: rgba(255, 255, 255, 0.3);
}

.video-container video::-webkit-media-controls-current-time-display,
.video-container video::-webkit-media-controls-time-remaining-display {
    color: #fff;
}

.video-testimonial p {
    padding: 1.5rem;
    margin: 0;
}

.video-testimonial .testimonial-author {
    padding: 0 1.5rem 1.5rem;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-card p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .video-container video::-webkit-media-controls-panel {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 0 10px;
    }

    .video-container video::-webkit-media-controls-play-button,
    .video-container video::-webkit-media-controls-volume-slider,
    .video-container video::-webkit-media-controls-mute-button,
    .video-container video::-webkit-media-controls-timeline {
        transform: scale(1.2);
    }

    .video-container video::-webkit-media-controls-current-time-display,
    .video-container video::-webkit-media-controls-time-remaining-display {
        font-size: 14px;
    }

    .gallery-map img {
        object-position: -140px center;  /* Increased left offset to -200px */
    }
}

/* Videos */
.videos {
    padding: 2rem 1rem 5rem;
    background-color: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.video-container iframe,
.video-container blockquote {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Instagram Highlights */
.instagram-highlight {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.instagram-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.highlight-preview {
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}

.highlight-image,
.highlight-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

.highlight-video[poster] {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.highlight-description {
    padding: 1.5rem;
    text-align: center;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
}

.highlight-description .text-link {
    color: #E1306C;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.highlight-description .text-link:hover {
    color: #833AB4;
    text-decoration: underline;
}

/* Media Queries */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        background: none;
        padding: 0;
        width: auto;
    }

    .nav-links li {
        margin: 0 0 0 2rem;
    }

    .logo {
        font-size: 1.4rem;
        max-width: 400px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-video,
    .hero-fallback {
        object-position: center 35%;
    }

    .credentials-bar {
        grid-template-columns: repeat(4, 1fr);
        padding: 1.65rem 2rem;
    }

    .credentials-bar::before {
        display: none;
    }

    .credential-value {
        font-size: 1.35rem;
        color: rgba(255, 255, 255, 0.94);
        letter-spacing: -0.02em;
    }

    .credential-label {
        color: rgba(255, 255, 255, 0.58);
        opacity: 1;
        font-size: 0.78rem;
    }

    .credential-link:hover .credential-value {
        color: var(--uganda-yellow);
    }

    .services-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 1.5rem;
        align-items: stretch;
        max-width: 1100px;
    }

    .services-main {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
    }

    .services-heading {
        max-width: none;
        margin: 0 0 1rem;
        text-align: left;
    }

    .services-heading .section-eyebrow {
        text-align: left;
    }

    .services-heading .section-eyebrow::after {
        margin-left: 0;
        margin-right: auto;
    }

    .services-heading .section-lead {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .services-heading .section-intro {
        text-align: left;
        margin: 0;
        max-width: 36rem;
    }

    .services-list {
        gap: 0.7rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .service-card {
        padding: 1rem 1.15rem;
        gap: 0.85rem 0.95rem;
        flex: 1 1 0;
        align-items: center;
    }

    .service-icon {
        width: 42px;
        height: 42px;
    }

    .service-icon i {
        font-size: 1.05rem;
    }

    .service-card h3 {
        font-size: 1.08rem;
        margin-bottom: 0.22rem;
    }

    .service-card p {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .training-side {
        min-height: 100%;
        height: 100%;
        border-radius: 14px;
        display: block;
        align-self: stretch;
        overflow: hidden;
    }

    .training-side img {
        width: 100%;
        height: 100%;
        min-height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center 10%;
    }

    .main-image-portrait {
        height: 420px;
        object-position: center top;
    }

    .how-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        border-top: 1px solid var(--divider-strong);
        border-bottom: 1px solid var(--divider-strong);
    }

    .how-item {
        padding: 1.75rem 1.5rem 1.85rem;
        border-bottom: none;
        border-right: 1px solid var(--divider-color);
    }

    .how-item:first-child {
        padding-left: 0;
    }

    .how-item:last-child {
        border-right: none;
        padding-right: 0;
    }

    .how-item p {
        max-width: none;
    }

    .about-content {
        grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
        align-items: stretch;
        gap: 2.5rem;
    }

    .about-image {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 100%;
        max-height: none;
        aspect-ratio: auto;
        border-radius: 20px;
        overflow: hidden;
        align-self: stretch;
    }

    .about-image .main-image-portrait {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        border-radius: 0;
        object-fit: cover;
        object-position: center 12%;
    }

    .community-content {
        grid-template-columns: 1fr 1fr;
    }

    .contact-wrapper {
        grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
        text-align: left;
        align-items: stretch;
        gap: 1.75rem;
    }

    .contact-image {
        position: relative;
        height: auto;
        min-height: 100%;
        align-self: stretch;
        border-radius: 18px;
        overflow: hidden;
    }

    .contact-portrait {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        margin: 0;
        border-radius: 0;
        object-fit: cover;
        object-position: center 18%;
    }

    .contact-wrapper .contact-content {
        text-align: left;
        align-items: flex-start;
        height: 100%;
        max-width: none;
        margin: 0;
        padding: clamp(1.75rem, 3.2vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem);
    }

    .contact-wrapper .contact-content .section-eyebrow {
        text-align: left;
    }

    .contact-wrapper .contact-content .section-eyebrow::after {
        margin-left: 0;
        margin-right: auto;
    }

    .contact-wrapper .contact-content h2 {
        margin-bottom: 0.85rem;
        font-size: clamp(1.85rem, 2.4vw, 2.15rem);
    }

    .contact-wrapper .contact-content p {
        max-width: 34rem;
        margin-bottom: 0.75rem;
        font-size: 1.05rem;
    }

    .contact-wrapper .contact-pricing {
        margin: 0.25rem 0 1.15rem !important;
        max-width: 32rem;
    }

    .contact-wrapper .contact-content .cta-buttons {
        justify-content: flex-start;
        align-items: flex-start;
        margin-top: 0;
        width: auto;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        --proof-bar-h: 4.75rem; /* compact credentials/proof strip (~76px) */
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        padding: 6rem clamp(2.5rem, 6vw, 5.5rem) 3.25rem;
        /* Fixed nav overlays the hero; fill viewport so hero + proof bar = 100svh */
        min-height: calc(100svh - var(--proof-bar-h));
    }

    .hero-video,
    .hero-fallback {
        /* Keep Patrick biased to the right half of the frame */
        object-position: 18% 30%;
    }

    /* Keep global wash light; add a left text-zone vignette */
    .hero::after {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.34) 0%,
            rgba(0, 0, 0, 0.12) 38%,
            rgba(0, 0, 0, 0.28) 68%,
            rgba(0, 0, 0, 0.62) 100%
        );
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: radial-gradient(
            ellipse 52% 76% at 16% 52%,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            rgba(0, 0, 0, 0.08) 66%,
            transparent 76%
        );
    }

    .hero-content {
        max-width: 540px;
        width: min(100%, 540px);
        margin: 0;
        padding-top: 0;
        text-align: left;
        transform: translateY(0.75rem);
    }

    .hero-content h1 {
        font-size: clamp(3.25rem, 4.2vw, 4.25rem);
        margin-bottom: 0;
        text-align: left;
        white-space: nowrap;
    }

    .hero-content h1::after {
        content: '';
        display: block;
        width: 72px;
        height: 4px;
        margin: 0.6rem 0 0.9rem;
        border-radius: 999px;
        background: #FCD116;
    }

    .hero-content .hero-subtitle,
    .hero-subtitle {
        margin: 0 0 1.5rem;
        max-width: 32ch;
        text-align: left;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
    }

    .hero .cta-buttons {
        justify-content: flex-start;
    }

    .logo {
        font-size: 1.6rem;
        max-width: 500px;
    }

    .credentials-bar {
        padding: 1rem 2.5rem;
        gap: 0.85rem;
    }

    .credential-value {
        font-size: 1.15rem;
    }

    .credential-label {
        font-size: 0.75rem;
        margin-top: 0.2rem;
    }

    .section-lead {
        font-size: 2.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 5% auto;
    background: #000;
    padding: 20px;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: #E1306C;
}

#trainingVideo {
    width: 100%;
    border-radius: 5px;
}

.location-map {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

@media (max-width: 768px) {
    .location-map iframe {
        height: 300px;
    }
}

.language-toggle {
    margin-left: 1rem;
}

.language-toggle button {
    background: none;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.language-toggle button:hover {
    background: var(--white);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .language-toggle {
        margin: 1rem 0;
    }
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(4px);
}

.full-bio {
    padding: 8rem 1rem 5rem;
    background: var(--light-bg);
}

.full-bio .container {
    max-width: 900px;
    margin: 0 auto;
}

.bio-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.bio-intro {
    margin-bottom: 3rem;
}

.bio-intro p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
}

.pull-quote {
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    border-left: 4px solid var(--secondary-color);
    background: var(--light-bg);
    border-radius: 0 15px 15px 0;
}

.bio-sections {
    display: grid;
    gap: 3rem;
}

.bio-section {
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
}

.bio-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.bio-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: left;
}

.bio-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.back-link:hover {
    color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.back-link i {
    transition: var(--transition);
}

.back-link:hover i {
    transform: translateX(-4px);
}

@media (min-width: 768px) {
    .bio-sections {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bio-section:last-child {
        grid-column: 1 / -1;
    }
    
    .pull-quote {
        font-size: 2rem;
        margin: 4rem 0;
    }
}

@media (max-width: 767px) {
    .bio-content {
        padding: 2rem;
    }
    
    .bio-intro p {
        font-size: 1.2rem;
    }
    
    .pull-quote {
        font-size: 1.5rem;
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .bio-section {
        padding: 1.5rem;
    }
    
    .bio-section h2 {
        font-size: 1.5rem;
    }
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.popup-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.popup-content .whatsapp-link {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.popup-content .whatsapp-link:hover {
    transform: translateY(-2px);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--primary-color);
}

.bio-article {
    padding: 8rem 1rem 5rem;
    background: linear-gradient(to bottom, #fafafa 0%, #f0f2f5 100%);
    color: var(--text-color);
    position: relative;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    position: relative;
}

.article-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.back-link:hover {
    color: var(--secondary-color);
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.article-intro {
    margin-bottom: 3rem;
}

.article-intro h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.article-intro p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.bio-image {
    max-width: 600px;
    margin: 3rem auto;
    position: relative;
}

.bio-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.bio-image:hover img {
    transform: translateY(-5px);
}

.bio-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.dropcap::first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    padding-right: 0.5rem;
    padding-top: 0.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.article-body {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body p {
    margin-bottom: 2rem;
}

.contact-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    border: 1px solid rgba(52, 152, 219, 0.1);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 4rem;
    text-align: center;
    transition: var(--transition);
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-section p {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.featured-quote {
    font-size: 2rem;
    line-height: 1.4;
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
    text-align: center;
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.featured-quote:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.floating-whatsapp {
    position: fixed;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 999;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-whatsapp.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}

.floating-whatsapp:hover,
.floating-whatsapp:visited,
.floating-whatsapp:focus {
    color: white;
    text-decoration: none;
}

.floating-whatsapp i {
    line-height: 1;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.floating-whatsapp.is-hidden:hover {
    transform: translateY(8px);
}

.floating-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.1rem;
}

.cta-button.whatsapp {
    background: #25D366;
}

.cta-button.instagram {
    background: #E4405F;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0.85rem 1rem;
        padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        background: rgba(26, 26, 26, 0.96);
        z-index: 1000;
    }

    .logo {
        display: none;  /* Hide SEBA on mobile */
    }

    .positions {
        font-size: 0.92rem;
        font-weight: 600;
        opacity: 1;
        margin-top: 0;
        text-align: left;
        max-width: none;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    .menu-toggle {
        position: static;
        flex-shrink: 0;
        margin: 0;
        padding: 0.45rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        top: 100%;
        padding: 1rem;
    }

    .nav-links li {
        margin: 0.8rem 0;
    }

    .floating-whatsapp,
    .floating-instagram {
        position: fixed;
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        right: max(14px, env(safe-area-inset-right, 0px));
        width: 52px;
        height: 52px;
        border-radius: 50%;
        color: white;
        border: none;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 999;
        text-decoration: none;
    }

    .floating-whatsapp {
        background: #25D366;
    }

    .floating-instagram {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    .floating-whatsapp:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .floating-whatsapp.is-hidden:hover {
        transform: translateY(8px);
    }
} 