/* ============================================
   ESTUDIO CUM LAUDE - ESTILOS PRINCIPALES
   ============================================ */

:root {
    --primary: #b8860b;           /* Dorado oscuro */
    --primary-dark: #8a6508;
    --primary-light: #d4af37;
    --accent: #c80082;            /* Fucsia (10%) */
    --accent-dark: #a00068;
    --dark: #1a1a1a;
    --dark-2: #232323;
    --light: #f8f8f8;
    --white: #ffffff;
    --gray: #666666;
    --light-gray: #e8e8e8;
    --serif: 'Source Sans 3', sans-serif;
    --sans: 'Source Sans 3', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

/* Transición suave de colores al cambiar de paleta (cada 5 min) */
body, .navbar, .section, .btn, .service-card, .area-item,
.zoom-widget, .footer, .hero, .image-frame, .stat-card,
.card, .associate-card, .testimonial-card, .contact-card {
    transition: background-color 1.2s ease, color 1.2s ease,
                border-color 1.2s ease, box-shadow 1.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--dark);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    font-family: var(--mono);
    font-size: 1.3rem;
}

.logo-bracket {
    color: var(--primary-light);
    opacity: 0.6;
}

.logo-cum {
    color: var(--primary-light);
}

.logo-laude {
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    overflow: hidden;
    padding: 100px 20px;
}

/* Imagen de papel arrugado */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('papel_arrugado.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
}

