/*
Theme Name: Server-Chile.Net
Theme URI: https://www.server-chile.net
Author: Server Chile Team
Author URI: https://www.server-chile.net
Description: A modern WordPress theme for hosting and domain services.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: hosting, domains, business, modern, responsive
Text Domain: server-chile-net
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #059669;
    --accent-color: #F59E0B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --background-light: #F9FAFB;
    --white: #FFFFFF;
    --background-white: #FFFFFF; /* Agregada para compatibilidad */
    --border-color: #E5E7EB;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:before,
*:after {
    content: none !important;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Responsive base */
@media (max-width: 768px) {
    html, body {
        font-size: 14px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: none !important;
    padding-top: 72px !important; /* Espacio para el header fijo */
}

/* Ajuste para cuando está activa la barra de administración */
body.admin-bar {
    padding-top: 92px !important; /* Header + admin bar */
}

@media screen and (max-width: 782px) {
    body {
        padding-top: 60px !important; /* Header más pequeño en móviles */
    }
    
    body.admin-bar {
        padding-top: 106px !important; /* Header móvil + admin bar móvil */
    }
}

@media screen and (max-width: 480px) {
    body {
        padding-top: 55px !important; /* Header aún más pequeño en pantallas muy pequeñas */
    }
}

/* Typography */

/* WordPress Content Fixes */
.site-content,
#content,
.hfeed,
.site {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Asegurar que el header esté siempre encima de elementos comunes que pueden tener z-index alto */
.wp-block-navigation,
.wp-block-group,
.wp-block-cover,
.overlay,
.modal,
.popup,
.dropdown,
.tooltip,
.lightbox,
.slider,
.carousel {
    z-index: 1000 !important;
}

/* Asegurar que elementos de plugins no interfieran */
.woocommerce-cart-form,
.woocommerce-checkout,
.contact-form,
.ninja-forms-cont,
.gform_wrapper {
    position: relative !important;
    z-index: 1 !important;
}



/* Header and Navigation */
header {
    background: #ffffff !important;
    padding: 1rem 0;
    box-shadow: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    z-index: 9999 !important;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 auto;
  padding: 0 2rem;
  background: transparent;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Asegurar que el header mantenga su estilo cuando hay barra de admin */
body.admin-bar header {
    background: #ffffff !important;
    top: 32px !important;
    z-index: 2147483647 !important;
}

/* Para móviles con barra de admin */
@media screen and (max-width: 782px) {
    body.admin-bar header {
        background: #ffffff !important;
        top: 46px !important;
        z-index: 2147483647 !important;
    }
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-icon:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cart-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.cart-icon svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff5757;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 87, 87, 0.4);
}

.cart-count.empty {
    display: none;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #4f46e5;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-wrapper {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0 !important;
    }
    
    nav {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 1rem;
    }
    
    .logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }
    
    .logo .custom-logo {
        max-height: 110px !important;
        width: auto !important;
    }
    
    .logo a {
        font-size: 2rem !important;
        font-weight: 800 !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        width: 26px;
        height: 22px;
    }
    
    .mobile-menu-toggle span {
        height: 3px;
    }
    
    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        gap: 8px;
        margin-left: 0;
    }
    
    .menu-wrapper {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        display: flex;
        justify-content: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        pointer-events: none;
    }
    
    .menu-wrapper.active {
        pointer-events: auto;
    }
    
    nav ul {
        flex-direction: column;
        width: auto;
        gap: 0;
        align-items: center;
        min-width: 250px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 0.5rem;
    }
    
    .menu-wrapper.active ul {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
        text-align: center;
    }
    
    nav ul li a {
        padding: 0.75rem 1.5rem;
        display: block;
        text-align: center;
        white-space: nowrap;
    }
        width: 100%;
        font-size: 15px;
    }
    
    .cart-icon, .user-icon {
        width: 32px;
        height: 32px;
    }
    
    .cart-icon svg, .user-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -4px;
        right: -4px;
        border-width: 1.5px;
    }
    
    /* Mejoras para submenús en móviles */
    nav ul li ul {
        position: static !important;
        display: none;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        min-width: auto !important;
        background: #f9fafb !important;
        margin-top: 0.5rem !important;
    }
    
    nav ul li.open > ul {
        display: block !important;
    }
    
    nav ul li ul li {
        border-bottom: 1px solid #e5e7eb !important;
    }
    
    nav ul li ul li a {
        padding: 0.75rem 1.5rem !important;
        font-size: 14px !important;
        background: #f9fafb !important;
    }
    
    nav ul li ul::before {
        display: none !important;
    }
}

