/* --- Selector de idioma --- */
.lang-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}
.lang-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: transform 0.2s;
    img {
        width: 24px;
        height: auto;
        display: block;
    }
}
.lang-btn:hover, .lang-btn.active {
    transform: scale(1.2);
    filter: brightness(1.2);
}
/* --- Colapsables sección Sobre mí --- */
.collapsible-block {
    margin-bottom: 1.2rem;
}
.collapsible-title {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: bold;
    color: #003366;
    text-align: left;
    padding: 0.7rem 0.5rem 0.7rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}
.collapsible-title:hover {
    color: #005fa3;
}
.collapsible-title i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.collapsible-title[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.collapsible-content {
    padding: 0.5rem 1rem 0.7rem 1.2rem;
    border-left: 3px solid #003366;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    animation: fadeInCollapsible 0.3s;
}
@keyframes fadeInCollapsible {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- MENÚ MÓVIL --- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--color-primary-dark); /* Cambiado a color azul oscuro */
        width: 100%;
        flex-direction: column;
        align-items: flex-end;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        padding: 1rem 2rem;
        padding-top: 2rem;
        z-index: 1001;
    }
        .nav-links.active {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 2rem;
            padding: 2rem;
        }
    .mobile-menu {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 1002;
        position: fixed;
        right: 20px;
        top: 10px;
    }
    .mobile-menu span {
        display: block;
        width: 28px;
        height: 4px;
        margin: 4px 0;
        background: #F5F4EF; /* Cambiado a color claro para que coincida con el tema oscuro del navbar */
        border-radius: 2px;
        transition: all 0.3s;
    }
    /* Animación hamburguesa a X */
    .mobile-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/* style.css - Consultora Martín Malara */

body {
    /* Tipografía definida en fonts.css */
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #222;
}

header {
    background: #003366;
    color: #fff;
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 1rem;
    height: 5rem;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #ffcc00;
}

