/* ====================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ==================================== */
:root {
    --bg: #08120d;
    --surface: #0f1c13;
    --surface-soft: #14271a;
    --surface-light: #f8f8f8;
    --text: #f5f7f1;
    --text-muted: #b0b9a7;
    --accent: #80dc78;
    --accent-strong: #3fa238;
    --accent-light: #a8e697;
    --border: rgba(128, 220, 120, 0.12);
    --shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.3);
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Modo oscuro */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #07110c;
        --text: #f5f7f1;
    }
}

/* ====================================
   RESET Y ESTILOS BASE
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, rgba(128, 220, 120, 0.16), transparent 28%),
                linear-gradient(180deg, var(--bg) 0%, #0b1912 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* ====================================
   ELEMENTOS GENERALES
   ==================================== */
img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

textarea {
    font-family: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ====================================
   CONTENEDOR Y GRID
   ==================================== */
.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* ====================================
   PROGRESS BAR
   ==================================== */
.progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    background: rgba(128, 220, 120, 0.08);
}

.progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(128, 220, 120, 1) 0%,
        rgba(168, 230, 151, 0.9) 50%,
        rgba(63, 162, 56, 0.9) 100%);
    box-shadow: 0 0 20px rgba(128, 220, 120, 0.6);
    transition: width 0.1s ease;
}

/* ====================================
   NAVBAR / NAVIGATION
   ==================================== */
