/* ==========================================================================
   Font Faces
   ========================================================================== */

@font-face {
    font-family: 'Aptos';
    src: url('../fonts/Microsoft Aptos Fonts/Aptos.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aptos';
    src: url('../fonts/Microsoft Aptos Fonts/Aptos-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aptos';
    src: url('../fonts/Microsoft Aptos Fonts/Aptos-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Warbler Deck';
    src: url('../fonts/Warbler Font Family/WarblerDeck-Regular-Testing-BF674fd386b2031.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Warbler Deck';
    src: url('../fonts/Warbler Font Family/WarblerDeck-Bold-Testing-BF674fd386a7d12.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}




/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --primary-color: #02529a;
    --secondary-color: #0066cc;
    --accent-color: #00a3e0;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #f2f2f2;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Aptos', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Warbler Deck', 'Aptos', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
}

.top-bar.hidden {
    display: none;
}

.top-bar .row {
    align-items: center;
}

.top-info span {
    color: var(--white);
}

.top-contact a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.top-contact a:hover {
    color: var(--accent-color);
}

.top-contact i {
    font-size: 1rem;
}

.top-icon-location {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    filter: brightness(0) invert(1);
    vertical-align: middle;
    display: inline-block;
}

.top-icon-social {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    vertical-align: middle;
    display: inline-block;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

#mainNav {
    background: var(--white);
    border-bottom: 1px solid #e0e0e0;
    top: 40px;
    z-index: 1030;
}

#mainNav.scrolled {
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

#mainNav .navbar-brand .logo {
    height: 60px;
    width: auto;
}

#mainNav.scrolled .navbar-brand .logo {
    height: 60px;
}

#mainNav .nav-link {
    color: #7c7c7c;
    font-family: 'Aptos', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 0.5rem 0.6rem 0.3rem 0.6rem;
    margin: 0;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

#mainNav .dropdown-toggle {
    font-family: 'Lato', sans-serif;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

#mainNav .nav-link.active {
    font-weight: 700;
}

#mainNav .dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: var(--shadow);
    border-radius: 8px;
}

#mainNav .dropdown-item {
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

#mainNav .dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.icon-small {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    height: 96vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: grayscale(100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 8rem;
    padding-bottom: 7rem;
}

