* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #07111f;
    --primary-light: #164e63;
    --secondary-dark: #172033;
    --accent-green: #2dd4bf;
    --accent-orange: #fb7185;
    --accent-blue: #38bdf8;
    --accent-gold: #facc15;
    --light-bg: #f4f7fb;
    --surface: #ffffff;
    --surface-soft: #eef6ff;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.25s ease;
}

.navbar-logo:hover {
    opacity: 0.8;
}

.navbar-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
}

.navbar-brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-dark);
    letter-spacing: 0.02em;
}

.navbar-menu {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    list-style: none;
}

.navbar-menu a {
    color: #334155;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #16a34a, #f97316);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar-menu a:hover {
    color: #16a34a;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #07111f;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.navbar-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.navbar-cta:hover::before {
    width: 200px;
    height: 200px;
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.45);
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.07);
}

.hamburger::before {
    display: none;
}

.hamburger.active {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.28);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #334155;
    border-radius: 999px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
    width: 20px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
    width: 20px;
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 1.5rem 60px;
    overflow: hidden;
    margin-top: 60px;
    background: linear-gradient(160deg, #ffffff 0%, #f8faff 55%, #f0f9ff 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-gradient-base {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #07111f 0%, #123047 24%, #164e63 48%, #2d1b69 72%, #07111f 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-shape-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(45, 212, 191, 0.18);
    border-radius: 100%;
    top: -200px;
    left: -200px;
    filter: blur(80px);
    animation: float1 20s ease-in-out infinite;
}

.hero-shape-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(56, 189, 248, 0.18);
    border-radius: 100%;
    bottom: -150px;
    right: -150px;
    filter: blur(80px);
    animation: float2 25s ease-in-out infinite;
}

.hero-shape-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(251, 113, 133, 0.16);
    border-radius: 100%;
    top: 50%;
    right: 10%;
    filter: blur(60px);
    animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(50px) rotate(10deg); opacity: 0.3; }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(-50px) rotate(-10deg); opacity: 0.3; }
}

@keyframes float3 {
    0%, 100% { transform: translateX(0px) scale(1); opacity: 0.15; }
    50% { transform: translateX(40px) scale(1.1); opacity: 0.25; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(45, 212, 191, 0.32); }
    50% { box-shadow: 0 0 40px rgba(56, 189, 248, 0.58); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes glow-border {
    0%, 100% { border-color: rgba(45, 212, 191, 0.54); }
    50% { border-color: rgba(250, 204, 21, 0.78); }
}

@keyframes float-up {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    color: var(--primary-dark);
}

.hero-logo-big {
    --logo-intro-duration: 2s;
    --logo-intro-scale: 1.05;
    --logo-glow-intensity: 0.3;
    --logo-circle-padding: 16px;
    --logo-glow-gradient: linear-gradient(135deg, rgba(22, 163, 74, 0.12) 0%, rgba(249, 115, 22, 0.08) 50%, rgba(22, 163, 74, 0.06) 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    min-height: 440px;
}

.hero-logo-big::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 380px;
    height: 380px;
    max-width: min(90vw, 380px);
    max-height: 380px;
    background: radial-gradient(circle at center, rgba(22, 163, 74, 0.07), rgba(249, 115, 22, 0.04) 50%, transparent 70%);
    filter: blur(40px);
    opacity: 1;
    z-index: 0;
}

.hero-logo-big::after {
    display: none;
}

.hero-logo-image {
    position: relative;
    z-index: 3;
    max-width: 320px;
    width: 100%;
    height: auto;
    padding: var(--logo-circle-padding);
    border-radius: 999px;
    transform: scale(1);
    filter: drop-shadow(0 20px 50px rgba(22, 163, 74, 0.14)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.07));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.hero-logo-image:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 24px 60px rgba(249, 115, 22, 0.18)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.08));
}

.logo-glow {
    position: absolute;
    z-index: 2;
    width: min(380px, 90vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: transparent;
    filter: blur(30px);
    opacity: 0;
    transform: scale(0.65);
    pointer-events: none;
}

.logo-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at center, rgba(22, 163, 74, 0.10), rgba(249, 115, 22, 0.06) 50%, transparent 70%);
}

.logo-particle {
    position: absolute;
    z-index: 4;
    width: 60px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.75), transparent);
    box-shadow: 0 0 10px rgba(22, 163, 74, 0.4);
    opacity: 0;
    pointer-events: none;
}

.logo-particle-1 {
    top: 22%;
    left: 18%;
    transform: rotate(-18deg);
}

.logo-particle-2 {
    top: 34%;
    right: 14%;
    transform: rotate(20deg);
}

.logo-particle-3 {
    bottom: 28%;
    left: 16%;
    transform: rotate(16deg);
}

.logo-particle-4 {
    right: 18%;
    bottom: 18%;
    transform: rotate(-24deg);
}

.hero-logo-animated {
    opacity: 0;
    transform: scale(0.86);
    filter: blur(14px) drop-shadow(0 12px 60px rgba(45, 212, 191, 0));
    clip-path: inset(0 52% 0 52% round 999px);
}

.logo-intro-active .logo-glow {
    animation: logoGlowBuild var(--logo-intro-duration) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-intro-active .hero-logo-animated {
    animation: logoPremiumReveal var(--logo-intro-duration) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-intro-active .logo-particle {
    animation: logoParticleSweep 1.15s ease-out forwards;
}

.logo-intro-active .logo-particle-1 {
    animation-delay: 0.25s;
}

.logo-intro-active .logo-particle-2 {
    animation-delay: 0.48s;
}

.logo-intro-active .logo-particle-3 {
    animation-delay: 0.72s;
}

.logo-intro-active .logo-particle-4 {
    animation-delay: 0.95s;
}

.hero-content-reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(10px);
    pointer-events: none;
    animation: none;
}

.hero-intro-complete .hero-content-reveal {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
    transition:
        opacity 0.72s ease,
        transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.72s ease;
}

.hero-intro-complete .hero-title {
    transition-delay: 0.05s;
}

.hero-intro-complete .hero-subtitle {
    transition-delay: 0.18s;
}

.hero-intro-complete .hero-cta-group {
    transition-delay: 0.32s;
}

.hero-intro-complete .hero-badges {
    transition-delay: 0.46s;
}

@keyframes logoPremiumReveal {
    0% {
        opacity: 0;
        transform: scale(0.86);
        filter: blur(14px) drop-shadow(0 12px 60px rgba(22, 163, 74, 0));
        clip-path: inset(0 52% 0 52% round 999px);
    }
    42% {
        opacity: 1;
        transform: scale(var(--logo-intro-scale));
        filter: blur(4px) drop-shadow(0 26px 70px rgba(22, 163, 74, 0.22));
        clip-path: inset(0 16% 0 16% round 999px);
    }
    72% {
        opacity: 1;
        transform: scale(1.02);
        filter: blur(0) drop-shadow(0 20px 50px rgba(249, 115, 22, 0.14));
        clip-path: inset(0 0 0 0 round 999px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 20px 50px rgba(22, 163, 74, 0.14)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.07));
        clip-path: inset(0 0 0 0 round 999px);
    }
}

@keyframes logoGlowBuild {
    0% {
        opacity: 0;
        transform: scale(0.65);
    }
    45% {
        opacity: 1;
        transform: scale(1.08);
    }
    100% {
        opacity: 0.78;
        transform: scale(1);
    }
}

@keyframes logoGlowColorShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes logoParticleSweep {
    0% {
        opacity: 0;
        translate: -28px 8px;
    }
    28% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        translate: 34px -10px;
    }
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: #64748b;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.hero-badges {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.8rem;
    animation: slideInUp 0.8s ease-out 0.4s backwards;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1.5px solid rgba(22, 163, 74, 0.18);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.06), transparent);
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    border-color: rgba(22, 163, 74, 0.38);
    background: rgba(22, 163, 74, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.10);
    color: #15803d;
}

.badge i {
    font-size: 0.85rem;
    color: #16a34a;
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.6s backwards;
}

.btn-primary,
.btn-secondary,
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border: none;
    box-shadow: 0 10px 30px rgba(251, 113, 133, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 46px rgba(250, 204, 21, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border: 2px solid rgba(22, 163, 74, 0.45);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.06), transparent);
    transition: left 0.6s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: rgba(22, 163, 74, 0.05);
    border-color: rgba(22, 163, 74, 0.65);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.14);
    color: #16a34a;
}