.hero {
    background: linear-gradient(120deg, #003366 60%, #005fa3 100%);
    color: #fff;
    padding: 3rem 1rem 2rem 1rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-btn {
    display: inline-block;
    margin: 1rem 0.5rem 0 0;
    padding: 0.75rem 1.5rem;
    background: #ffcc00;
    color: #003366;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #ffd633;
}

.cta-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.cta-btn.whatsapp:hover {
    background: #1ebe57;
}

.subtitle,
.presentation,
.benefits,
.cta,
.about,
.how-we-work,
.blog,
.contact,
.services,
.privacy {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.services .cards {
    gap: 1rem;
    justify-content: center;
}

.services .card {
    background: #e6f0fa;
    color: #003366;
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits li::before {
    content: '✔️ ';
    color: #25d366;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"] {
    width: 100%;
    padding: 0.7rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form label {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

form button {
    background: #AE8E57; /* Cambiado a color acento (dorado) */
    color: #F5F4EF; /* Cambiado a color texto claro */
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

form button:disabled {
    background: #D8CAB3; /* Cambiado a color neutral claro */
    cursor: not-allowed;
}

footer {
    background: #010713; /* Cambiado a color primario más oscuro */
    color: #F5F4EF; /* Cambiado a color texto claro */
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

@media (max-width: 800px) {
    .services .cards {
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 500px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .subtitle,
    .presentation,
    .benefits,
    .cta,
    .about,
    .how-we-work,
    .blog,
    .contact,
    .privacy {
        padding: 0.7rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Tipografía definida en fonts.css */
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 47, 71, 0.95); /* Cambiado a color primario oscuro con transparencia */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding-top: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(26, 47, 71, 0.98); /* Mantenemos el azul oscuro (color-primary-dark) al hacer scroll */
    box-shadow: 0 2px 20px rgba(1, 7, 19, 0.2);
}

/* Aseguramos que los colores se mantengan en el navbar al hacer scroll */
.navbar.scrolled .logo {
    color: #F5F4EF; /* Mantenemos el color claro para el logo */
}

.navbar.scrolled .nav-links a {
    color: #F5F4EF; /* Mantenemos el color claro para los enlaces */
}

.navbar.scrolled .nav-links a:hover {
    color: #AE8E57; /* Color dorado al hacer hover */
}

.navbar.scrolled .mobile-menu span {
    background-color: #F5F4EF; /* Color claro para el menú móvil */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #F5F4EF; /* Color texto claro */
    text-decoration: none;
}

.logo-image {
    max-width: 15rem;
    height: auto;
}

.logo-text {
    font-size: 1.5rem;
    display: none; /* Ocultamos el texto, mostramos solo la imagen */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #F5F4EF; /* Cambiado a color texto claro */
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #AE8E57; /* Cambiado a color acento (dorado) */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #AE8E57; /* Cambiado a color acento (dorado) */
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #010713 0%, #103562 100%); /* Cambiado a gradiente con los azules de la paleta */
    color: #F5F4EF; /* Cambiado a color texto claro */
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.cta-btn.whatsapp {
    background: #25d366;
    color: white;
}

.cta-btn.whatsapp:hover {
    background: #20b954;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.subtitle {
    background: #F5F4EF; /* Cambiado a color neutral más claro */
    text-align: center;
    padding: 60px 0;
}

.subtitle h2 {
    font-size: 2rem;
    color: #2c3e50;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

.presentation {
    text-align: center;
    background: white;
}

.presentation p {
    font-size: 1.1rem;
    max-width: 1000px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

/* Services */
.services {
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f6f6f7;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: #F5F4EF; /* Cambiado a color neutral más claro */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #010713; /* Cambiado a color texto oscuro */
    box-shadow: 0 10px 30px rgba(1, 7, 19, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #AE8E57; /* Añadido borde superior con color acento */
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(1, 7, 19, 0.15);
    border-color: #103562; /* Cambiado a color primario */
}

/* Benefits */
.benefits {
    background: #F5F4EF; /* Cambiado a color neutral más claro */
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.benefits ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
}

.benefits li {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.benefits li:hover {
    background: #e3f2fd;
    transform: translateX(10px);
}

.benefits li::before {
    content: '✓';
    color: #3498db;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About */
.about {
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* How We Work */
.how-we-work {
    background: white;
}

.how-we-work h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    transition: all 0.3s ease;
}

.step:hover {
    background: #e3f2fd;
    transform: translateY(-5px);
}

.step-number {
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

.timeline-note {
    background: #e8f6f3;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #27ae60;
    max-width: 800px;
    margin: 0 auto;
}

/* Forms */
.form-section {
    background: #f8f9fa;
}

.form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.newsletter-form,
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover:not(:disabled) {
    background: #2980b9;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* Contact */
.contact {
    background: #F5F4EF; /* Color neutral claro de la paleta */
    padding: 80px 0;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #103562; /* Color primario de la paleta */
    position: relative;
    padding-bottom: 1rem;
}

.contact h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
   /* background-color: #AE8E57; /* Color acento de la paleta */
}

/* Perfil de contacto */
.contact-profile {
    max-width: 800px;
    margin: 0 auto 3rem;
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid #AE8E57; /* Color acento de la paleta */
}

.profile-info h3 {
    font-size: 1.8rem;
    color: #103562; /* Color primario */
    margin-bottom: 1rem;
}

.profile-title {
    font-size: 1.1rem;
    color: #1A2F47; /* Color primario oscuro */
    line-height: 1.6;
}

/* Tarjetas de contacto */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    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;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
}

.contact-card h4 {
    font-size: 1.3rem;
    color: #103562; /* Color primario */
    margin-bottom: 1.2rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.contact-card a {
    text-decoration: none;
    color: #1A2F47; /* Color primario oscuro */
    transition: color 0.3s ease;
    font-size: 1rem;
}

.contact-card a:hover {
    color: #AE8E57; /* Color acento */
}

/* Colores específicos para cada tipo de tarjeta */
.email-card .card-icon {
    background-color: rgba(26, 47, 71, 0.1); /* Color primario oscuro con opacidad */
}

.email-card .card-icon i {
    color: #1A2F47; /* Color primario oscuro */
}

.phone-card .card-icon {
    background-color: rgba(37, 211, 102, 0.1); /* Color WhatsApp con opacidad */
}

.phone-card .card-icon i {
    color: #25d366; /* Color WhatsApp */
}

.social-card:nth-of-type(3) .card-icon {
    background-color: rgba(10, 102, 194, 0.1); /* Color LinkedIn con opacidad */
}

.social-card:nth-of-type(3) .card-icon i {
    color: #0a66c2; /* Color LinkedIn */
}

.social-card:nth-of-type(4) .card-icon {
    background-color: rgba(228, 64, 95, 0.1); /* Color Instagram con opacidad */
}

.social-card:nth-of-type(4) .card-icon i {
    color: #e4405f; /* Color Instagram */
}

/* Privacy */
.privacy {
    background: #f8f9fa;
    padding: 60px 0;
}

.privacy h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.privacy p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }
    
    .logo-text {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .subtitle h2 {
        font-size: 1.5rem;
    }

    .services h2,
    .benefits h2,
    .cta h2,
    .about h2,
    .how-we-work h2,
    .contact h2 {
        font-size: 2rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .benefits ul {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .benefits ul {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* --- BLOG Y CATEGORÍAS --- */
.blog-content-list {
    max-width: 800px;
    margin: 2rem auto;
    padding-left: 2rem;
}

.blog-content-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.blog-categories {
    margin: 3rem 0;
}

.blog-categories h3 {
    text-align: center;
    color: #003366;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.category {
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    color: #003366;
    font-weight: 500;
}

.category:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* --- CV SECTION --- */
.cv-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.cv-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1.5rem;
}

.cv-section h3 {
    color: #003366;
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

.cv-section p {
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.email-destacado {
    text-align: center;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: #003366;
}

.mensaje-final {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 2rem 0;
}

.show-privacy-btn {
    color: blue;
    text-decoration: underline;
    font-weight: bolder;
    margin-left: 4px;
    cursor: pointer;
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enlaces a Blog y CV en página principal */
.external-links {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.link-boxes {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.link-box {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.link-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.link-box h3 {
    color: #003366;
    margin-bottom: 1rem;
}

.link-box p {
    margin-bottom: 1.5rem;
    color: #555;
}

.link-box .cta-btn {
    display: inline-block;
    margin: 0;
}

/* Estilos para la sección de Blog */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.category {
    padding: 1rem;
    background-color: #f0f4f8;
    border-left: 4px solid #003366;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.category:hover {
    background-color: #e0e8f0;
    transform: translateX(5px);
}

/* Estilos para la sección de CV */
.email-destacado {
    text-align: center;
    font-size: 1.2rem;
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f0f4f8;
    border-radius: 8px;
}

.mensaje-final {
    text-align: center;
    font-style: italic;
    color: #003366;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .link-boxes {
        flex-direction: column;
    }
    
    .link-box {
        max-width: 100%;
    }
    
    /* Estilos responsivos para sección de contacto */
    .contact-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-profile {
        padding: 1.5rem;
    }
    
    .profile-info h3 {
        font-size: 1.6rem;
    }
    
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.7rem;
    }
}

/* --- Step Cards for Cómo Trabajamos --- */
.step-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.step-card.expanded {
    border-color: #003366;
    box-shadow: 0 4px 20px rgba(0,51,102,0.15);
}

.step-header {
    background-color:#fff;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
}

.step-number {
    background: #003366;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-title {
    flex: 1;
    font-weight: 600;
    color: #003366;
    font-size: 1.1rem;
}



.step-description {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.step-description p {
    margin: 1rem 0 0 0;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Responsive adjustments for step cards */
@media (max-width: 768px) {
    .step-header {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-title {
        font-size: 1rem;
        flex-basis: calc(100% - 140px);
    }
    

    
    .step-description {
        padding: 0 1rem 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .step-title {
        flex-basis: auto;
    }
    

}