/* Global Reset */
:root {
    /* Brand Colors */
    --color-magenta: #C736A5;
    --color-blue: #0033A0;

    /* Brand Grays */
    --color-gray-dark: #333333;
    --color-gray-medium: #666666;
    --color-gray-light: #F5F5F5;
    --color-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    background-color: var(--color-white);
}

.logo img {
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.sticky .logo img {
    height: 80px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}


.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-blue);
    /* Purple/Blue tone from logo */
}

.contact-info i {
    font-size: 1.5rem;
    border: 1px solid var(--color-blue);
    border-radius: 50%;
    padding: 8px;
}

.contact-info .text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.contact-info strong {
    font-size: 1.1rem;
    color: var(--color-blue);
}

.btn-quote {
    background-color: var(--color-magenta);
    /* Magenta */
    color: var(--color-white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-quote:hover {
    background-color: #aa00c7;
}

.search-btn {
    background-color: var(--color-blue);
    /* Bright Blue */
    color: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.search-btn:hover {
    background-color: #00009e;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Transparente al 30% (opacidad 0.3) */
    background: linear-gradient(90deg, rgba(0, 51, 160, 0.1) 0%, rgba(30, 0, 255, 0.1) 100%);
    color: #fff;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Visibilidad al 80% (opacidad 0.8) */
    background: linear-gradient(90deg, rgba(0, 51, 160, 0.8) 0%, rgba(30, 0, 255, 0.8) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    /* Optional: slightly reduce height on scroll for sleeker look */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    padding: 10px 15px;
}

/* Logo toggling for sticky navbar */
.logo .logo-sticky {
    display: none;
}

.navbar.sticky .logo .logo-default {
    display: none;
}

.navbar.sticky .logo .logo-sticky {
    display: block;
}



/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links li a:hover {
    opacity: 0.8;
}

/* Dropdown Styles */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    border-radius: 4px;
    border-top: 3px solid var(--color-blue);
}

.dropdown-menu li {
    width: 100%;
    margin: 0;
    /* Reset margin from nav-links li if any */
}

.nav-links .dropdown-menu li a {
    color: #333 !important;
    padding: 12px 20px;
    display: block;
    font-size: 0.9rem;
    text-transform: none !important;
    border-bottom: 1px solid #f5f5f5;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: #f9f9f9;
    color: var(--color-blue);
    padding-left: 25px;
    /* Slight indent effect */
}

.nav-links li:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1rem;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Dark overlay for text readability */
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.slide-content p {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease forwards 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Languages Section */
.languages-section {
    padding: 60px 0;
    text-align: center;
}

.languages-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #000;
}

.languages-section .subtitle {
    margin-bottom: 40px;
    color: #666;
    font-size: 1rem;
}

.flags-container img {
    max-width: 70%;
    height: auto;
}

/* Blue Banner Section */
.blue-banner {
    background: linear-gradient(rgba(30, 0, 255, 0.5), rgba(75, 0, 224, 0.2)), url('../image/bg/bg-servicios.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 800px;
    /* Limit width to keep text readable/ prevent full stretch if no image */
    margin: 0 auto;
    /* If we had an image, we'd use flex/grid here */
}

.banner-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.banner-content .highlight {
    color: var(--color-magenta);
    /* Magenta highlight */
}

.banner-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 15px;
    align-items: start;
}

.left-column h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.left-column p {
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

.team-image img {
    width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-card {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.team-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.team-card .pink-text {
    color: var(--color-magenta);
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.team-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: #444;
}

.team-card ul li {
    margin-bottom: 8px;
}

.team-card .note {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
    .team-section {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-blue);
        padding: 20px;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 15px;
    }

    .nav-links li a {
        justify-content: center;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-top: none;
        background-color: rgba(255,255,255,0.1);
    }

    .nav-links .dropdown-menu li a {
        color: #fff !important;
        text-align: center;
    }

    .nav-links .dropdown-menu li a:hover {
        background-color: rgba(255,255,255,0.2);
    }

    /* Fix header spacing */
    .logo img, .navbar.sticky .logo img {
        height: 45px !important;
    }

    .btn-quote {
        padding: 6px 12px;
        font-size: 0.70rem;
        white-space: nowrap;
        margin-left: 10px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }
}

/* Why Us Section */
.why-us-section {
    background: linear-gradient(rgba(75, 0, 224, 0.8), rgba(49, 0, 158, 0.9)), url('../image/bg/bg-elegirnos.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
    color: #fff;
}

.why-us-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.why-us-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.why-us-content .subtitle {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.benefits-list {
    text-align: left;
    display: inline-block;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.benefit-item i {
    font-size: 1.3rem;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 5px;
}

/* Trajectory Section */
.trajectory-section {
    background-color: #f4f4f4;
    padding: 80px 0;
}

.trajectory-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #000;
}

.trajectory-section .subtitle {
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-blue);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #0d1b2a;
    /* Dark blue/grey background */
    color: #e0e0e0;
    font-size: 0.9rem;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-circle {
    background-color: rgba(255, 255, 255, 0.1);
    min-width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-magenta);
    /* Fuchsia/Magenta highlight */
}

.info-text h4 {
    color: var(--color-magenta);
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-text p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.4;
}

.footer-col h3 {
    color: #778ca3;
    /* Light grey title */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.3s, padding-left 0.3s;
    display: block;
}

.links-col ul li a:hover {
    color: var(--color-magenta);
    /* Magenta hover */
    padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #0b1622;
    /* Slightly darker shade */
    padding: 20px 0;
    font-size: 0.8rem;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subtitle-copy {
    color: #666;
    margin-top: 5px;
    font-size: 0.75rem;
}

.footer-socials-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-text {
    color: var(--color-magenta);
    font-weight: 600;
}

.footer-socials-actions a {
    color: #fff;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-socials-actions a:hover {
    color: var(--color-magenta);
}

.chat-btn {
    background: transparent;
    border: 2px solid var(--color-magenta);
    color: var(--color-magenta);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s;
}

.chat-btn:hover {
    background-color: var(--color-magenta);
    color: #fff;
}

/* Responsive updates for new sections */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .why-us-content h2,
    .trajectory-section h2 {
        font-size: 2rem;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive updates */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .why-us-content h2,
    .trajectory-section h2 {
        font-size: 2rem;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Sector Grid Styles */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.sector-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sector-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sector-item i {
    font-size: 1.4rem;
    color: var(--color-magenta);
    min-width: 30px;
    text-align: center;
}

.sector-item span {
    font-weight: 600;
    color: var(--color-gray-dark);
    font-size: 0.95rem;
}

/* Responsive for Sector Grid */
@media (max-width: 480px) {
    .sector-grid {
        grid-template-columns: 1fr;
    }
}

/* Certified Section */
.certified-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 15px;
    align-items: center;
}

.certified-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.certified-content .highlight {
    color: var(--color-blue);
}

.certified-content .intro-text {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
    border-left: 4px solid var(--color-magenta);
    padding-left: 20px;
}

.certified-details h4 {
    color: var(--color-blue);
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: 700;
}

.certified-details p {
    color: var(--color-gray-dark);
    margin-bottom: 15px;
    text-align: justify;
}

.custom-list {
    list-style: none;
}

.custom-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-list li i {
    color: var(--color-magenta);
}

.btn-red {
    background-color: #ff0000;
    /* Red as in the requested image */
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-red:hover {
    background-color: #cc0000;
}

/* Image Effect */
.image-wrapper-effect {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.image-wrapper-effect:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) scale(1.02);
}

.certificate-img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    display: block;
}

@media (max-width: 768px) {
    .certified-section {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   NOSOTROS PAGE STYLES
   ========================================= */

/* Page Headers (Reusable) */
.page-header {
    background: linear-gradient(rgba(0, 51, 160, 0.8), rgba(0, 51, 160, 0.9)), url('../image/banda.webp');
    background-size: cover;
    background-position: center;
    padding: 140px 0 50px;
    text-align: center;
}

.page-header-title {
    color: #fff;
    font-weight: 800;
    font-size: 2.8rem;
    text-transform: uppercase;
}

/* Section Padding Utility */
.section-padding-large {
    padding: 80px 15px;
}

/* Animations - Entry Effects */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-text {
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
}

.animate-image {
    opacity: 0;
    animation: fadeInRight 1s ease-out forwards;
    animation-delay: 0.3s;
}

.animate-text>* {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-text h1 {
    animation-delay: 0.1s;
}

/* .intro-p class below handles the div container */
.animate-text .intro-p {
    animation-delay: 0.2s;
}

.animate-text .mission-box {
    animation-delay: 0.4s;
}

.animate-text .vision-box {
    animation-delay: 0.6s;
}


/* About Us Section Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-title {
    color: #000;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.intro-p .about-text {
    margin-bottom: 20px;
}

.intro-p .about-text:last-child {
    margin-bottom: 30px;
}

.brand-highlight {
    color: #d500f9;
    font-weight: 800;
    font-style: italic;
}

.brand-suffix {
    color: #1a237e;
    font-weight: 800;
    font-style: italic;
}

.section-title {
    color: #0023e4;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 25px;
    letter-spacing: 0.5px;
}

.about-text {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: justify;
}

/* About Image Styles */
.about-image-column {
    position: relative;
}

.about-image-border {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-blue);
    border-radius: 8px;
    z-index: 0;
}

.about-main-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

/* Parallax Section Styles */
.parallax-section {
    background-image: url('../image/bg/bg-elegirnos.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 100px 0;
    color: #fff;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(80, 20, 150, 0.4) 0%, rgba(20, 0, 255, 0.9) 60%);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.statue-spacer {
    display: none;
}

.why-choose-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.why-choose-description {
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-circle-outline {
    min-width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.feature-list {
    font-size: 0.9rem;
    padding-left: 20px;
    list-style: disc;
    margin-bottom: 10px;
}

.feature-note {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.8;
}

/* Responsive adjustments for new sections */
@media (max-width: 900px) {

    .about-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .statue-spacer {
        display: none;
        /* Hide spacer on mobile */
    }

    .about-image-border {
        display: none;
        /* Simplify on mobile */
    }
}

/* Founder / About Me Section */
.founder-section {
    padding-bottom: 80px;
}

.commitment-text {
    text-align: center;
    max-width: 900px;
    margin: 80px auto 60px;
    font-weight: 700;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #fff;
    /* Failsafe */
}

/* Right side background color - light cyan/blue */
.founder-image-col {
    background-color: #f0fbfc;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding-top: 40px;
}

.founder-image-col img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

.founder-content-col {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gray-dark);
    margin-bottom: 10px;
    font-style: italic;
    font-family: serif;
}

.founder-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 30px;
    font-style: italic;
    font-family: serif;
}

.founder-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.founder-signature {
    margin-top: 20px;
    max-width: 150px;
}


/* Responsive adjustments for founder section */
@media (max-width: 900px) {
    .founder-wrapper {
        grid-template-columns: 1fr;
    }

    .founder-image-col {
        order: -1;
    }
}

/* Float WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-float i {
    margin-top: 2px;
    /* Visual adjustment */
}

/* =========================================
   BLOG PAGE STYLES
   ========================================= */

.blog-container {
    padding: 80px 15px;
    display: flex;
    gap: 40px;
}

.blog-grid {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-thumb {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
    /* Zoom effect */
}

.blog-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-magenta);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--color-blue);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-link {
    color: var(--color-blue);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.blog-link:hover {
    gap: 10px;
    color: var(--color-magenta);
}

/* Sidebar (Optional for Base) */
.blog-sidebar {
    flex: 1;
    min-width: 300px;
}

.sidebar-widget {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-blue);
    position: relative;
}

.widget-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-magenta);
    margin-top: 8px;
}

.recent-posts-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.recent-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-link {
    display: flex;
    gap: 15px;
}

.recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
}

.recent-post-info h5 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.recent-post-info span {
    font-size: 0.8rem;
    color: #999;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
    font-weight: 600;
    transition: all 0.3s;
}

.page-link.active:hover {
    background-color: var(--color-magenta);
    color: #fff;
    border-color: var(--color-magenta);
}

.page-link:hover {
    background-color: var(--color-blue);
    color: #fff;
    border-color: var(--color-blue);
}

/* Responsive Blog */
@media (max-width: 900px) {
    .blog-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .blog-container {
        flex-direction: column;
    }
}

/* =========================================
   TRADUCCIÓN LITERARIA STYLES
   ========================================= */

/* Page-specific animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.literary-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

.literary-image {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
    transition: transform 0.3s ease;
}

.literary-image:hover {
    transform: scale(1.02);
}

.feature-list li {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.feature-list li:nth-child(1) {
    animation-delay: 0.3s;
}

.feature-list li:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-list li:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-list li:nth-child(4) {
    animation-delay: 0.6s;
}

/* =========================================
   SERVICIOS PAGE STYLES
   ========================================= */

.service-menu-item {
    margin-bottom: 15px;
    transition: transform 0.2s ease;
}

.service-menu-item:hover {
    transform: translateX(5px);
}

.service-link {
    display: block;
    color: #333;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 2px;
    font-size: 1rem;
}

.service-link i {
    color: var(--color-blue);
    width: 25px;
    text-align: center;
    margin-right: 5px;
}

.service-badge {
    font-size: 0.85rem;
    color: #666;
    padding-left: 35px;
    display: block;
}

.sub-service-list {
    list-style: none;
    padding-left: 35px;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.sub-service-list li::before {
    content: "•";
    color: var(--color-magenta);
    margin-right: 5px;
}

.corp-service-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    gap: 8px;
}

.corp-service-list i {
    color: #4CAF50;
    margin-top: 3px;
}

.info-box {
    background: #F1F8E9;
    border: 1px solid #C5E1A5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.info-box-item {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #33691E;
}

.sector-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.sector-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sector-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.sector-title {
    font-weight: 800;
    color: var(--color-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.sector-staff {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
    display: block;
}

.sector-docs {
    font-size: 0.85rem;
    color: #444;
    list-style: disc;
    padding-left: 15px;
}

.advantage-card {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--color-blue);
}

.advantage-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantage-list {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    color: #666;
}

.advantage-list li {
    margin-bottom: 5px;
}

.advantage-list li::before {
    content: "•";
    color: var(--color-magenta);
    margin-right: 5px;
    font-weight: bold;
}

/* =========================================
   COTIZACION PAGE STYLES
   ========================================= */

/* Custom Styles for Quote Page */
.quote-section {
    padding: 60px 0;
    background-color: #fff;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.quote-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.quote-form-wrapper {
    padding: 10px;
}

.quote-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}

.quote-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-blue);
    /* Adjust to match image purple-ish blue if needed */
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #7986cb;
    /* Light purple-blue border */
    border-radius: 25px;
    /* Rounded pill shape */
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    color: #333;
}

.form-control:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 25px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.drop-zone:hover {
    border-color: var(--color-blue);
    background: #f0f4ff;
}

.drop-zone-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.drop-zone-sub {
    font-size: 0.85rem;
    color: #888;
}

.textarea-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #7986cb;
    border-radius: 15px;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    outline: none;
}

.textarea-icon {
    position: absolute;
    left: 15px;
    top: 20px;
    color: var(--color-blue);
}

.btn-submit {
    background-color: blue;
    /* Fallback */
    background: linear-gradient(90deg, #1a237e 0%, #283593 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.person-image img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    /* Simple cut-out style */
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .quote-container {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .person-image {
        display: none;
        /* Hide image on mobile if needed, or put at bottom */
    }
}

/* =========================================
   ARTICULO PAGE STYLES
   ========================================= */

/* Specific styles for article detail */
.article-header {
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    color: #fff;
    text-align: center;
}

.article-meta {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    gap: 20px;
}

.article-title {
    font-size: 2.8rem;
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.2;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 15px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    color: var(--color-blue);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.share-section {
    border-top: 1px solid #eee;
    padding-top: 50px;
    margin-top: 50px;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray-medium);
    font-weight: 600;
    margin-top: 20px;
    transition: color 0.3s;
}

.back-btn:hover {
    color: var(--color-magenta);
}

/* =========================================
   COOKIE CONSENT MODAL
   ========================================= */

.cookie-modal-overlay {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    transition: bottom 0.5s ease-in-out;
    border-top: 4px solid var(--color-magenta);
}

.cookie-modal-overlay.show {
    bottom: 0;
}

.cookie-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h3 {
    font-size: 1.2rem;
    color: var(--color-blue);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

.cookie-text a {
    color: var(--color-magenta);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: var(--color-blue);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cookie-accept:hover {
    background-color: #002171;
}

.btn-cookie-reject {
    background-color: transparent;
    border: 1px solid #999;
    color: #555;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cookie-reject:hover {
    border-color: #333;
    color: #333;
}

@media (max-width: 768px) {
    .cookie-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ======================================
    Testimonials Section - Nuevo Diseño
    ====================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-gray-light);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    color: var(--color-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.testimonials-header .subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0, 51, 160, 0.08);
    border: 1px solid rgba(0, 51, 160, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 51, 160, 0.15);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-magenta) 0%, #aa00c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-author p {
    font-size: 0.85rem;
    color: var(--color-gray-medium);
    margin: 0;
}

.testimonial-quote {
    color: var(--color-magenta);
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-gray-medium);
    font-style: italic;
    margin-bottom: 20px;
    flex: 1;
}

.author-rating {
    color: #FFB800;
    font-size: 0.95rem;
    margin-top: auto;
}

/* Responsive Testimonials */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-header h2 {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .card-top {
        flex-direction: column;
        text-align: center;
    }
}