.btn-secondary:active {
    transform: translateY(-2px);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========== PARALLAX ELEMENTS (FLOTANTES) ========== */
.parallax-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.parallax-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.15;
    transition: transform 0.03s linear, opacity 0.3s ease;
    border: 2px solid;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

@media (max-width: 768px) {
    .parallax-item {
        opacity: 0.08 !important;
        font-size: 2rem;
    }
}

.parallax-item-1 {
    top: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.34), rgba(56, 189, 248, 0.12));
    border-radius: 12px;
    color: var(--accent-blue);
    animation: float1 8s ease-in-out infinite;
    border-color: rgba(56, 189, 248, 0.5);
}

.parallax-item-2 {
    top: 60%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.34), rgba(45, 212, 191, 0.12));
    border-radius: 20px;
    color: var(--accent-green);
    animation: float2 10s ease-in-out infinite;
    border-color: rgba(45, 212, 191, 0.5);
}

.parallax-item-3 {
    top: 25%;
    right: 20%;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.36), rgba(251, 113, 133, 0.12));
    border-radius: 10px;
    color: var(--accent-orange);
    animation: float3 12s ease-in-out infinite;
    border-color: rgba(251, 113, 133, 0.5);
}

.parallax-item-4 {
    bottom: 20%;
    left: 15%;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(56, 189, 248, 0.1));
    border-radius: 15px;
    color: var(--accent-blue);
    animation: float1 9s ease-in-out infinite 1s;
    border-color: rgba(56, 189, 248, 0.5);
}

.parallax-item-5 {
    top: 50%;
    left: 25%;
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.34), rgba(45, 212, 191, 0.12));
    border-radius: 12px;
    color: var(--accent-green);
    animation: float2 11s ease-in-out infinite 0.5s;
    border-color: rgba(45, 212, 191, 0.5);
}

/* ========== SECTIONS ========== */
section {
    padding: 100px 1.5rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #f97316);
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(22, 163, 74, 0.35);
    transition: all 0.3s ease;
}

.section-header h2:hover::after {
    width: 120px;
    box-shadow: 0 0 26px rgba(22, 163, 74, 0.5);
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== ABOUT SECTION ========== */
.about {
    background: linear-gradient(135deg, #f8fbff 0%, #eaf4ff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlight {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(56, 189, 248, 0.14));
    border-left: 4px solid var(--accent-green);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.about-highlight p {
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
    font-style: italic;
}

.about-visual {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #07111f, #164e63 58%, #2d1b69);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 22px 64px rgba(7, 17, 31, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.18), transparent 70%);
    animation: float3 20s ease-in-out infinite;
}

.about-visual:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(7, 17, 31, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.about-visual-icon {
    font-size: 5rem;
    opacity: 0.3;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.about-visual:hover .about-visual-icon {
    opacity: 0.4;
    transform: scale(1.1) rotateZ(-10deg);
}

/* ========== SECTION EYEBROW ========== */
.section-eyebrow {
    display: inline-block;
    margin-bottom: 0.65rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.08);
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* ========== SERVICES SECTION ========== */
.services {
    background: var(--surface);
}

.services-special {
    background: #f8faff;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.services-grid .service-card {
    flex: 1 1 300px;
    max-width: calc(33.333% - 1.4rem);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.category-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 2.2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.invoice-highlight {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin-top: 3rem;
    padding: 1.8rem 2rem;
    border-radius: 20px;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(22, 163, 74, 0.22), transparent 40%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.18), transparent 40%),
        linear-gradient(135deg, #07111f 0%, #0d2518 100%);
    box-shadow: 0 20px 60px rgba(7, 17, 31, 0.28);
    overflow: hidden;
}

.invoice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 16px;
    color: #07111f;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #4ade80, #16a34a);
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.35);
}

.invoice-label {
    display: inline-flex;
    margin-bottom: 0.4rem;
    color: #86efac;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.invoice-highlight h3 {
    margin: 0 0 0.45rem;
    color: var(--white);
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.invoice-highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
}

.invoice-cta {
    white-space: nowrap;
}

.additional-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 28px rgba(7, 17, 31, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.additional-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 52px rgba(22, 163, 74, 0.15);
    border-color: rgba(22, 163, 74, 0.25);
}

.additional-card .service-icon {
    height: 56px;
    width: 56px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
}

.cat-icon-green {
    color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.15), inset 0 1px 2px rgba(255,255,255,0.75);
}

.cat-icon-orange {
    color: #f97316;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.15), inset 0 1px 2px rgba(255,255,255,0.75);
}

.additional-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.additional-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.category-card h3 {
    margin-bottom: 1rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-list li {
    position: relative;
    padding-left: 1.35rem;
    color: #334155;
    font-size: 0.94rem;
    line-height: 1.5;
}

.category-list li::before {
    content: '';
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #16a34a;
}

.additional-card:has(.cat-icon-orange) .category-list li::before {
    background: #f97316;
}

/* ========== BOLSA DE TRABAJO SECTION ========== */
.jobs-section {
    background: #f8faff;
}

.jobs-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 2.4rem 2.6rem;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(ellipse at 8% 50%, rgba(22, 163, 74, 0.32), transparent 48%),
        radial-gradient(ellipse at 92% 50%, rgba(249, 115, 22, 0.22), transparent 48%),
        linear-gradient(135deg, #07111f 0%, #0d2518 100%);
    box-shadow: 0 20px 60px rgba(7, 17, 31, 0.22);
}

.jobs-banner-left {
    display: flex;
    align-items: flex-start;
    gap: 1.8rem;
    flex: 1;
    min-width: 0;
}

.jobs-banner-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
}

.jobs-banner-copy {
    flex: 1;
    min-width: 0;
}

.jobs-label {
    display: inline-flex;
    margin-bottom: 0.5rem;
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jobs-banner-copy h2 {
    color: #fff;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.jobs-banner-copy > p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.jobs-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.jobs-areas span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.jobs-areas i {
    color: #4ade80;
    font-size: 0.75rem;
}

.jobs-banner-cta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.btn-jobs-main {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #07111f;
    background: linear-gradient(135deg, #4ade80, #16a34a);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 28px rgba(22, 163, 74, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-jobs-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(22, 163, 74, 0.5);
}

.jobs-banner-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.76rem;
    margin: 0;
    line-height: 1.4;
}

/* ========== CLIENT COMMUNITY SECTION ========== */
.client-community {
    background:
        linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.community-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.2rem 2.4rem;
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 12% 30%, rgba(47, 143, 91, 0.12), transparent 42%),
        radial-gradient(ellipse at 92% 60%, rgba(216, 137, 36, 0.14), transparent 46%),
        #ffffff;
    border: 1px solid rgba(45, 138, 160, 0.16);
    box-shadow: 0 18px 50px rgba(11, 31, 51, 0.09);
}

.community-copy {
    max-width: 680px;
}

.community-copy h2 {
    margin: 0.35rem 0 0.7rem;
    color: var(--primary-dark);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.community-copy p {
    margin: 0;
    color: #5f7288;
    font-size: 1rem;
    line-height: 1.65;
}

.community-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.2rem;
}

.community-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    color: #0b1f33;
    background: #f1f8f6;
    border: 1px solid rgba(47, 143, 91, 0.15);
    font-size: 0.82rem;
    font-weight: 700;
}

.community-benefits i {
    color: #2f8f5b;
}

.community-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 240px;
}

.community-primary-btn,
.community-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.community-primary-btn {
    color: #07111f;
    background: linear-gradient(135deg, #4ade80, #16a34a);
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.22);
}

.community-secondary-btn {
    color: #2f8f5b;
    background: #e9f5f0;
    border: 1px solid rgba(47, 143, 91, 0.18);
}

.community-primary-btn:hover,
.community-secondary-btn:hover {
    transform: translateY(-2px);
}

/* ========== INSIGHTS / BLOG SECTION ========== */
.insights-section {
    background:
        linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.insights-header {
    margin-bottom: 2.6rem;
}

.insights-header h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.insight-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 1.7rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(45, 138, 160, 0.14);
    box-shadow: 0 14px 40px rgba(11, 31, 51, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.insight-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #2f8f5b, #d88924);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.insight-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 143, 91, 0.28);
    box-shadow: 0 20px 52px rgba(11, 31, 51, 0.12);
}

.insight-card:hover::before {
    transform: scaleX(1);
}

.insight-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border-radius: 14px;
    font-size: 1.3rem;
}

