/* ===== RABBIT SOLUTIONS - MODERN CSS FRAMEWORK ===== */
/* Layout amplio y sofisticado con contenido original */

/* ===== CSS VARIABLES ===== */
:root {
    /* Brand Colors - Rabbit Redesigned */
    --primary: #2E7D32;
    --primary-light: #43A047;
    --primary-dark: #1B5E20;
    --primary-soft: rgba(46, 125, 50, 0.05);

    /* UI Accent Colors */
    --accent: #101010;
    --accent-soft: rgba(16, 16, 16, 0.05);

    /* Neutrals - Apple Style */
    --text-main: #1D1D1F;
    --text-secondary: #424245;
    --text-tertiary: #86868B;
    --text-white: #FFFFFF;

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-soft: #FAFAFA;
    --bg-glass: rgba(255, 255, 255, 0.75);

    /* Surfaces */
    --surface: #FFFFFF;
    --surface-edge: rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --container-max-width: 1280px;
    --section-gap: 100px;
    --section-gap-mobile: 60px;

    /* Effects & Border */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;

    /* Shadows - Ultra Soft */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.08);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    --gradient-text: linear-gradient(135deg, #1D1D1F 0%, #424245 100%);
    --gradient-accent: linear-gradient(135deg, #2E7D32 0%, #43A047 100%);

    /* Glassmorphism Refined - Ultra Premium */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-dark: rgba(0, 0, 0, 0.25);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(24px);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    --glass-glow: 0 0 20px rgba(46, 125, 50, 0.15);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    font-weight: 300 !important;
    /* Light like the logo */
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    line-height: 1.2;
    margin: 0;
    color: var(--text-main);
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-main);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT AMPLIO ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100% !important;
    /* Override Materialize */
}

.container-fluid {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 768px) {

    .container {
        padding: 0 32px;
    }

    .container-fluid {
        padding: 0 40px;
    }
}

/* ===== NAVEGACIÓN PREMIUM (Apple Style) ===== */
.navbar-fixed nav {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none !important;
    border-bottom: 1px solid var(--surface-edge);
    line-height: 72px !important;
    transition: var(--transition);
    z-index: 1000;
    height: 64px;
}

.navbar-fixed nav.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-sm) !important;
}

.nav-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    height: 100% !important;
}

.nav-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 16px;
    padding-right: 16px;
}

.brand-logo {
    display: flex !important;
    align-items: center;
    height: 100%;
    text-decoration: none;
    position: static !important;
    transform: none !important;
    gap: 8px;
}

.logo-img {
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    max-height: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    list-style: none;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0 4px !important;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link:hover {
    opacity: 1;
    color: var(--primary) !important;
    background: transparent !important;
}

.sidenav-trigger i {
    color: var(--primary) !important;
    font-size: 2rem !important;
}

/* ===== SIDENAV MOBILE ===== */
.sidenav {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 300px !important;
    padding-top: 64px;
    border-left: 1px solid var(--surface-edge);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05) !important;
}

@media (min-width: 993px) {
    .sidenav {
        display: none !important;
    }
}


.sidenav .close-menu-item {
    position: absolute;
    top: 8px;
    right: 8px;
    margin-bottom: 0;
}

.sidenav .close-menu-item a {
    color: var(--text-tertiary) !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.sidenav li {
    margin-bottom: 8px;
}

.sidenav li a {
    color: var(--text-main) !important;
    font-size: 1.1rem !important;
    font-weight: 500;
    padding: 0 32px !important;
    height: 56px !important;
    line-height: 56px !important;
}

.sidenav li a:hover {
    background: var(--primary-soft) !important;
    color: var(--primary) !important;
}

.sidenav .btn-primary {
    margin: 20px 32px;
    width: calc(100% - 64px);
    max-width: none;
    color: var(--text-white) !important;
}


/* ===== GLASSMORPHISM UTILITIES ===== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.glass-panel::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.glass-panel-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: var(--glass-glow), 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Glass Backgrounds */
.glass-bg-main {
    background: radial-gradient(circle at top right, rgba(46, 125, 50, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(46, 125, 50, 0.03), transparent 30%),
        var(--bg-white);
    position: relative;
}

.glass-bg-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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='%232e7d32' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.glass-bg-dark {
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.glass-bg-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(46, 125, 50, 0.08), transparent 50%);
    pointer-events: none;
}

/* ===== BOTONES PREMIUM ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: none;
    width: 100%;
    max-width: 300px;
    justify-content: center;
    height: auto !important;
    line-height: 1.4 !important;
    white-space: normal;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white) !important;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
}

.btn-nav {
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 20px !important;
    font-size: 0.9rem !important;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--surface-edge);
}

.btn-outline:hover {
    background: var(--bg-soft);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-green {
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--primary);
}

.btn-outline-green:hover {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    transform: translateY(-2px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.slide-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== PREMIUM SERVICES CAROUSEL (Top Section) ===== */
#navbar {
    height: 72px;
    display: block;
    position: relative;
    z-index: 2000;
}