.navbar {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(5, 10, 7, 0.85);
    border-bottom: 1px solid rgba(128, 220, 120, 0.15);
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-scrolled {
    background: rgba(5, 10, 7, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(25px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.brand:hover {
    transform: scale(1.05);
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(128, 220, 120, 0.15);
    transition: box-shadow var(--transition-fast);
}

.brand:hover .brand-logo {
    box-shadow: 0 12px 24px rgba(128, 220, 120, 0.25);
}

.nav-menu {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(245, 247, 241, 0.78);
    position: relative;
    transition: color var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.18), rgba(63, 162, 56, 0.2));
    border: 1px solid rgba(128, 220, 120, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition);
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.25), rgba(63, 162, 56, 0.28));
    box-shadow: 0 8px 24px rgba(128, 220, 120, 0.2);
    border-color: rgba(128, 220, 120, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(15, 23, 17, 0.9);
    padding: 0.4rem;
    transition: all var(--transition-fast);
}

.hamburger:hover {
    border-color: rgba(128, 220, 120, 0.3);
    background: rgba(15, 23, 17, 0.98);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    border-radius: 999px;
    background: var(--accent);
    transition: all var(--transition-fast);
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    min-height: 100vh;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 60% 20%, rgba(128, 220, 120, 0.25), transparent 26%),
        radial-gradient(circle at 20% 80%, rgba(63, 162, 56, 0.18), transparent 18%);
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
    min-height: calc(100vh - 8rem);
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(128, 220, 120, 0.12);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.6rem;
    border: 1px solid rgba(128, 220, 120, 0.2);
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

.eyebrow-alt {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 0;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1.04;
    max-width: 12ch;
    margin-bottom: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-copy p {
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 44rem;
    color: rgba(245, 247, 241, 0.82);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.4rem;
}

/* ====================================
   BOTONES
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--bg);
    box-shadow: 0 20px 40px rgba(128, 220, 120, 0.25);
    border: 1px solid rgba(128, 220, 120, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 30px 60px rgba(128, 220, 120, 0.35);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(128, 220, 120, 0.22);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(128, 220, 120, 0.35);
    box-shadow: 0 8px 32px rgba(128, 220, 120, 0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(128, 220, 120, 0.3);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(128, 220, 120, 0.08);
    box-shadow: 0 12px 32px rgba(128, 220, 120, 0.15);
}

.btn-card {
    margin-top: 1.5rem;
    width: fit-content;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(128, 220, 120, 0.14);
}

.btn-card:hover {
    background: rgba(128, 220, 120, 0.1);
    border-color: rgba(128, 220, 120, 0.28);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.4);
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ====================================
   HERO HIGHLIGHTS
   ==================================== */
.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-highlights article {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.hero-highlights article:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(128, 220, 120, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(128, 220, 120, 0.1);
}

.hero-highlights strong {
    display: block;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 0.4rem;
    font-weight: 800;
}

.hero-highlights span {
    display: block;
    font-size: 0.9rem;
    color: rgba(245, 247, 241, 0.7);
}

/* ====================================
   HERO CARD
   ==================================== */
.hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 2.4rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.hero-card:hover {
    border-color: rgba(128, 220, 120, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.9rem 1.05rem;
    background: rgba(128, 220, 120, 0.12);
    color: var(--accent);
    font-weight: 700;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid rgba(128, 220, 120, 0.2);
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    text-align: right;
}

.hero-card-stats div strong {
    display: block;
    font-size: 1.6rem;
    color: var(--accent);
    font-weight: 800;
}

.hero-card-stats div span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hero-card-body h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-card-body p {
    color: rgba(245, 247, 241, 0.78);
    line-height: 1.85;
    margin-bottom: 1.8rem;
}

.hero-card-body ul {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.hero-card-body li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(245, 247, 241, 0.82);
    line-height: 1.8;
}

.hero-card-body li i {
    color: var(--accent);
    min-width: 20px;
    text-align: center;
}

/* ====================================
   TRUST BAR
   ==================================== */
.trust-bar {
    margin: 3rem 0;
    padding: 1.5rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(128, 220, 120, 0.1);
    padding: 1.5rem 1.8rem;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.trust-grid:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(128, 220, 120, 0.15);
}

.trust-grid > div:first-child span {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    text-transform: uppercase;
}

.trust-grid > div:first-child p {
    margin-top: 0.5rem;
    color: rgba(245, 247, 241, 0.82);
}

.trust-pill {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.2rem;
    transition: all var(--transition);
}

.trust-pill:hover {
    background: rgba(128, 220, 120, 0.08);
    border-color: rgba(128, 220, 120, 0.2);
}

.trust-pill i {
    color: var(--accent);
    font-size: 1.3rem;
}

.trust-pill p {
    margin: 0;
    color: rgba(245, 247, 241, 0.8);
}

.trust-pill strong {
    color: var(--text);
}

/* ====================================
   SECTION INTRO
   ==================================== */
.section-intro {
    text-align: center;
    padding-top: 3rem;
}

.section-intro h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.1;
    margin: 1rem auto 1rem;
    max-width: 12ch;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(245, 247, 241, 0.78);
    line-height: 1.85;
    font-size: 1.05rem;
}

/* ====================================
   SECCIONES GENERALES
   ==================================== */
.servicios,
.planes,
.portafolio,
.resenas,
.como-funciona,
.contacto {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.servicios-grid,
.pricing-grid,
.portafolio-grid,
.steps-grid,
.contact-grid {
    display: grid;
    gap: 1.75rem;
}

/* ====================================
   SERVICIOS SECTION
   ==================================== */
.servicios-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 3rem;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 2.4rem;
    min-height: 280px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.servicio-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
    border-color: rgba(128, 220, 120, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.icon-container {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.24), rgba(63, 162, 56, 0.22));
    transition: all var(--transition);
}

.servicio-card:hover .icon-container {
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.35), rgba(63, 162, 56, 0.3));
    transform: scale(1.1) rotate(5deg);
}

.icon-container i {
    font-size: 1.5rem;
    color: var(--accent);
}

.servicio-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 700;
}

.servicio-card p {
    color: rgba(245, 247, 241, 0.78);
    line-height: 1.8;
    flex-grow: 1;
}

/* ====================================
   PRICING PLANS
   ==================================== */
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
    border-color: rgba(128, 220, 120, 0.22);
}

.pricing-card--featured {
    border-color: rgba(128, 220, 120, 0.35);
    box-shadow: 0 30px 70px rgba(128, 220, 120, 0.18);
    background: linear-gradient(180deg, rgba(128, 220, 120, 0.08), rgba(255, 255, 255, 0.03));
    transform: scale(1.02);
}

.pricing-card--featured:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 40px 90px rgba(128, 220, 120, 0.25);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--bg);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    box-shadow: 0 8px 24px rgba(128, 220, 120, 0.25);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-flag {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.95rem;
    background: rgba(128, 220, 120, 0.12);
    color: var(--accent);
    font-weight: 700;
    border-radius: 999px;
    font-size: 0.8rem;
    border: 1px solid rgba(128, 220, 120, 0.2);
    margin-bottom: 0.8rem;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 700;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.price strong {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 800;
}

.price span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.maintenance {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(245, 247, 241, 0.82);
    line-height: 1.8;
}

.features-list li i {
    color: var(--accent);
    margin-top: 0.2rem;
    min-width: 1.2rem;
}

.ideal {
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
}

/* ====================================
   PORTAFOLIO - PREMIUM
   ==================================== */
.portafolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 3rem;
}

