/*
  MF Web Solutions — Estilos Optimizados
  Versión: 3.1 — Responsive 100% | Sin emails | WhatsApp primero
*/

@charset "utf-8";

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #000;
    color: #d4e8da;
    overflow-x: hidden;
    max-width: 100vw;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== BACKGROUND ==================== */
.neural-background {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 85%, rgba(10, 60, 25, 0.85)  0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(20, 80, 35, 0.80)  0%, transparent 50%),
        radial-gradient(circle at 45% 60%, rgba(15, 70, 30, 0.70)  0%, transparent 50%),
        radial-gradient(circle at 70% 40%, rgba(180, 140, 30, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #030d06 0%, #0a2010 50%, #000000 100%);
    animation: backgroundPulse 14s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%,  100% { filter: brightness(0.9) saturate(1.4) hue-rotate(0deg); }
    33%        { filter: brightness(1.1) saturate(1.7) hue-rotate(8deg); }
    66%        { filter: brightness(1.0) saturate(1.5) hue-rotate(-5deg); }
}

.geometric-shapes {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border: 1px solid rgba(180, 140, 30, 0.25);
    animation: floatShape 20s linear infinite;
}

.shape:nth-child(1) { width: 100px; height: 100px; left: 10%; animation-delay: 0s; border-color: rgba(200, 162, 52, 0.3); }
.shape:nth-child(2) { width: 60px; height: 60px; left: 70%; animation-delay: -5s; border-radius: 50%; border-color: rgba(58, 173, 101, 0.35); }
.shape:nth-child(3) { width: 80px; height: 80px; left: 30%; animation-delay: -10s; transform: rotate(45deg); border-color: rgba(200, 162, 52, 0.3); }
.shape:nth-child(4) { width: 120px; height: 120px; left: 50%; animation-delay: -15s; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); background: linear-gradient(45deg, rgba(200, 162, 52, 0.08), transparent); }