/* En pantallas grandes: dos columnas, texto a la izquierda y David a la derecha */
@media (min-width: 1100px) {
    .hero {
        justify-content: center;
        align-items: center;
        gap: 50px;
        padding: 100px 60px;
    }
    .hero-content {
        text-align: left;
        margin: 0;
        padding: 0;
        max-width: 620px;
        flex: 0 1 60%;
    }
    .hero-subtitle {
        margin-left: 0;
    }
    .hero-buttons {
        justify-content: flex-start;
    }
    .hero-code,
    .hero-badge {
        text-align: left;
    }

    /* Widget del David: parte del flujo, derecha, verticalmente centrado */
    .zoom-widget {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        flex: 0 0 320px;
        margin: 0;
        align-self: center;
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(184, 134, 11, 0.2);
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Toque de codigo (IA/digital) */
.hero-code {
    margin-bottom: 20px;
    font-family: var(--mono);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.code-comment {
    color: rgba(212, 175, 55, 0.6);
}

.hero-title {
    font-family: var(--mono);
    color: var(--white);
    margin-bottom: 25px;
}

.hero-title-line {
    display: block;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 1px;
    transition: font-family 0.4s ease;
    color: var(--white);
}

#rotatingPhrase {
    background: linear-gradient(90deg, var(--primary-light), #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(212,175,55,0.3);
    position: relative;
    display: inline-block;
}

/* Efecto glitch suave: "algo anda mal pero atrae" */
#rotatingPhrase::before,
#rotatingPhrase::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

#rotatingPhrase::before {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    opacity: 0.85;
    z-index: -1;
    animation: glitch-top 3s infinite linear alternate-reverse;
}

#rotatingPhrase::after {
    color: var(--accent-dark);
    -webkit-text-fill-color: var(--accent-dark);
    opacity: 0.5;
    z-index: -2;
    animation: glitch-bottom 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-top {
    0%   { clip-path: inset(0 0 85% 0); transform: translate(-2px, -2px); }
    10%  { clip-path: inset(0 0 60% 0); transform: translate(2px, 1px); }
    20%  { clip-path: inset(20% 0 55% 0); transform: translate(-1px, 2px); }
    30%  { clip-path: inset(0 0 75% 0); transform: translate(1px, -1px); }
    40%  { clip-path: inset(10% 0 45% 0); transform: translate(-2px, 1px); }
    50%  { clip-path: inset(0 0 65% 0); transform: translate(2px, 2px); }
    60%  { clip-path: inset(15% 0 50% 0); transform: translate(-1px, -2px); }
    70%  { clip-path: inset(0 0 80% 0); transform: translate(2px, 1px); }
    80%  { clip-path: inset(5% 0 55% 0); transform: translate(-2px, 2px); }
    90%  { clip-path: inset(0 0 70% 0); transform: translate(1px, -2px); }
    100% { clip-path: inset(0 0 90% 0); transform: translate(-1px, 1px); }
}

@keyframes glitch-bottom {
    0%   { clip-path: inset(80% 0 0 0); transform: translate(3px, 3px); }
    10%  { clip-path: inset(55% 0 0 0); transform: translate(-3px, -1px); }
    20%  { clip-path: inset(60% 0 0 0); transform: translate(2px, -2px); }
    30%  { clip-path: inset(70% 0 0 0); transform: translate(-2px, 2px); }
    40%  { clip-path: inset(45% 0 0 0); transform: translate(3px, -2px); }
    50%  { clip-path: inset(65% 0 0 0); transform: translate(-3px, 3px); }
    60%  { clip-path: inset(50% 0 0 0); transform: translate(2px, 2px); }
    70%  { clip-path: inset(75% 0 0 0); transform: translate(-2px, -1px); }
    80%  { clip-path: inset(55% 0 0 0); transform: translate(3px, 1px); }
    90%  { clip-path: inset(65% 0 0 0); transform: translate(-1px, 3px); }
    100% { clip-path: inset(85% 0 0 0); transform: translate(2px, -3px); }
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== WIDGET ZOOM DAVID ========== */
.zoom-widget {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 300px;
    max-width: 90vw;
    flex-shrink: 0;
    z-index: 3;
    background: rgba(26,26,26,0.8);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.zoom-widget-label {
    text-align: center;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--primary-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.zoom-viewport {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid var(--primary-light);
    position: relative;
    cursor: grab;
    background: #000;
}

.zoom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
    transform-origin: center center;
}

.zoom-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.zoom-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.zoom-btn:active {
    transform: scale(0.9);
}

.zoom-hint {
    text-align: center;
    margin-top: 10px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    font-family: var(--mono);
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    animation: bounce 2s infinite;
    z-index: 2;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* ========== SECCIONES GENERICAS ========== */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--mono);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.section-desc {
    color: var(--gray);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.section-desc.max-width {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== NOSOTROS ========== */
.nosotros {
    background: var(--white);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-image {
    position: relative;
}

.image-frame {
    background: var(--primary);
    padding: 12px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--primary-light);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 3px;
    z-index: 2;
    pointer-events: none;
}

.image-placeholder {
    background: var(--light-gray);
    height: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    overflow: hidden;
}

.david-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.95;
    transition: var(--transition);
}

.david-img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.experience-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--dark);
    border: 2px solid var(--primary-light);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    z-index: 3;
}

.exp-number {
    font-family: var(--mono);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-light);
}

.exp-text {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: rgba(255,255,255,0.8);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--mono);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ========== SERVICIOS ========== */
.servicios {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary);
}

.service-card.featured {
    background: var(--dark);
    color: var(--white);
    border-top-color: var(--primary-light);
}

.service-card.featured .service-list li {
    color: rgba(255,255,255,0.8);
}

.service-card.featured h3 {
    color: var(--white);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 2px solid var(--primary-light);
}

.service-card.featured .service-icon {
    background: rgba(184, 134, 11, 0.2);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.service-card h3 {
    font-family: var(--mono);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card.featured p {
    color: rgba(255,255,255,0.7);
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 8px 0;
    color: var(--gray);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 25px;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ========== AREAS DE PRACTICA ========== */
.areas {
    background: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.area-item {
    background: var(--light);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    border-radius: 5px;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.area-item:hover {
    background: var(--dark);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.area-item:hover i {
    color: var(--primary-light);
}

.area-item:hover span {
    color: var(--white);
}

.area-item i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.area-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

/* ========== CTA ========== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: var(--dark);
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184,134,11,0.3) 0%, rgba(26,26,26,0.9) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--mono);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 40px;
}

/* ========== CONTACTO ========== */
.contacto {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.contact-item h4 {
    font-family: var(--mono);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-family: var(--mono);
    font-size: 1.4rem;
}

.footer-tagline {
    color: var(--primary-light);
    font-family: var(--mono);
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--mono);
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    font-weight: 300;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .section-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    /* Apilar texto y David en columna en pantallas medianas */
    .hero {
        flex-direction: column;
        justify-content: center;
    }
    .zoom-widget {
        margin: 30px auto 0;
        width: 280px;
    }

    .zoom-viewport {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

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

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        transform: translateX(-100%);
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .areas-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-title-line {
        font-size: 2.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .zoom-widget {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 90%;
        margin: 0 auto 30px;
    }

    .zoom-viewport {
        height: 240px;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .hero-title-line {
        font-size: 2.2rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        top: -15px;
        right: -15px;
    }

    .exp-number {
        font-size: 2rem;
    }
}