.insight-icon-green {
    color: #2f8f5b;
    background: #e9f5f0;
}

.insight-icon-orange {
    color: #d88924;
    background: #fff4e6;
}

.insight-icon-blue {
    color: #2d8aa0;
    background: #e8f5f8;
}

.insight-category {
    display: inline-flex;
    margin-bottom: 0.55rem;
    color: #2f8f5b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.insight-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-size: 1.08rem;
    line-height: 1.35;
}

.insight-card p {
    margin: 0;
    color: #5f7288;
    font-size: 0.92rem;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .additional-services-grid,
    .category-services-grid {
        grid-template-columns: 1fr;
    }

    .invoice-highlight {
        grid-template-columns: 1fr;
        padding: 1.7rem 1.4rem;
    }

    .invoice-cta {
        width: 100%;
        justify-content: center;
    }

    .jobs-banner {
        flex-direction: column;
        padding: 2rem 1.4rem;
    }

    .jobs-banner-left {
        flex-direction: column;
    }

    .jobs-banner-cta {
        width: 100%;
    }

    .btn-jobs-main {
        width: 100%;
        justify-content: center;
    }

    .community-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 1.7rem 1.4rem;
        border-radius: 18px;
    }

    .community-actions {
        min-width: 0;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }
}

@supports (display: grid) {
    .services-grid > * {
        animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1.5px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 34px rgba(7, 17, 31, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

@media (max-width: 768px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #16a34a, #4ade80, #f97316);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: left;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(22, 163, 74, 0.4);
    box-shadow: 0 22px 64px rgba(22, 163, 74, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-12px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(240, 253, 244, 0.98));
}

.service-card:hover::before {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .service-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    height: 70px;
    width: 70px;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.75);
    position: relative;
    overflow: hidden;
    color: #16a34a;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 12px;
}

.service-card:hover .service-icon {
    transform: scale(1.12) rotateY(8deg);
    box-shadow: 0 14px 34px rgba(22, 163, 74, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.service-card:nth-child(1) .service-icon { color: #16a34a; background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.service-card:nth-child(2) .service-icon { color: #f97316; background: linear-gradient(135deg, #fff7ed, #ffedd5); box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15), inset 0 1px 2px rgba(255,255,255,0.75); }
.service-card:nth-child(3) .service-icon { color: #16a34a; background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.service-card:nth-child(4) .service-icon { color: #f97316; background: linear-gradient(135deg, #fff7ed, #ffedd5); box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15), inset 0 1px 2px rgba(255,255,255,0.75); }
.service-card:nth-child(5) .service-icon { color: #16a34a; background: linear-gradient(135deg, #f0fdf4, #dcfce7); }

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.service-card-list li {
    font-size: 0.875rem;
    color: #475569;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.45;
}

.service-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #16a34a;
}

.service-card:nth-child(even) .service-card-list li::before {
    background: #f97316;
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #16a34a;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.service-card:nth-child(even) .service-card-cta {
    color: #f97316;
}

.service-card-cta:hover {
    gap: 0.65rem;
}

/* ========== RUBROS FILTER TABS ========== */
.rubros-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.rubros-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    font-family: 'Poppins', sans-serif;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rubros-filter-btn:hover {
    border-color: #16a34a;
    color: #16a34a;
}

.rubros-filter-btn.active {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

/* ========== RUBRO MODE BADGES ========== */
.rubro-mode-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.badge-online {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.badge-presencial {
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.18);
}

.badge-hibrido {
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* ========== RUBROS GRID (landing vertical cards) ========== */
.services {
    background: linear-gradient(180deg, #f1f5ff 0%, #ffffff 55%);
}

.rubros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.rubro-card {
    display: flex;
    flex-direction: column;
    padding: 1.8rem 1.6rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    box-shadow: 0 2px 16px rgba(7, 17, 31, 0.055);
}

.rubro-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #4ade80);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 20px 20px 0 0;
}

.rubro-card:has(.cat-icon-orange)::before {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.rubro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 52px rgba(22, 163, 74, 0.13);
    border-color: rgba(22, 163, 74, 0.2);
}

.rubro-card:has(.cat-icon-orange):hover {
    box-shadow: 0 20px 52px rgba(249, 115, 22, 0.11);
    border-color: rgba(249, 115, 22, 0.2);
}

.rubro-card:hover::before {
    transform: scaleX(1);
}

.rubro-card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}

.rubro-card-body {
    flex: 1;
    min-width: 0;
}

.rubro-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #07111f;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.rubro-card-body p {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.rubro-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #16a34a;
    transition: gap 0.22s ease;
}

.rubro-card:has(.cat-icon-orange) .rubro-card-arrow {
    color: #f97316;
}

.rubro-card-arrow i {
    font-size: 0.72rem;
    transition: transform 0.22s ease;
}

.rubro-card:hover .rubro-card-arrow i {
    transform: translateX(4px);
}

.rubro-card:hover .rubro-card-arrow {
    gap: 0.55rem;
}

.invoice-note {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-top: 2.6rem;
    padding: 1.6rem 2rem;
    border-radius: 18px;
    color: #fff;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(22, 163, 74, 0.28), transparent 52%),
        radial-gradient(ellipse at 90% 50%, rgba(249, 115, 22, 0.18), transparent 52%),
        linear-gradient(135deg, #07111f 0%, #0d2518 100%);
    box-shadow: 0 16px 52px rgba(7, 17, 31, 0.24);
    overflow: hidden;
    position: relative;
}

.invoice-note-icon-box {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4ade80, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #07111f;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.38);
}

.invoice-note-body {
    flex: 1;
    min-width: 0;
}

.invoice-note-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #86efac;
    margin-bottom: 0.3rem;
}

.invoice-note-body p {
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.invoice-note-body strong {
    color: #fff;
    font-weight: 700;
}

.invoice-note-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.22s ease, gap 0.22s ease, border-color 0.22s ease;
    flex-shrink: 0;
}

.invoice-note-link:hover {
    background: rgba(22, 163, 74, 0.28);
    border-color: rgba(22, 163, 74, 0.5);
    gap: 0.65rem;
}

@media (max-width: 1024px) {
    .rubros-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rubros-grid {
        grid-template-columns: 1fr;
    }

    .invoice-note {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 1.4rem;
    }

    .invoice-note-link {
        width: 100%;
        justify-content: center;
    }
}

/* ========== BENEFITS SECTION ========== */
.benefits {
    background: linear-gradient(135deg, #07111f 0%, #164e63 52%, #2d1b69 100%);
    color: var(--white);
}

.benefits-header {
    color: var(--white);
}

.benefits-header h2 {
    color: var(--white);
    background: linear-gradient(135deg, #99f6e4, #bae6fd, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-header p {
    color: rgba(255, 255, 255, 0.8);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(15px);
    border: 1.5px solid rgba(255, 255, 255, 0.32);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

@media (max-width: 768px) {
    .benefit-item {
        padding: 1.5rem;
    }
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.10));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 18px 56px rgba(45, 212, 191, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .benefit-item:hover {
        transform: translateY(-6px) scale(1.02);
    }
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-item:nth-child(1) .benefit-icon { color: var(--accent-green); }
.benefit-item:nth-child(2) .benefit-icon { color: var(--accent-orange); }
.benefit-item:nth-child(3) .benefit-icon { color: var(--accent-blue); }
.benefit-item:nth-child(4) .benefit-icon { color: var(--accent-gold); }

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========== CONTACT SECTION ========== */
.contact {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
}

.contact .section-container {
    position: relative;
    z-index: 1;
}

.contact .section-header h2 {
    color: var(--primary-dark);
}

.contact .section-header p {
    color: #64748b;
}

/* ---- CONTACT REDIRECT CARDS ---- */
.contact-redirect-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: min(100%, 860px);
    margin: 0 auto 1.8rem;
}

.contact-redirect-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.3rem 1.4rem;
    border-radius: 16px;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-redirect-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(7, 17, 31, 0.1);
}

.contact-redirect-primary {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.06), rgba(22, 163, 74, 0.02));
    border-color: rgba(22, 163, 74, 0.25);
}

.contact-redirect-jobs {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.06), rgba(249, 115, 22, 0.02));
    border-color: rgba(249, 115, 22, 0.25);
}

.contact-redirect-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.contact-redirect-primary .contact-redirect-icon {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.contact-redirect-jobs .contact-redirect-icon {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.contact-redirect-body {
    flex: 1;
    min-width: 0;
}

.contact-redirect-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #07111f;
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.contact-redirect-body p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.45;
}

.contact-redirect-arrow {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.contact-redirect-card:hover .contact-redirect-arrow {
    transform: translateX(3px);
}

.contact-redirect-primary:hover .contact-redirect-arrow { color: #16a34a; }
.contact-redirect-jobs:hover .contact-redirect-arrow { color: #f97316; }

/* ---- FEEDBACK WIDGET ---- */
.feedback-widget {
    width: min(100%, 860px);
    margin: 1.2rem auto 0;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
}

.feedback-widget-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b7280;
}

.feedback-widget-header i {
    color: #16a34a;
    font-size: 1rem;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-label {
    font-size: 0.82rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* Star rating — RTL trick so last star = 5 */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.2rem;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.3rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f59e0b;
}

.feedback-textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #374151;
    background: #fff;
    resize: vertical;
    min-height: 72px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.feedback-textarea:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.08);
}

.feedback-footer {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.feedback-name {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #374151;
    background: #fff;
    transition: border-color 0.2s;
}

.feedback-name:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,0.08);
}

.btn-feedback-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.btn-feedback-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ---- CONTACT FORM CARD ---- */
.contact-form-card {
    position: relative;
    width: min(100%, 860px);
    margin: 0 auto;
    padding: 2.8rem;
    border-radius: 24px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(45, 212, 191, 0.72), rgba(56, 189, 248, 0.28), rgba(250, 204, 21, 0.42)) border-box;
    border: 1px solid transparent;
    box-shadow:
        0 30px 80px rgba(7, 17, 31, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(45, 212, 191, 0.12), transparent 30%),
        radial-gradient(circle at 100% 18%, rgba(56, 189, 248, 0.12), transparent 24%);
    pointer-events: none;
}

.contact-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -45%;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
    transform: skewX(-18deg);
    animation: formShine 5.8s ease-in-out infinite;
    pointer-events: none;
}

.contact-form-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 36px 92px rgba(7, 17, 31, 0.42),
        0 0 34px rgba(45, 212, 191, 0.14);
}

.contact-form-card form,
.contact-form-title {
    position: relative;
    z-index: 1;
}

.contact-form-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.9rem;
}

