* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #2d5940;
    --color-primary-dark: #1f3f2a;
    --color-primary-light: #4a7d5c;
    --color-accent: #3498db;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg-light: #f8f9fa;
    --color-border: #e0e0e0;
    --color-success: #27ae60;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== BOTÓN WHATSAPP FLOTANTE ====== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ====== HEADER ====== */
header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar {
    position: relative;
}

.navbar-brand {
    flex: 1;
    display: block;
    padding: 0.75rem 0 !important;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.navbar-brand .tagline {
    font-size: 0.8rem;
    opacity: 0.9;
    display: block;
    font-weight: 400;
}

.navbar-brand:hover {
    background-color: transparent !important;
}

.navbar-brand::after {
    display: none !important;
}

.navbar .menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.navbar .menu li {
    margin: 0;
    position: relative;
}

.navbar a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    display: block;
    position: relative;
    font-size: 0.95rem;
}

.navbar a i {
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: white;
    transition: width 0.3s ease;
}

.navbar .menu > li:not(.dropdown) > a:hover::after {
    width: 80%;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-primary-dark);
    min-width: 250px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    border-radius: 0 0 8px 8px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    padding-left: 2rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ====== HERO SECTION ====== */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.6;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 89, 64, 0.7) 0%, rgba(31, 63, 42, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.95;
}

/* Zonas de Trabajo */
.zonas-trabajo {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.zonas-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
}

.zonas-header i {
    font-size: 1.3rem;
    color: #ffd700;
}

.zonas-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.zona-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.zona-badge i {
    font-size: 0.85rem;
    color: #ffd700;
}

.zona-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* ====== ABOUT SECTION ====== */
.about {
    background-color: white;
    padding: 4rem 0 !important;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    text-align: center;
}

.dra-photo {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-height: 500px;
}

.about-content h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.about-content .specialty {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content .description {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.experience {
    background-color: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.experience h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.experience ul {
    list-style: none;
}

.experience li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--color-text-light);
    position: relative;
}

.experience li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

/* ====== NOVEDADES SECTION ====== */
.novedades {
    background-color: var(--color-bg-light);
    padding: 3rem 0 !important;
}

.novedades h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.novedades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.novedad-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #0f9d58;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.novedad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.novedad-category {
    display: inline-block;
    background: #0f9d58;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 12px;
    width: fit-content;
}

.novedad-card h3 {
    color: #0f9d58;
    font-size: 1.3em;
    margin-bottom: 10px;
    line-height: 1.4;
}

.novedad-fecha {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.novedad-fecha i {
    margin-right: 5px;
}

.novedad-preview {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    line-height: 1.6;
}

.btn-leer-mas {
    color: #0f9d58;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-leer-mas:hover {
    color: #0b7d47;
    margin-left: 5px;
}

.btn-leer-mas i {
    margin-left: 5px;
}

.sin-articulos {
    text-align: center;
    color: #999;
    padding: 40px;
    grid-column: 1 / -1;
}

.video-container {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    color: var(--color-text-light);
    font-size: 1.1rem;
    font-style: italic;
}

/* ====== SERVICIOS SECTION ====== */
.servicios {
    background-color: white;
    padding: 4rem 0 !important;
}

.servicios h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
    font-weight: 700;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease, transform 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-weight: 600;
    min-height: 3rem;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.btn-contacto {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-contacto:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.05);
}

/* ====== CONTENIDO SECTIONS ====== */
.contenido-seccion {
    padding: 4rem 0 !important;
    background-color: white;
}

.contenido-seccion.alt {
    background-color: var(--color-bg-light);
}

.contenido-seccion h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
    font-weight: 700;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    border-radius: 5px;
}

.contenido-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-border);
}

.contenido-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contenido-item h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contenido-item p {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ====== ÁREAS DE PRÁCTICA CON TABS ====== */
.areas-practica-tabs {
    padding: 5rem 0 !important;
    background: linear-gradient(to bottom, white 0%, var(--color-bg-light) 100%);
}

.areas-practica-tabs .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
    font-weight: 700;
}

/* Navegación de pestañas */
.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    background: white;
    border: 2px solid var(--color-border);
    color: var(--color-text);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tab-button i {
    font-size: 1.2rem;
}

.tab-button:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 89, 64, 0.2);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(45, 89, 64, 0.3);
}

