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

/* ==========================================
   CSS VARIABLES & GLOBAL RESET
   ========================================== */
:root {
    --bg-dark: #060813;
    --bg-card: #0d1127;
    --bg-card-hover: #121836;
    --bg-header: rgba(6, 8, 19, 0.85);
    
    --color-primary: #f5b61a;      /* Gold Yellow */
    --color-secondary: #9333ea;    /* Purple */
    --color-accent: #00f2fe;       /* Cyan/Neon Blue */
    --color-blue-star: #3b82f6;    /* Star Blue */
    
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(245, 182, 26, 0.3);
    
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --glow-gold: 0 0 25px rgba(245, 182, 26, 0.25);
    --glow-purple: 0 0 25px rgba(147, 51, 234, 0.3);
    --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.35);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --layout-max-width: 1400px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

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

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(245, 182, 26, 0.2); }
    50% { box-shadow: 0 0 30px rgba(245, 182, 26, 0.5); }
    100% { box-shadow: 0 0 15px rgba(245, 182, 26, 0.2); }
}

@keyframes borderGlowPulse {
    0% { border-color: rgba(245, 182, 26, 0.2); }
    50% { border-color: rgba(147, 51, 234, 0.6); }
    100% { border-color: rgba(245, 182, 26, 0.2); }
}

/* Scroll Reveal Animations (3D Perspective Scroll Reveal) */
.reveal-element {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: perspective(1200px) translateY(65px) rotateX(8deg) scale(0.95);
    transform-origin: bottom center;
}

.reveal-left {
    transform: perspective(1200px) translateX(-65px) rotateY(-8deg) scale(0.97);
    transform-origin: right center;
}

.reveal-right {
    transform: perspective(1200px) translateX(65px) rotateY(8deg) scale(0.97);
    transform-origin: left center;
}

.reveal-zoom {
    transform: perspective(1200px) scale(0.9) rotateX(6deg);
    transform-origin: center center;
}

.reveal-element.active {
    opacity: 1;
    transform: perspective(1200px) translate(0) rotateX(0) rotateY(0) scale(1);
}

/* Staggered transition delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ==========================================
   LAYOUT STRUCTURE
   ========================================== */
.container {
    width: 90%;
    max-width: var(--layout-max-width);
    min-width: 320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* For screens larger than 1300px, ensure the container spans properly */
@media (min-width: 1300px) {
    .container {
        width: 100%;
        padding: 0 40px;
    }
}

section {
    padding: 100px 0;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   TYPOGRAPHY & HEADINGS
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.75rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 1.75rem;
}

.section-subtitle {
    display: block;
    text-align: center;
    color: var(--color-primary);
    font-family: var(--font-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* ==========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #d49a0e 100%);
    color: var(--bg-dark);
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 182, 26, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--color-secondary);
    background: rgba(147, 51, 234, 0.1);
    transform: translateY(-3px);
    box-shadow: var(--glow-purple);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #6d28d9 100%);
    color: var(--text-white);
    box-shadow: var(--glow-purple);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.5);
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(4, 5, 12, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
}

.logo-text span.brand-sec {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    display: block;
}

/* Hamburger menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

/* ==========================================
   HERO SECTION (HOME)
   ========================================== */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.32; /* Minimalist city opacity */
    filter: saturate(1.1) contrast(1.05);
    transition: var(--transition-smooth);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.18) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(245, 182, 26, 0.08) 0%, transparent 50%),
                linear-gradient(180deg, rgba(6, 8, 19, 0.3) 0%, var(--bg-dark) 100%);
    z-index: 1.5;
}

/* Pulsing technological dots */
.tech-pulse {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    animation: techFlash 4s infinite ease-in-out;
}

.pulse-1 { animation-delay: 0s; background-color: var(--color-accent); color: var(--color-accent); }
.pulse-2 { animation-delay: 1.5s; background-color: var(--color-primary); color: var(--color-primary); }
.pulse-3 { animation-delay: 0.8s; background-color: var(--color-accent); color: var(--color-accent); }
.pulse-4 { animation-delay: 2.3s; background-color: var(--color-secondary); color: var(--color-secondary); }
.pulse-5 { animation-delay: 1.1s; background-color: var(--color-accent); color: var(--color-accent); }
.pulse-6 { animation-delay: 3s; background-color: var(--color-secondary); color: var(--color-secondary); }
.pulse-7 { animation-delay: 2s; background-color: var(--color-primary); color: var(--color-primary); }

