/* UTRYT - Custom CSS Styles */
/* Fonts loaded via HTML for better performance */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-corporativo: #0C3083;
    --verde-corporativo: #41A62A;
    --gris-corporativo: #9C9E9F;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-50);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 4rem;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-corporativo);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--azul-corporativo);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--gray-700);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--azul-corporativo);
}

.dropdown-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    width: 12rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    display: none;
    z-index: 50;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-100);
}

.dropdown-item:first-child {
    border-radius: 0.75rem 0.75rem 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 0.75rem 0.75rem;
}

.dropdown-item:hover {
    background-color: var(--gray-50);
    color: var(--azul-corporativo);
}

.nav-cta {
    background-color: var(--azul-corporativo);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
}

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

.hamburger-line {
    width: 1.5rem;
    height: 2px;
    background-color: var(--gray-700);
    margin-bottom: 0.375rem;
    transition: all 0.3s ease;
}

.hamburger-line:last-child {
    margin-bottom: 0;
}

.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.mobile-link:hover {
    background-color: var(--gray-50);
    color: var(--azul-corporativo);
}

.mobile-dropdown {
    padding: 0.5rem 1rem;
}

.mobile-dropdown-title {
    display: block;
    color: var(--gray-700);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.mobile-dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
    background-color: var(--gray-50);
    color: var(--azul-corporativo);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/banners/banner-final.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}



.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}



.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: -1rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    color: var(--azul-corporativo);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(12, 48, 131, 0.4);
    transition: all 0.3s ease;
}

.hero-cta:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.hero-cta-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.hero-cta:hover .hero-cta-icon {
    transform: translateX(0.25rem);
}





/* Stats Section */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--green-50) 100%);
    position: relative;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-0.5rem);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-number.blue { color: var(--azul-corporativo); }
.stat-number.green { color: var(--verde-corporativo); }

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.about-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-0.25rem);
}

.about-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--azul-corporativo);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--azul-corporativo);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.about-cta {
    text-align: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--azul-corporativo);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1e40af;
}

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

.mission-card {
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: all 0.5s ease;
}

.mission-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-0.5rem);
}

.mission-image {
    position: relative;
    overflow: hidden;
}

.mission-img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mission-card:hover .mission-img {
    transform: scale(1.1);
}

.mission-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2) 0%, transparent 100%);
}

.mission-content {
    padding: 2rem;
}

.mission-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.mission-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.mission-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.mission-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.mission-icon.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.mission-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white);
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    font-family: 'Montserrat', sans-serif;
}

.mission-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */


/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--blue-50) 100%);
}

.services-header {
    text-align: center;
    margin-bottom: 5rem;
}



.services-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.services-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

.services-category {
    margin-bottom: 5rem;
}

.services-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.category-title.blue {
    color: var(--azul-corporativo);
}

.category-title.green {
    color: var(--verde-corporativo);
}

.category-divider {
    width: 6rem;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Specific layout for Recaudo y Medios de Pago section */
.recaudo-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 2rem !important;
}

.recaudo-grid .service-card {
    height: auto !important;
    min-height: 280px !important;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    transition: all 0.5s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-0.5rem);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.service-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-icon.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.service-icon.indigo {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.service-icon.yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-family: 'Montserrat', sans-serif;
}

.service-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--white);
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.projects-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 64rem;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 96rem;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.project-link {
    background-color: var(--azul-corporativo);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #1e40af;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.team-description {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.team-section {
    margin-bottom: 3rem;
}

.team-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--azul-corporativo);
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.team-grid.three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    justify-items: center;
}

.team-grid.two-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.team-grid.five-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    justify-items: center;
}