/* ===== MULTI-ITEM PREMIUM CAROUSEL OVERHAUL ===== */
:root {
    --rabbit-green: #2e7d32;
    --rabbit-green-light: #4caf50;
    --rabbit-green-soft: rgba(46, 125, 50, 0.05);
    --rabbit-glow: 0 0 40px rgba(46, 125, 50, 0.2);
    --premium-white: #ffffff;
    --premium-gray: #f8fafc;
    --premium-text: #0f172a;
    --premium-text-muted: #64748b;
    --radius-premium: 32px;
    --section-padding: var(--section-padding-mobile);
}

.services-carousel-section {
    width: 100vw;
    background: var(--premium-white);
    position: relative;
    overflow: hidden;
    z-index: 10;
    padding: 60px 0;
    height: 80vh;
}

.carousel-viewport {
    width: 100%;
    margin: 0 auto;
    overflow: visible;
    padding: 0;
    /* Shows partial slides on sides */
}

@media (min-width: 993px) {
    .carousel-viewport {
        padding: 0 10%;
    }
}

.carousel-container {
    display: flex;
    gap: 30px;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.carousel-slide {
    flex: 0 0 100%;
    /* Mobile full width */
    position: relative;
    border-radius: 0;
    /* Remove rounding */
    overflow: hidden;
    height: 520px;
    /* Slightly taller for larger width */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(100%);
    opacity: 0.6;
}

.carousel-slide.active {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.slide-visual-container {
    width: 100%;
    height: 100%;
}

.slide-visual-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text Overlay with Structured Sections */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    padding: 30px;
    z-index: 5;
    transition: all 0.5s ease;
}

.slide-header {
    margin-bottom: auto;
    /* Pushes content down but keeps header at top */
}

.slide-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.slide-footer {
    margin-top: auto;
}

.slide-badge {
    color: var(--primary);
    /* White badge */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    opacity: 0.9;
    border-left: 3px solid var(--rabbit-green-light);
    padding-left: 10px;
}

.slide-title {
    font-family: var(--font-heading);
    font-weight: 300 !important;
    line-height: 1.2;
    color: #fff !important;
    margin-bottom: 12px;
    letter-spacing: 0.15em;
    font-size: 1.5rem;
}

.carousel-slide:not(.active) .slide-title {
    color: #e2e8f0 !important;
}

.slide-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    max-width: 90%;
    margin: 0 auto 30px;
}

.carousel-slide:not(.active) .slide-text {
    color: #94a3b8;
}

/* Updated Button Style */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #fff !important;
    border: 2px solid var(--rabbit-green) !important;
    color: var(--rabbit-green) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-premium:hover {
    background: var(--rabbit-green) !important;
    color: #fff !important;
    transform: translateY(-3px);
}

.carousel-slide:not(.active) .btn-premium {
    opacity: 0.4;
    pointer-events: none;
}

/* Modern Pagination */
.carousel-pagination {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

.pagination-dots {
    display: flex;
    gap: 16px;
    align-items: center;
}

.p-dot {
    width: 10px;
    height: 10px;
    background: #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.p-dot.active {
    width: 40px;
    border-radius: 10px;
    background: var(--rabbit-green);
}

/* ===== DYNAMIC SOLUTIONS DASHBOARD (Premium Fix) ===== */
.solutions-dashboard {
    padding: 120px 0;
    background: var(--premium-gray);
}

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

@media (min-width: 993px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.solution-item {
    background: #fff;
    padding: 0;
    border: 1px solid #f1f5f9;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sol-header {
    padding: 24px 40px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--premium-text-muted);
    letter-spacing: 2px;
    border-bottom: 1px solid #f1f5f9;
}

.sol-body {
    padding: 40px;
    flex-grow: 1;
}

.sol-body h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300 !important;
    margin-bottom: 16px;
    color: var(--premium-text);
}