/* Contenido de las pestañas */
.tabs-content {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Items de contenido dentro de las tabs */
.tab-pane .contenido-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-border);
}

.tab-pane .contenido-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tab-pane .contenido-item h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-pane .contenido-item h3::before {
    content: '▸';
    color: var(--color-accent);
    font-size: 1.5rem;
}

.tab-pane .contenido-item div {
    color: var(--color-text-light);
    line-height: 1.9;
    font-size: 1rem;
}

/* ====== CONTACTO SECTION ====== */
.contacto {
    background-color: var(--color-bg-light);
    padding: 4rem 0 !important;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contacto-image {
    text-align: center;
}

.contacto-photo {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-height: 450px;
    object-fit: cover;
}

.contacto-form-wrapper h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contacto-form-wrapper > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contacto-form input,
.contacto-form textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 89, 64, 0.1);
}

.contacto-opciones {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.contacto-opciones p {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contacto-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.whatsapp-link {
    background-color: #25d366;
    color: white;
}

.whatsapp-link:hover {
    background-color: #20ba5d;
    transform: translateY(-2px);
}

.email-link {
    background-color: var(--color-primary);
    color: white;
}

.email-link:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-enviar {
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-enviar:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.02);
}

/* ====== NEWSLETTER SECTION ====== */
.newsletter {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: 4rem 0 !important;
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.newsletter-content {
    display: grid;
    gap: 3rem;
}

.fallo-destacado {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid white;
}

.fallo-destacado h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.fallo-destacado p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
}

.fallo-destacado p:last-child {
    margin-bottom: 0;
}

.newsletter-subscribe {
    text-align: center;
}

.newsletter-subscribe p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 0.85rem 2rem;
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-form button:hover {
    background-color: white;
    color: var(--color-primary);
}

/* ====== FOOTER ====== */
footer {
    background-color: var(--color-primary-dark);
    color: white;
    padding-top: 3rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    color: white;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Colores específicos por red social */
.social-icon.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
}

.social-icon.linkedin:hover {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.social-icon.twitter:hover {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-icon.tiktok:hover {
    background: linear-gradient(135deg, #000000 0%, #fe2c55 50%, #00f2ea 100%);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .navbar .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-primary-dark);
        flex-direction: column;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .navbar .menu.active {
        display: flex;
    }

    .navbar .menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar .menu li:last-child {
        border-bottom: none;
    }

    .navbar a {
        padding: 1rem 1.5rem;
        text-align: left;
    }

    .navbar a::after {
        display: none;
    }

    .navbar a:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    /* Dropdown en mobile */
    .dropdown-menu {
        position: static;
        display: none;
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 2.5rem;
        font-size: 0.85rem;
    }

    .dropdown-menu a:hover {
        padding-left: 3rem;
    }

    .hero {
        height: 400px;
    }

    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }

    .zonas-trabajo {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .zonas-header {
        font-size: 0.95rem;
    }

    .zona-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .about-grid,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dra-photo,
    .contacto-photo {
        max-height: 350px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .servicios h2,
    .contenido-seccion h2,
    .contacto-form-wrapper h2,
    .newsletter h2 {
        font-size: 1.8rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    /* Pestañas responsive */
    .tabs-navigation {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .tab-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .tabs-content {
        padding: 2rem 1.5rem;
    }

    .areas-practica-tabs .section-title {
        font-size: 1.8rem;
    }

    .tab-pane .contenido-item h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand h1 {
        font-size: 1.3rem;
    }

    .hero {
        height: 320px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contacto-link {
        display: block;
        margin: 0.5rem 0;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }

    /* Zonas de trabajo - móviles pequeños */
    .zonas-trabajo {
        margin-top: 1.5rem;
    }
    
    .zonas-header {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .zonas-badges {
        gap: 0.4rem;
    }
    
    .zona-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .zona-badge i {
        font-size: 0.7rem;
    }

    /* Pestañas para móviles pequeños */
    .tab-button {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .tab-button i {
        font-size: 1rem;
    }

    .tabs-content {
        padding: 1.5rem 1rem;
    }

    .areas-practica-tabs .section-title {
        font-size: 1.5rem;
    }

    .tab-pane .contenido-item h3::before {
        font-size: 1.2rem;
    }
}