.contact-form-title h3 {
    margin: 0;
    color: #07111f;
    font-size: clamp(1.45rem, 3vw, 1.75rem);
    line-height: 1.2;
}

.contact-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.25rem;
    line-height: 1;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(56, 189, 248, 0.12));
    box-shadow: 0 12px 30px rgba(45, 212, 191, 0.18);
    animation: formIconPulse 3.6s ease-in-out infinite;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-methods-inline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(100%, 860px);
    margin: 1.5rem auto 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: rgba(45, 212, 191, 0.38);
}

.contact-method-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.18), rgba(56, 189, 248, 0.10));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.20);
    border: 1px solid rgba(45, 212, 191, 0.28);
}

.contact-method:hover .contact-method-icon {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.28), rgba(251, 113, 133, 0.12));
    box-shadow: 0 10px 28px rgba(45, 212, 191, 0.34);
    transform: scale(1.1) translateY(-2px);
    border-color: rgba(45, 212, 191, 0.46);
}

.contact-method h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.contact-method p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #4d5571;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group:focus-within label {
    color: var(--accent-green);
    transform: translateY(-2px);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid #d9e1ee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.98rem;
    color: #07111f;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
    background: linear-gradient(135deg, #f8fafc, #f3f7fb);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #38bdf8;
    background: #ffffff;
    box-shadow:
        0 0 0 4px rgba(56, 189, 248, 0.14),
        0 12px 26px rgba(7, 17, 31, 0.08);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #667085;
}

.form-group select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #4d5571 50%),
        linear-gradient(135deg, #4d5571 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.btn-submit {
    justify-content: center;
    background: linear-gradient(135deg, #134b82, #0f3f70);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 999px;
    width: 100%;
    margin-top: 0.2rem;
    box-shadow: 0 14px 34px rgba(19, 75, 130, 0.34);
    isolation: isolate;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -45%;
    width: 32%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    z-index: -1;
}

.btn-submit:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #0f3f70, #0b345f);
    box-shadow: 0 16px 38px rgba(19, 75, 130, 0.36);
}

.btn-submit:hover::after {
    left: 115%;
}

.btn-submit:active {
    transform: translateY(-1px);
}

@keyframes formShine {
    0%, 58% {
        left: -45%;
        opacity: 0;
    }
    70% {
        opacity: 0.8;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

@keyframes formIconPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 12px 30px rgba(45, 212, 191, 0.18);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(56, 189, 248, 0.26);
    }
}

