/* ==================== ESTILOS GLOBALES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #ff0000;
    --color-primary-dark: #890202;
    --color-primary-light: #ff0000;
    --color-background: #ff0808;
    --color-accent: #060504;
    --color-accent-dark: #f0f0f0;
    --color-neutral-dark: #0f1419;
    --color-neutral-light: #f5f7fa;
    --color-neutral-medium: #e0e6ed;
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #666;
    --color-text-light: #999;
    --color-border: #ddd;
    --color-error: #dc3545;
    --color-success: #ff0404;
    --color-white: #ffffff;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 120px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: slideInLeft 0.6s ease;
}

.logo .tagline {
    font-size: 0.7rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.menu-toggle:hover,
.menu-toggle.active {
    color: var(--color-accent);
    transform: scale(1.1);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background-color: var(--color-accent-dark);
    transform: scale(1.05);
}

.nav-link-cta.active {
    background-color: var(--color-accent-dark);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 350px;
    height: 350px;
    background: var(--color-accent);
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    animation: slideInUp 0.8s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInUp 0.8s ease 0.4s both;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

.hero-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeIn 1s ease 0.5s both;
}

.feature-badge {
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-primary-light);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ==================== COTIZACIÓN HERO ==================== */
.cotizacion-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cotizacion-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.privacy-section-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 80px 20px;
    text-align: center;
}

/* ==================== SECCIONES GENERALES ==================== */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    width: 100%;
    animation: fadeInDown 0.6s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    margin: 1rem auto 0;
    animation: expandWidth 0.8s ease;
}

/* ==================== ESTADÍSTICAS ==================== */
.marcas {
    background: linear-gradient(135deg, var(--color-neutral-light) 0%, var(--color-white) 100%);
}

.marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--color-accent);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-family: 'Arial', sans-serif;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 1rem;
    font-weight: 600;
}

