/* =====================================================
   CSS VARIABLES & BASE STYLES
   ===================================================== */
:root {
    --header-h: 80px;
    --tablet-header-h: 75px;
    --mobile-header-h: 70px;
    --section-padding: 80px;
    --section-padding-tablet: 60px;
    --section-padding-mobile: 50px;
    --container-padding: 20px;
    --container-padding-tablet: 25px;
    --container-padding-mobile: 15px;
}

/* =====================================================
   MAIN CONTENT & CONTAINER
   ===================================================== */
.main-content {
    padding-top: var(--header-h);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =====================================================
   CSS VARIABLES & BASE STYLES - LIMPIO Y UNIFICADO
   ===================================================== */
:root {
    /* Layout */
    --header-h: 80px;
    --tablet-header-h: 75px;
    --mobile-header-h: 70px;
    --section-padding: 80px;
    --section-padding-tablet: 60px;
    --section-padding-mobile: 50px;
    --container-padding: 20px;
    --container-padding-tablet: 25px;
    --container-padding-mobile: 15px;
    
    /* Variables del portafolio - UNIFICADAS */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #8b5cf6;
    --secondary: #06b6d4;
    
    /* Gradientes modernos - CONSISTENTES */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    
    /* Transiciones */
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Para pricing section - SEPARADAS sin conflicto */
    --pricing-gradient-1: linear-gradient(135deg, #9ae6b4 0%, #68d391 100%);
    --pricing-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --pricing-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --pricing-accent: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* =====================================================
   MAIN CONTENT & CONTAINER
   ===================================================== */
.main-content {
    padding-top: var(--header-h);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =====================================================
   HERO MODERNO (idéntico a nosotros/servicios/portafolio)
   ===================================================== */
.hero-page {
  padding: 120px 0 100px !important;
  text-align: center !important;
  background: linear-gradient(135deg, #e91e63 0%, #8e24aa 35%, #5e35b1 70%, #1e88e5 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  border-bottom: none !important;
}
.hero-page::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm30 0c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat !important;
  opacity: 0.6 !important;
}
.hero-page > * { position: relative !important; z-index: 1 !important; }

.page-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  font-weight: 800 !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase !important;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}
.page-description {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}

/* Responsive hero */
@media (min-width: 769px) and (max-width: 1023px) {
  .hero-page { padding: 80px 0 60px !important; }
}
@media (max-width: 768px) {
  .hero-page { padding: 60px 0 50px !important; }
}
@media (max-width: 480px) {
  .hero-page { padding: 50px 0 40px !important; }
}

/* Accesibilidad / performance */
@media (prefers-reduced-motion: reduce) {
  .hero-page::before { animation: none !important; }
  .page-title { text-shadow: none !important; }
}
.hero-page { will-change: auto !important; }
.page-title { will-change: transform !important; }


/* =====================================================
   PRICING SECTION CON VARIABLES SEPARADAS
   ===================================================== */
.pricing-card::before {
    background: var(--pricing-gradient-1);
}

.pricing-card:nth-child(2)::before {
    background: var(--pricing-gradient-2);
}

.pricing-card:nth-child(3)::before {
    background: var(--pricing-gradient-3);
}

.pricing-features li::before {
    background: var(--pricing-accent);
}

/* =====================================================
   INSTRUCCIONES DE IMPLEMENTACIÓN
   ===================================================== */

/*
PROBLEMA SOLUCIONADO:
- Eliminadas las declaraciones duplicadas de variables CSS
- Variables del hero unificadas con portafolio
- Variables del pricing separadas para evitar conflictos

PARA IMPLEMENTAR:
1. Reemplaza TODA la sección de variables CSS (:root) en servicios
2. Reemplaza la sección del hero (.hero-page, .page-title, .page-description)
3. Actualiza las referencias de variables en la sección pricing

RESULTADO:
- Hero idéntico entre portafolio y servicios
- Sin conflictos de variables CSS
- Pricing mantiene sus colores específicos
*/

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
    padding: var(--section-padding) 0;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* =====================================================
   SERVICES MAIN SECTION
   ===================================================== */
.services-main {
    padding: 100px 0 30px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-item-large {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item-large:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: none;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

.service-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.service-content.reverse .service-info {
    order: 1;
}

.service-content.reverse .image-placeholder {
    order: 2;
}

.service-info {
    padding: 60px;
}

.service-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.service-info p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2c2c2c;
    font-weight: bold;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   IMAGE PLACEHOLDER STYLES
   ===================================================== */
.image-placeholder {
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #dee2e6;
    height: 400px;
}

.image-placeholder:hover {
    background-color: #e9ecef;
    color: #6c757d;
}

.image-placeholder.small {
    height: 150px;
}

.service-image img {
    width: 500px;
    height: 419px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* =====================================================
   SERVICIOS ADICIONALES (4 COLUMNAS)
   ===================================================== */
.additional-services.section {
    padding-top: 30px;
}

.additional-services .section-title {
    margin-bottom: 30px;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 0;
}

.additional-item {
    text-align: center;
    padding: 60px 20px;
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    font-weight: 600;
    background: white;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Colores suaves estilo tarjetas home */
.additional-item:nth-child(1) { background: #f5e6d3; }  
.additional-item:nth-child(2) { background: #ebe0ff; }  
.additional-item:nth-child(3) { background: #d6edf5; }  
.additional-item:nth-child(4) { background: #eaf6e8; }  

.additional-item .image-placeholder { display: none; }

/* Quitar animaciones de las tarjetas adicionales */
.additional-item:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.additional-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
    text-transform: none;
    letter-spacing: -0.1px;
    line-height: 1.2;
}

.additional-item p {
    color: #555;
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.6;
}

/* Variables CSS para fácil personalización */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tertiary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --accent-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-hover: 0 15px 35px rgba(31, 38, 135, 0.5);
}

/* =====================================================
   PRICING SECTION MODERNA
   ===================================================== */

/* Variables CSS para fácil personalización */
:root {
    --primary-gradient: linear-gradient(135deg, #9ae6b4 0%, #68d391 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tertiary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --accent-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-hover: 0 15px 35px rgba(31, 38, 135, 0.5);
}

/* =====================================================
   PRICING SECTION MODERNA
   ===================================================== */
.pricing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.pricing .section-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.pricing .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: 16px 16px 0 0;
}

.pricing-card:nth-child(2)::before {
    background: var(--secondary-gradient);
}

.pricing-card:nth-child(3)::before {
    background: var(--tertiary-gradient);
}

/* Quitar animaciones de las tarjetas de pricing */
.pricing-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pricing-title {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
    color: #2d3748;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.pricing-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 12px auto 16px;
    border-radius: 2px;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin: -6px 0px 18px;
    color: #1a202c;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price span {
    font-size: 1rem;
    opacity: 0.7;
    font-weight: 500;
    color: #718096;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    width: 100%;
}

.pricing-features li {
    position: relative;
    padding: 8px 0 8px 28px;
    margin: 0;
    text-align: left;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pricing-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
color: #1a202c;
border: 1px solid #d1d5db;
    border-radius: 25px;
    padding: 16px 32px;                    /* ← CAMBIO */
    font-weight: 700;
    font-size: 0.9rem;                     /* ← CAMBIO */
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);  /* ← CAMBIO */
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;                      /* ← AÑADIR ESTA LÍNEA */
}
.pricing-btn:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing {
        padding: 40px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pricing-card {
        padding: 20px 16px;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
}

/* =====================================================
   CONTACT CTA SECTION
   ===================================================== */
.contact-cta {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.contact-cta h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.contact-cta p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #2c2c2c;
    border: none;
    padding: 18px 35px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 0;
}

.cta-button:hover {
    background: white;
    transform: none;
    box-shadow: none;
}

/* =====================================================
   RESPONSIVE DESIGN - LARGE DESKTOP (min-width: 1400px)
   ===================================================== */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }

    .page-title {
        font-size: 2.5rem;
        letter-spacing: -1.5px;
    }

    .page-description {
        font-size: 1rem;
        max-width: 700px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 70px;
    }

    .service-info {
        padding: 60px;
    }

    .service-info h3 {
        font-size: 1.5rem;
    }

    .service-info p {
        font-size: 1rem;
        color:#000000;
    }

    .additional-grid {
        gap: 40px;
    }

    .additional-item {
        padding: 70px 25px;
        height: 280px;
    }

    .additional-item h4 {
        font-size: 1.3rem;
    }

    .additional-item p {
        font-size: 1rem;
        color:#000000;
    }

    .pricing-grid {
        gap: 32px;
    }

    .pricing-card {
        padding: 36px 28px;
    }

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

    .contact-cta p {
        font-size: 1.2rem;
        max-width: 700px;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - TABLETS (769px - 1023px)
   ===================================================== */
@media (min-width: 769px) and (max-width: 1023px) {
    :root {
        --header-h: var(--tablet-header-h);
        --section-padding: var(--section-padding-tablet);
        --container-padding: var(--container-padding-tablet);
    }

    .main-content {
        padding-top: var(--tablet-header-h);
    }

    .hero-page {
        padding: 80px 0 60px;
    }

    .page-title {
        font-size: 2.8rem;
        letter-spacing: -0.8px;
    }

    .page-description {
        font-size: 1rem;
        max-width: 500px;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 50px;
    }

    .services-main {
        padding: 80px 0 25px;
    }

    .services-grid {
        gap: 60px;
    }

    .service-content {
        min-height: 350px;
    }

    .service-info {
        padding: 40px;
    }

    .service-info h3 {
        font-size: 1.4rem;
    }

    .service-info p {
        font-size: 0.95rem;
    }

    .image-placeholder {
        height: 350px;
    }

    .service-image img {
        width: 400px;
        height: 350px;
    }

    /* Additional services - 2 columnas en tablet */
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .additional-item {
        padding: 50px 20px;
        height: 220px;
    }

    .additional-item h4 {
        font-size: 1.3rem;
    }

    .additional-item p {
        font-size: 0.95rem;
    }

    /* Pricing - 2 columnas en tablet */
    .pricing {
        padding: 50px 0;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-price {
        font-size: 24px;
    }

    .contact-cta {
        padding: 60px 0;
    }

    .contact-cta h2 {
        font-size: 2rem;
    }

    .contact-cta p {
        font-size: 1rem;
        max-width: 500px;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - MOBILE (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {
    :root {
        --header-h: var(--mobile-header-h);
        --section-padding: var(--section-padding-mobile);
        --container-padding: var(--container-padding-mobile);
    }

    .main-content {
        padding-top: var(--mobile-header-h);
    }

    .hero-page {
        padding: 50px 0 40px;
    }

    .page-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .page-description {
        font-size: 1rem;
        padding: 0 20px;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 40px;
    }

    .services-main {
        padding: 60px 0 20px;
    }

    .services-grid {
        gap: 40px;
    }

    .service-content {
        grid-template-columns: 1fr;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .service-content.reverse {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    /* FORZAR orden específico en móvil: SIEMPRE imagen primero */
    .service-content .image-placeholder,
    .service-content .service-image {
        order: 1 !important;
    }

    .service-content .service-info {
        order: 2 !important;
    }

    /* También para los reverse - MISMO orden */
    .service-content.reverse .image-placeholder,
    .service-content.reverse .service-image {
        order: 1 !important;
    }

    .service-content.reverse .service-info {
        order: 2 !important;
    }

    .image-placeholder {
        height: 280px; /* Tamaño consistente para todas */
        width: 100%;
    }

    .service-image img {
        width: 100%;
        max-width: 100%;
        height: 280px; /* Mismo tamaño que placeholder */
        object-fit: cover; /* Mantiene proporción */
    }

    /* Asegurar que todas las imágenes sean iguales */
    .service-item-large .image-placeholder,
    .service-item-large .service-image,
    .service-item-large .service-image img {
        height: 280px !important;
        width: 100% !important;
    }

    .service-info {
        padding: 30px;
    }

    .service-info h3 {
    font-size: 1.2rem;  /* Reducido de 1.4rem */
}

.service-copy h3 {
    font-size: 1.2rem;  /* Añadir esta regla */
}

.service-copy h3 {
        font-size: 1.2rem !important;  /* Fuerza el tamaño en móvil */
    }

    .service-info p {
        font-size: 0.8rem;
    }
    
    .service-copy p {
    font-size: 1rem !important;
}

    .service-price {
        font-size: 1.3rem;
    }

    /* Additional services - 1 columna en mobile */
    .additional-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .additional-item {
        padding: 40px 20px;
        height: 200px;
    }

    .additional-item h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .additional-item p {
        font-size: 0.9rem;
    }

    /* Pricing - 1 columna en mobile */
    .pricing {
        padding: 40px 0;
    }

    .pricing .section-title {
        font-size: 1.3rem;
    }

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

    .pricing-card {
        padding: 24px 20px;
    }

    .pricing-price {
        font-size: 25px;
        font-weight: 400;
    }

    .contact-cta {
        padding: 50px 0;
    }

    .contact-cta h2 {
        font-size: 1.8rem;
    }

    .contact-cta p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 16px 30px;
        font-size: 13px;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - SMALL MOBILE (max-width: 480px)
   ===================================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 25px;
    }

    .hero-page {
        padding: 40px 0 30px;
    }

    .page-title {
        font-size: 1.5rem;
        letter-spacing: -0.3px;
    }

    .page-description {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }

    .services-grid {
        gap: 30px;
    }

    .service-info {
        padding: 20px;
    }

    .service-info h3 {
    font-size: 1.1rem;  /* Reducido de 1.3rem */
}

.service-copy h3 {
    font-size: 1.1rem;  /* Añadir esta regla */
}

.service-copy h3 {
        font-size: 1.1rem !important;
    }

    .service-info p {
        font-size: 0.5rem;
        margin-bottom: 20px;
    }
    
    .service-copy p {
    font-size: 1rem !important;
}

    .service-features li {
        font-size: 0.9rem;
        margin: 8px 0;
    }

    .service-price {
        font-size: 1.2rem;
    }

    .image-placeholder {
        height: 260px; /* Tamaño reducido pero consistente en móviles pequeños */
    }

    .service-image img {
        height: 260px; /* Mismo tamaño */
    }

    /* Forzar consistencia en móviles pequeños */
    .service-item-large .image-placeholder,
    .service-item-large .service-image,
    .service-item-large .service-image img {
        height: 260px !important;
    }

    .additional-item {
        padding: 30px 15px;
        height: 180px;
    }

    .additional-item h4 {
        font-size: 1.1rem;
    }

    .additional-item p {
        font-size: 1rem;
        font-weight:400;
    }

    .pricing .section-title {
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 20px 16px;
    }

    .pricing-title {
        font-size: 1rem;
    }

    .pricing-price {
        font-size: 25px;
        font-weight: 400;
    }

    .pricing-features li {
        font-size: 0.85rem;
        margin: 8px 0;
    }

    .pricing-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .contact-cta {
        padding: 40px 0;
    }

    .contact-cta h2 {
        font-size: 1.3rem;
    }

    .contact-cta p {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 14px 25px;
        font-size: 12px;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - EXTRA SMALL MOBILE (max-width: 360px)
   ===================================================== */
@media (max-width: 360px) {
    .page-title {
        font-size: 1.8rem;
    }

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

    .service-info h3 {
    font-size: 1.0rem;  /* Reducido de 1.2rem */
}

.service-copy h3 {
    font-size: 1.0rem;  /* Añadir esta regla */
}
.service-copy h3 {
        font-size: 1.0rem !important;
    }
    
    .service-copy p {
    font-size: 1rem !important;
}


    .additional-item {
        height: 160px;
        padding: 25px 12px;
    }

    .additional-item h4 {
        font-size: 1rem;
    }

    .additional-item p {
        font-size: 0.8rem;
    }

    .contact-cta h2 {
        font-size: 1.5rem;
    }
}

/* =====================================================
   ACCESSIBILITY & PERFORMANCE OPTIMIZATIONS
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    .additional-item,
    .pricing-btn,
    .cta-button {
        transition: none;
    }
}

/* Focus states for accessibility */
.cta-button:focus,
.pricing-btn:focus {
    outline: 2px solid #2c2c2c;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-item-large {
        border: 2px solid #000;
    }

    .additional-item {
        border: 1px solid #000;
    }

    .pricing-card {
        border: 2px solid #fff;
    }
}

/* Performance optimizations */
.additional-item,
.pricing-card {
    will-change: transform, box-shadow;
}

.pricing-btn,
.cta-button {
    will-change: transform;
}

/* ===== Servicio destacado · Modern 2025 ===== */
.service-featured{
  position: relative;
  border-radius: 22px;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(120deg, rgba(16,185,129,.25), rgba(6,182,212,.25)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 16px 50px rgba(2,6,23,.08);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  overflow: hidden;
  padding: 28px;  /* marco interior */
}
/* Quitar animaciones del servicio destacado */
.service-featured:hover{
    transform: none;
    box-shadow: 0 16px 50px rgba(2,6,23,.08);
    filter: none;
}

.service-row{
  display: grid;
  grid-template-columns: 1.2fr 1fr;  /* imagen grande */
  gap: 36px;
  align-items: center;
}
.service-row.reverse{ grid-template-columns: 1fr 1.2fr; }
@media (max-width: 1024px){ .service-row, .service-row.reverse{ grid-template-columns: 1fr; gap: 22px; } }

/* Media XL */
.service-media-xl{
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}
.service-media-xl img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02);
  transition: transform .35s ease;
}
/* Quitar animación de zoom en imágenes del servicio destacado */
.service-featured:hover .service-media-xl img{ 
    transform: scale(1.02); 
}

/* Copy */
.service-copy h3{
  font-family:'Utendo-Semibold', system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 1.4rem);
  letter-spacing: -.02em; text-transform: uppercase; color:#2c2c2c;
  margin: 0 0 12px;
  padding: 0 20px;
}
.service-copy p{
  font-family:'Poppins', system-ui, sans-serif;
  font-size: 1rem; line-height: 1.9; color:#555; margin: 0 0 14px;
  padding: 0 20px;
}

/* Lista moderna */
.svc-list{ list-style: none; margin: 14px 0 0; padding: 0 20px; }
.svc-list li{
  position: relative; padding-left: 26px; margin: 10px 0; color:#394150;
}
.svc-list li::before{
  content: ""; position: absolute; left: 0; top: .45em;
  width: 14px; height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
}

/* Badge opcional arriba a la izquierda */
.svc-badge{
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  border: 1px solid #e8eef6; border-radius: 999px; padding: 6px 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; color:#0f172a;
}

/* Espaciado entre bloques */
.services-stack{ display: grid; gap: 40px; }
@media (max-width: 768px){
  .service-featured{ padding: 18px; border-radius: 18px; }
}

/* Más espacio interno (arriba/abajo) dentro de cada tarjeta de pricing */
@media (max-width: 768px){
  .pricing-card{
    padding-block: 36px 32px; /* antes 24px 20px */
  }
}
@media (max-width: 480px){
  .pricing-card{
    padding-block: 40px 36px; /* aún más en móviles pequeños */
  }
}

/* Separación extra después de la última tarjeta de pricing */
@media (max-width: 768px){
  .pricing-card:last-child {
    margin-bottom: 40px; /* ajusta el valor a tu gusto */
  }
}