:root {
    --bg-primary: #f0e5d1;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #dfcda9;
    --color-primary: #025B50;
    --color-primary-dark: #1e6e6f;
    --color-primary-light: #cae7eb;
    --color-accent: #4ec6d4;
    --color-secondary: #bb9a79;
    --color-secondary-dark: #997656;
    --color-text: #2d302e;
    --color-text-muted: #6e655c;
    --color-border: #dfcda9;
    --color-white: #FFFFFF;

    --font-serif: 'Amiri', serif;
    --font-display: 'Alan Sans', sans-serif;
    --font-sans: 'Alan Sans', sans-serif;
    --font-tagline: 'Amiri', Georgia, serif;

    --shadow-sm: 0 4px 6px -1px rgba(122, 199, 189, 0.08), 0 2px 4px -1px rgba(122, 199, 189, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(122, 199, 189, 0.1), 0 4px 6px -2px rgba(122, 199, 189, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(122, 199, 189, 0.12), 0 10px 10px -5px rgba(122, 199, 189, 0.06);
    --shadow-soft: 0 30px 60px rgba(30, 110, 111, 0.04);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-out;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--color-text);
    font-family: var(--font-serif);
    font-weight: 500;
}

p {
    font-family: var(--font-sans);
    color: var(--color-text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tagline,
.hero-tagline {
    display: inline-block;
    font-family: var(--font-tagline);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    font-size: 1.28rem;
    letter-spacing: 0.5px;
    line-height: 1.35;
    color: var(--color-secondary-dark);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
    background-color: transparent;
}

.site-header.scrolled {
    padding: 12px 0;
    background-color: rgba(240, 229, 209, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(223, 205, 169, 0.4);
}

@media (min-width: 769px) {
    .site-header:not(.scrolled) .nav-link {
        color: var(--bg-primary);
    }

    .site-header:not(.scrolled) .nav-link:hover,
    .site-header:not(.scrolled) .nav-link.active {
        color: #ffffff;
    }

    .site-header:not(.scrolled) .nav-link::after {
        background-color: var(--bg-tertiary);
    }
}

.site-header:not(.scrolled) .logo-img {
    filter: brightness(0) invert(92%) sepia(14%) saturate(450%) hue-rotate(345deg);
}

.site-header:not(.scrolled) .nav-cta-btn {
    background-color: var(--bg-primary);
    color: var(--color-primary);
    border-color: var(--bg-primary);
}

.site-header:not(.scrolled) .nav-cta-btn:hover {
    background-color: #ffffff;
    color: var(--color-primary-dark);
    border-color: #ffffff;
}

.site-header:not(.scrolled) .hamburger,
.site-header:not(.scrolled) .hamburger::before,
.site-header:not(.scrolled) .hamburger::after {
    background-color: var(--bg-primary);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    background: radial-gradient(circle at 20% 25%, #056b5e 0%, #025B50 45%, #013b34 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 45vw;
    height: 45vw;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(78, 198, 212, 0.18) 0%, rgba(2, 91, 80, 0) 70%);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 580px;
}

.hero-tagline {
    color: var(--bg-tertiary);
    font-size: 1.38rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--bg-primary);
    font-weight: 400;
}

.hero-title-accent {
    font-weight: 700;
    font-style: italic;
    color: #dfcda9;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 36px;
    color: rgba(240, 229, 209, 0.92);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background-color: var(--bg-primary);
    color: var(--color-primary);
    border-color: var(--bg-primary);
}

.hero-actions .btn-primary:hover {
    background-color: #ffffff;
    color: var(--color-primary-dark);
    border-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-actions .btn-outline {
    background-color: transparent;
    color: var(--bg-primary);
    border-color: rgba(240, 229, 209, 0.6);
}

.hero-actions .btn-outline:hover {
    background-color: rgba(240, 229, 209, 0.15);
    color: #ffffff;
    border-color: var(--bg-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(240, 229, 209, 0.35);
    animation: organic-float 6s ease-in-out infinite alternate;
}

.floating-badge {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
    transition: var(--transition-smooth);
}

.floating-badge:hover {
    transform: scale(1.05) translateY(-3px);
}

.badge-1 {
    top: 15%;
    left: -10%;
}

.badge-2 {
    bottom: 15%;
    right: -5%;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    white-space: nowrap;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bg-primary);
    animation: bounce 2s infinite;
    z-index: 5;
    padding: 10px;
}

@keyframes organic-float {
    0% {
        border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
        transform: translateY(0);
    }

    100% {
        border-radius: 55% 45% 45% 55% / 40% 60% 40% 60%;
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

.philosophy-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.philosophy-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.philosophy-intro {
    position: sticky;
    top: 140px;
}

.philosophy-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-top: 20px;
}

.philosophy-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.philosophy-pillar-item {
    display: flex;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(211, 182, 191, 0.3);
    transition: var(--transition-smooth);
}

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

.pillar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-primary);
    margin-top: 14px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.philosophy-pillar-item:hover .pillar-dot {
    opacity: 1;
    transform: scale(1.2);
}

.pillar-content {
    display: flex;
    flex-direction: column;
}

.pillar-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--color-primary-dark);
    font-family: var(--font-serif);
    font-weight: 500;
    position: relative;
    display: inline-block;
    text-wrap: balance;
}

.pillar-title-lead {
    display: block;
    color: var(--color-primary-dark);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.pillar-title-sub {
    display: block;
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--color-primary-dark);
    line-height: 1.3;
    margin-top: 3px;
    opacity: 0.95;
}

.pillar-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.philosophy-pillar-item:hover .pillar-title::after {
    width: 60px;
}

.pillar-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

@media (max-width: 991px) {
    .philosophy-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .philosophy-intro {
        position: static;
    }
}

@media (max-width: 768px) {
    .philosophy-pillar-item {
        gap: 20px;
        padding-bottom: 32px;
    }

    .pillar-dot {
        width: 8px;
        height: 8px;
        margin-top: 9px;
    }

    .pillar-title {
        font-size: 1.45rem;
        line-height: 1.28;
        margin-bottom: 10px;
    }

    .pillar-title-sub {
        font-size: 1.28rem;
        margin-top: 2px;
    }
}

@media (max-width: 480px) {
    .philosophy-pillar-item {
        gap: 16px;
        padding-bottom: 26px;
    }

    .pillar-dot {
        width: 7px;
        height: 7px;
        margin-top: 8px;
    }

    .pillar-title {
        font-size: 1.32rem;
        line-height: 1.25;
    }

    .pillar-title-sub {
        font-size: 1.16rem;
    }
}

.founders-section {
    padding: 85px 0 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #faf5ed 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.founders-section .section-header,
.founders-section .admin-section-header {
    margin-bottom: 45px;
}

.founders-carousel-container {
    position: relative;
    width: 100%;
}

.founders-carousel-btn,
.founders-dots {
    display: none !important;
}

.founders-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .founders-showcase .founder-item[data-founder="lucia"] {
        order: 1;
    }
    .founders-showcase .founder-item[data-founder="paula"] {
        order: 2;
    }
    .founders-showcase .founder-item[data-founder="lucas"] {
        order: 3;
    }
}

.founder-item {
    flex: 1;
    max-width: 280px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-portrait {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 160px 160px 24px 24px;
    overflow: hidden;
    background-color: #eee7db;
    box-shadow: 0 12px 30px -10px rgba(45, 48, 46, 0.12);
    border: 1px solid rgba(187, 154, 121, 0.35);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-item:hover .founder-portrait {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(2, 91, 80, 0.2);
    border-color: var(--color-primary);
}

.founder-item:hover .founder-photo {
    transform: scale(1.04);
}

.founder-caption {
    margin-top: 20px;
}

.founder-name {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.founder-role {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-secondary-dark);
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.founders-actions {
    text-align: center;
    margin-top: 45px;
}

.btn-toggle-admin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    background-color: transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-toggle-admin:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 8px 20px -6px rgba(2, 91, 80, 0.35);
    transform: translateY(-2px);
}

.btn-toggle-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-toggle-icon.rotated {
    transform: rotate(180deg);
}

.admin-team-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.45s ease,
                visibility 0.45s ease,
                margin-top 0.45s ease;
    margin-top: 0;
}

.admin-team-wrapper.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    margin-top: 50px;
}

.admin-team-inner {
    overflow: hidden;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.admin-header-line {
    flex: 1;
    max-width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(187, 154, 121, 0.5));
}

.admin-header-line:last-child {
    background: linear-gradient(90deg, rgba(187, 154, 121, 0.5), transparent);
}

.admin-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    color: var(--color-primary);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.admin-showcase {
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .founders-showcase {
        gap: 30px;
    }

    .founder-portrait {
        border-radius: 140px 140px 20px 20px;
    }
}

@media (max-width: 768px) {
    .founders-section {
        padding: 65px 0 75px 0;
        overflow-x: clip;
    }

    .founders-carousel-container {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .founders-showcase {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        padding: 10px 0 10px 0;
        scroll-behavior: smooth;
    }

    .founders-showcase::-webkit-scrollbar {
        display: none;
    }

    .founders-showcase .founder-item {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        padding: 0 25px;
        order: initial;
    }

    .founders-showcase .founder-item.scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .founder-portrait {
        width: 100%;
        max-width: 240px;
        aspect-ratio: 4 / 5;
    }

    .founder-name {
        font-size: 1.45rem;
    }

    .founders-carousel-btn {
        display: flex !important;
        position: absolute;
        top: 36%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        z-index: 10;
        border-radius: var(--radius-full);
        background-color: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid var(--color-border);
        color: var(--color-primary-dark);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: var(--transition-smooth);
        align-items: center;
        justify-content: center;
    }

    .founders-carousel-btn:hover:not(:disabled) {
        background-color: var(--color-primary);
        color: var(--color-white);
        border-color: transparent;
    }

    .founders-carousel-btn.prev-btn {
        left: 4px;
    }

    .founders-carousel-btn.next-btn {
        right: 4px;
    }

    .founders-carousel-btn:disabled {
        opacity: 0;
        pointer-events: none;
    }

    .founders-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 14px;
        width: 100%;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background-color: rgba(30, 110, 111, 0.28);
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .carousel-dot.active {
        width: 22px;
        border-radius: 4px;
        background-color: var(--color-primary);
    }
}

.disciplines-section {
    padding: 100px 0;
    background-image: url("images/fondos-web-04.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-secondary);
}

.disciplines-section .section-tagline {
    color: var(--bg-tertiary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.disciplines-section .section-title {
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.disciplines-section .section-subtitle {
    color: var(--bg-primary);
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

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

.discipline-card {
    background-color: var(--bg-secondary);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.discipline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.discipline-card:hover::before {
    transform: scaleX(1);
}

.discipline-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.discipline-img-wrapper {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: var(--transition-smooth);
}

.discipline-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.discipline-card:hover .discipline-img-wrapper {
    background-color: var(--color-primary);
}

.discipline-card:hover .discipline-img {
    transform: scale(1.05);
    filter: brightness(0) invert(1);
}

.discipline-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.discipline-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: var(--font-display);
    color: var(--color-primary-dark);
}

.discipline-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

.discipline-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.discipline-card:hover .discipline-link {
    color: var(--color-primary-dark);
}

.staff-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.staff-group {
    text-align: center;
    margin-top: 50px;
}

.staff-group + .staff-carousel-container {
    margin-top: 20px;
}

.staff-group-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.staff-group-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 14px auto 14px;
    border-radius: 3px;
    background: var(--color-secondary);
}

.staff-group-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin: 0;
}

.staff-carousel-container {
    position: relative;
    width: 100%;
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.staff-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
    cursor: grab;
}

.staff-carousel-viewport:active {
    cursor: grabbing;
}

.staff-track {
    display: flex;
    gap: 30px;
    width: 100%;
    position: relative;
    will-change: transform;
}

.staff-card {
    flex: 0 0 calc((100% - 2 * 30px) / 3);
    min-width: 280px;
    max-width: 340px;
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    border: none;
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover:not(:disabled) {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.carousel-btn.prev-btn {
    left: -25px;
}

.carousel-btn.next-btn {
    right: -25px;
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-image-container {
    position: relative;
    overflow: hidden;
    width: 220px;
    height: 280px;
    border-radius: 110px;
    background-color: var(--color-primary-light);
    margin: 0 auto 16px auto;
    box-shadow: 0 10px 25px rgba(30, 110, 111, 0.08);
    border: 3px solid var(--color-white);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.staff-card:hover .staff-image-container {
    box-shadow: 0 15px 35px rgba(122, 199, 189, 0.25);
    border-color: var(--color-primary-light);
    transform: translateY(-3px);
}

.staff-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 110px;
    background: radial-gradient(circle at center, rgba(2, 91, 80, 0.08) 0%, rgba(2, 91, 80, 0.28) 100%);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.staff-image-container::after {
    content: '';
    position: absolute;
    bottom: 14px;
    right: 26px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3Cline x1='11' y1='8' x2='11' y2='14'%3E%3C/line%3E%3Cline x1='8' y1='11' x2='14' y2='11'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    border: 2.5px solid #ffffff;
    box-shadow: 0 4px 14px rgba(2, 91, 80, 0.35);
    z-index: 5;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover .staff-image-container::before {
    opacity: 1;
}

.staff-card:hover .staff-image-container::after {
    transform: scale(1.14);
    background-color: var(--color-primary-dark);
    box-shadow: 0 6px 18px rgba(2, 91, 80, 0.55);
}

.staff-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform-origin: center top;
    transition: var(--transition-smooth);
}

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

.staff-info {
    padding: 6px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
}

.staff-name-title {
    font-family: var(--font-display);
    font-size: 1.28rem;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.staff-card:hover .staff-name-title {
    color: var(--color-primary);
}

.staff-role-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary-dark);
    background-color: rgba(224, 122, 95, 0.12);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.staff-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: center;
    color: var(--color-text);
    max-width: 280px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.staff-letter-btn {
    padding: 9px 15px;
    font-size: 0.82rem;
}

.staff-btn {
    padding: 9px 18px;
    font-size: 0.84rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: var(--bg-secondary);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: transparent;
}

.contact-section {
    padding: 100px 0;
    background-image: url("images/fondos-web-04.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-secondary);
    position: relative;
}

.contact-section .section-tagline {
    color: var(--bg-tertiary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-section .section-title {
    color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--bg-primary);
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-content h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.detail-content p,
.detail-content a {
    font-size: 0.95rem;
    color: var(--bg-primary);
    opacity: 0.95;
}

.contact-link:hover {
    color: var(--color-white);
    text-decoration: underline;
    opacity: 1;
}

.contact-form-block {
    background-color: var(--bg-secondary);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--color-primary-dark);
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}

.custom-form input,
.custom-form select,
.custom-form textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #dcd3c1;
    background-color: #ffffff;
    color: var(--color-text);
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #9CA3AF;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
    border-color: var(--color-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(2, 91, 80, 0.12);
}

.custom-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23587060'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.alert {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-success {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.site-footer {
    background-color: var(--color-primary);
    padding: 80px 0 0 0;
    border-top: none;
    margin-top: -1px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-social-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-social-col .footer-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.footer-info {
    text-align: right;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 12px;
    display: inline-block;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.02);
}

.footer-tagline {
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--bg-secondary);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-links h4,
.footer-info h4,
.footer-social-col h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer-info p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-text {
    font-family: var(--font-display);
    color: var(--color-white);
    font-weight: 500;
}

.footer-contact-text a {
    color: var(--color-primary-light);
}

.footer-contact-text a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-bottom {
    background-color: #025B50;
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright {
    color: var(--color-white);
}

.dev-credits {
    color: #FFFFFF;
}

.dev-credits a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(45, 49, 46, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    padding: 4px;
}

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

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.95rem;
}

.staff-modal-backdrop {
    z-index: 2500;
}

.staff-modal-card {
    background-color: var(--bg-primary);
    width: 100%;
    max-width: 940px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -12px rgba(25, 45, 40, 0.35);
    border: 1px solid var(--color-border);
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: var(--transition-smooth);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
}

.staff-modal-backdrop.open .staff-modal-card {
    transform: scale(1) translateY(0);
}

.staff-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-text-muted);
    z-index: 20;
    transition: var(--transition-fast);
    cursor: pointer;
    line-height: 1;
}

.staff-modal-close:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: rotate(90deg);
}

.staff-modal-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    min-height: 500px;
}

.staff-modal-media-col {
    background: linear-gradient(180deg, rgba(122, 199, 189, 0.18) 0%, rgba(246, 244, 238, 0.7) 100%);
    border-right: 1px solid var(--color-border);
    padding: 40px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.staff-modal-img-wrapper {
    width: 210px;
    height: 270px;
    border-radius: 105px 105px 24px 24px;
    overflow: hidden;
    border: 4px solid var(--color-white);
    box-shadow: 0 16px 32px rgba(30, 110, 111, 0.18);
    background-color: var(--color-primary-light);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.staff-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: opacity 0.2s ease;
}

.staff-modal-quote-badge {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 280px;
}

.staff-modal-quote-badge .quote-icon {
    color: var(--color-secondary);
    opacity: 0.85;
}

.staff-modal-quote-badge p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-primary-dark);
    margin: 0;
}

.staff-modal-content-col {
    padding: 40px 42px 35px 42px;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
}

.staff-modal-header {
    margin-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 14px;
}

.staff-modal-tagline {
    font-family: var(--font-tagline);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: var(--color-secondary-dark);
    display: block;
    margin-bottom: 6px;
}

.staff-modal-name {
    font-size: 2.1rem;
    color: var(--color-primary-dark);
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 6px;
}

.staff-modal-role {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    margin: 0;
}

.staff-modal-letter-wrapper {
    margin-bottom: 20px;
    flex-grow: 1;
}

.staff-modal-letter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: rgba(30, 110, 111, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.staff-modal-letter-body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text);
}

.staff-modal-letter-body p {
    margin-bottom: 12px;
}

.staff-modal-letter-body p:last-child {
    margin-bottom: 0;
}

.staff-modal-tags-section {
    margin-bottom: 24px;
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
}

.staff-modal-tags-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 8px;
}

.staff-modal-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.staff-tag-pill {
    font-size: 0.8rem;
    background: var(--bg-secondary);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: var(--transition-fast);
}

.staff-tag-pill:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
}

.staff-modal-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
}

.staff-modal-booking-btn {
    flex: 1;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
}

.staff-modal-dismiss-btn {
    padding: 12px 22px;
    font-size: 0.95rem;
}

@media (max-width: 860px) {
    .staff-modal-grid {
        grid-template-columns: 1fr;
    }

    .staff-modal-media-col {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 30px 20px 20px 20px;
    }

    .staff-modal-img-wrapper {
        width: 170px;
        height: 220px;
        border-radius: 85px 85px 20px 20px;
        margin-bottom: 14px;
    }

    .staff-modal-content-col {
        padding: 26px 22px 24px 22px;
    }

    .staff-modal-name {
        font-size: 1.7rem;
    }

    .staff-modal-actions {
        flex-direction: column;
        width: 100%;
    }

    .staff-modal-booking-btn,
    .staff-modal-dismiss-btn {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .pillars-grid {
        gap: 20px;
    }

    .disciplines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .staff-card {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    .footer-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 40px;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 1050;
        border-left: 1px solid var(--color-border);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-cta-btn {
        width: 100%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
        gap: 50px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .section-tagline {
        font-size: 1.15rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        max-width: 320px;
    }

    .badge-1 {
        left: -5%;
    }

    .badge-2 {
        right: -5%;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 480px;
        margin: 0 auto;
    }

    .pillar-card {
        padding: 40px 24px;
    }

    .disciplines-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .staff-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
    }

    .carousel-btn.prev-btn {
        left: -10px;
    }

    .carousel-btn.next-btn {
        right: -10px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-block {
        padding: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand,
    .footer-social-col,
    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-block {
        padding: 24px 16px;
    }
}

.staff-section {
    overflow-x: clip;
}

@media (min-width: 769px) {
    .discipline-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 10px);
        justify-self: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .staff-card {
        max-width: none;
        min-width: 0;
    }

    .carousel-btn.prev-btn {
        left: -12px;
    }

    .carousel-btn.next-btn {
        right: -12px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .staff-section,
    .disciplines-section {
        padding: 70px 0;
    }

    .staff-card {
        min-width: 0;
    }

    .staff-group {
        margin-top: 36px;
    }

    .staff-group-title {
        font-size: 1.6rem;
    }

    .staff-group-subtitle {
        font-size: 1rem;
    }

    .staff-image-container {
        width: 200px;
        height: 255px;
    }

    .staff-image-container::after {
        width: 36px;
        height: 36px;
        bottom: 12px;
        right: 22px;
        background-size: 18px 18px;
    }

    .staff-bio {
        min-height: 0;
    }

    .carousel-btn.prev-btn {
        left: 0;
    }

    .carousel-btn.next-btn {
        right: 0;
    }

    .btn,
    .btn-outline {
        min-height: 44px;
    }

    .discipline-card:hover,
    .staff-card:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .discipline-card {
        padding: 18px;
    }

    .founder-portrait {
        max-width: 220px;
    }

    .logo-img {
        height: 48px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .staff-group-title {
        font-size: 1.4rem;
    }

    .staff-image-container {
        width: 180px;
        height: 230px;
    }

    .staff-image-container::after {
        width: 32px;
        height: 32px;
        bottom: 10px;
        right: 18px;
        background-size: 16px 16px;
    }
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.7;
    animation: whatsapp-pulse 2.2s infinite ease-out;
    pointer-events: none;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.whatsapp-float-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float-btn:active {
    transform: scale(0.95);
}

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover svg {
    transform: scale(1.05);
}

.whatsapp-float-btn .whatsapp-tooltip {
    position: absolute;
    right: 72px;
    white-space: nowrap;
    background-color: var(--color-white);
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-sans);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 22px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

    .whatsapp-float-btn svg {
        width: 30px;
        height: 30px;
    }

    .whatsapp-float-btn .whatsapp-tooltip {
        display: none;
    }
}