.hero-title {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 85px;
    letter-spacing: 0.25px;
    margin-bottom: 0;
    margin-top: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 36px;
    font-weight: 400;
    opacity: 0.95;
    margin: 0;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-line {
    width: 100%;
    max-width: 95vw;
    height: 1px;
    background: var(--white);
    margin-top: 0.75rem;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Nosotros Section
   ========================================================================== */

.nosotros-section {
    background: #fff8f8;
}

.nosotros-section .row {
    align-items: flex-start;
}

.nosotros-line {
    width: 90%;
    max-width: 90%;
    height: 2px;
    background: var(--primary-color);
    margin-top: 0;
}

.nosotros-title {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 45px;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 60px;
    letter-spacing: 0.25px;
}

.nosotros-text {
    font-family: 'Aptos', sans-serif;
    font-size: 21px;
    font-weight: 300;
    color: #7c7c7c;
    line-height: 30px;
    text-align: justify;
}

.nosotros-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    margin-top: 0;
}

/* ==========================================================================
   Prácticas Section
   ========================================================================== */

.practicas-section {
    background: #f5f5f5;
}

.practicas-line-top {
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.practicas-title {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 45px;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 60px;
    letter-spacing: 0.25px;
}

.practicas-intro {
    font-family: 'Aptos', sans-serif;
    font-size: 21px;
    font-weight: 300;
    color: #7c7c7c;
    line-height: 40px;
    text-align: justify;
}

.practica-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0;
    text-align: left;
    transition: var(--transition);
    box-shadow: none;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.practica-card:hover {
    background: #e6f7ff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.practica-title {
    font-family: 'Aptos', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.practica-description {
    font-family: 'Aptos', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #7c7c7c;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    text-align: justify;
    hyphens: auto;
}

.practica-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.practica-icon-small {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(16%) sepia(90%) saturate(1840%) hue-rotate(195deg) brightness(95%) contrast(101%);
}

.practica-link {
    font-family: 'Aptos', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.practica-link:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Galería Section
   ========================================================================== */

.galeria-section {
    background: #f5f5f5;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Equipo Section
   ========================================================================== */

.equipo-section {
    background: var(--primary-color);
}

.equipo-line-top {
    width: 100%;
    height: 2px;
    background: var(--white);
}

.equipo-title {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.25px;
}

.equipo-intro {
    font-family: 'Aptos', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: justify;
}

.team-member-link {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.team-member-link:hover {
    transform: translateY(-5px);
}

.team-member {
    text-align: center;
    cursor: pointer;
}

.team-photo {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #000;
    border-radius: 0;
}

.team-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-img {
    transform: scale(1.05);
}

.team-name {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.team-position {
    font-family: 'Aptos', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* ==========================================================================
   Contacto Section
   ========================================================================== */

.contacto-section {
    background: #f5f5f5;
}

.contacto-line-top {
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.contacto-title {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 45px;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 60px;
    letter-spacing: 0.25px;
}

.contacto-subtitle {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 50px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 80px;
    letter-spacing: 0.25px;
}

.contacto-text {
    font-family: 'Aptos', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #7c7c7c;
    line-height: 40px;
}

.contact-info .contact-item {
    font-family: 'Aptos', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #7c7c7c;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 22px;
}

.contact-item a {
    color: #7c7c7c;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    max-width: 85%;
    margin-left: auto;
}

.contact-form .form-control {
    font-family: 'Aptos', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #7c7c7c;
    border: 1px solid #ddd;
    border-radius: 0;
    padding: 0.6rem 0.85rem;
    transition: var(--transition);
}

.contact-form .form-control::placeholder {
    font-family: 'Aptos', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #7c7c7c;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 82, 154, 0.15);
}

.contact-form .form-label {
    font-family: 'Aptos', sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: #7c7c7c;
    margin-bottom: 0.5rem;
}

.btn-enviar {
    font-family: 'Aptos', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    background: var(--primary-color);
    border: none;
    border-radius: 0;
    padding: 1rem 1rem;
    min-width: 120px;
    min-height: 60px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-enviar:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.btn-enviar i {
    transition: var(--transition);
}

.btn-enviar:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   Memorial Section
   ========================================================================== */

.memorial-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3rem;
    overflow: hidden;
}

.memorial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.memorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.memorial-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

.memorial-title {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.memorial-text {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: var(--white);
    opacity: 0.95;
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

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

.footer .row {
    align-items: flex-start;
}

.footer .row > div:first-child {
    padding-right: 2rem;
}

.footer .row > div:last-child {
    padding-left: 2rem;
}

@media (min-width: 992px) {
    .footer .row {
        display: flex;
        align-items: stretch;
    }
    
    .footer .row>div:not(:last-child) {
        border-right: 1px solid rgb(255, 255, 255);
    }
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-text {
    font-family: 'Aptos', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 40px;
    text-align: justify;
}

.footer-title {
    font-family: 'Warbler Deck', sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: var(--white);
}

.footer-links li {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links li a {
    font-family: 'Aptos', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    font-family: 'Aptos', sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    transition: var(--transition);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   Page Styles
   ========================================================================== */

.main-content {
    margin-top: 60px;
    min-height: 60vh;
}

.page-header {
    background: #f5f5f5;
}

.page-header-line {
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.page-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin: 0;
}

.page-title span {
    font-weight: 400;
}

.content-section {
    background: #f5f5f5;
}

/* Practices Sidebar */
.practicas-section {
    background: #f5f5f5;
}

.practice-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.practice-item span {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
}

.practice-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.practice-item:hover {
    background: #f8f9fa;
}

.practice-item.active {
    background: #f0f0f0;
}

/* Practice Content */
.practice-content {
    position: relative;
    padding-left: 3rem;
    margin-top: -0.5rem;
}

.practice-detail {
    display: none;
}

.practice-detail.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.practice-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.practice-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.practice-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(16%) sepia(90%) saturate(1840%) hue-rotate(195deg) brightness(95%) contrast(101%);
}

.practice-detail-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #666;
    line-height: 1.2;
    margin: 0;
}

.practice-detail-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

.contact-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    max-width: 400px;
    margin-top: 2rem;
}

.contact-box p {
    color: var(--white);
    margin: 0;
}

.contact-box i {
    color: var(--white);
}

/* ==========================================================================
   Member Profile
   ========================================================================== */

.member-profile {
    background: #f5f5f5;
}

.member-photo-large {
    border-radius: 8px;
    overflow: hidden;
}

.member-photo-large img {
    width: 100%;
    height: auto;
    display: block;
}

.member-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.member-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-bio {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

.member-bio p {
    margin-bottom: 1rem;
}

.member-contact {
    font-size: 1rem;
    color: var(--text-dark);
}

.member-contact a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.member-contact a:hover {
    color: var(--primary-color);
}

.member-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.member-social .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ==========================================================================
   Responsive Design - Laptop (max-width: 1440px)
   ========================================================================== */

@media (max-width: 1440px) {
    .hero-title {
        font-size: 64px;
        line-height: 68px;
    }
    
    .hero-subtitle {
        font-size: 29px;
    }
}

/* ==========================================================================
   Responsive Design - Tablets (max-width: 991px)
   ========================================================================== */

@media (max-width: 991px) {
    .top-bar {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }

    .contact-form {
        max-width: 100%;    
    }


    .practice-content {
        padding-left: 0rem ;
    }


    .top-info span {
        font-size: 0.7rem;
    }

    #mainNav .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    #mainNav .nav-link {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f0f0f0;
    }

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

    .hero-content {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .hero-bottom-content {
        margin-top: 3rem;
    }

    .nosotros-section .col-lg-6:last-child {
        padding-left: 15px !important;
    }
}

/* ==========================================================================
   Responsive Design - Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    .top-bar {
        padding: 0.3rem 0;
        font-size: 0.7rem;
    }

    .top-info span {
        display: none;
    }

    .footer .row > div:last-child {
        padding-left: 10px  ;
    }

    .top-contact a {
        font-size: 0.85rem;
    }

    .hero-section {
        margin-top: 70px;
    }

    .hero-content {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
        padding-top: 10rem;
    }

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

    .hero-bottom-content {
        margin-top: 1.5rem;
    }

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

    .practica-card {
        padding: 1.5rem;
    }

    .practica-icon {
        width: 60px;
        height: 60px;
    }

    .practica-title {
        font-size: 1.1rem;
        min-height: 50px;
    }

    .galeria-item {
        height: 300px;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   Responsive Design - Small Mobile (max-width: 576px)
   ========================================================================== */

@media (max-width: 576px) {
    .top-bar {
        padding: 0.25rem 0;
    }

    .top-contact {
        text-align: center !important;
    }

    .top-contact a {
        margin: 0 0.5rem !important;
    }

    .hero-section {
        min-height: 500px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 2.75rem;
        padding-top: 10rem;
    }

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

    .hero-line {
        max-width: 85vw;
    }

    .practica-title {
        font-size: 1rem;
        min-height: auto;
    }

    .team-name {
        font-size: 0.95rem;
    }

    .team-position {
        font-size: 0.85rem;
    }

    .galeria-item {
        height: 250px;
    }

    .memorial-title {
        font-size: 18px;
    }

    .memorial-text {
        font-size: 16px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {

    .navbar,
    .scroll-to-top,
    .hero-section {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a {
        text-decoration: underline;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000cc;
        --text-dark: #000000;
        --text-light: #333333;
    }

    .practica-card,
    .team-member,
    .contact-form .form-control {
        border: 2px solid #000;
    }
}

/* ==========================================================================
   Sobre Nosotros Page Styles
   ========================================================================== */

.equipo-intro-section {
    background-color: #f8f9fa;
}

.intro-divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 2rem;
}

.equipo-content-section .row {
    position: relative;
}

/* Línea azul superior para cada sección */
.equipo-content-section .row::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
}

.equipo-content-section .row:first-child::before {
    display: none;
}

/* Ajustes de tamaño de imagen */
.equipo-content-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 350px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .equipo-content-section img {
        max-height: 300px;
    }

    .equipo-content-section .row::before {
        top: -20px;
    }
}

@media (max-width: 767px) {
    .equipo-content-section img {
        max-height: 250px;
        margin-bottom: 1.5rem;
    }

    .equipo-intro-section h2 {
        font-size: 2rem !important;
    }

    .equipo-intro-section p {
        font-size: 1rem !important;
    }

    .equipo-content-section h3 {
        font-size: 1.5rem !important;
    }

    .equipo-content-section p {
        font-size: 0.95rem !important;
    }
}