.sol-body p {
    font-size: 1.1rem;
    color: var(--premium-text-muted);
    margin-bottom: 32px;
}

.sol-image-container {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.sol-image-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sol-footer {
    padding: 32px 40px;
    background: #fcfcfc;
}

.sol-link {
    font-weight: 700;
    color: var(--premium-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.solution-item:hover {
    filter: grayscale(0%);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08), var(--rabbit-glow);
    border-color: rgba(46, 125, 50, 0.2);
}

.solution-item:hover .sol-link {
    color: var(--rabbit-green);
}

/* ===== PILLAR CARDS (Premium Fix) ===== */
.pilares-section {
    padding: 120px 0;
}

.pilar-card {
    background: #fff;
    border-radius: var(--radius-premium);
    border: 1px solid #f1f5f9;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.5s ease;
    height: 100%;
}

.pilar-visual {
    height: 250px;
    background: #fff;
    padding: 30px;
}

.pilar-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pilar-body {
    padding: 40px;
}

.pilar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pilar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(46, 125, 50, 0.1);
    border-color: rgba(46, 125, 50, 0.2);
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--surface-edge);
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ===== HERO SECTION PRINCIPAL ===== */
.hero-section {
    min-height: auto;
    /* Removed fixed minimum height */
    display: flex;
    align-items: center;
    background: var(--bg-white);
    padding-top: 40px;
    padding-bottom: 40px;
    /* Some bottom padding for balance */
    position: relative;
    overflow: hidden;
    margin-top: -10px;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    align-items: center;
    position: relative;
    z-index: 2;
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 3.8rem);
    font-weight: 300 !important;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    font-family: var(--font-heading);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-visual {
    position: relative;
    z-index: 1;
    margin-top: 40px;
    order: -1;
}

.hero-image-container {
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--surface-edge);
}

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

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
}

.floating-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: floatCard 4s ease-in-out infinite;
    border: 1px solid var(--surface-edge);
    position: static;
    margin-bottom: 16px;
}

.card-1 {
    top: 15%;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: -3px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 1%;
    left: 0;
    animation-delay: 4s;
}

.floating-card i {
    color: var(--primary);
    font-size: 1.1rem;
}

.floating-card span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== HERO SUBPÁGINAS ===== */
.hero-section.subpage {
    min-height: 350px;
    height: auto !important;
    padding: 160px 0 80px;
    background: var(--bg-soft);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section.subpage .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section.subpage .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.25);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--surface-edge);
}

.btn-outline:hover {
    background: var(--accent-soft);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--text-main);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-service {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 22px;
}

.btn-service:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}


/* ===== SECCIONES CON FONDOS SOFISTICADOS ===== */
section {
    position: relative;
    padding: var(--section-gap) 0;
}

.services-section {
    background: var(--bg-white);
}

.tech-section {
    background: darkgreen;
    color: var(--text-main);
    border-top: 1px solid var(--surface-edge);
    border-bottom: 1px solid var(--surface-edge);
}

.tech-background,
.tech-overlay {
    display: none;
}


.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(46, 125, 50, 0.2) 0%, transparent 70%);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%);
    background-size: 60px 60px;
}

/* ===== HEADERS DE SECCIÓN ===== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
}

.section-badge.light {
    color: var(--primary);
    border-bottom-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300 !important;
    color: var(--text-main);
    margin-top: 10px;
    font-family: var(--font-heading);
}

.section-title.light {
    color: var(--primary);
}

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

.section-description.light {
    color: rgba(255, 255, 255, 0.8);
}


/* ===== SERVICIOS CON LAYOUT AMPLIO ===== */
.service-row {
    display: grid;
    align-items: start;
    position: relative;
    z-index: 2;
    text-align: center;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.service-visual {
    align-self: start;
    margin-left: 0;
    order: -1;
}

.service-row.reverse {
    direction: ltr;
}

.service-row.reverse>* {
    direction: ltr;
}

.service-info {
    max-width: none;
}

.service-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-row h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 300 !important;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.service-row p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.service-mockup {
    position: relative;
    padding: 20px;
}

.mockup-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--bg-soft);
}

.mockup-container:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}