@keyframes floatShape {
    from { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    to   { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.neural-lines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

.neural-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #C8A234, transparent);
    height: 1px;
    animation: neuralPulse 3s ease-in-out infinite;
}

.neural-line:nth-child(1) { top: 20%; left: 0; width: 100%; background: linear-gradient(90deg, transparent, #C8A234, transparent); animation-delay: 0s; }
.neural-line:nth-child(2) { top: 60%; left: 0; width: 100%; background: linear-gradient(90deg, transparent, #3aad65, transparent); animation-delay: -1s; }
.neural-line:nth-child(3) { top: 40%; left: 0; width: 100%; background: linear-gradient(90deg, transparent, #e4bc52, transparent); animation-delay: -2s; }

@keyframes neuralPulse {
    0%, 100% { opacity: 0.2; transform: scaleX(0.5); }
    50%       { opacity: 1;   transform: scaleX(1);   }
}

/* ==================== GLASSMORPHISM ==================== */
.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 162, 52, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 24px);
    max-width: 1200px;
    padding: 14px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(3, 13, 6, 0.88);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(200, 162, 52, 0.20);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

header.scrolled {
    background: rgba(3, 13, 6, 0.96);
    border-color: rgba(200, 162, 52, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 0;
}
.logo:hover { transform: scale(1.04); }

.logo-img {
    height: 52px;
    width: auto;
    flex-shrink: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 0 10px rgba(200, 162, 52, 0.45));
    transition: filter 0.3s ease;
}
.logo:hover .logo-img { filter: drop-shadow(0 0 14px rgba(200, 162, 52, 0.6)); }

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}
.logo-name {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.logo-sub {
    font-size: 0.55rem;
    font-weight: 600;
    color: #C8A234;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ===== NAV DESKTOP ===== */
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #C8A234;
    background: rgba(200, 162, 52, 0.08);
}

.nav-links a.active {
    color: #C8A234;
    background: linear-gradient(135deg, rgba(200, 162, 52, 0.15), rgba(58, 173, 101, 0.10));
    box-shadow: 0 0 20px rgba(200, 162, 52, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(200, 162, 52, 0.28);
    text-shadow: 0 0 10px rgba(200, 162, 52, 0.6);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #C8A234, #3aad65, #e4bc52, #C8A234);
    background-size: 400% 400%;
    border-radius: 14px;
    z-index: -2;
    animation: borderGlow 3s ease infinite;
}

@keyframes borderGlow {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

/* CTA nav button */
.nav-links a.nav-cta {
    background: linear-gradient(135deg, #e4bc52 0%, #C8A234 50%, #9d7c1e 100%);
    background-size: 200% 200%;
    color: #030d06 !important;
    font-weight: 800;
    border-radius: 50px;
    padding: 10px 22px;
    border: none;
    box-shadow: 0 4px 18px rgba(200, 162, 52, 0.5);
    text-shadow: none !important;
    position: relative; overflow: hidden;
    animation: btnGoldShimmer 3s ease infinite;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 0.85rem;
}
.nav-links a.nav-cta::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}
.nav-links a.nav-cta:hover::before { left: 160%; }
.nav-links a.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(200, 162, 52, 0.65);
}
.nav-links a.nav-cta.active {
    background: linear-gradient(135deg, #e4bc52, #C8A234) !important;
    color: #030d06 !important;
}

/* ===== HAMBURGER ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    background: rgba(200, 162, 52, 0.08);
    border: 1px solid rgba(200, 162, 52, 0.25);
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    gap: 0;
    /* Reset button styles */
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}
.mobile-menu-toggle:hover {
    background: rgba(200, 162, 52, 0.15);
    box-shadow: 0 0 15px rgba(200, 162, 52, 0.25);
}
.mobile-menu-toggle:focus-visible {
    outline: 2px solid #C8A234;
    outline-offset: 2px;
}

.hamburger-line {
    width: 22px; height: 2.5px;
    background: linear-gradient(45deg, #C8A234, #3aad65);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}
.mobile-menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.mobile-menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 480px;
    background: rgba(3, 13, 6, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(200, 162, 52, 0.25);
    border-radius: 20px;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(200, 162, 52, 0.08);
    z-index: 999;
}
.mobile-nav.active {
    display: flex;
    animation: slideDown 0.28s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-15px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mobile-nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 162, 52, 0.12);
    text-align: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:active {
    background: rgba(200, 162, 52, 0.12);
    color: #C8A234;
    border-color: rgba(200, 162, 52, 0.3);
}
.mobile-nav a.active {
    background: linear-gradient(135deg, rgba(200, 162, 52, 0.18), rgba(58, 173, 101, 0.12));
    color: #C8A234;
    border: 1px solid rgba(200, 162, 52, 0.35);
}

/* Mobile WA button */
.mobile-wa-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #2edf70, #25d366, #128c7e) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    padding: 16px 20px !important;
    border: none !important;
    box-shadow: 0 6px 22px rgba(37,211,102,0.5) !important;
    font-size: 0.95rem !important;
    position: relative;
    overflow: hidden;
    margin-top: 4px;
}
.mobile-wa-btn::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: btnSweep 2.5s ease infinite;
}
@keyframes btnSweep {
    0%  { left: -100%; }
    60%, 100% { left: 160%; }
}

/* ==================== HERO ==================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(200, 162, 52, 0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: heroGlow 10s ease-in-out infinite;
    z-index: -1;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(-50%,-50%) scale(1) rotate(0deg); opacity: 0.6; }
    50%       { transform: translate(-50%,-50%) scale(1.3) rotate(180deg); opacity: 1; }
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    padding: 80px 24px 60px;
    margin-top: 80px;
    animation: heroAppear 2.5s ease-out;
    position: relative;
}

@keyframes heroAppear {
    from { opacity: 0; transform: translateY(60px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-subtitle {
    font-size: 0.85rem;
    color: #C8A234;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideInFromLeft 1.2s ease 0.3s forwards;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    position: relative;
    display: inline-block;
    font-weight: 300;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px; height: 1px;
    background: linear-gradient(90deg, transparent, #C8A234, transparent);
    animation: linePulse 3s ease infinite;
}
.hero-subtitle::before { left: -40px; }
.hero-subtitle::after  { right: -40px; }

@media (max-width: 768px) {
    .hero-subtitle::before,
    .hero-subtitle::after { display: none; }
}

@keyframes linePulse {
    0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
    50%       { opacity: 1;   transform: scaleX(1.2); }
}

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero h1 {
    font-size: clamp(2rem, 6.5vw, 4rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #e4bc52 0%, #C8A234 30%, #3aad65 60%, #e4bc52 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: modernGradient 8s ease infinite, slideInFromRight 1.2s ease 0.6s both;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

@keyframes modernGradient {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

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

.hero-description {
    max-width: 680px;
    margin: 30px auto 40px;
    opacity: 0;
    animation: fadeInScale 1.2s ease 0.9s forwards;
    text-align: center;
}
.hero-description p {
    font-size: 1.1rem;
    color: #c0d4c8;
    line-height: 1.75;
    font-weight: 300;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 40px auto 40px;
    max-width: 700px;
    opacity: 0;
    animation: slideUpStagger 1.2s ease 1.2s forwards;
}

.hero-stat {
    text-align: center;
    position: relative;
    padding: 16px 10px;
    background: linear-gradient(135deg, rgba(200, 162, 52, 0.07), rgba(58, 173, 101, 0.05));
    border: 1px solid rgba(200, 162, 52, 0.18);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}
.hero-stat:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(200, 162, 52, 0.35);
    box-shadow: 0 20px 40px rgba(200, 162, 52, 0.12);
}
.hero-stat-number {
    font-size: 1.6rem; font-weight: 700;
    color: #C8A234;
    display: block;
    text-shadow: 0 0 15px rgba(200, 162, 52, 0.45);
    margin-bottom: 6px;
}
.hero-stat-label {
    font-size: 0.72rem; color: #7a9a85;
    text-transform: uppercase;
    letter-spacing: 0.08em; font-weight: 400;
}

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

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: buttonSlideUp 1.2s ease 1.5s forwards;
}

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

/* ===== BOTONES CTA ===== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #e4bc52 0%, #C8A234 50%, #9d7c1e 100%);
    background-size: 200% 200%;
    color: #030d06;
    box-shadow: 0 4px 18px rgba(200, 162, 52, 0.45), 0 1px 0 rgba(255,255,255,0.2) inset;
    animation: btnGoldShimmer 3s ease infinite;
}

@keyframes btnGoldShimmer {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.cta-button:hover::before { left: 160%; }

.cta-button::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 53px;
    background: linear-gradient(135deg, #e4bc52, #3aad65, #C8A234);
    background-size: 300% 300%;
    animation: ringRotate 3s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.cta-button:hover::after { opacity: 1; }

@keyframes ringRotate {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(200, 162, 52, 0.55), 0 6px 12px rgba(0,0,0,0.3);
}

.cta-button.secondary {
    background: rgba(200, 162, 52, 0.06);
    border: 2px solid #C8A234;
    color: #e4bc52;
    box-shadow: 0 4px 18px rgba(200, 162, 52, 0.15);
    animation: none;
    backdrop-filter: blur(8px);
}
.cta-button.secondary::after { display: none; }
.cta-button.secondary:hover {
    background: rgba(200, 162, 52, 0.14);
    box-shadow: 0 18px 40px rgba(200, 162, 52, 0.28);
    border-color: #e4bc52;
}

.cta-button .btn-icon {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
    display: inline-block;
}
.cta-button:hover .btn-icon { transform: scale(1.25) rotate(-8deg); }

/* ==================== SECTION TITLE ==================== */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    margin-bottom: 70px;
    color: #C8A234;
    position: relative;
    padding: 0 20px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px; left: 50%;
    transform: translateX(-50%);
    width: 90px; height: 3px;
    background: linear-gradient(90deg, #C8A234, #3aad65);
    border-radius: 2px;
}

/* ==================== FEATURES ==================== */
.features {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    contain: layout;
}
.features::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(200, 162, 52, 0.06), transparent);
    animation: rotate 20s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.diagonal-grid { display: flex; flex-direction: column; gap: 50px; }

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}
.feature-row:nth-child(even) { flex-direction: row-reverse; }

.feature-content {
    flex: 1;
    padding: 44px;
    transform: skew(-4deg);
    transition: all 0.4s ease;
}
.feature-content:hover {
    transform: skew(-4deg) translateY(-8px);
    box-shadow: 0 30px 60px rgba(200, 162, 52, 0.15);
}

.feature-visual {
    flex: 1;
    height: 280px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
}
.feature-visual:hover { transform: scale(1.04); box-shadow: 0 20px 40px rgba(200, 162, 52, 0.25); }
.feature-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(45deg, rgba(200, 162, 52, 0.10), rgba(58, 173, 101, 0.08));
    z-index: 1;
    transition: all 0.4s ease;
}
.feature-visual:hover::before { background: linear-gradient(45deg, rgba(200, 162, 52, 0.18), rgba(58, 173, 101, 0.14)); }

.feature-row:nth-child(1) .feature-visual { background-image: url('images/templatemo-neural-01.jpg'); }
.feature-row:nth-child(2) .feature-visual { background-image: url('images/templatemo-neural-02.jpg'); }
.feature-row:nth-child(3) .feature-visual { background-image: url('images/templatemo-neural-03.jpg'); }

.feature-icon { font-size: 3.5rem; margin-bottom: 20px; display: block; }
.feature-content h3 { font-size: 1.9rem; margin-bottom: 16px; color: #ffffff; }
.feature-content p { font-size: 1.05rem; color: #b0c8bc; line-height: 1.8; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feature-tag {
    padding: 5px 14px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700;
    background: rgba(200, 162, 52, 0.10);
    border: 1px solid rgba(200, 162, 52, 0.28);
    color: #C8A234; letter-spacing: 0.03em;
}

.feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 12px 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15), rgba(37, 211, 102, 0.08));
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25d366;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.feature-cta:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(37, 211, 102, 0.15));
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
}

/* ==================== SHOWCASE / HEXAGONS ==================== */
.showcase { padding: 120px 0; position: relative; overflow: hidden; }

.hexagon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hexagon {
    width: 210px; height: 280px;
    position: relative;
    transition: all 0.4s ease;
}
.hexagon:hover { transform: scale(1.1); }

.hexagon-inner {
    width: 100%; height: 100%;
    position: relative;
    transform: rotate(30deg);
    border-radius: 22px;
    padding: 46px 22px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
}
.hexagon:hover .hexagon-inner { transform: rotate(0deg); border-radius: 15px; }

.hexagon:nth-child(odd)  .hexagon-inner { background: linear-gradient(135deg, rgba(200, 162, 52, 0.12), rgba(58, 173, 101, 0.10)); border: 1px solid rgba(200, 162, 52, 0.30); }
.hexagon:nth-child(even) .hexagon-inner { background: linear-gradient(135deg, rgba(58, 173, 101, 0.12), rgba(200, 162, 52, 0.10)); border: 1px solid rgba(58, 173, 101, 0.30); }

.hexagon-icon { font-size: 2.6rem; margin-bottom: 16px; transform: rotate(-30deg); filter: drop-shadow(0 0 10px rgba(200, 162, 52, 0.5)); transition: all 0.4s ease; }
.hexagon:hover .hexagon-icon { transform: rotate(0deg); }

.hexagon h4 { font-size: 1.2rem; color: #ffffff; transform: rotate(-30deg); margin-bottom: 12px; font-weight: bold; transition: all 0.4s ease; }
.hexagon:hover h4 { transform: rotate(0deg); }

.hexagon p { font-size: 0.9rem; color: #c0d4c8; transform: rotate(-30deg); line-height: 1.5; max-width: 130px; word-wrap: break-word; hyphens: auto; transition: all 0.4s ease; }
.hexagon:hover p { transform: rotate(0deg); }

/* ==================== TIMELINE ==================== */
.timeline { padding: 100px 0; position: relative; overflow: hidden; }

.timeline-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 24px;
}

.timeline-line {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #C8A234, #3aad65, #e4bc52);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(200, 162, 52, 0.35);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
    position: relative;
    margin-bottom: 50px;
}
.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 60px;
    padding-right: 0;
}

.timeline-content {
    max-width: 440px; padding: 40px 36px;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.4s ease;
    background: rgba(200, 162, 52, 0.06);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(200, 162, 52, 0.15);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.timeline-item:nth-child(even) .timeline-content { transform: perspective(1000px) rotateY(5deg); }
.timeline-content:hover {
    transform: perspective(1000px) rotateY(0deg) translateZ(20px);
    box-shadow: 0 25px 60px rgba(200, 162, 52, 0.18), 0 0 0 1px rgba(200, 162, 52, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    border-color: rgba(200, 162, 52, 0.32);
}

.timeline-dot {
    position: absolute; left: 50%; top: 50px;
    transform: translateX(-50%);
    width: 22px; height: 22px;
    background: linear-gradient(135deg, #C8A234, #3aad65);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(200, 162, 52, 0.65), 0 4px 15px rgba(0, 0, 0, 0.35);
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.timeline-year { font-size: 1.6rem; color: #C8A234; margin-bottom: 16px; font-weight: bold; text-shadow: 0 0 15px rgba(200, 162, 52, 0.45); }
.timeline-content h4 { font-size: 1.35rem; color: #ffffff; margin-bottom: 16px; font-weight: 600; }
.timeline-content p { color: #b0c8bc; line-height: 1.75; font-size: 0.98rem; }

/* ==================== CONTACT ==================== */
.contact { padding: 120px 0; position: relative; overflow: hidden; }

.contact-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
}

.contact-info { padding: 50px 40px; position: relative; }
.contact-info::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(200, 162, 52, 0.06), transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%       { transform: scale(1.1); opacity: 1; }
}

.contact-info h3 { font-size: 2.2rem; color: #C8A234; margin-bottom: 24px; }
.contact-info > p { font-size: 1.1rem; color: #b0c8bc; line-height: 1.75; margin-bottom: 24px; }

.contact-checklist { margin-bottom: 30px; }
.contact-checklist p { font-size: 1.05rem; color: #b0c8bc; line-height: 1.8; padding: 4px 0; }

.contact-form { padding: 44px 40px; }

.form-title { font-size: 1.4rem; color: #ffffff; margin-bottom: 8px; font-weight: 700; }
.form-subtitle { font-size: 0.85rem; color: #7a9a85; margin-bottom: 24px; line-height: 1.5; }

.form-group { margin-bottom: 20px; position: relative; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 162, 52, 0.22);
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit; font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #C8A234;
    box-shadow: 0 0 20px rgba(200, 162, 52, 0.28);
    background: rgba(255, 255, 255, 0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #556b5f; }
.form-group select option { background: #0a2010; color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }

.submit-btn {
    width: 100%; padding: 17px;
    background: linear-gradient(135deg, #e4bc52 0%, #C8A234 40%, #3aad65 100%);
    background-size: 200% 200%;
    animation: btnGoldShimmer 3s ease infinite;
    border: none; border-radius: 12px;
    color: #030d06; font-weight: 800;
    font-size: 1rem; cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 6px 22px rgba(200, 162, 52, 0.45), 0 1px 0 rgba(255,255,255,0.2) inset;
    display: flex;
    align-items: center;
    justify-content: center;
}
.submit-btn::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}
.submit-btn:hover::before { left: 160%; }
.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(200, 162, 52, 0.6), 0 6px 12px rgba(0,0,0,0.3);
}

.social-links { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 14px;
    color: #C8A234; text-decoration: none;
    transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(200, 162, 52, 0.4);
}

/* ==================== FOOTER ==================== */
footer {
    text-align: center;
    padding: 60px 24px 40px;
    border-top: 1px solid rgba(200, 162, 52, 0.18);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}
.footer-content { max-width: 1200px; margin: 0 auto; }

.footer-logo { margin: 0 auto 20px; height: 50px; width: auto; background: transparent; filter: drop-shadow(0 0 8px rgba(200,162,52,0.3)); opacity: 0.92; display: block; }

.footer-links {
    display: flex; justify-content: center;
    gap: 24px; margin-bottom: 24px; flex-wrap: wrap;
}
.footer-links a {
    color: #7a9a85; text-decoration: none;
    font-size: 0.88rem; transition: all 0.3s ease;
    position: relative; padding: 6px 0;
}
.footer-links a:hover { color: #C8A234; text-shadow: 0 0 10px rgba(200, 162, 52, 0.5); }
.footer-links a::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px;
    background: linear-gradient(90deg, #C8A234, #3aad65);
    transition: width 0.3s ease;
}
.footer-links a:hover::after { width: 100%; }

.footer-wa-banner {
    margin-bottom: 20px;
}
.footer-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7a9a85;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(37, 211, 102, 0.2);
    background: rgba(37, 211, 102, 0.06);
    transition: all 0.3s ease;
}
.footer-wa-link:hover {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.5);
    background: rgba(37, 211, 102, 0.12);
}

.footer-copyright { color: #556b5f; font-size: 0.88rem; margin-bottom: 12px; }

.footer-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(200,162,52,0.18);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-social-link:hover {
    background: rgba(200,162,52,0.10);
    border-color: rgba(200,162,52,0.35);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(200,162,52,0.2);
}

/* ==================== WHATSAPP FLOTANTE ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 9999;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2edf70, #25d366, #128c7e);
    background-size: 200% 200%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    animation: waFloat 3s ease-in-out infinite, waBgShift 4s ease infinite;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.35);
}

@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

@keyframes waBgShift {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0; border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: waRing 2.4s ease-out infinite;
    z-index: -1;
}
.whatsapp-float::after {
    background: rgba(37, 211, 102, 0.2);
    animation-delay: 0.8s;
}

@keyframes waRing {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(2.1); opacity: 0; }
}

.whatsapp-float:hover {
    transform: translateY(-6px) scale(1.15);
    box-shadow: 0 18px 45px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.15);
    animation: waBgShift 4s ease infinite;
}
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; position: relative; z-index: 1; }

.wa-tooltip {
    position: absolute; right: 76px; white-space: nowrap;
    background: rgba(3, 13, 6, 0.97); color: #ffffff;
    padding: 10px 16px; border-radius: 12px;
    font-size: 0.82rem; font-family: inherit; font-weight: 700;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    opacity: 0; transition: all 0.3s ease; pointer-events: none;
    transform: translateX(6px);
}
.wa-tooltip::after {
    content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    border: 6px solid transparent; border-right: none;
    border-left-color: rgba(3, 13, 6, 0.97);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.8); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #C8A234, #3aad65);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(45deg, #3aad65, #C8A234); }

/* ==================== RESPONSIVE — TABLET ==================== */
@media (max-width: 1100px) {
    .nav-links a { padding: 9px 12px; font-size: 0.82rem; }
    .nav-links a.nav-cta { padding: 9px 18px; }

    .feature-row { flex-direction: column !important; gap: 30px; }
    .feature-content { transform: skew(0) !important; width: 100%; }
    .feature-content:hover { transform: translateY(-8px) !important; }
    .feature-visual { width: 100%; height: 240px; }

    .contact-container { grid-template-columns: 1fr; gap: 40px; }

    .timeline-line { left: 28px; }
    .timeline-item,
    .timeline-item:nth-child(even) { justify-content: flex-start; padding-left: 70px; padding-right: 0; }
    .timeline-dot { left: 28px; }
    .timeline-content { max-width: 100%; transform: none !important; }
    .timeline-content:hover { transform: translateY(-5px) !important; }
}

@media (max-width: 1000px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* ==================== RESPONSIVE — MOBILE ==================== */
@media (max-width: 768px) {
    /* HEADER — el fix principal */
    header {
        top: 8px;
        width: calc(100% - 16px);
        padding: 10px 14px;
        border-radius: 16px;
    }
    header.scrolled { top: 6px; }

    .logo-img { height: 44px; }
    .logo-name { font-size: 0.95rem; }
    .logo-sub { font-size: 0.5rem; letter-spacing: 0.12em; }
    .logo { gap: 8px; }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        padding: 9px;
    }

    .mobile-nav {
        top: 68px;
        width: calc(100% - 16px);
        padding: 16px;
        gap: 8px;
    }
    .mobile-nav a { padding: 13px 16px; font-size: 0.95rem; }

    /* HERO */
    .hero-content { padding: 70px 16px 50px; }
    .hero h1 { font-size: clamp(1.75rem, 8vw, 2.8rem); }
    .hero-description p { font-size: 1rem; }
    .hero-subtitle { font-size: 0.7rem; letter-spacing: 0.2em; }
    .hero-subtitle::before { left: -35px; }
    .hero-subtitle::after  { right: -35px; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px auto; }
    .hero-stat { padding: 14px 10px; }
    .hero-stat-number { font-size: 1.4rem; }
    .hero-stat-label { font-size: 0.68rem; }

    .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .cta-button { width: 100%; max-width: 300px; justify-content: center; text-align: center; padding: 15px 28px; }

    /* FEATURES */
    .features { padding: 80px 0; }
    .features-container { padding: 0 16px; }
    .diagonal-grid { gap: 30px; }
    .feature-content { padding: 28px 22px; }
    .feature-icon { font-size: 2.8rem; }
    .feature-content h3 { font-size: 1.5rem; }
    .feature-visual { height: 200px; }

    /* SHOWCASE */
    .showcase { padding: 80px 0; }
    .hexagon { width: 260px; height: 300px; margin: 16px auto; }
    .hexagon-inner { padding: 55px 30px; }
    .hexagon-icon { font-size: 3rem; }
    .hexagon h4 { font-size: 1.5rem; }
    .hexagon p  { font-size: 1rem; max-width: 180px; }
    .hexagon-container { gap: 10px; }

    /* TIMELINE */
    .timeline { padding: 80px 0; }
    .timeline-container { padding: 0 16px; }

    /* CONTACT */
    .contact { padding: 80px 0; }
    .contact-container { padding: 0 16px; gap: 28px; }
    .contact-info { padding: 28px 22px; }
    .contact-info h3 { font-size: 1.8rem; }
    .contact-form { padding: 28px 22px; }
    .form-title { font-size: 1.2rem; }

    /* SECTION TITLES */
    .section-title { margin-bottom: 50px; }

    /* FOOTER */
    footer { padding: 50px 16px 30px; }
    .footer-links { gap: 16px; }
    .footer-links a { font-size: 0.82rem; }

    /* WHATSAPP FLOTANTE */
    .whatsapp-float { bottom: 18px; right: 18px; width: 54px; height: 54px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    .wa-tooltip { display: none; }
}

/* ==================== RESPONSIVE — PEQUEÑO ==================== */
@media (max-width: 480px) {
    header { padding: 9px 12px; }
    .logo-name { font-size: 0.88rem; }
    .logo-sub { display: none; }
    .logo-img { height: 40px; }

    .hero h1 { font-size: clamp(1.55rem, 9vw, 2.2rem); }
    .hero-description p { font-size: 0.95rem; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-stat-number { font-size: 1.3rem; }

    .feature-content { padding: 24px 18px; }
    .feature-content h3 { font-size: 1.35rem; }

    .hexagon { width: 240px; height: 280px; }
    .hexagon h4 { font-size: 1.35rem; }

    .contact-info { padding: 22px 18px; }
    .contact-form { padding: 22px 18px; }

    .footer-links { gap: 12px; }
    .footer-links a { font-size: 0.78rem; }
}

/* Touch targets */
@media (hover: none) and (pointer: coarse) {
    .nav-links a,
    .mobile-nav a,
    .cta-button,
    .submit-btn,
    .social-links a,
    .whatsapp-float,
    .feature-cta {
        min-height: 44px;
    }
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ==================== SECTION SUBTITLE ==================== */
.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #b0c8bc;
    max-width: 680px;
    margin: -50px auto 60px;
    line-height: 1.7;
    padding: 0 20px;
}

/* ==================== PORTAFOLIO ==================== */
.portfolio-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}
.portfolio-card {
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(200, 162, 52, 0.18);
    border-color: rgba(200, 162, 52, 0.32);
}

/* --- Mockup de celular --- */
.phone-mockup {
    position: relative;
    width: 180px;
    flex-shrink: 0;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.55));
    transition: transform 0.4s ease;
}
.portfolio-card:hover .phone-mockup {
    transform: scale(1.04) translateY(-4px);
}
.phone-frame {
    width: 100%;
    display: block;
}
.phone-screen {
    position: absolute;
    top: 13%;
    left: 8.5%;
    width: 83%;
    height: 74%;
    border-radius: 6px;
    overflow: hidden;
    background: #111;
}
.phone-screen iframe {
    width: 390px;
    height: 844px;
    border: none;
    transform: scale(0.366);
    transform-origin: top left;
    pointer-events: none;
}

/* --- Info debajo del mockup --- */
.portfolio-info {
    width: 100%;
    text-align: center;
}
.portfolio-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.portfolio-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #C8A234;
    background: rgba(200, 162, 52, 0.10);
    border: 1px solid rgba(200, 162, 52, 0.25);
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.portfolio-card h4 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
}
.portfolio-card p {
    font-size: 0.9rem;
    color: #b0c8bc;
    line-height: 1.65;
    margin-bottom: 14px;
}
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
}
.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #C8A234;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 8px;
    border: 1px solid rgba(200, 162, 52, 0.25);
    background: rgba(200, 162, 52, 0.06);
    transition: all 0.3s ease;
}
.portfolio-link:hover {
    background: rgba(200, 162, 52, 0.15);
    border-color: rgba(200, 162, 52, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 162, 52, 0.2);
}

/* ==================== TESTIMONIOS ==================== */
.testimonios-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.testimonios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonio-card {
    padding: 32px 28px;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(200, 162, 52, 0.15);
    border-color: rgba(200, 162, 52, 0.30);
}
.testimonio-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 22px;
    font-size: 5rem;
    color: rgba(200, 162, 52, 0.10);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.testimonio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.testimonio-stars {
    color: #C8A234;
    font-size: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(200, 162, 52, 0.4);
}
.testimonio-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #7a9a85;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    padding: 4px 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.testimonio-texto {
    font-size: 0.95rem;
    color: #c0d4c8;
    line-height: 1.8;
    font-style: italic;
    flex: 1;
}
.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(200, 162, 52, 0.12);
    padding-top: 18px;
}
.testimonio-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.testimonio-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.testimonio-nombre {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}
.testimonio-rubro {
    font-size: 0.75rem;
    color: #7a9a85;
}
/* Rating global */
.testimonio-rating-global {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding: 18px 32px;
    background: rgba(200, 162, 52, 0.05);
    border: 1px solid rgba(200, 162, 52, 0.18);
    border-radius: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.rating-stars {
    color: #C8A234;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(200,162,52,0.5);
}
.rating-score {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
}
.rating-label {
    font-size: 0.78rem;
    color: #7a9a85;
    letter-spacing: 0.06em;
}

/* ==================== PRECIOS ==================== */
.precios-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.precios-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.precios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}
.precio-card {
    padding: 36px 28px;
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
}
.precio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(200, 162, 52, 0.15);
}
.precio-destacado {
    background: rgba(200, 162, 52, 0.08) !important;
    border-color: rgba(200, 162, 52, 0.35) !important;
    box-shadow: 0 12px 40px rgba(200, 162, 52, 0.18) !important;
    transform: translateY(-8px);
}
.precio-destacado:hover {
    transform: translateY(-16px) !important;
    box-shadow: 0 30px 60px rgba(200, 162, 52, 0.28) !important;
}
.precio-badge-top {
    font-size: 0.7rem;
    font-weight: 800;
    color: #030d06;
    background: linear-gradient(135deg, #e4bc52, #C8A234);
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(200, 162, 52, 0.4);
}
.precio-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #C8A234;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    display: block;
}
.precio-icon { font-size: 2.8rem; margin-bottom: 18px; display: block; }
.precio-monto {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.precio-desde {
    font-size: 0.78rem;
    color: #7a9a85;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.precio-numero {
    font-size: 2.2rem;
    font-weight: 800;
    color: #C8A234;
    line-height: 1;
    text-shadow: 0 0 20px rgba(200, 162, 52, 0.35);
}
.precio-moneda {
    font-size: 0.72rem;
    color: #7a9a85;
    letter-spacing: 0.08em;
}
.precio-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}
.precio-features li {
    font-size: 0.9rem;
    color: #b0c8bc;
    padding: 7px 0;
    border-bottom: 1px solid rgba(200, 162, 52, 0.07);
    line-height: 1.4;
}
.precio-features li:last-child { border-bottom: none; }
.precio-cta {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    background: rgba(200, 162, 52, 0.08);
    border: 1px solid rgba(200, 162, 52, 0.28);
    color: #C8A234;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}
.precio-cta:hover {
    background: rgba(200, 162, 52, 0.16);
    border-color: rgba(200, 162, 52, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 162, 52, 0.2);
}
.precio-cta-gold {
    background: linear-gradient(135deg, #e4bc52, #C8A234) !important;
    border: none !important;
    color: #030d06 !important;
    box-shadow: 0 6px 20px rgba(200, 162, 52, 0.45);
}
.precio-cta-gold:hover {
    box-shadow: 0 14px 35px rgba(200, 162, 52, 0.65) !important;
    transform: translateY(-3px) !important;
}
.precios-nota {
    text-align: center;
    font-size: 0.82rem;
    color: #556b5f;
    margin-top: 36px;
    padding: 0 20px;
    line-height: 1.6;
}

/* Garantía sin anticipo — sección precios */
.precios-garantia {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 28px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(58, 173, 101, 0.07), rgba(200, 162, 52, 0.05));
    border: 1px solid rgba(58, 173, 101, 0.28);
    border-radius: 16px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.garantia-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.garantia-texto {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.garantia-texto strong {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 700;
}
.garantia-texto span {
    font-size: 0.9rem;
    color: #b0c8bc;
    line-height: 1.65;
}

/* Anticipo badge — sección contacto */
.anticipo-badge {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(58, 173, 101, 0.08), rgba(200, 162, 52, 0.05));
    border: 1px solid rgba(58, 173, 101, 0.30);
    border-radius: 12px;
}
.anticipo-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.anticipo-badge div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.anticipo-badge strong {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
}
.anticipo-badge span {
    font-size: 0.83rem;
    color: #b0c8bc;
    line-height: 1.55;
}

/* Hero stat destacado — sin anticipo */
.hero-stat-destacado {
    background: linear-gradient(135deg, rgba(58, 173, 101, 0.12), rgba(200, 162, 52, 0.07)) !important;
    border-color: rgba(58, 173, 101, 0.30) !important;
    position: relative;
}
.hero-stat-destacado .hero-stat-number {
    color: #3aad65 !important;
    text-shadow: 0 0 15px rgba(58, 173, 101, 0.5) !important;
}
.hero-stat-destacado::after {
    content: 'GARANTIZADO';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 800;
    color: #3aad65;
    background: rgba(58, 173, 101, 0.15);
    border: 1px solid rgba(58, 173, 101, 0.35);
    border-radius: 50px;
    padding: 2px 8px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* ==================== QUIÉN SOY ==================== */
.nosotros-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.nosotros-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}
.nosotros-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding: 50px 50px;
}
.nosotros-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.nosotros-avatar-ring {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #C8A234, #3aad65, #e4bc52, #C8A234);
    background-size: 300% 300%;
    animation: btnGoldShimmer 4s ease infinite;
    box-shadow: 0 8px 30px rgba(200, 162, 52, 0.4);
}
.nosotros-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d1f12, #122018);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 900;
    color: #C8A234;
    letter-spacing: -1px;
}
.nosotros-avatar-foto {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 30% center;
    display: block;
}
.nosotros-badge-wrap { text-align: center; }
.nosotros-badge {
    font-size: 0.72rem;
    color: #3aad65;
    background: rgba(58, 173, 101, 0.10);
    border: 1px solid rgba(58, 173, 101, 0.30);
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
    white-space: nowrap;
}
.nosotros-texto h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
.nosotros-rol {
    display: block;
    font-size: 0.82rem;
    color: #C8A234;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    margin-bottom: 24px;
}
.nosotros-texto p {
    font-size: 0.98rem;
    color: #b0c8bc;
    line-height: 1.8;
    margin-bottom: 16px;
}
.nosotros-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
}
.nosotros-social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.nosotros-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7a9a85;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(200, 162, 52, 0.15);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}
.nosotros-social-link:hover {
    color: #C8A234;
    border-color: rgba(200, 162, 52, 0.35);
    background: rgba(200, 162, 52, 0.08);
}

/* ==================== FAQ ==================== */
.faq-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.faq-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(200, 162, 52, 0.28); }
.faq-pregunta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}
.faq-pregunta:hover { color: #C8A234; }
.faq-pregunta[aria-expanded="true"] { color: #C8A234; }
.faq-arrow {
    width: 24px;
    height: 24px;
    fill: #C8A234;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}
.faq-pregunta[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 26px;
}
.faq-respuesta.open {
    max-height: 300px;
    padding: 0 26px 22px;
}
.faq-respuesta p {
    font-size: 0.95rem;
    color: #b0c8bc;
    line-height: 1.8;
    border-top: 1px solid rgba(200, 162, 52, 0.10);
    padding-top: 16px;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(200, 162, 52, 0.08) 0%, rgba(58, 173, 101, 0.06) 50%, rgba(200, 162, 52, 0.08) 100%);
    border-top: 1px solid rgba(200, 162, 52, 0.15);
    border-bottom: 1px solid rgba(200, 162, 52, 0.15);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(200, 162, 52, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-banner-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}
.cta-banner-text h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #C8A234;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(200, 162, 52, 0.3);
}
.cta-banner-text p {
    font-size: 1rem;
    color: #b0c8bc;
    line-height: 1.7;
    max-width: 480px;
}
.cta-banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ==================== RESPONSIVE — NUEVAS SECCIONES ==================== */
@media (max-width: 1024px) {
    .precios-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .precio-destacado { transform: none; }
    .precio-destacado:hover { transform: translateY(-8px) !important; }
}

@media (max-width: 900px) {
    .testimonios-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .nosotros-content { flex-direction: column; align-items: center; text-align: center; padding: 36px 28px; gap: 30px; }
    .nosotros-avatar-wrap { flex-direction: row; }
    .nosotros-skills { justify-content: center; }
    .nosotros-social { justify-content: center; }
    .cta-banner-content { flex-direction: column; text-align: center; }
    .cta-banner-text p { max-width: 100%; }
    .cta-banner-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .portfolio-section,
    .testimonios-section,
    .precios-section,
    .nosotros-section,
    .faq-section { padding: 80px 0; }

    .portfolio-container,
    .testimonios-container,
    .precios-container,
    .nosotros-container,
    .faq-container { padding: 0 16px; }

    .section-subtitle { margin: -40px auto 50px; font-size: 0.95rem; }

    .portfolio-card,
    .testimonio-card,
    .precio-card { padding: 26px 20px; }

    .nosotros-content { padding: 28px 20px; }
    .nosotros-avatar-ring { width: 100px; height: 100px; }
    .nosotros-texto h3 { font-size: 1.6rem; }

    .faq-pregunta { padding: 18px 20px; font-size: 0.95rem; }
    .faq-respuesta.open { padding: 0 20px 18px; }

    .cta-banner { padding: 60px 20px; }
    .cta-banner-text h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
    .cta-banner-actions { width: 100%; }
    .cta-banner-actions .cta-button { width: 100%; justify-content: center; }

    .precios-garantia { flex-direction: column; gap: 12px; padding: 20px; }
    .anticipo-badge { flex-direction: column; gap: 8px; }
    .testimonio-rating-global { flex-direction: column; gap: 6px; padding: 16px 20px; text-align: center; }
    .garantia-texto strong { font-size: 0.98rem; }
}
