/* ============================================
   VARIABLES Y RESET
============================================= */
:root {
        /* COLORES DEL LOGO */
    --primary-color: #0D2B45;      /* Azul oscuro del logo */
    --primary-dark: #091F33;
    --primary-light: #1F4E79;

    --secondary-color: #B22222;    /* Rojo engranaje */
    --secondary-dark: #8B1A1A;
    --secondary-light: #D64545;

    --accent-color: #2E8B57;       /* Verde técnico (de piezas) */
    --metal-gray: #C0C5CE;         /* Gris metálico */

    --white: #FFFFFF;
    --light-gray: #F4F6F9;
    --dark-gray: #6B7280;
    
    /* Colores neutros */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #BDC3C7;
    --dark-gray: #7F8C8D;
    --black: #2C3E50;
    
    /* Tipografía */
    --font-primary: 'Poppins', sans-serif;
    --font-size-base: 16px;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    
    /* Bordes */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Transiciones */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============================================
   BOTONES
============================================= */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   HEADER & NAVIGATION
============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-sm);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.desktop-cta {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44,62,80,0.95) 0%, rgba(52,73,94,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-sm);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: var(--primary-color);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.feature-badge i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECCIONES GENERALES
============================================= */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.light h2,
.section-header.light p {
    color: var(--white);
}

/* ============================================
   SERVICIOS
============================================= */
.services-section {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border: 3px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.service-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: var(--shadow-md);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    padding: 1.5rem 1.5rem 1rem;
}

.service-list {
    padding: 0 1.5rem 1.5rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

.service-list i {
    color: var(--success-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.service-card a {
    display: block;
    margin: 0 1.5rem 1.5rem;
}

/* ============================================
   ESPECIALIZACIONES
============================================= */
.specializations-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.spec-grid {
    display: grid;
    gap: 3rem;
}

.spec-card {
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.spec-card:nth-child(even) {
    direction: rtl;
}

.spec-card:nth-child(even) .spec-content {
    direction: ltr;
}

.spec-image {
    position: relative;
    overflow: hidden;
}

.spec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.spec-card:hover .spec-image img {
    transform: scale(1.1);
}

.spec-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(231,76,60,0.8), rgba(192,57,43,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.spec-card:hover .spec-overlay {
    opacity: 1;
}

.spec-overlay i {
    font-size: 4rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.spec-content {
    padding: 2rem;
    color: var(--white);
}

.spec-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.spec-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.spec-details {
    margin-bottom: 1.5rem;
}

.spec-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.spec-details i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.spec-details strong {
    color: var(--white);
}

.spec-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(39,174,96,0.2);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--success-color);
}

.spec-benefit i {
    color: var(--success-color);
    font-size: 1.5rem;
}

.spec-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}

.spec-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.spec-cta p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ============================================
   VIDEOS
============================================= */
.videos-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--light-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--black);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.video-info p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.video-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-light);
    color: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   FAQ
============================================= */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 1.5rem 1.5rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.faq-answer ul {
    padding-left: 3rem;
}

.faq-answer li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: var(--secondary-color);
}

.faq-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-cta p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* ============================================
   WHY US
============================================= */
.why-us-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.why-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.why-card h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.why-card p {
    color: rgba(255,255,255,0.9);
}

/* ============================================
   TESTIMONIALS
============================================= */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-light);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: var(--accent-color);
}

.testimonial-text {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--dark-gray);
    font-size: 0.875rem;
}

/* ============================================
   CONTACT
============================================= */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--dark-gray);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Formulario */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Mapa */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
============================================= */
.footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--gray);
    line-height: 1.8;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--gray);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37,211,102,0.8);
    }
}

/* ============================================
   RESPONSIVE
============================================= */

/* Tablet */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .spec-card {
        grid-template-columns: 1fr;
    }
    
    .spec-card:nth-child(even) {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: var(--transition);
        padding: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .desktop-cta {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .videos-grid,
    .why-grid,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 3rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .spec-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   CARRUSEL SOLO PARA "CAMARÍN Y ENTONACIÓN"
   IMAGEN COMPLETA (sin recorte)
============================================= */

.spec-image--carousel{
    aspect-ratio: 4 / 3;           /* ajusta si quieres */
    background: #0b0b0b;           /* “bordes” / relleno cuando sobra espacio */
}

@supports not (aspect-ratio: 4 / 3) {
    .spec-image--carousel{
        height: 320px;
    }
}

.spec-image--carousel .spec-carousel{
    position: relative;
    width: 100%;
    height: 100%;
}

.spec-image--carousel .spec-carousel__slide{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: contain;           /* CLAVE: muestra la imagen completa */
    object-position: center;       /* centrada */
    background: transparent;

    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.spec-image--carousel .spec-carousel__slide.is-active{
    opacity: 1;
}

/* Quitar el zoom en hover para que nunca “corte” la imagen */
.spec-card:hover .spec-image--carousel .spec-carousel__slide,
.spec-card:hover .spec-image--carousel .spec-carousel__slide.is-active{
    transform: none !important;
}