@keyframes techFlash {
    0%, 100% {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(0.8);
        box-shadow: 0 0 4px currentColor;
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.6);
        box-shadow: 0 0 16px 3px currentColor;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content {
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 182, 26, 0.1);
    border: 1px solid rgba(245, 182, 26, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ffde6a 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-out forwards;
}

.hero-glow-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.25) 0%, transparent 70%);
    z-index: 1;
    filter: blur(20px);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    width: 420px;
    height: 420px;
    aspect-ratio: 1;
    border-radius: 50%;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -4px; /* Thin, elegant neon ring border */
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, #9333ea 25%, #06b6d4 50%, transparent 75%, #9333ea 100%);
    animation: rotateRing 5s linear infinite;
    z-index: 1;
}

@keyframes rotateRing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: block;
}

.hero-badge {
    position: absolute;
    background: rgba(13, 17, 39, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 3;
}

.hero-badge-1 {
    top: 15%;
    left: -26%;
}

.hero-badge-2 {
    bottom: 15%;
    right: -5%;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 182, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.hero-badge-2 .badge-icon {
    background: rgba(147, 51, 234, 0.15);
    color: var(--color-secondary);
}

.badge-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.badge-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}



/* ==========================================
   SECTORES SECTION (5 FLOATING CARDS)
   ========================================== */
.sectores-section {
    padding: 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 5;
    width: 100%;
    border-top: 1px solid transparent; /* Blocks margin collapse to allow overlapping */
}

.hero-sectores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: -98px; /* Shift up by half of card height to overlap transition line */
    margin-bottom: 80px; /* Comfortable spacing below the cards */
}

.sector-card {
    height: 196px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    background-color: #000;
    cursor: pointer;
}

.sector-card-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(1.05) contrast(1.02);
    transition: var(--transition-smooth);
}

.sector-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%); /* 80% black at bottom to 0% at top */
    display: flex;
    align-items: flex-end; /* Align to the bottom */
    justify-content: center; /* Center horizontally */
    padding: 20px;
    z-index: 3;
    transition: var(--transition-smooth);
}

.sector-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.sector-card-icon-svg {
    width: 28px; /* Larger icon */
    height: 28px;
    fill: none;
    transition: var(--transition-smooth);
}

.sector-card-icon-svg path,
.sector-card-icon-svg rect {
    stroke: var(--color-primary); /* Brand golden-yellow (#f5b61a) as shown in the example */
    stroke-width: 2.0; /* Thicker solid stroke matching the reference */
    transition: var(--transition-smooth);
}

.sector-card-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 400; /* Light weight / weight 400 */
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    transition: var(--transition-smooth);
}

.sector-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(245, 182, 26, 0.25);
}

.sector-card:hover .sector-card-inner {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.05);
}

.sector-card:hover .sector-card-overlay {
    background: linear-gradient(0deg, rgba(147, 51, 234, 0.7) 0%, rgba(0, 0, 0, 0) 100%); /* Purple (#9333ea) gradient on hover */
}

.sector-card:hover .sector-card-icon-svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.sector-card:hover .sector-card-icon-svg path,
.sector-card:hover .sector-card-icon-svg rect {
    stroke: #fff; /* White stroke on hover */
}