.mockup-container img {
    width: 100%;
    height: auto;
    display: block;
}

.geometric-accent {
    display: none;
    /* Removed chunky shapes */
    width: 60px;
    height: 60px;
}


/* ===== TECNOLOGÍAS ===== */
.tech-grid {
    display: grid;
    position: relative;
    z-index: 2;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-category {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-edge);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tech-category h4 {
    color: var(--text-main);
    font-size: 1.3rem;
    margin-bottom: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
}


.tech-items {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.tech-item:hover {
    background: var(--primary-soft);
    transform: translateX(4px);
}

.tech-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

.tech-item span {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}


.tech-cta {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

/* ===== CASOS DE ÉXITO ===== */
.success-grid {
    display: grid;
    position: relative;
    z-index: 2;
    grid-template-columns: 1fr;
    gap: 30px;
}

.success-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--surface-edge);
}

.success-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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


.success-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.success-metrics {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    justify-content: center;
}

.metric {
    text-align: left;
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}


.success-industry {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== PREMIUM PARALLAX CTA ===== */
.cta-section {
    position: relative;
    padding: 140px 0;
    background-image: url('../images/cloud-computing.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 73, 31, 0.85) 0%, rgba(13, 13, 13, 0.9) 100%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.cta-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.cta-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300 !important;
    color: #fff;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: center;
}

.cta-contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--primary-green-light);
}

/* ===== SECTION & CARD REFINEMENTS ===== */
.section-padding {
    padding: var(--section-gap) 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.tech-card {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-base);
    height: 100%;
    text-align: center;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.tech-logo {
    height: 60px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-logo img {
    max-height: 100%;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-base);
}

.tech-card:hover .tech-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.feature-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--bg-soft);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.h4-premium {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
}

.p-premium {
    line-height: 1.7;
    color: var(--text-secondary);
}


/* ===== FOOTER ===== */
.footer-section {
    background: var(--bg-soft);
    color: var(--text-main);
    padding: 80px 0 40px;
    border-top: 1px solid var(--surface-edge);
}


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

.footer-main {
    display: grid;
    margin-bottom: 60px;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.footer-brand h3 {
    color: var(--text-main);
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 400 !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}


.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 0.95rem;
}


.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

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


.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-column h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 500 !important;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}


.footer-column i {
    color: var(--primary);
    margin-right: 10px;
    width: 16px;
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--surface-edge);
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
    text-align: center;
}


.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}


/* ===== RESPONSIVE DESIGN ===== */