.portafolio-item.premium-card {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: all var(--transition);
    position: relative;
}

.portafolio-item.featured-project::before {
    content: 'DESTACADO';
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--bg);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(128, 220, 120, 0.2);
}

.portafolio-item:hover {
    border-color: rgba(128, 220, 120, 0.2);
    box-shadow: 0 20px 50px rgba(128, 220, 120, 0.15);
    transform: translateY(-8px);
}

.portafolio-link {
    display: block;
    color: inherit;
}

.portafolio-card {
    position: relative;
    min-height: 260px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(63, 162, 56, 0.18), rgba(7, 17, 10, 0.92));
    transition: all var(--transition);
}

.portafolio-card img {
    max-height: 160px;
    object-fit: contain;
    transition: transform var(--transition);
}

.portafolio-item:hover .portafolio-card img {
    transform: scale(1.1);
}

.portafolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(7, 17, 10, 0.75);
    opacity: 0;
    transition: opacity var(--transition);
    text-align: center;
    padding: 1.2rem;
    backdrop-filter: blur(8px);
    gap: 1rem;
}

.portafolio-item:hover .portafolio-overlay {
    opacity: 1;
}

.portafolio-overlay h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    color: var(--accent);
}

.portafolio-overlay p {
    color: rgba(245, 247, 241, 0.85);
    line-height: 1.7;
    font-size: 0.95rem;
}

.case-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--accent-light);
}

.case-stats span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.case-study-cta {
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.08), rgba(63, 162, 56, 0.08));
    border: 1px solid rgba(128, 220, 120, 0.15);
    border-radius: 28px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    transition: all var(--transition);
}

.case-study-cta:hover {
    border-color: rgba(128, 220, 120, 0.3);
    box-shadow: 0 16px 40px rgba(128, 220, 120, 0.1);
}

.cta-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.cta-content p {
    color: rgba(245, 247, 241, 0.78);
    margin: 0;
}

/* ====================================
   TESTIMONIOS - PREMIUM
   ==================================== */
.testimonials-enhanced {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card.premium {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card.premium::before {
    content: '❝';
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 3.5rem;
    color: rgba(128, 220, 120, 0.08);
    font-weight: bold;
}

.testimonial-card.premium:hover {
    transform: translateY(-8px);
    border-color: rgba(128, 220, 120, 0.2);
    box-shadow: 0 20px 50px rgba(128, 220, 120, 0.12);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
}

.testimonial-rating i {
    color: var(--accent);
    font-size: 0.9rem;
}

.testimonial-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.testimonial-card.premium blockquote {
    margin: 0 0 1.5rem;
}

.testimonial-card.premium p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 247, 241, 0.88);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-info {
    flex: 1;
}

.author-info strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--accent);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(128, 220, 120, 0.2);
}

/* ====================================
   COMPARATIVA
   ==================================== */
.comparison-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.table-scroll {
    min-width: 100%;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table thead {
    background: linear-gradient(180deg, rgba(128, 220, 120, 0.08), rgba(255, 255, 255, 0.02));
    border-bottom: 2px solid rgba(128, 220, 120, 0.15);
}

.comparison-table th {
    padding: 1.8rem;
    text-align: left;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.comparison-header i {
    font-size: 1.2rem;
    color: var(--accent);
}

.comparison-header.atrae-featured {
    color: var(--accent);
}

.comparison-table td,
.comparison-table th[scope="row"] {
    padding: 1.5rem 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(245, 247, 241, 0.82);
}

.comparison-table tbody tr:hover {
    background: rgba(128, 220, 120, 0.04);
}

.comparison-table .atrae-col {
    color: var(--accent);
    font-weight: 600;
    background: rgba(128, 220, 120, 0.05);
}

/* ====================================
   PROCESO - PREMIUM
   ==================================== */
.steps-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.step-card.premium {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: left var(--transition);
}

.step-card.premium:hover::before {
    left: 0;
}

.step-card.premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(128, 220, 120, 0.12);
    border-color: rgba(128, 220, 120, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.step-number {
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.2), rgba(63, 162, 56, 0.15));
    color: var(--accent);
    font-weight: 700;
    border: 2px solid rgba(128, 220, 120, 0.2);
    transition: all var(--transition);
    font-size: 1.8rem;
}

.step-card.premium:hover .step-number {
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.3), rgba(63, 162, 56, 0.25));
    transform: scale(1.1);
}