.sector-card:hover .sector-card-title {
    color: #fff; /* Keep letters white on hover */
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(147, 51, 234, 0.15), transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(245, 182, 26, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(245, 182, 26, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--color-primary);
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-wrapper {
    background: var(--color-primary);
    color: var(--bg-dark);
    box-shadow: var(--glow-gold);
    transform: scale(1.1);
}

/* Alternate glow colors for benefits */
.benefit-card:nth-child(even) .benefit-icon-wrapper {
    background: rgba(147, 51, 234, 0.08);
    color: var(--color-secondary);
}

.benefit-card:nth-child(even):hover .benefit-icon-wrapper {
    background: var(--color-secondary);
    color: var(--text-white);
    box-shadow: var(--glow-purple);
}

.benefit-title {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.benefit-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================
   PLANS SECTION (HOME)
   ========================================== */
.plans-section {
    background: radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.08) 0%, transparent 60%);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

/* Custom colors based on canvas card colors */
/* Card 1: Basic Home -> Blue Theme */
.plan-card.plan-home {
    border-color: rgba(59, 130, 246, 0.15);
}
.plan-card.plan-home::after {
    background: var(--color-blue-star);
}
.plan-card.plan-home:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

/* Card 2: Basic Business -> Purple Theme */
.plan-card.plan-business {
    border-color: rgba(147, 51, 234, 0.15);
}
.plan-card.plan-business::after {
    background: var(--color-secondary);
}
.plan-card.plan-business:hover {
    box-shadow: 0 15px 35px rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.4);
}

/* Card 3: Platinum -> Gold Theme */
.plan-card.plan-platinum {
    border-color: rgba(245, 182, 26, 0.15);
}
.plan-card.plan-platinum::after {
    background: var(--color-primary);
}
.plan-card.plan-platinum:hover {
    box-shadow: 0 15px 35px rgba(245, 182, 26, 0.2);
    border-color: rgba(245, 182, 26, 0.45);
}

/* Card 4: Control Total -> Magenta/Purple Theme */
.plan-card.plan-control {
    border-color: rgba(147, 51, 234, 0.25);
}
.plan-card.plan-control::after {
    background: linear-gradient(90deg, var(--color-secondary), #ec4899);
}
.plan-card.plan-control:hover {
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.4);
}

.plan-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-stars {
    font-size: 0.9rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.plan-home .plan-stars { color: var(--color-blue-star); }
.plan-business .plan-stars { color: var(--color-secondary); }
.plan-platinum .plan-stars { color: var(--color-primary); }
.plan-control .plan-stars { color: #ec4899; }

.plan-name {
    font-size: 1.45rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.plan-target {
    font-size: 0.85rem;
    color: var(--text-muted);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 15px;
}

.plan-price-wrapper {
    margin: 25px 0;
    text-align: center;
}

.plan-price {
    font-size: 2.15rem;
    font-family: var(--font-title);
    font-weight: 800;
    color: var(--text-white);
}

.plan-home .plan-price { color: var(--text-white); }
.plan-business .plan-price { color: #a78bfa; }
.plan-platinum .plan-price { color: var(--color-primary); }
.plan-control .plan-price { color: #f472b6; }

.plan-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.4;
}

.plan-feature-item svg {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.plan-home .plan-feature-item svg { color: var(--color-blue-star); }
.plan-business .plan-feature-item svg { color: var(--color-secondary); }
.plan-platinum .plan-feature-item svg { color: var(--color-primary); }
.plan-control .plan-feature-item svg { color: #ec4899; }

.plan-btn {
    width: 100%;
}

.plans-note {
    max-width: 900px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.plans-note-icon {
    font-size: 2rem;
    color: var(--color-primary);
}

.plans-note-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plans-note-text strong {
    color: var(--text-white);
}

/* ==========================================
   CALL TO ACTION (CTA)
   ========================================== */
.cta-section {
    padding: 80px 0;
}

.cta-banner {
    position: relative;
    background: linear-gradient(135deg, #0e1638 0%, #060813 100%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 70px 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.12) 0%, transparent 60%);
    z-index: 1;
}

.cta-info {
    position: relative;
    z-index: 2;
    max-width: 780px; /* Increased to fit title in one line */
}

.cta-title {
    font-size: 2.1rem; /* Slightly reduced to ensure one-line fit */
    margin-bottom: 15px;
    line-height: 1.25;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.cta-btn-wrapper {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* ==========================================
   COMPANY REVIEW SECTION
   ========================================== */
.review-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.review-visual {
    position: relative;
    z-index: 5;
}

.review-visual-wrapper {
    position: relative;
    width: 100%;
}

.review-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
}

.review-badge {
    position: absolute;
    background: rgba(6, 8, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 15px 22px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.review-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(245, 182, 26, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid rgba(245, 182, 26, 0.25);
}

.review-badge-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.review-badge-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.review-badge-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.review-badge-1 {
    top: 40px;
    left: -30px;
    animation: float 4.5s ease-in-out infinite;
}

.review-badge-2 {
    bottom: 40px;
    right: -30px;
    animation: float 5s ease-in-out infinite-reverse;
}

.review-content {
    padding-left: 20px;
}

.review-content .section-subtitle {
    text-align: left;
    margin-bottom: 12px;
}

.review-heading {
    text-align: left;
    margin-bottom: 25px;
}

.review-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.review-list {
    margin: 30px 0 40px;
}

.review-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.review-list-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(245, 182, 26, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ==========================================
   FAQ SECTION (HOW IT WORKS)
   ========================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
    margin-top: 50px;
}

.faq-intro-title {
    font-size: 2.25rem;
    margin-bottom: 20px;
    line-height: 1.25;
}

.faq-intro-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover, .faq-item.active {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    color: var(--text-white);
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.faq-icon-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    background: var(--color-primary);
    color: var(--bg-dark);
    box-shadow: var(--glow-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 25px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 15px;
}

/* ==========================================
   PRE-FOOTER CTA SECTION
   ========================================== */
.prefooter-cta {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #050711 100%);
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
    text-align: center;
}

.prefooter-content {
    max-width: 1000px; /* Increased to fit title on one line */
    margin: 0 auto;
}

.prefooter-title {
    font-size: 2.85rem; /* Slightly reduced to ensure one-line fit */
    font-weight: 800;
    margin-bottom: 20px;
}

.prefooter-title span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prefooter-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.prefooter-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================
   SUBPAGES DESIGN (NOSOTROS & SERVICIOS)
   ========================================== */
.subpage-hero {
    min-height: 50vh;
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 20% 30%, rgba(147, 51, 234, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(245, 182, 26, 0.05) 0%, transparent 40%),
                #050712;
    border-bottom: 1px solid var(--border-color);
}

.subpage-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.subpage-hero-title span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subpage-hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

/* Nuestra Empresa Layouts */
.mision-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: 28px;
    transition: var(--transition-smooth);
}

.mv-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(245, 182, 26, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 25px;
}

.mv-card:nth-child(2) .mv-icon {
    background: rgba(147, 51, 234, 0.1);
    color: var(--color-secondary);
}

.mv-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.mv-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Corporative Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-smooth);
}

.value-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.value-card:nth-child(2) .value-icon { color: var(--color-secondary); }
.value-card:nth-child(3) .value-icon { color: var(--color-accent); }
.value-card:nth-child(4) .value-icon { color: #f472b6; }

.value-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services Detailed page */
.services-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
}

.service-row {
    display: grid;
    grid-template-columns: 1.10fr 0.90fr;
    gap: 60px;
    align-items: center;
}

.service-row:nth-child(even) {
    grid-template-columns: 0.90fr 1.10fr;
}

.service-row:nth-child(even) .service-detail-content {
    grid-column: 2;
}

.service-row:nth-child(even) .service-detail-visual {
    grid-column: 1;
    grid-row: 1;
}

.service-detail-content h3 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.service-detail-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.service-detail-list {
    margin-bottom: 30px;
}

.service-detail-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-white);
}

.service-detail-list-icon {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.service-detail-visual {
    position: relative;
    z-index: 5;
}

.service-detail-visual::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.5) 0%, rgba(212, 154, 14, 0.3) 40%, transparent 70%);
    filter: blur(45px);
    z-index: 0;
    animation: aurora-pulse 8s infinite alternate ease-in-out;
}

@keyframes aurora-pulse {
    0% { transform: scale(0.9) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
    100% { transform: scale(0.95) rotate(-5deg); opacity: 0.5; }
}

.service-detail-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    display: block;
    transition: transform 0.5s ease;
}

.service-row:hover .service-detail-img {
    transform: scale(1.03);
}

/* ==========================================
   CONTACT PAGE DESIGN
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(245, 182, 26, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card:nth-child(2) .contact-icon {
    background: rgba(147, 51, 234, 0.1);
    color: var(--color-secondary);
}

.contact-card:nth-child(3) .contact-icon {
    background: rgba(0, 242, 254, 0.1);
    color: var(--color-accent);
}

.contact-details h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.contact-link {
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 600;
}

.contact-link:hover {
    color: var(--text-white);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: var(--glass-shadow);
}

.contact-form-title {
    font-size: 1.85rem;
    margin-bottom: 10px;
}

.contact-form-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-white);
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 18px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(245, 182, 26, 0.15);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

.form-btn {
    width: 100%;
}

.form-status {
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #03050c;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--color-primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--glow-gold);
}

.footer-title {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2.5px;
    background: var(--color-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item a {
    color: var(--text-muted);
}

.footer-link-item a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-item svg {
    margin-top: 4px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

.footer-copy {
    color: var(--text-muted);
}

.footer-policy-links {
    display: flex;
    gap: 25px;
}

.footer-policy-link:hover {
    color: var(--text-white);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1200px) {
    h1 { font-size: 3rem; }
    .hero-title { font-size: 3.25rem; }
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-sectores-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-top: -98px;
        margin-bottom: 60px;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    .footer-about {
        grid-column: span 3;
    }
}

@media (max-width: 991px) {
    section { padding: 75px 0; }
    .hero {
        padding-top: 130px;
        min-height: auto;
        padding-bottom: 70px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-sectores-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -60px;
        margin-bottom: 50px;
    }
    .hero-badge-1 {
        left: 0;
    }
    .hero-badge-2 {
        right: 0;
    }
    .review-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .review-content {
        padding-left: 0;
    }
    .review-badge-1 {
        left: 10px;
        top: 20px;
    }
    .review-badge-2 {
        right: 10px;
        bottom: 20px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .service-row, .service-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .service-row:nth-child(even) .service-detail-content {
        grid-column: 1;
    }
    .service-row:nth-child(even) .service-detail-visual {
        grid-column: 1;
        grid-row: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Navbar Collapse */
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #04060d;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 50px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
        transition: var(--transition-smooth);
        z-index: 1050;
        border-left: 1px solid var(--border-color);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-btn {
        margin-top: 15px;
        width: 100%;
    }
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.15rem; }
    .hero-title { font-size: 2.75rem; }
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
    }
    .cta-btn-wrapper {
        width: 100%;
    }
    .cta-btn-wrapper .btn {
        width: 100%;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 575px) {
    .review-badge {
        padding: 10px 14px;
        border-radius: 14px;
        gap: 10px;
    }
    .review-badge-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        border-radius: 8px;
    }
    .review-badge-title {
        font-size: 0.8rem;
    }
    .review-badge-desc {
        font-size: 0.7rem;
    }
    .review-badge-1 {
        left: 5px;
        top: 15px;
    }
    .review-badge-2 {
        right: 5px;
        bottom: 15px;
    }
    .plans-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-about {
        grid-column: span 1;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
    }
    .hero-sectores-grid {
        grid-template-columns: 1fr;
        margin-top: -40px;
        margin-bottom: 40px;
    }
    .hero-image-wrapper {
        width: 100%;
        max-width: 320px;
    }
    .hero-img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
    .hero-badge-1, .hero-badge-2 {
        display: none; /* Hide badges on very small phones to avoid overlap */
    }
    .prefooter-btns {
        flex-direction: column;
        align-items: center;
    }
    .prefooter-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ==========================================
   FLOATING WHATSAPP CHAT WIDGET
   ========================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-body);
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    position: relative;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #ff3b30;
    border: 2.5px solid #25d366;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 1; }
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.whatsapp-popup.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.whatsapp-popup-header {
    background-color: #0d1e13;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #25d366;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.whatsapp-avatar img {
    width: 32px;
    height: auto;
    border-radius: 4px;
}

.whatsapp-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #25d366;
    border: 2px solid #0d1e13;
    border-radius: 50%;
}

.whatsapp-header-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.whatsapp-header-info span {
    font-size: 0.8rem;
    color: #25d366;
    font-weight: 500;
}

.whatsapp-popup-body {
    padding: 25px 20px;
    background: radial-gradient(circle at 10% 10%, rgba(37, 211, 102, 0.05) 0%, transparent 60%), var(--bg-card);
}

.whatsapp-chat-bubble {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 15px 18px;
    border-radius: 0 16px 16px 16px;
    max-width: 95%;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.whatsapp-chat-bubble strong {
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

.whatsapp-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 25px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}

.whatsapp-popup-btn:hover {
    background-color: #20ba5a;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