/* ===== ANIMACIONES Y EFECTOS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== UTILIDADES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 40px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mt-5 {
    margin-top: 40px;
}

/* ===== ESTADOS DE CARGA ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESIBILIDAD ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== FOCUS STATES ===== */
.btn:focus,
a:focus {
    outline: 3px solid var(--primary-green-soft);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {

    .navbar-fixed,
    .btn,
    .social-links,
    .geometric-shape,
    .geometric-accent,
    .floating-elements {
        display: none !important;
    }

    .hero-section,
    .tech-section,
    .cta-section {
        background: white !important;
        color: black !important;
    }

    .section-title,
    .hero-title {
        color: black !important;
    }
}

/* ===== PREMIUM SERVICE CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 60px auto 0;
    max-width: 100%;
}

.service-card-premium {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--surface-edge);
}

.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}

.service-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-soft);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card-premium:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ===== LIGHT PREMIUM PILARES (Glassmorphic Overhaul) ===== */
.pilares-section {
    padding: 100px 0;
    background: #fff;
}

.pilar-card {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.pilar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
}

.pilar-overlay {
    position: relative;
    z-index: 2;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.05);
    /* Glass base */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.pilar-card:hover .pilar-overlay {
    background: rgba(0, 0, 0, 0.55);
    /* Slightly more vivid tint */
    border-color: rgba(46, 125, 50, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(46, 125, 50, 0.25);
    /* Stronger shadow + glow */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.pilar-card:hover {
    transform: translateY(-10px);
}

.pilar-body {
    margin-bottom: 20px;
}

.pilar-title {
    font-size: 1.4rem;
    font-weight: 300 !important;
    /* Brand Identity */
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.pilar-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

.pilar-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pilar-link {
    color: var(--rabbit-green-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.pilar-card:hover .pilar-link {
    opacity: 1;
    transform: translateX(0);
}

.service-card-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--bg-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

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

.service-card-body h4 {
    font-size: 1.3rem;
    font-weight: 400 !important;
    margin-bottom: 16px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-card-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-feature-list {
    margin: 0 0 24px 0;
    padding: 0;
    list-style: none;
}

.service-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

.service-feature-list li i {
    color: var(--primary-green);
    font-size: 0.8rem;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--surface-edge);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-card-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-card-link:hover {
    gap: 12px;
    color: var(--secondary);
}

/* ===== COMPARISON & PROCESS REFINEMENT ===== */
.comparison-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--surface-edge);
    height: 100%;
    transition: var(--transition);
}

.comparison-card.rabbit-way {
    background: var(--bg-soft);
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-sm);
}

.comparison-card h4 {
    font-size: 1.1rem;
    font-weight: 500 !important;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-badge {
    display: inline-flex;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.comparison-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.process-timeline {
    position: relative;
    padding: 40px 0;
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: -30px;
    width: 2px;
    background: var(--surface-edge);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 15px var(--primary-soft);
}

.step-content {
    background: var(--bg-white);
    padding: 24px 32px;
    border-radius: 16px;
    border: 1px solid var(--surface-edge);
    flex-grow: 1;
    transition: var(--transition);
}

.process-step:hover .step-content {
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-sm);
}

.step-content h5 {
    font-size: 1rem;
    font-weight: 600 !important;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== UTILITIES & LAYOUT REFINEMENTS ===== */
.section-padding {
    padding: var(--section-gap-mobile) 0;
}

.comparison-grid {
    display: grid;
    gap: 32px;
    margin-top: 48px;
    grid-template-columns: 1fr;
}

.bg-light {
    background: var(--bg-soft);
}

.slide-content-wrapper {
    gap: 40px;
}

.slide-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 32px;
}

.slide-info {
    margin: 0 auto;
}

.visual-inner {
    transform: none !important;
}

.slide-info {
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
}

.slide-visual {
    margin-top: 20px;
}

.slide-image {
    max-height: 300px;
}

.hero-stats {
    justify-content: center;
}

.hero-buttons {
    justify-content: center;
}

.hero-stats {
    justify-content: center;
}

.service-mockup,
.mockup-container {
    margin: 0 auto;
    /* centra la maqueta */
    max-width: 540px;
    /* ancho cómodo en tablets/móviles grandes */
}

.hero-buttons {
    flex-direction: column;
    align-items: center;
}

.hero-stats {
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

@media (min-width: 1201px) {
    .slide-title {
        font-size: 1.8rem;
    }

    .hero-container {
        gap: 40px;
    }

    .service-row {
        gap: 80px;
        margin-bottom: 120px;
    }
}

@media (min-width: 993px) {
    .hero-buttons {
        flex-direction: row;
        gap: 20px;
    }

    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .service-row {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        margin-bottom: 100px;
    }

    .service-row.reverse {
        direction: rtl;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
    }

    .success-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 40px;
    }

    .footer-main {
        grid-template-columns: 1fr 2fr;
        gap: 80px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .service-visual {
        margin-left: -6em;
    }

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

    .section-padding {
        padding: 100px 0;
        padding: var(--section-gap) 0;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .service-visual {
        margin-left: 0 !important;
    }
}

@media (min-width: 769px) {
    .btn {
        justify-content: center;
    }

    .floating-card {
        position: absolute;
    }

    .cta-contact-info {
        gap: 40px;
    }

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

@media (min-width: 481px) {
    .hero-description {
        max-width: 600px;
    }

    .navbar-fixed nav {
        height: 72px !important;
    }

    .nav-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .brand-logo {
        gap: 12px;
    }

    .logo-img {
        height: 32px !important;
    }
}

/* ===== MODAL CUSTOM PREMIUM ===== */
.cursor-pointer {
    cursor: pointer;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: var(--radius-lg);
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.custom-modal.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 25px;
}

.modal-title {
    margin-top: 15px !important;
    font-size: 2rem !important;
    color: var(--text-main);
}

.modal-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.price-container {
    background: var(--primary-soft);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
}

@media (max-width: 600px) {
    .modal-container {
        padding: 30px 20px;
        margin: 10px;
    }

    .modal-title {
        font-size: 1.6rem !important;
    }

    .price-value {
        font-size: 1.8rem;
    }
}