/* ========== FOOTER ========== */
footer {
    background: #07111f;
    color: var(--white);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 3px;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-column a:hover {
    color: var(--accent-green);
    transform: translateX(4px);
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    border-radius: 999px;
    filter: brightness(1.1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.08);
    filter: brightness(1.2) drop-shadow(0 4px 10px rgba(45, 212, 191, 0.34));
}

.footer-logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social-link:hover {
    background: #16a34a;
    color: #fff;
    transform: translateY(-2px);
}

.contact-method { text-decoration: none; color: inherit; }

/* ========== RESPONSIVE ========== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes hamburgerGlowSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    /* ---- Hero logo & ring (base móvil) ---- */
    .hero-logo-big {
        --logo-intro-duration: 1.45s;
        --logo-intro-scale: 1.02;
        --logo-glow-intensity: 0.22;
        --logo-circle-padding: 10px;
        min-height: 336px;
        margin-bottom: 1rem;
    }

    .hero-logo-big::before {
        width: 240px;
        height: 240px;
        max-width: 70vw;
        max-height: 240px;
        filter: blur(28px);
        opacity: 0.75;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .hero-ring-wrapper {
        width: min(64vw, 320px);
        height: min(64vw, 320px);
        max-width: min(64vw, 320px);
        max-height: min(64vw, 320px);
    }

    .hero-ring-outer {
        inset: -12px;
    }

    .logo-particle {
        display: none;
    }

    .logo-glow {
        width: min(260px, 72vw);
        filter: blur(22px);
    }

    .hero-logo-animated {
        max-width: min(200px, 57vw);
        filter: blur(8px) drop-shadow(0 10px 40px rgba(22, 163, 74, 0));
        clip-path: inset(0 38% 0 38% round 999px);
    }

    .hero-logo-image {
        max-width: min(200px, 57vw);
        filter: drop-shadow(0 14px 36px rgba(22, 163, 74, 0.12)) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.06));
    }

    /* ---- Hero texto ---- */
    .hero-title {
        font-size: clamp(1.55rem, 6vw, 2rem);
        margin-bottom: 0.7rem;
        max-width: 92vw;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        width: min(100%, 340px);
        margin-left: auto;
        margin-right: auto;
        margin-top: 0.5rem;
        margin-bottom: 1.25rem;
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* ---- Botones ---- */
    .hero-cta-group {
        gap: 0.7rem;
        width: min(100%, 340px);
        margin-left: auto;
        margin-right: auto;
        margin-top: 0.4rem;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        border-radius: 14px;
        min-height: 52px;
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-cta-group .btn-secondary {
        border-color: rgba(22, 163, 74, 0.45);
        background: transparent;
        color: var(--primary-dark);
    }

    /* ---- Badges ---- */
    .hero-badges {
        gap: 0.5rem;
        width: min(100%, 340px);
        margin-left: auto;
        margin-right: auto;
        margin-top: 1rem;
    }

    .badge {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
        border-color: rgba(22, 163, 74, 0.18);
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 0.46rem 0.65rem;
        font-size: 0.76rem;
        min-height: 36px;
    }

    .navbar-menu {
        display: flex;
        position: fixed;
        inset: 72px 1rem auto auto;
        flex-direction: column;
        gap: 0.38rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 0.85rem;
        border-radius: 20px;
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
        z-index: 1200;
        border: 1px solid rgba(0, 0, 0, 0.07);
        width: calc(100% - 2rem);
        max-width: 330px;
        right: 1rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px) scale(0.96);
        transform-origin: top right;
        transition:
            opacity 0.28s ease,
            transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .navbar-menu::before {
        content: 'Menú';
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0.15rem 0.35rem 0.7rem;
        color: rgba(0, 0, 0, 0.4);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        margin-bottom: 0.25rem;
    }
    
    .navbar-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .navbar-menu li {
        width: 100%;
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.28s ease, transform 0.28s ease;
    }

    .navbar-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-menu.active li:nth-child(1) { transition-delay: 0.04s; }
    .navbar-menu.active li:nth-child(2) { transition-delay: 0.08s; }
    .navbar-menu.active li:nth-child(3) { transition-delay: 0.12s; }
    .navbar-menu.active li:nth-child(4) { transition-delay: 0.16s; }
    .navbar-menu.active li:nth-child(5) { transition-delay: 0.2s; }
    
    .navbar-menu a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.8rem;
        width: 100%;
        padding: 0.82rem 0.95rem;
        border-radius: 15px;
        border-bottom: none;
        background: rgba(0, 0, 0, 0.025);
        color: #334155;
        font-weight: 700;
        box-shadow: none;
        transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    }

    .navbar-menu a::before {
        content: '';
        width: 0.55rem;
        height: 0.55rem;
        flex: 0 0 auto;
        border-radius: 999px;
        background: linear-gradient(135deg, #16a34a, #f97316);
        opacity: 0.8;
    }

    .navbar-menu a::after {
        display: none;
    }

    .navbar-menu a:hover {
        color: #16a34a;
        background: rgba(22, 163, 74, 0.07);
        transform: translateX(2px);
        box-shadow: none;
    }

    
    .navbar-menu li:last-child a {
        border-bottom: none;
    }

    .navbar-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar-container {
        align-items: center;
        justify-content: space-between;
    }
    
    section {
        padding: 60px 1.5rem;
    }

    .hero {
        min-height: 100svh;
        padding: 90px 1.2rem 56px;
        margin-top: 0;
        background: linear-gradient(160deg, #ffffff 0%, #f8faff 55%, #f0f9ff 100%);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-visual {
        height: 200px;
    }
    
    .contact-redirect-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 2rem 1.4rem;
        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-methods-inline {
        grid-template-columns: 1fr;
    }
    
    .parallax-item {
        opacity: 0.045 !important;
        transform: scale(0.82);
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== TELÉFONOS PEQUEÑOS (≤ 430px) ===== */
@media (max-width: 430px) {
    .hero {
        padding: 86px 1.1rem 52px;
    }

    .hero-logo-big {
        min-height: 292px;
        margin-bottom: 0.9rem;
    }

    .hero-logo-big::before {
        width: 210px;
        height: 210px;
        max-width: 66vw;
        max-height: 210px;
        filter: blur(22px);
    }

    .hero-ring-wrapper {
        width: min(72vw, 275px);
        height: min(72vw, 275px);
        max-width: min(72vw, 275px);
        max-height: min(72vw, 275px);
    }

    .hero-ring-outer {
        inset: -9px;
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: min(178px, 50vw);
    }

    .hero-title {
        font-size: clamp(1.4rem, 7vw, 1.7rem);
    }

    .hero-subtitle {
        width: min(100%, 310px);
        font-size: 0.92rem;
        line-height: 1.55;
        margin-top: 0.45rem;
        margin-bottom: 1rem;
    }

    .hero-cta-group {
        width: min(100%, 310px);
        margin-top: 0.5rem;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        min-height: 50px;
        font-size: 0.92rem;
    }

    .hero-badges {
        width: min(100%, 310px);
        margin-top: 0.9rem;
    }

    .badge {
        padding: 0.44rem 0.6rem;
        font-size: 0.74rem;
        min-height: 34px;
    }
}

/* ===== TELÉFONOS MEDIANOS Y TABLETS PEQUEÑAS (431–768px) ===== */
@media (min-width: 431px) and (max-width: 768px) {
    .hero {
        padding: 96px 1.4rem 60px;
    }

    .hero-content {
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .hero-logo-big {
        min-height: 340px;
        margin-bottom: 1.2rem;
    }

    .hero-logo-big::before {
        width: 255px;
        height: 255px;
        max-width: 66vw;
        max-height: 255px;
        filter: blur(26px);
    }

    .hero-ring-wrapper {
        width: min(60vw, 318px);
        height: min(60vw, 318px);
        max-width: min(60vw, 318px);
        max-height: min(60vw, 318px);
    }

    .hero-ring-outer {
        inset: -11px;
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: min(200px, 50vw);
    }

    .hero-title {
        font-size: clamp(1.65rem, 5.5vw, 2.1rem);
    }

    .hero-subtitle {
        width: min(100%, 380px);
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 0.55rem;
        margin-bottom: 1.4rem;
    }

    .hero-cta-group {
        width: min(100%, 380px);
    }

    .hero-badges {
        width: min(100%, 380px);
        margin-top: 1.1rem;
    }
}

/* ===== TELÉFONOS MUY PEQUEÑOS (≤ 375px) ===== */
@media (max-width: 375px) {
    .hero {
        padding: 80px 1rem 48px;
    }

    .hero-logo-big {
        min-height: 270px;
        margin-bottom: 0.8rem;
    }

    .hero-ring-wrapper {
        width: min(74vw, 258px);
        height: min(74vw, 258px);
        max-width: min(74vw, 258px);
        max-height: min(74vw, 258px);
    }

    .hero-ring-outer {
        inset: -7px;
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: min(162px, 46vw);
    }

    .hero-title {
        font-size: clamp(1.3rem, 7.5vw, 1.6rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        width: min(100%, 290px);
    }

    .hero-cta-group,
    .hero-badges {
        width: min(100%, 290px);
    }

    .navbar-brand-text {
        font-size: 0.95rem;
    }
}

/* ===== PANTALLAS ULTRA-PEQUEÑAS (≤ 320px) ===== */
@media (max-width: 320px) {
    .hero {
        padding: 76px 0.9rem 44px;
    }

    .hero-logo-big {
        min-height: 248px;
    }

    .hero-ring-wrapper {
        width: min(76vw, 232px);
        height: min(76vw, 232px);
        max-width: min(76vw, 232px);
        max-height: min(76vw, 232px);
    }

    .hero-ring-outer {
        inset: -6px;
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: min(145px, 43vw);
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .navbar-logo-img {
        height: 28px;
    }

    .navbar-brand-text {
        display: none;
    }
}

/* ===== TABLETS Y ESCRITORIO MEDIANO (769px – 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding: 110px 2rem 60px;
    }

    .hero-logo-big {
        min-height: 420px;
    }

    .hero-ring-wrapper {
        width: min(50vw, 420px);
        height: min(50vw, 420px);
        max-width: min(50vw, 420px);
        max-height: min(50vw, 420px);
    }

    .hero-logo-image {
        max-width: min(270px, 34vw);
    }

    .hero-title {
        font-size: clamp(2rem, 4.5vw, 2.6rem);
    }

    .navbar-menu {
        gap: 1.4rem;
    }

    .navbar-brand-text {
        font-size: 1rem;
    }

    .additional-services-grid,
    .category-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-glow,
    .hero-logo-animated,
    .hero-content-reveal,
    .logo-particle,
    .hero-ring {
        animation: none !important;
        transition: none !important;
    }

    .logo-glow,
    .hero-logo-animated,
    .hero-content-reveal {
        opacity: 1;
        transform: none;
        filter: none;
        clip-path: inset(0 0 0 0 round 999px);
        pointer-events: auto;
    }

    .hero-ring {
        opacity: 1;
    }

    .logo-particle {
        display: none;
    }
}

/* ========== HERO RING ========== */
.hero-ring-wrapper {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 440px;
    height: 440px;
    max-width: min(90vw, 440px);
    max-height: min(90vw, 440px);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    background: conic-gradient(
        from 270deg,
        #16a34a 0deg,
        #22c55e 50deg,
        #86efac 90deg,
        #fbbf24 145deg,
        #f97316 190deg,
        #fb923c 230deg,
        #f97316 275deg,
        #fbbf24 315deg,
        #86efac 345deg,
        #16a34a 360deg
    );
    animation: heroRingSpin 25s linear infinite, heroRingFadeIn 0.9s ease 1.6s forwards;
    opacity: 0;
}

/* Aro principal grueso — el protagonista */
.hero-ring-main {
    inset: 0;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #fff calc(100% - 8px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #fff calc(100% - 8px));
    filter: drop-shadow(0 0 10px rgba(22, 163, 74, 0.45)) drop-shadow(0 0 6px rgba(249, 115, 22, 0.3));
}

/* Aro exterior fino — efecto de profundidad */
.hero-ring-outer {
    inset: -18px;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #fff calc(100% - 2.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #fff calc(100% - 2.5px));
    filter: drop-shadow(0 0 4px rgba(22, 163, 74, 0.25));
    opacity: 0;
    animation-delay: 1.7s;
}

.hero-ring-outer {
    animation: heroRingSpin 25s linear infinite, heroRingFadeOuterIn 0.9s ease 1.7s forwards;
}

@keyframes heroRingFadeOuterIn {
    to { opacity: 0.55; }
}

@keyframes heroRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes heroRingFadeIn {
    to { opacity: 1; }
}

/* ========== HERO TITLE ========== */
.hero-title {
    font-size: clamp(1.8rem, 5vw, 2.9rem);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.85rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-accent-green {
    color: #16a34a;
}

.hero-accent-orange {
    color: #f97316;
}

/* ========== SCROLL ANIMATIONS ========== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE POLISH FINAL ========== */
img,
svg,
video {
    max-width: 100%;
    height: auto;
}

html {
    scroll-padding-top: 86px;
}

body {
    min-width: 0;
}

.navbar-container,
.section-container,
.hero-content {
    width: 100%;
}

.hero {
    margin-top: 0;
}

.hero-content {
    margin: 0 auto;
}

.hero-subtitle {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.navbar-menu,
.invoice-highlight,
.jobs-banner,
.contact-form-card,
.contact-methods-inline {
    max-width: 100%;
}

@media (min-width: 1025px) {
    .hero {
        min-height: 100svh;
        padding-top: 118px;
        padding-bottom: 78px;
    }

    .hero-content {
        max-width: 1080px;
    }

    .hero-logo-big {
        min-height: clamp(330px, 43vh, 390px);
        margin-bottom: 2.25rem;
    }

    .hero-ring-wrapper {
        width: clamp(330px, 31vw, 390px);
        height: clamp(330px, 31vw, 390px);
        max-width: 390px;
        max-height: 390px;
    }

    .hero-ring-outer {
        inset: -14px;
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: clamp(230px, 21vw, 290px);
    }

    .hero-title {
        margin-left: auto;
        margin-right: auto;
        max-width: 1040px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .navbar-container {
        padding: 0 1.1rem;
        gap: 0.9rem;
    }

    .navbar-menu {
        gap: 1rem;
    }

    .navbar-menu a {
        font-size: 0.86rem;
    }

    .navbar-cta {
        padding: 0.58rem 0.95rem;
        font-size: 0.84rem;
    }

    .hero {
        min-height: auto;
        padding: 108px 2rem 68px;
    }

    .hero-content {
        max-width: 780px;
    }

    .hero-logo-big {
        min-height: clamp(330px, 42vw, 400px);
    }

    .hero-ring-wrapper {
        width: min(46vw, 400px);
        height: min(46vw, 400px);
        max-width: min(46vw, 400px);
        max-height: min(46vw, 400px);
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: min(255px, 32vw);
    }

    .services-grid .service-card {
        max-width: calc(50% - 1rem);
    }

    .additional-services-grid,
    .category-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (min-width: 769px) and (max-width: 900px) {
    .navbar-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 76px;
    }

    .navbar {
        padding: 0.65rem 0;
    }

    .navbar-container {
        padding: 0 1rem;
        min-height: 48px;
    }

    .navbar-logo-img {
        height: 32px;
    }

    .navbar-brand-text {
        font-size: 0.98rem;
    }

    .hamburger {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.72);
        border-color: rgba(56, 189, 248, 0.28);
        box-shadow: 0 10px 28px rgba(7, 17, 31, 0.12);
    }

    .hamburger span {
        background: #164e63;
    }

    .navbar-menu {
        inset: 72px 1rem auto 1rem;
        right: 1rem;
        width: auto;
        max-width: none;
        padding: 0.95rem;
        align-items: stretch;
    }

    .navbar-menu a {
        justify-content: flex-start;
        min-height: 46px;
    }

    section {
        padding: 68px 1.15rem;
    }

    .hero {
        min-height: 100svh;
        padding: clamp(92px, 11svh, 112px) clamp(1rem, 4vw, 1.4rem) clamp(86px, 11svh, 116px);
        align-items: flex-start;
    }

    .hero-content {
        max-width: 390px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-logo-big {
        --logo-circle-padding: 9px;
        width: 100%;
        min-height: clamp(225px, 38svh, 300px);
        margin-bottom: clamp(1.1rem, 2.8svh, 1.65rem);
    }

    .hero-logo-big::before {
        width: clamp(230px, 76vw, 340px);
        height: clamp(230px, 76vw, 340px);
        max-width: 86vw;
        max-height: 340px;
        filter: blur(clamp(24px, 7vw, 38px));
        opacity: 0.82;
    }

    .hero-ring-wrapper {
        width: clamp(216px, 64vw, 292px);
        height: clamp(216px, 64vw, 292px);
        max-width: 82vw;
        max-height: 292px;
    }

    .hero-ring-outer {
        inset: -10px;
    }

    .logo-glow {
        width: clamp(230px, 74vw, 330px);
        filter: blur(24px);
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: clamp(156px, 45vw, 205px);
    }

    .hero-title {
        max-width: 360px;
        font-size: clamp(1.45rem, 6.2vw, 2.05rem);
        line-height: 1.18;
        margin-bottom: 0.85rem;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        width: min(100%, 350px);
        font-size: clamp(0.92rem, 3.5vw, 1rem);
        line-height: 1.62;
        margin-top: 0;
        margin-bottom: clamp(1.25rem, 3svh, 1.8rem);
    }

    .hero-cta-group {
        width: min(100%, 350px);
        gap: 0.72rem;
        margin-top: 0;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        min-height: 52px;
        padding: 0.86rem 1rem;
        font-size: 0.94rem;
    }

    .hero-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 350px);
        gap: 0.58rem;
        margin-top: 1rem;
    }

    .badge {
        width: 100%;
        min-width: 0;
        white-space: normal;
        line-height: 1.25;
        padding: 0.5rem 0.6rem;
    }

    .section-header {
        margin-bottom: 2.6rem;
    }

    .section-header h2 {
        font-size: clamp(1.8rem, 7vw, 2.35rem);
    }

    .section-header p {
        font-size: 1rem;
        margin-top: 1.6rem;
    }

    .about-text h3 {
        font-size: clamp(1.45rem, 5.4vw, 1.8rem);
    }

    .services-grid {
        gap: 1.2rem;
    }

    .services-grid .service-card {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .additional-services-grid,
    .category-services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .service-card,
    .additional-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }

    .invoice-highlight {
        gap: 1.2rem;
        border-radius: 18px;
    }

    .jobs-areas span {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .contact-form-card {
        width: min(100%, 560px);
        padding: clamp(1.35rem, 5vw, 2rem);
        border-radius: 20px;
    }

    .contact-form-title {
        align-items: flex-start;
        gap: 0.65rem;
    }

    .contact-form-title h3 {
        font-size: clamp(1.35rem, 5vw, 1.65rem);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .contact-method {
        gap: 0.9rem;
        padding: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .navbar-container {
        padding: 0 0.9rem;
    }

    .navbar-menu {
        inset: 70px 0.9rem auto 0.9rem;
    }

    .hero {
        min-height: 100svh;
        padding: 94px 1rem 96px;
    }

    .hero-content {
        max-width: 350px;
    }

    .hero-logo-big {
        min-height: clamp(222px, 36svh, 282px);
        margin-bottom: 1.3rem;
    }

    .hero-ring-wrapper {
        width: clamp(212px, 66vw, 272px);
        height: clamp(212px, 66vw, 272px);
    }

    .hero-logo-big::before {
        width: clamp(230px, 82vw, 318px);
        height: clamp(230px, 82vw, 318px);
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: clamp(150px, 45vw, 185px);
    }

    .hero-title {
        max-width: 330px;
        font-size: clamp(1.38rem, 6.5vw, 1.72rem);
    }

    .hero-subtitle,
    .hero-cta-group,
    .hero-badges {
        width: min(100%, 330px);
    }

    .hero-subtitle {
        margin-bottom: 1.45rem;
    }

    .badge {
        min-height: 38px;
    }
}

@media (max-width: 375px) {
    .navbar-brand-text {
        display: none;
    }

    .hero {
        padding: 90px 0.9rem 88px;
    }

    .hero-logo-big {
        min-height: 250px;
    }

    .hero-ring-wrapper {
        width: min(72vw, 252px);
        height: min(72vw, 252px);
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: min(160px, 43vw);
    }

    .hero-subtitle,
    .hero-cta-group,
    .hero-badges {
        width: min(100%, 300px);
    }

    .hero-badges {
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-secondary,
    .btn-submit {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) and (max-height: 760px) {
    .hero {
        padding-top: 82px;
        padding-bottom: 52px;
    }

    .hero-logo-big {
        min-height: 252px;
        margin-bottom: 0.78rem;
    }

    .hero-ring-wrapper {
        width: min(64vw, 226px);
        height: min(64vw, 226px);
        max-width: 226px;
        max-height: 226px;
    }

    .hero-ring-outer {
        inset: -8px;
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: min(142px, 39vw);
    }

    .hero-title {
        max-width: min(100%, 320px);
        font-size: clamp(1.22rem, 5.4vw, 1.42rem);
        line-height: 1.18;
        margin-bottom: 0.62rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 0.95rem;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        min-height: 48px;
    }

    .hero-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 312px);
        gap: 0.45rem;
        margin-top: 0.72rem;
    }

    .badge {
        min-height: 32px;
        padding: 0.38rem 0.48rem;
        font-size: 0.68rem;
        line-height: 1.18;
        border-radius: 999px;
    }

    .badge i {
        font-size: 0.78rem;
    }
}

@media (max-width: 370px) and (max-height: 760px) {
    .hero-content {
        max-width: 326px;
    }

    .hero-title {
        max-width: 306px;
        font-size: clamp(1.16rem, 5.15vw, 1.32rem);
    }

    .hero-subtitle {
        width: min(100%, 304px);
        font-size: 0.84rem;
    }

    .hero-cta-group,
    .hero-badges {
        width: min(100%, 304px);
    }
}

@media (max-width: 390px) and (max-height: 700px) {
    .hero {
        padding-top: 70px;
        padding-bottom: 36px;
    }

    .hero-logo-big {
        min-height: 230px;
        margin-bottom: 0.5rem;
    }

    .hero-ring-wrapper {
        width: min(60vw, 216px);
        height: min(60vw, 216px);
        max-width: 216px;
        max-height: 216px;
    }

    .hero-ring-outer {
        inset: -7px;
    }

    .hero-logo-image,
    .hero-logo-animated {
        max-width: min(132px, 36vw);
    }

    .hero-title {
        max-width: 310px;
        font-size: clamp(1.13rem, 5vw, 1.24rem);
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        width: min(100%, 306px);
        font-size: 0.82rem;
        line-height: 1.42;
        margin-bottom: 0.75rem;
    }

    .hero-cta-group {
        width: min(100%, 300px);
        gap: 0.5rem;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        min-height: 44px;
        padding: 0.68rem 0.9rem;
        font-size: 0.88rem;
        border-radius: 13px;
    }

    .hero-badges {
        width: min(100%, 300px);
        gap: 0.36rem;
        margin-top: 0.55rem;
    }

    .badge {
        min-height: 30px;
        padding: 0.32rem 0.42rem;
        font-size: 0.62rem;
    }

    .badge i {
        font-size: 0.72rem;
    }
}

/* ========== PALETA FINAL SUAVE ========== */
:root {
    --primary-dark: #0b1f33;
    --primary-light: #16465a;
    --secondary-dark: #203247;
    --accent-green: #2f8f5b;
    --accent-orange: #d87927;
    --accent-blue: #2d8aa0;
    --accent-gold: #d99a2b;
    --light-bg: #f4f8fb;
    --surface-soft: #eef5f8;
}

body {
    color: var(--secondary-dark);
    background: #ffffff;
}

.navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(11, 31, 51, 0.08);
    box-shadow: 0 8px 28px rgba(11, 31, 51, 0.06);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 10px 32px rgba(11, 31, 51, 0.08);
}

.navbar-menu a {
    color: #2e3e51;
}

.navbar-menu a::after {
    background: #2f8f5b;
}

.navbar-menu a:hover,
.footer-column a:hover {
    color: #2f8f5b;
}

.navbar-cta,
.btn-primary,
.btn-submit {
    background: #d88924;
    color: #0b1f33;
    box-shadow: 0 12px 28px rgba(216, 137, 36, 0.22);
}

.navbar-cta:hover,
.btn-primary:hover,
.btn-submit:hover {
    background: #c9791f;
    box-shadow: 0 16px 34px rgba(216, 137, 36, 0.28);
}

.hero {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 72%, #eef5f8 100%);
}

.hero-logo-big {
    --logo-glow-gradient: radial-gradient(circle at center, rgba(47, 143, 91, 0.11), rgba(216, 137, 36, 0.08) 54%, transparent 72%);
}

.hero-logo-big::before,
.logo-glow::before {
    background: radial-gradient(circle at center, rgba(47, 143, 91, 0.10), rgba(216, 137, 36, 0.06) 52%, transparent 72%);
}

.logo-particle {
    background: linear-gradient(90deg, transparent, rgba(47, 143, 91, 0.7), transparent);
    box-shadow: 0 0 10px rgba(47, 143, 91, 0.28);
}

.hero-ring {
    background: conic-gradient(
        from 270deg,
        #2f8f5b 0deg,
        #55b57f 70deg,
        #c9d879 130deg,
        #d99a2b 190deg,
        #cf7f31 245deg,
        #d99a2b 300deg,
        #55b57f 360deg
    );
}

.hero-ring-main {
    filter: drop-shadow(0 0 8px rgba(47, 143, 91, 0.28)) drop-shadow(0 0 5px rgba(216, 137, 36, 0.18));
}

.hero-ring-outer {
    filter: drop-shadow(0 0 4px rgba(47, 143, 91, 0.18));
}

.hero-title,
.section-header h2,
.about-text h3,
.service-card h3,
.additional-card h3,
.contact-form-title h3 {
    color: var(--primary-dark);
}

.hero-accent-green {
    color: #2f8f5b;
}

.hero-accent-orange {
    color: #d87927;
}

.hero-subtitle,
.section-header p,
.about-text p,
.service-card p,
.additional-card p,
.contact .section-header p,
.contact-method p {
    color: #5f7288;
}

.btn-secondary {
    color: var(--primary-dark);
    border-color: rgba(47, 143, 91, 0.48);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(11, 31, 51, 0.05);
}

.btn-secondary:hover {
    color: #2f8f5b;
    border-color: rgba(47, 143, 91, 0.68);
    background: rgba(47, 143, 91, 0.06);
    box-shadow: 0 14px 28px rgba(47, 143, 91, 0.12);
}

.badge {
    border-color: rgba(47, 143, 91, 0.22);
    color: #506579;
    box-shadow: 0 8px 20px rgba(11, 31, 51, 0.06);
}

.badge i,
.category-list li::before,
.jobs-label,
.contact-method-icon,
.form-group:focus-within label {
    color: #2f8f5b;
}

.badge:hover {
    color: #2f8f5b;
    border-color: rgba(47, 143, 91, 0.4);
    background: rgba(47, 143, 91, 0.05);
}

.footer-column a::after {
    background: #2d8aa0;
}

.section-header h2::after {
    background: linear-gradient(90deg, #2f8f5b, #d88924);
    box-shadow: 0 0 14px rgba(47, 143, 91, 0.3);
}

.service-card::before {
    background: linear-gradient(90deg, #2f8f5b, #4ade80, #d88924);
}

.about,
.jobs-section {
    background: #f4f8fb;
}

.about-highlight {
    background: #e9f5f4;
    border-left-color: #2f8f5b;
}

.about-visual,
.benefits {
    background: #12384a;
    box-shadow: 0 24px 60px rgba(11, 31, 51, 0.22);
}

.about-visual::before {
    background: radial-gradient(circle, rgba(216, 137, 36, 0.12), transparent 68%);
}

.service-card,
.additional-card {
    background: #ffffff;
    border-color: rgba(45, 138, 160, 0.18);
    box-shadow: 0 16px 42px rgba(11, 31, 51, 0.08);
}

.service-card::after {
    background: radial-gradient(circle, rgba(47, 143, 91, 0.10), transparent 70%);
}

.service-card:hover,
.additional-card:hover {
    border-color: rgba(47, 143, 91, 0.34);
    background: #ffffff;
    box-shadow: 0 22px 52px rgba(11, 31, 51, 0.12);
}

.service-icon,
.additional-card .service-icon,
.contact-form-icon,
.contact-method-icon {
    background: #eaf5f3;
    box-shadow: 0 10px 24px rgba(47, 143, 91, 0.10);
}

.service-card:hover .service-icon {
    box-shadow: 0 14px 30px rgba(47, 143, 91, 0.16);
}

.service-card:nth-child(1) .service-icon,
.service-card:nth-child(5) .service-icon,
.jobs-areas i {
    color: #2d8aa0;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(4) .service-icon {
    color: #d88924;
}

.service-card:nth-child(3) .service-icon {
    color: #2f8f5b;
}

.benefits-header h2 {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #f6fbfc;
}

.benefits-header p {
    color: rgba(246, 251, 252, 0.84);
}

.benefit-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.20);
    box-shadow: 0 14px 34px rgba(11, 31, 51, 0.18);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 46px rgba(11, 31, 51, 0.22);
}

.benefit-item:nth-child(1) .benefit-icon {
    color: #7ccf9b;
}

.benefit-item:nth-child(2) .benefit-icon,
.benefit-item:nth-child(4) .benefit-icon {
    color: #e0ad4e;
}

.benefit-item:nth-child(3) .benefit-icon {
    color: #80c7d4;
}

.contact {
    background: #ffffff;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(45, 138, 160, 0.18);
    box-shadow: 0 22px 58px rgba(11, 31, 51, 0.12);
}

.contact-form-card::before {
    background: radial-gradient(circle at 20% 0%, rgba(47, 143, 91, 0.08), transparent 32%);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #f8fafc;
    border-color: #d9e4ea;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2d8aa0;
    box-shadow: 0 0 0 4px rgba(45, 138, 160, 0.12), 0 12px 24px rgba(11, 31, 51, 0.06);
}

footer {
    background: #081827;
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 74%, #eef5f8 100%);
    }

    .hamburger {
        border-color: rgba(45, 138, 160, 0.24);
    }

    .hamburger span {
        background: #16465a;
    }

    .navbar-menu a::before {
        background: #2f8f5b;
    }
}

/* ========== HERO COLORS RESTORE ========== */
.hero {
    background: linear-gradient(160deg, #ffffff 0%, #f8faff 55%, #f0f9ff 100%);
}

.hero-logo-big {
    --logo-glow-gradient: linear-gradient(135deg, rgba(22, 163, 74, 0.12) 0%, rgba(249, 115, 22, 0.08) 50%, rgba(22, 163, 74, 0.06) 100%);
}

.hero-logo-big::before {
    background: radial-gradient(circle at center, rgba(22, 163, 74, 0.07), rgba(249, 115, 22, 0.04) 50%, transparent 70%);
}

.logo-glow::before {
    background: radial-gradient(circle at center, rgba(22, 163, 74, 0.10), rgba(249, 115, 22, 0.06) 50%, transparent 70%);
}

.logo-particle {
    background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.75), transparent);
    box-shadow: 0 0 10px rgba(22, 163, 74, 0.4);
}

.hero-ring {
    background: conic-gradient(
        from 270deg,
        #16a34a 0deg,
        #22c55e 50deg,
        #86efac 90deg,
        #fbbf24 145deg,
        #f97316 190deg,
        #fb923c 230deg,
        #f97316 275deg,
        #fbbf24 315deg,
        #86efac 345deg,
        #16a34a 360deg
    );
}

.hero-ring-main {
    filter: drop-shadow(0 0 10px rgba(22, 163, 74, 0.45)) drop-shadow(0 0 6px rgba(249, 115, 22, 0.3));
}

.hero-ring-outer {
    filter: drop-shadow(0 0 4px rgba(22, 163, 74, 0.25));
}

.hero-accent-green {
    color: #16a34a;
}

.hero-accent-orange {
    color: #f97316;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #facc15, #fb7185);
    color: #07111f;
    box-shadow: 0 10px 30px rgba(251, 113, 133, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero .btn-primary:hover {
    background: linear-gradient(135deg, #facc15, #fb7185);
    box-shadow: 0 16px 46px rgba(250, 204, 21, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary {
    border-color: rgba(22, 163, 74, 0.45);
    background: transparent;
}

.hero .btn-secondary:hover {
    color: #16a34a;
    border-color: rgba(22, 163, 74, 0.65);
    background: rgba(22, 163, 74, 0.05);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.14);
}

.hero .badge i {
    color: #16a34a;
}

.hero .badge:hover {
    color: #15803d;
    border-color: rgba(22, 163, 74, 0.38);
    background: rgba(22, 163, 74, 0.04);
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(160deg, #ffffff 0%, #f8faff 55%, #f0f9ff 100%);
    }
}

/* ========== BRAND BLUE TEXT ========== */
.navbar-brand-text,
.hero-title {
    color: #062b63;
}

.navbar-menu a:hover {
    color: #2f6fa3;
}

.navbar-menu a::after {
    background: #5ba6d6;
}

/* ========== RESPONSIVE MENU BRAND ========== */
@media (max-width: 768px) {
    .hamburger {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(91, 166, 214, 0.38);
        box-shadow: 0 12px 30px rgba(6, 43, 99, 0.12);
    }

    .hamburger.active {
        background: #f3f9fd;
        border-color: rgba(47, 111, 163, 0.42);
        box-shadow: 0 14px 34px rgba(6, 43, 99, 0.18);
    }

    .hamburger span {
        background: #062b63;
    }

    .navbar-menu {
        padding: 0.9rem;
        overflow: hidden;
        background:
            radial-gradient(circle at 78% 14%, rgba(91, 166, 214, 0.14), transparent 34%),
            #ffffff;
        border: 1px solid rgba(91, 166, 214, 0.24);
        border-top: 4px solid #5ba6d6;
        box-shadow:
            0 24px 70px rgba(6, 43, 99, 0.20),
            0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }

    .navbar-menu::before {
        content: 'RAMAEM Multiservicios';
        position: relative;
        z-index: 1;
        min-height: 58px;
        padding: 0 0.55rem 0 3.05rem;
        margin: 0 0 0.72rem;
        display: flex;
        align-items: center;
        color: #062b63;
        font-size: 0.82rem;
        font-weight: 900;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(91, 166, 214, 0.20);
        background-image: url('logo-ramaem.png');
        background-repeat: no-repeat;
        background-size: 34px auto;
        background-position: 0.45rem center;
    }

    .navbar-menu::after {
        content: 'RM';
        position: absolute;
        right: -0.2rem;
        bottom: -1.3rem;
        z-index: 0;
        color: rgba(6, 43, 99, 0.045);
        font-family: 'Poppins', sans-serif;
        font-size: 6.5rem;
        font-weight: 900;
        line-height: 1;
        pointer-events: none;
    }

    .navbar-menu li {
        position: relative;
        z-index: 1;
    }

    .navbar-menu a {
        min-height: 50px;
        color: #203247;
        background: rgba(244, 248, 251, 0.82);
        border: 1px solid rgba(91, 166, 214, 0.12);
        box-shadow: 0 8px 20px rgba(6, 43, 99, 0.04);
    }

    .navbar-menu a::before {
        width: 0.58rem;
        height: 0.58rem;
        background: #5ba6d6;
        box-shadow: 0 0 0 4px rgba(91, 166, 214, 0.12);
    }

    .navbar-menu a:hover {
        color: #062b63;
        background: #eef7fc;
        border-color: rgba(91, 166, 214, 0.28);
        transform: translateX(3px);
    }

    .navbar-menu li:last-child a {
        color: #062b63;
        background: rgba(216, 137, 36, 0.10);
        border-color: rgba(216, 137, 36, 0.18);
    }

    .navbar-menu li:last-child a::before {
        background: #d88924;
        box-shadow: 0 0 0 4px rgba(216, 137, 36, 0.12);
    }
}