.step-card.premium h3 {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    color: var(--text);
    font-weight: 700;
}

.step-details {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1rem;
    padding: 0;
}

.step-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 241, 0.7);
}

.step-details li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

.step-card.premium p {
    color: rgba(245, 247, 241, 0.78);
    line-height: 1.75;
    flex-grow: 1;
}

.step-timeline {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ====================================
   GUARANTEE BANNER
   ==================================== */
.guarantee-banner {
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.12), rgba(63, 162, 56, 0.08));
    border: 1px solid rgba(128, 220, 120, 0.25);
    border-radius: 28px;
    padding: 2.5rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: all var(--transition);
}

.guarantee-banner:hover {
    border-color: rgba(128, 220, 120, 0.4);
    box-shadow: 0 20px 50px rgba(128, 220, 120, 0.1);
}

.guarantee-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-grow: 1;
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(128, 220, 120, 0.2), rgba(63, 162, 56, 0.15));
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 1.8rem;
}

.guarantee-content h3 {
    color: var(--text);
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
}

.guarantee-content p {
    color: rgba(245, 247, 241, 0.78);
    margin: 0;
    line-height: 1.6;
}

.guarantee-proof {
    text-align: center;
    white-space: nowrap;
}

.confidence-metric {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

/* ====================================
   FAQ SECTION
   ==================================== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.8rem;
    transition: all var(--transition);
    cursor: pointer;
}

.faq-item:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border-color: rgba(128, 220, 120, 0.2);
    box-shadow: 0 12px 32px rgba(128, 220, 120, 0.1);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    user-select: none;
    transition: all var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
    flex-grow: 1;
}

.faq-item summary i {
    color: var(--accent);
    transition: transform var(--transition);
    font-size: 1.2rem;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideDown 0.3s ease-out;
}

.faq-answer p {
    color: rgba(245, 247, 241, 0.82);
    line-height: 1.8;
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   PREMIUM SECTION
   ==================================== */
.premium-section {
    background: linear-gradient(180deg, rgba(128, 220, 120, 0.02), rgba(63, 162, 56, 0.01));
    border-top: 1px solid rgba(128, 220, 120, 0.08);
    border-bottom: 1px solid rgba(128, 220, 120, 0.08);
}

/* ====================================
   FORMULARIO DE CONTACTO
   ==================================== */
.contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    margin-top: 3rem;
    gap: 2.5rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 2.4rem;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    transition: all var(--transition);
    font-size: 0.95rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(245, 247, 241, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(128, 220, 120, 0.12);
}

.contact-form input.field-error,
.contact-form textarea.field-error,
.contact-form select.field-error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.contact-form input.field-error:focus,
.contact-form textarea.field-error:focus,
.contact-form select.field-error:focus {
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

.contact-info {
    display: grid;
    gap: 1.2rem;
}

.info-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    transition: all var(--transition);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(128, 220, 120, 0.15);
    transform: translateX(4px);
}

.info-card i {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--accent);
    background: rgba(128, 220, 120, 0.12);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-card h4 {
    color: var(--text);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.info-card p {
    color: rgba(245, 247, 241, 0.78);
    line-height: 1.7;
    margin: 0;
}

.info-card a {
    color: var(--accent);
    transition: color var(--transition);
}

.info-card a:hover {
    color: var(--accent-light);
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(128, 220, 120, 0.12);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-brand p {
    max-width: 36rem;
    color: rgba(245, 247, 241, 0.78);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    transform: translateY(-4px);
    background: rgba(128, 220, 120, 0.2);
    border-color: rgba(128, 220, 120, 0.3);
    color: var(--accent);
}

.social-icons i {
    font-size: 1.1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer-links a {
    display: block;
    color: rgba(245, 247, 241, 0.78);
    margin-bottom: 0.85rem;
    transition: all var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    color: rgba(245, 247, 241, 0.55);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(245, 247, 241, 0.55);
    text-decoration: underline;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ====================================
   NOTIFICATION
   ==================================== */
.site-notification {
    position: fixed;
    top: 90px;
    right: 1rem;
    z-index: 2000;
    padding: 1.2rem 1.6rem;
    border-radius: 18px;
    font-weight: 600;
    background: rgba(12, 18, 12, 0.95);
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-20px) translateX(20px);
    transition: all 0.25s ease;
    max-width: 320px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-notification.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.site-notification--success {
    background: rgba(36, 113, 65, 0.95);
    border-color: rgba(128, 220, 120, 0.3);
}

.site-notification--error {
    background: rgba(186, 57, 46, 0.95);
    border-color: rgba(255, 100, 90, 0.3);
}

.site-notification--info {
    background: rgba(42, 104, 138, 0.95);
    border-color: rgba(100, 150, 200, 0.3);
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 1120px) {
    .hero-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .servicios-grid,
    .pricing-grid,
    .portafolio-grid,
    .steps-grid,
    .steps-grid-enhanced,
    .testimonials-enhanced,
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guarantee-banner {
        flex-direction: column;
        text-align: center;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table td {
        display: block;
        width: 100%;
    }

    .comparison-table tr {
        margin-bottom: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 1rem;
    }

    .comparison-table td {
        padding-left: 50%;
        position: relative;
        text-align: right;
    }

    .comparison-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        font-weight: 600;
        color: var(--text);
    }
}

@media (max-width: 860px) {
    .hero {
        padding-top: 5rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-card {
        padding: 2rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .servicio-card,
    .pricing-card,
    .portafolio-item,
    .step-card,
    .testimonial-card {
        min-height: auto;
    }

    .pricing-card--featured {
        transform: scale(1);
    }

    .pricing-card--featured:hover {
        transform: translateY(-12px) scale(1);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .nav-menu {
        position: fixed;
        inset: 80px 0 auto;
        flex-direction: column;
        gap: 0;
        background: rgba(5, 10, 7, 0.98);
        border-top: 1px solid rgba(128, 220, 120, 0.15);
        padding: 1.25rem;
        display: none;
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .servicios-grid,
    .pricing-grid,
    .portafolio-grid,
    .steps-grid,
    .steps-grid-enhanced,
    .testimonials-enhanced,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info {
        order: -1;
    }

    .case-study-cta {
        flex-direction: column;
        text-align: center;
    }

    .guarantee-banner {
        flex-direction: column;
        padding: 2rem;
    }

    .section-intro h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 3vw, 2.8rem);
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 20px);
    }

    .hero {
        min-height: auto;
        padding: 4rem 0 2rem;
    }

    .hero-grid {
        min-height: auto;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .section-intro {
        padding-top: 2rem;
    }

    .section-intro h2 {
        font-size: clamp(1.3rem, 2vw, 1.8rem);
        margin: 0.5rem auto;
    }

    .servicios,
    .planes,
    .portafolio,
    .resenas,
    .como-funciona,
    .faq,
    .contacto {
        padding: 3rem 0;
    }

    .pricing-card,
    .portafolio-item,
    .step-card.premium,
    .testimonial-card {
        padding: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .case-study-cta {
        padding: 1.5rem;
        gap: 1rem;
    }

    .cta-content h3 {
        font-size: 1.1rem;
    }

    .guarantee-banner {
        padding: 1.5rem;
    }
}
    }

    .hero-copy h1 {
        font-size: 2.25rem;
    }

    .hero-copy p,
    .section-intro p {
        font-size: 1rem;
    }

    .trust-grid {
        padding: 1.2rem;
    }

    .hero-card-stats {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 520px) {
    :root {
        --transition: 0.25s ease;
    }

    .hero {
        padding-top: 4rem;
    }

    .eyebrow {
        font-size: 0.75rem;
        padding: 0.7rem 0.9rem;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem 1.4rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-highlights article {
        padding: 1rem;
    }

    .trust-pill {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .pricing-card {
        padding: 1.6rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .carousel {
        min-height: 280px;
    }

    .resena-slide {
        padding: 1.5rem;
    }

    .info-card {
        padding: 1.2rem;
    }

    .section-intro {
        padding-top: 2rem;
    }

    .servicios,
    .planes,
    .portafolio,
    .resenas,
    .como-funciona,
    .contacto {
        padding: 3rem 0;
    }
}

/* ====================================
   ANIMACIONES GLOBALES
   ==================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