/* Estilos adicionales para pantallas muy pequeñas */
@media (max-width: 480px) {
    header {
        padding: 0.4rem 0 !important;
    }
    
    nav {
        padding: 0 0.5rem;
    }
    
    .logo .custom-logo {
        max-height: 28px !important;
    }
    
    .logo a {
        font-size: 1rem !important;
    }
    
    .cart-icon, .user-icon {
        width: 30px;
        height: 30px;
    }
    
    .mobile-menu-toggle {
        width: 22px;
        height: 18px;
    }
    
    nav ul li a {
        padding: 0.65rem 0.75rem;
        font-size: 14px;
    }
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4f46e5 !important;
    text-decoration: none;
    letter-spacing: -0.025em;
}

.logo a:hover {
    color: #3730a3 !important;
    transition: var(--transition);
}

.logo .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.logo .custom-logo {
    max-height: 50px;
    width: auto;
    vertical-align: middle;
}

/* Main Menu Styles */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    position: relative;
    display: block;
    text-decoration: none;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: var(--background-light);
}

nav ul li a::after {
    display: none;
    transition: var(--transition-fast);
    transform: translateX(-50%);
    border-radius: 1px;
}

nav ul li a:hover::after {
    width: calc(100% - 2rem);
}

/* Submenu Styles - Desktop */
nav ul li {
    position: relative;
}

nav ul li ul {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px !important;
    padding: 0.75rem 0 !important;
    min-width: 220px !important;
    border: 1px solid #E5E7EB !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
}

nav ul li:hover > ul {
    display: flex !important;
    animation: fadeInUp 0.3s ease-out;
}

nav ul li ul li {
    margin: 0 !important;
    width: 100% !important;
    background: transparent !important;
}

nav ul li ul li a {
    padding: 0.875rem 1.5rem !important;
    color: #1F2937 !important; /* Color de texto oscuro sólido */
    font-weight: 500 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #E5E7EB !important;
    background-color: transparent !important;
    background: transparent !important;
    text-decoration: none !important;
    display: block !important;
    transition: all 0.2s ease !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

nav ul li ul li:last-child a {
    border-bottom: none !important;
}

nav ul li ul li a:hover {
    background-color: #F3F4F6 !important; /* Fondo gris claro al hover */
    background: #F3F4F6 !important;
    color: #4F46E5 !important; /* Color primario al hover */
    padding-left: 2rem !important;
    transform: translateX(4px) !important;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--background-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--background-white);
}