/* ==================== SERVICIOS ==================== */
.servicios {
    background-color: var(--color-neutral-light);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.servicio-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--color-accent);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.servicio-imagenes{
    width: 100%;
    height: auto; 
    display: block;
    max-width:100%; 
    object-fit: cover;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.servicio-card:hover::before {
    opacity: 0.05;
}

.servicio-imagene {
    width: 100%;
    height: auto;
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    max-width: 100%;
    transition: var(--transition);
    animation: bounce 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 8px;
    object-fit: cover;

}

.servicio-card:hover .servicio-icon {
    transform: scale(1.2) rotate(5deg);
}

.servicio-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.servicio-card p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.features-list {
    list-style: none;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.features-list li:hover {
    padding-left: 2rem;
    color: var(--color-accent);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* ==================== CARACTERÍSTICAS ==================== */
.caracteristicas {
    background-color: var(--color-white);
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.caracteristica-item {
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05), rgba(0, 212, 255, 0.05));
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.caracteristica-item:hover {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(0, 212, 255, 0.15));
    transform: translateY(-8px);
    border-color: var(--color-accent);
}

.caracteristica-numero {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.caracteristica-item:hover .caracteristica-numero {
    transform: scale(1.2) rotate(-10deg);
}

.caracteristica-item h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.caracteristica-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ==================== PROYECTOS ==================== */
.proyectos {
    background-color: var(--color-neutral-light);
}

.proyectos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.proyecto-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* esto es para hacer las imagenes responsivas adentro de los cards y no se salgan al momneto de ajustas responsividad */
.proyecto-card img,
.proyecto-card .proyecto-imagen img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.proyecto-card .proyecto-imagen {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
}

.proyecto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.proyecto-imagen {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position:relative;
    overflow:hidden;
}

.proyecto-card:hover .proyecto-imagen {
    transform: scale(1.05);
}

.proyecto-card h3 {
    color: var(--color-primary);
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    position: relative; 
    z-index: 1;
}

.proyecto-card p {
    color: var(--color-text-secondary);
    padding: 0 1.5rem;
    font-size: 0.9rem;
    flex-grow: 1;
    margin-top: 0.5rem;
    position: relative; 
    z-index: 1;
}

.proyecto-tipo {
    display: block;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(42, 82, 152, 0.1));
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-top: 1px solid var(--color-neutral-medium);
    display: inline-block;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* ==================== TESTIMONIOS ==================== */
.testimonios {
    background-color: var(--color-white);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonio-card {
    background: var(--color-neutral-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    transition: var(--transition);
}

.testimonio-card:hover {
    background: linear-gradient(135deg, var(--color-neutral-light), rgba(0, 212, 255, 0.08));
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.testimonio-estrellas {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonio-texto {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonio-autor-info {
    margin-top: 1rem;
}

.testimonio-autor {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonio-cargo {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* ==================== CONTACTO ==================== */
.contacto {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
}

.contacto .section-title {
    color: var(--color-white);
}

.contacto .section-title::after {
    background: linear-gradient(90deg, var(--color-accent), #00ffff);
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contacto-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contacto-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.contacto-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.contacto-card:hover .contacto-icon {
    transform: scale(1.2);
}

.contacto-card h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contacto-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.contacto-card a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contacto-card a:hover {
    color: #00ffff;
    text-decoration: underline;
}

.horario {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* ==================== REDES SOCIALES ==================== */
.redes-sociales {
    background-color: var(--color-neutral-light);
}
.contactoo-card {
    display:flex; flex-direction:column; justify-content:center; align-items:center;
}
.contactoo-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
   
}


.contactoo-iconno {
   display:flex; justify-content:center; align-items:center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.social-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.social-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.social-card:hover .social-icon {
    transform: scale(1.2);
}

.social-card p {
    color: var(--color-primary);
    font-weight: 600;
}

.facebook { border-top: 4px solid #1877f2; }
.instagram { border-top: 4px solid #e4405f; }
.tiktok { border-top: 4px solid #0077b5; }
.twitter { border-top: 4px solid #000; }

/* ==================== FORMULARIO ==================== */
.formulario-section {
    background-color: var(--color-neutral-light);
    padding: 60px 20px;
}

.formulario {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

fieldset {
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02), rgba(30, 60, 114, 0.02));
}

legend {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    padding: 0 1rem;
    margin-left: -1rem;
}

.field-hint {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.optional {
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-weight: 400;
}

.required {
    color: var(--color-error);
    font-weight: 700;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 0;
}

.form-row-servicios {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: flex-end;
}

.full-width {
    grid-column: 1 / -1;
}

.agregar-servicio-btn {
    padding: 12px 25px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.agregar-servicio-btn:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 212, 255, 0.4);
}

.agregar-servicio-btn:active {
    transform: translateY(0);
}

.servicios-agregados {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(30, 60, 114, 0.05));
    border-radius: 8px;
    border: 2px dashed var(--color-accent);
    min-height: 80px;
}

#serviciosTitle {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.listado-servicios {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.servicio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    animation: slideInLeft 0.3s ease;
}

.servicio-item:hover {
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.15);
    transform: translateX(5px);
}

.servicio-numero {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 90px;
    text-align: center;
    margin-right: 1rem;
}

.servicio-nombre {
    flex-grow: 1;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-eliminar-servicio {
    background-color: var(--color-error);
    color: var(--color-white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.2);
    flex-shrink: 0;
}

.btn-eliminar-servicio:hover {
    background-color: #c82333;
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
}

.btn-eliminar-servicio:active {
    transform: scale(0.95);
}

.error-msg {
    display: none;
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

.error-msg.show {
    display: block;
    animation: slideInDown 0.3s ease;
}

.checkbox-group-single {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group-single input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-accent);
    flex-shrink: 0;
}

.checkbox-group-single label {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--color-text-secondary);
}

.form-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.submit-button {
    padding: 15px 30px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.submit-button:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.submit-button:disabled {
    background-color: var(--color-text-light);
    cursor: not-allowed;
    box-shadow: none;
}

.reset-button {
    padding: 15px 30px;
    background-color: var(--color-neutral-medium);
    color: var(--color-text-primary);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reset-button:hover {
    background-color: var(--color-border);
    transform: translateY(-2px);
}

.success-message {
    background: linear-gradient(135deg, var(--color-success) 0%, #20c997 100%);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
    animation: slideInUp 0.5s ease;
}

.success-message h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.success-message p {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* ==================== POLÍTICA DE PRIVACIDAD ==================== */
.privacy-content-section {
    background-color: var(--color-white);
    padding: 60px 20px;
}

.privacy-container {
    max-width: 900px;
}

.privacy-content {
    background: var(--color-neutral-light);
    padding: 3rem;
    border-radius: 12px;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
}

.privacy-section p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.privacy-list li {
    color: var(--color-text-secondary);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.privacy-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.privacy-list a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.privacy-list a:hover {
    text-decoration: underline;
    color: var(--color-accent-dark);
}

.last-updated {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-border);
    text-align: center;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ==================== ANIMACIONES ==================== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(20px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--color-primary-dark);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        align-items: flex-start;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link-cta {
        margin-top: 1rem;
        padding: 0.75rem 1.2rem;
        display: inline-block;
    }

    .menu-toggle {
        display: block;
    }

    section {
        padding: 60px 20px;
    }

    .hero {
        padding: 80px 20px;
        min-height: 500px;
    }

    .hero-shape {
        width: 200px !important;
        height: 200px !important;
    }

    .servicios-grid,
    .caracteristicas-grid,
    .proyectos-gallery,
    .testimonios-grid,
    .estadisticas-grid,
    .contacto-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row-servicios {
        grid-template-columns: 1fr;
    }

    #agregarServicioBtn {
        width: 100%;
    }

    .formulario {
        padding: 2rem 1.5rem;
    }

    fieldset {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .logo .tagline {
        font-size: 0.6rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-title::after {
        width: 60px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .servicio-icon {
        font-size: 2rem;
    }

    .caracteristica-numero {
        font-size: 1.8rem;
    }

    .contacto-icon {
        font-size: 2rem;
    }

    .formulario {
        padding: 1.5rem 1rem;
    }

    fieldset {
        padding: 1rem;
    }

    legend {
        font-size: 1rem;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .submit-button,
    .reset-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .hero-features {
        gap: 0.5rem;
    }

    .feature-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