@media (max-width: 768px) {
    .team-grid.three-cols,
    .team-grid.five-cols {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.team-member {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 280px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.member-photo {
    width: 12rem;
    height: 12rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.member-name {
    font-weight: 700;
    font-size: 1.125rem;
}

.member-role {
    color: var(--azul-corporativo);
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background: var(--white);
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.faq-container {
    max-width: 64rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--gray-50);
}

.faq-question-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--azul-corporativo);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--azul-corporativo);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background: var(--white);
    display: none;
}

.faq-answer.show {
    display: block;
}

.faq-answer p {
    color: var(--gray-600);
}

/* Contact Section */
.contact {
    padding: 3rem 0 5rem;
    background-color: var(--azul-corporativo);
    color: var(--white);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-content {
    flex: 1;
}

.contact-label {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: white;
}

.contact-map {
    display: flex;
    flex-direction: column;
}

.contact-map-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-align: left;
}

.iframe-rounded {
    border: 0;
    border-radius: 0.5rem;
    width: 100%;
    height: 400px;
}

/* Footer */
.footer {
    background-color: var(--azul-corporativo);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.footer-legal-link {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-legal-link:hover {
    opacity: 0.8;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
}

.footer-pqrs {
    color: rgba(255, 255, 255, 0.8);
}

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

@media (max-width: 768px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-separator {
        display: none;
    }
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        background-image: url('../images/banners/banner-final_vertical.png') !important;
        min-height: 100vh;
        padding-bottom: 2rem;
    }
    
    .hero-text-positioned {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 45%;
        transform: translateY(-50%);
        max-width: none;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        display: none !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }
    
    .hero-buttons-start {
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Keep 2-column layout for Recaudo section on tablets */
    .recaudo-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    
    .contact .container,
    .footer .container {
        padding: 0 1.25rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-map-title {
        text-align: center;
    }
    
    .iframe-rounded {
        height: 300px;
    }
    
    .team-grid.three-cols,
    .team-grid.two-cols,
    .team-grid.five-cols {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .services-title {
        font-size: 2.5rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .contact .container,
    .footer .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.75rem;
    }
    
    /* Stack Recaudo cards on mobile */
    .recaudo-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .contact {
        padding: 2rem 0 3rem;
    }
    
    .contact-header {
        margin-bottom: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .iframe-rounded {
        height: 250px;
    }
    
    .scroll-to-top {
        display: none !important;
    }
}

/* Iframe Pages Styles */
.iframe-section {
    padding: 2rem 0 5rem;
    background: var(--white);
}

.iframe-container {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.iframe-content {
    width: 100%;
    min-height: 100vh;
}

/* Saldo Page Styles */
.saldo-section {
    padding: 2rem 0 1rem;
    background: var(--white);
}

.saldo-header {
    text-align: center;
    margin-bottom: 1rem;
}

.saldo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azul-corporativo);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.saldo-description {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.saldo-iframe-container {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 70vw;
    height: calc(100vh - 120px);
    margin: 0 auto;
}

.saldo-iframe {
    width: 125%;
    height: 125%;
    transform: scale(0.8);
    transform-origin: top left;
    overflow: hidden;
}

/* Historia Page Styles */
.historia-section {
    padding: 2rem 0 5rem;
    background: var(--white);
}

.historia-container {
    max-width: 64rem;
    margin: 0 auto;
}

.historia-header {
    text-align: center;
    margin-bottom: 3rem;
}

.historia-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azul-corporativo);
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.historia-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.historia-image {
    border-radius: 0.75rem;
    width: 100%;
    max-width: 32rem;
}

.historia-content {
    margin-bottom: 4rem;
}

.historia-text {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.historia-tech-section {
    margin-bottom: 4rem;
}

.historia-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.historia-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.historia-value-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.historia-value-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.historia-value-icon.blue {
    background-color: var(--azul-corporativo);
    color: var(--white);
}

.historia-value-icon.green {
    background-color: var(--verde-corporativo);
    color: var(--white);
}

.historia-value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.historia-value-text {
    color: var(--gray-600);
}

.historia-cta {
    text-align: center;
}

/* Proyecto Pages Styles */
.proyecto-section {
    padding: 4rem 0 5rem;
    background: var(--white);
}

.proyecto-container {
    max-width: 64rem;
    margin: 0 auto;
}

.proyecto-header {
    text-align: center;
    margin-bottom: 3rem;
}

.proyecto-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azul-corporativo);
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

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

.proyecto-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.proyecto-image {
    border-radius: 0.75rem;
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 48rem;
}

.proyecto-content {
    margin-bottom: 4rem;
}

.proyecto-text {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.proyecto-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

.proyecto-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.proyecto-feature-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.proyecto-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--azul-corporativo);
    margin-bottom: 1rem;
}

.proyecto-feature-text {
    color: var(--gray-600);
}

.proyecto-highlight {
    background-color: var(--azul-corporativo);
    color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.proyecto-highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.proyecto-highlight-text {
    font-size: 1.125rem;
}

.proyecto-highlight-number {
    font-weight: 700;
    font-size: 1.875rem;
}

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

.btn-secondary {
    background-color: var(--gray-200);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background-color: var(--gray-300);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .saldo-title,
    .historia-title,
    .proyecto-title {
        font-size: 1.5rem;
    }
    
    .historia-text,
    .proyecto-text {
        font-size: 1rem;
    }
    
    .saldo-iframe-container {
        width: 95vw;
    }
    
    .proyecto-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .historia-values-grid,
    .proyecto-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Section spacing */
section[id] {
    scroll-margin-top: 5rem;
}

/* Hero section specific styles */
.hero-positioned {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-text-positioned {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 500px;
    z-index: 2;
}

.hero-title-white {
    color: white;
    text-align: left;
}

.hero-description-white {
    color: white;
    text-align: left;
}

.hero-buttons-start {
    align-items: flex-start;
}

/* Stats section padding */
.stats-padding {
    padding: 3rem 0;
}



.footer-link-inherit {
    color: inherit;
    text-decoration: none;
}

/* Proyecto page specific */
.proyecto-highlight-title-white {
    color: white;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--azul-corporativo);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(12, 48, 131, 0.3);
}

.scroll-to-top:hover {
    background-color: var(--verde-corporativo);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65, 166, 42, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top.green {
    background-color: var(--verde-corporativo);
    box-shadow: 0 4px 12px rgba(65, 166, 42, 0.3);
}

.scroll-to-top.green:hover {
    background-color: var(--verde-corporativo);
    box-shadow: 0 8px 20px rgba(65, 166, 42, 0.4);
}



/* Stats responsive fix */
@media (max-width: 1024px) and (min-width: 769px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-description {
        display: none !important;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .mobile-toggle {
        display: block !important;
    }
    
    .hero-text {
        text-align: left !important;
        justify-self: start !important;
    }
    
    .hero-title {
        text-align: left !important;
    }
}

/* Large screens optimization (14+ inches) */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        gap: 6rem;
        grid-template-columns: 1fr !important;
        text-align: center !important;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 4rem;
        max-width: none;
        white-space: nowrap;
        text-align: center;
    }
    
    .hero-text {
        text-align: center !important;
        justify-self: center !important;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .recaudo-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .team-grid.three-cols {
        grid-template-columns: repeat(3, 1fr) !important;
        justify-items: center !important;
    }
    
    .team-section .team-grid.five-cols {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        flex-wrap: unset !important;
        justify-items: center !important;
    }
    
    .team-section .team-grid.five-cols .team-member:nth-child(5) {
        grid-column: 2 / 3 !important;
    }
    
    .mission-vision-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        max-width: 1100px;
        margin: 0 auto;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item a {
    color: var(--azul-corporativo);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--verde-corporativo);
}

.breadcrumb-current {
    color: #495057;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #6c757d;
}