.btn-secondary {
    background: var(--background-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Main Content Styles */
main {
    margin: 0 !important;
    padding: 0 !important;
    min-height: calc(100vh - 160px);
    position: relative !important;
    z-index: 1 !important; /* Asegurar que esté debajo del header */
}

body.admin-bar main {
    margin-top: 0 !important; /* Ya se maneja con padding en body */
}

@media screen and (max-width: 782px) {
    body.admin-bar main {
        margin-top: 0 !important;
    }
}

/* Asegurar que todos los contenedores principales respeten el header */
.site-content,
#content,
.hfeed,
.site {
    position: relative !important;
    z-index: 1 !important;
}

/* Page and Single Post Layout */
.page-main,
.single-main {
    padding: 3rem 0;
    background: var(--background-light);
}

.page-container,
.single-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page Styles */
.page-article,
.single-article {
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.page-header,
.single-header {
    padding: 3rem 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.page-title,
.single-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-excerpt,
.single-excerpt {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 1rem;
}

.page-content,
.single-content {
    padding: 3rem;
    line-height: 1.7;
}

.page-content p,
.single-content p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.page-content h2,
.single-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.875rem;
    color: var(--text-dark);
}

.page-content h3,
.single-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* Single Post Specific Styles */
.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-date {
    display: flex;
    align-items: center;
}

.post-categories a,
.category-link {
    background: var(--background-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    margin-right: 0.5rem;
    transition: var(--transition-fast);
}

.post-categories a:hover,
.category-link:hover {
    background: var(--primary-color);
    color: var(--background-white);
}

.single-featured-image {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.single-footer {
    padding: 2rem 3rem 3rem;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    margin-bottom: 2rem;
}

.tags-label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-right: 1rem;
}

.tag-link {
    background: var(--background-light);
    color: var(--text-medium);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    transition: var(--transition-fast);
}

.tag-link:hover {
    background: var(--secondary-color);
    color: var(--background-white);
}

/* Post Navigation */
.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.nav-previous,
.nav-next {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--background-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.nav-link {
    display: block;
    text-decoration: none;
    color: var(--text-dark);
}

.nav-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-medium);
}

.nav-title {
    display: block;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
}

.nav-next {
    text-align: right;
}

/* Page Links */
.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: var(--background-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.page-links a:hover {
    background: var(--primary-color);
    color: var(--background-white);
}

/* Comments Section */
.page-comments,
.single-comments {
    padding: 3rem;
    border-top: 1px solid var(--border-color);
    background: var(--background-light);
}

/* No Content Message */
.no-content {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.no-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.no-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Footer Styles */
footer {
    background: var(--text-dark);
    color: var(--background-white);
    padding: 3rem 2rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin: 0;
    color: var(--text-light);
}

footer a {
    color: var(--background-white);
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submenú - Estilos adicionales para asegurar visibilidad */
nav ul li ul::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #FFFFFF;
    z-index: 2147483647;
}

/* Asegurar que los submenús no se vean afectados por otros estilos */
nav ul li ul,
nav ul li ul li,
nav ul li ul li a {
    box-sizing: border-box !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Mejoras adicionales para contraste y legibilidad */
nav ul li ul {
    filter: none !important;
    -webkit-filter: none !important;
}

nav ul li ul li a {
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive Design - Mobile First Approach */

/* Small Devices (phones, 576px and down) */
@media (max-width: 576px) {
    .page-container,
    .single-container {
        padding: 0 1rem;
    }
    
    .page-header,
    .single-header,
    .page-content,
    .single-content,
    .single-footer {
        padding: 2rem 1.5rem;
    }
    
    .page-title,
    .single-title {
        font-size: 1.875rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav ul li a {
        padding: 0.5rem;
        text-align: center;
    }
    
    .hero-content {
        padding: 2rem 1rem !important;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Medium Devices (tablets, 768px and down) */
@media (max-width: 768px) {
    header, nav {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    position: fixed !important;
    z-index: 9999 !important;
  }
  .header-row, nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .menu-wrapper {
    flex: 1 1 auto;
    justify-content: center;
  }
  .header-actions {
    justify-content: flex-end;
  }
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        text-align: center;
        width: 100%;
        padding: 0.75rem;
    }
    
    .page-title,
    .single-title {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 2rem 1rem !important;
        min-height: 50vh !important;
    }
    
    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .products-section {
        padding: 2rem 0 !important;
    }
    
    .products-section-wrapper {
        padding: 0 1rem !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    .image-text-section {
        padding: 2rem 0 !important;
    }
    
    .image-text-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .image-text-content .image-content {
        order: 2 !important;
        margin: 1rem -1rem 0 -1rem !important;
        width: calc(100% + 2rem) !important;
    }
    
    .image-text-content .text-content {
        order: 1 !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .image-text-content.layout-image-left .image-content,
    .image-text-content.layout-image-right .image-content {
        order: 2 !important;
        margin: 1rem -1rem 0 -1rem !important;
        width: calc(100% + 2rem) !important;
    }
    
    .image-text-content.layout-image-left .text-content,
    .image-text-content.layout-image-right .text-content {
        order: 1 !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .text-content .section-title {
        text-align: center !important;
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .section-text {
        font-size: 0.95rem !important;
        text-align: center !important;
    }
    
    .features-list {
        align-items: stretch !important;
        gap: 1.25rem !important;
    }
    
    .feature-item {
        display: flex !important;
        flex-direction: row !important;
        text-align: left !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
        flex-shrink: 0 !important;
    }
    
    .feature-text {
        text-align: left !important;
        flex: 1 !important;
    }
    
    .feature-text h4 {
        font-size: 1.125rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .feature-text p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    .section-image {
        border-radius: 12px !important;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .page-container,
    .single-container {
        max-width: 900px;
    }
    
    .page-header,
    .single-header {
        padding: 4rem 4rem 3rem;
    }
    
    .page-content,
    .single-content {
        padding: 4rem;
    }
    
    .single-footer {
        padding: 3rem 4rem 4rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .page-container,
    .single-container {
        max-width: 1000px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .hero-section,
    .post-navigation,
    .single-comments,
    .page-comments {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .page-main,
    .single-main {
        margin-top: 0;
        padding: 0;
    }
    
    .page-article,
    .single-article {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ============= HOMEPAGE SECTIONS STYLES ============= */

/* Front Page Layout Override */
.front-page main {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    margin-top: 0 !important; /* Ya se maneja con padding en body */
}

body.admin-bar .front-page main {
    margin-top: 0 !important; /* Ya se maneja con padding en body */
}

@media screen and (max-width: 782px) {
    body.admin-bar .front-page main {
        margin-top: 0 !important; /* Ya se maneja con padding en body */
    }
}

/* Homepage Sections Full Width */
.front-page section {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    overflow-x: hidden;
}

/* Hero Slider Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    color: var(--background-white);
    overflow: hidden;
    margin-top: 0;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
    }
}

.hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
    isolation: isolate;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slider.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(30, 30, 50, 0.75) 50%, rgba(0, 0, 0, 0.60) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1rem;
        min-height: 50vh;
    }
}

.hero-content h1 {
    color: var(--background-white) !important;
    font-size: 3.5rem !important;
    font-weight: var(--font-weight-bold) !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
}

.hero-subtitle {
    font-size: 1.35rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.98) !important;
    margin-bottom: 2.5rem !important;
    max-width: 600px;
    font-weight: 400 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    justify-content: center;
    flex-wrap: wrap;
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
    pointer-events: auto;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.slider-dot.active {
    background: var(--background-white);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Controles de navegación del slider (flechas) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0.8;
    visibility: visible;
    pointer-events: auto;
}

.hero-slider-container:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow-prev {
    left: 30px;
}

.slider-arrow-next {
    right: 30px;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
}

/* Eliminar cualquier otro elemento de navegación en el slider */
.hero-slider-container .swiper-button-next,
.hero-slider-container .swiper-button-prev,
.hero-slider-container .owl-next,
.hero-slider-container .owl-prev,
.hero-slider-container .slick-next,
.hero-slider-container .slick-prev {
    display: none !important;
    visibility: hidden !important;
}

/* Responsive - ajustar flechas en móviles */
@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        opacity: 0.8;
        visibility: visible;
    }
    
    .slider-arrow-prev {
        left: 15px;
    }
    
    .slider-arrow-next {
        right: 15px;
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* Products Section */
.products-section {
    padding: 2rem 0 5rem 0;
    background: var(--background-light);
    width: 80% !important;
    max-width: 80% !important;
    margin: 0 auto !important;
}

.products-section-wrapper {
    width: 100%;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 30px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Products Grid */
.products-grid, .servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 1200px) {
  .products-grid, .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card, .servicio-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
  border: 1px solid #f0f0f5;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 768px) {
    .product-card, .servicio-card {
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(79, 70, 229, 0.08);
    }
}

.product-card:hover, .servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
  border-color: rgba(79, 70, 229, 0.2);
}

.product-card.destacado, .servicio-card.destacado {
  border: 2px solid #F59E0B;
}

.destacado-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-image, .servicio-card .product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 16px 16px 0 0;
}

@media (max-width: 768px) {
    .product-image, .servicio-card .product-image {
        padding: 0;
        background: #fff;
        border-radius: 12px 12px 0 0;
    }
}

.product-image a, .servicio-card .product-image a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img, .servicio-card .product-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease;
  display: block !important;
  margin: 0 !important;
}

.product-card:hover .product-image img, .servicio-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 !important;
    margin: 0;
    border-radius: 16px 16px 0 0;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .product-image {
        width: 100%;
        height: 200px;
        padding: 0 !important;
        margin: 0;
        background: #fff;
        border-radius: 12px 12px 0 0;
    }
    
    .product-image a {
        display: block;
        width: 100%;
        height: 100%;
    }
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    display: block !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .product-image img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
    }
}

.product-card:hover .product-image img,
.servicio-card:hover .product-image img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--background-white);
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
}

.placeholder-image .icon-server {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.product-content, .servicio-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
    min-height: 380px;
}

@media (max-width: 768px) {
    .product-content, .servicio-content {
        padding: 1.25rem;
        min-height: 350px;
    }
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.4;
    min-height: 3.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.125rem;
        min-height: 3rem;
    }
}

.product-price, .servicio-precio {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0.5rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.precio-desde {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
}

.precio-periodo {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.product-excerpt {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

/* Image and Text Section */
.image-text-section {
    padding: 2rem 0 5rem 0;
    background: var(--background-white);
}

@media (max-width: 768px) {
    .image-text-section {
        padding: 2rem 0 3rem 0;
    }
}

.image-text-section-wrapper {
    width: 100%;
}

.image-text-content {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
}

@media (max-width: 768px) {
    .image-text-content {
        max-width: 100% !important;
        padding: 0 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        gap: 2rem !important;
    }
    
    .image-text-content .image-content,
    .image-text-content.layout-image-left .image-content,
    .image-text-content.layout-image-right .image-content {
        order: 2 !important;
        margin: 1rem -1rem 0 -1rem !important;
        width: calc(100% + 2rem) !important;
    }
    
    .image-text-content .text-content,
    .image-text-content.layout-image-left .text-content,
    .image-text-content.layout-image-right .text-content {
        order: 1 !important;
        text-align: center !important;
    }
    
    .text-content .section-title {
        text-align: center !important;
        font-size: 1.5rem !important;
    }
    
    .section-text {
        font-size: 1rem !important;
        text-align: center !important;
    }
    
    .section-image {
        border-radius: 12px !important;
    }
}

/* Layout por defecto: texto a la izquierda, imagen a la derecha */
.image-text-content .text-content,
.image-text-content.layout-image-right .text-content {
    order: 1 !important;
    grid-column: 1 !important;
}

.image-text-content .image-content,
.image-text-content.layout-image-right .image-content {
    order: 2 !important;
    grid-column: 2 !important;
}

/* Layout alternativo: imagen a la izquierda */
.image-text-content.layout-image-left {
    grid-template-columns: 1fr 1.2fr !important;
}

.image-text-content.layout-image-left .image-content {
    order: 1 !important;
    grid-column: 1 !important;
}

.image-text-content.layout-image-left .text-content {
    order: 2 !important;
    grid-column: 2 !important;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .text-content .section-title {
        text-align: center !important;
        font-size: 1.625rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.25 !important;
    }
}

.section-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .section-text {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin-bottom: 1.25rem !important;
    }
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .features-list {
        gap: 1.25rem !important;
        margin-top: 1.25rem !important;
    }
}

.feature-item {
    display: grid !important;
    grid-template-columns: 60px 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 1rem !important;
    align-items: center !important;
}

@media (max-width: 768px) {
    .feature-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1rem !important;
        background: #f8f9fa !important;
        border-radius: 12px !important;
        transition: all 0.3s ease !important;
    }
    
    .feature-item:active {
        transform: scale(0.98) !important;
        background: #f0f1f5 !important;
    }
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0;
    grid-column: 1 !important;
    grid-row: 1 !important;
}

@media (max-width: 768px) {
    .feature-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.375rem !important;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25) !important;
    }
}

.feature-text {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    display: flex !important;
    flex-direction: column !important;
}

@media (max-width: 768px) {
    .feature-text {
        flex: 1 !important;
    }
}

.feature-text h4 {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .feature-text h4 {
        font-size: 1.15rem !important;
        margin: 0 0 0.375rem 0 !important;
        line-height: 1.25 !important;
    }
}

.feature-text p {
    color: var(--text-medium) !important;
    font-size: 1rem !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    display: block !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .feature-text p {
        font-size: 0.9375rem !important;
        line-height: 1.5 !important;
        color: #6B7280 !important;
    }
}

.image-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .image-content {
        padding: 0 !important;
    }
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 20px !important;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .section-image {
        border-radius: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
    }
}

.server-illustration {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
}

.server-rack {
    width: 80%;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.server-rack::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary-color);
}

/* Additional Button Styles */
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* No Products Message */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

/* ========== FIX: CONTAINERS RESPONSIVE SOLO EN MÓVILES ========== */
.container, .page-container, .single-container, .servicio-hero .container, .servicio-content-wrapper .container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 1200px) {
  .container, .page-container, .single-container, .servicio-hero .container, .servicio-content-wrapper .container {
    width: 100%;
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (max-width: 768px) {
  .container, .page-container, .single-container, .servicio-hero .container, .servicio-content-wrapper .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
img, video, iframe {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
table {
  width: 100% !important;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}
form, input, select, textarea, button {
  max-width: 100vw !important;
  box-sizing: border-box;
}

/* ========== FIX: GRID Y LAYOUT DESKTOP Y MÓVIL ========== */
.category-content, .servicio-content-wrapper .container, .posts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.servicio-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1024px) {
  .category-content, .servicio-content-wrapper .container, .posts-grid, .servicio-hero .container {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    display: block !important;
  }
}

/* ========== FIX: ESTILOS VISUALES Y MENÚ HORIZONTAL ========== */
.category-content, .servicio-content-wrapper .container, .posts-grid {
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}
.post-card, .servicio-card {
  background: #fff !important;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(60,60,100,0.08);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 900px) {
  nav {
    padding: 0 0.5rem;
  }
}
@media (max-width: 768px) {
  nav, .header-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .menu-wrapper {
    flex: 1 1 auto;
    justify-content: center;
  }
  .header-actions {
    justify-content: flex-end;
    margin-left: 0;
  }
}

/* ========== CONTRASTE Y ESTILOS VISUALES ========== */
body, .category-content, .servicio-content-wrapper .container, .servicio-hero .container {
  background: #f5f6fa !important;
}
.post-card, .servicio-card {
  background: #fff !important;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(60,60,100,0.08);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
}
.servicio-sidebar {
  background: #fff !important;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(60,60,100,0.08);
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}
.servicio-hero .container {
  background: #fff !important;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(60,60,100,0.08);
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

/* ========== BOTONES SIEMPRE A LA DERECHA ========== */
.header-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}
.menu-wrapper {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex: 0 0 auto;
}
@media (max-width: 1024px) {
  .header-actions {
    justify-content: flex-end;
  }
}
@media (max-width: 768px) {
  .header-row, nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .header-actions {
    justify-content: flex-end;
  }
}

/* ========== GRID DE SERVICIOS CORREGIDO ========== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.post-card, .servicio-card {
  background: #fff !important;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(60,60,100,0.08);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.post-thumbnail img, .servicio-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ========== CENTRAR MENÚ DE TEXTO ========== */
.menu-wrapper {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-menu {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 2rem;
}
.main-menu li {
  display: inline-block;
}
@media (max-width: 900px) {
  .main-menu {
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .main-menu {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
  }
}

/* ========== GRID DE SERVICIOS REPARADO ========== */
.posts-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .posts-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}
.post-card, .servicio-card {
  background: #fff !important;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(60,60,100,0.08);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.post-thumbnail img, .servicio-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ========== FONDO BLANCO DEL MENÚ EN MÓVILES ========== */
@media (max-width: 900px) {
  header, nav {
    background: #fff !important;
    box-shadow: 0 2px 12px rgba(60,60,100,0.08);
  }
}

/* ========== PÁGINA ARCHIVO DE SERVICIOS (/servicios/) ========== */

/* Hero de archivo */
.archive-servicio {
    background: #f5f6fa;
    min-height: 100vh;
}

.archive-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0 3rem;
    color: white;
    text-align: center;
}

.archive-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: white;
}

.archive-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

/* Contenido de archivo */
.archive-content {
    padding: 3rem 0;
}

/* Grid de servicios en archivo */
.servicios-grid-archive {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Tarjeta de servicio en archivo */
.servicio-card-archive {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    border: 1px solid #f0f0f5;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servicio-card-archive:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
}

.servicio-card-archive.destacado {
    border: 2px solid #F59E0B;
}

/* Imagen de tarjeta en archivo */
.servicio-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 16px 16px 0 0;
}

@media (max-width: 768px) {
    .servicio-card-image {
        padding: 0;
        background: #fff;
        border-radius: 12px 12px 0 0;
    }
}

.servicio-card-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicio-card-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
    display: block !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .servicio-card-image img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
    }
}

.servicio-card-archive:hover .servicio-card-image img {
    transform: scale(1.05);
}

/* Contenido de tarjeta en archivo */
.servicio-card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.servicio-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.servicio-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.servicio-card-title a:hover {
    color: var(--primary-color);
}

.servicio-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Specs mini en archive */
.servicio-specs-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.75rem 0;
    margin: 0.5rem 0;
    border-top: 1px solid #f0f0f5;
    border-bottom: 1px solid #f0f0f5;
}

.spec-mini {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Acciones de tarjeta en archive */
.servicio-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.servicio-card-actions .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.servicio-card-actions .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.servicio-card-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.servicio-card-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.servicio-card-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* No servicios encontrados */
.no-servicios-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
}

.no-servicios-found h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-servicios-found p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Paginación */
.pagination-wrapper {
    margin-top: 3rem;
}

.pagination-wrapper .navigation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination-wrapper .page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers .current {
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination-wrapper .page-numbers a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-wrapper .page-numbers .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive para archive */
@media (max-width: 1200px) {
    .servicios-grid-archive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .archive-title {
        font-size: 2rem;
    }
    
    .archive-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .servicios-grid-archive {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .servicio-card-content {
        padding: 1.5rem;
    }
    
    .servicio-specs-mini {
        grid-template-columns: 1fr;
    }
    
    .spec-mini {
        text-align: center;
        justify-content: center;
    }
}

/* Estilos para especificaciones de servicios */
.servicio-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    margin: 0.75rem 0;
    border-top: 1px solid #f0f0f5;
    border-bottom: 1px solid #f0f0f5;
    flex: 0 0 auto;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.spec-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-label {
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

/* Estilos para botones de acción */
.servicio-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    flex-shrink: 0;
}

.servicio-actions .btn {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.servicio-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.servicio-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
@media (max-width: 1200px) {
  .home-servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 700px) {
  .home-servicios-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .home-servicio-card img {
    height: 90px;
  }
}

/* ========== ESTILOS DE LA PÁGINA /servicios/ ========== */
.posts-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .posts-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}
.post-card, .servicio-card {
  background: #fff !important;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(60,60,100,0.07);
  padding: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.post-thumbnail img, .servicio-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 0.7rem;
}
/* ========== ESTILOS PARA SINGLE SERVICIO ========== */

/* Single Servicio Container */
.single-servicio {
    background: #f5f6fa;
    min-height: 100vh;
}

/* Hero del Servicio */
.servicio-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
}

.servicio-hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 2rem !important;
}

.servicio-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.servicio-categoria-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.servicio-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: white;
}

.servicio-excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.servicio-precio-destacado {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.servicio-precio-destacado .precio-monto {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.servicio-precio-destacado .precio-periodo {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.servicio-hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.servicio-hero-actions .btn-lg {
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
}

.servicio-hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.servicio-hero-actions .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.servicio-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 24px;
}

.servicio-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Contenido del Servicio */
.servicio-content-wrapper {
    padding: 4rem 0;
}

.servicio-content-wrapper .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 2rem !important;
}

.servicio-main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Secciones del servicio */
.servicio-description,
.servicio-caracteristicas,
.servicio-extras,
.servicio-cta {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    border: 1px solid #f0f0f5;
}

.servicio-description h2,
.servicio-caracteristicas h2,
.servicio-extras h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.servicio-description .content {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.0625rem;
}

.servicio-description .content p {
    margin-bottom: 1.25rem;
}

/* Características Grid */
.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.caracteristica-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.caracteristica-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.2);
}

.caracteristica-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.caracteristica-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.caracteristica-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Extras List */
.extras-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.extras-list li {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    border-left: 4px solid var(--secondary-color);
}

/* Call to Action */
.servicio-cta {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid var(--primary-color);
}

.cta-box {
    text-align: center;
    padding: 2rem;
}

.cta-box h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    border: none;
    padding: 0;
}

.cta-box p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 0 0 2rem 0;
}

.cta-precio {
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}

.cta-precio .precio-monto {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

/* Sidebar */
.servicio-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    width: 100%;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    border: 1px solid #f0f0f5;
    width: 100%;
    margin: 0;
}

/* Widget de streaming sin bordes */
.streaming-widget-container .sidebar-widget,
.streaming-widget-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.streaming-widget-container .sidebar-widget h3,
.streaming-widget-container h3 {
    background: transparent;
}

.related-servicio {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 1rem;
}

.related-servicio:hover {
    background: white;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.1);
    transform: translateX(4px);
}

.related-servicio-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.related-servicio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-servicio-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.related-servicio-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.related-servicio-precio {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Single Servicio */
@media (max-width: 1024px) {
    .servicio-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .servicio-hero-image {
        order: -1;
    }
    
    .servicio-content-wrapper .container {
        grid-template-columns: 1fr;
    }
    
    .servicio-sidebar {
        position: relative;
        top: 0;
    }
    
    .caracteristicas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .servicio-title {
        font-size: 2rem;
    }
    
    .servicio-excerpt {
        font-size: 1.125rem;
    }
    
    .servicio-hero-actions {
        flex-direction: column;
    }
    
    .servicio-hero-actions .btn-lg {
        width: 100%;
    }
    
    .servicio-description,
    .servicio-caracteristicas,
    .servicio-extras,
    .servicio-cta {
        padding: 2rem 1.5rem;
    }
    
    .extras-list {
        grid-template-columns: 1fr;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
    
    .cta-precio .precio-monto {
        font-size: 2.5rem;
    }
}