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

:root {
    --blue: #2c8cc1;
    --blue-dark: #1a6a9a;
    --blue-light: #e8f4fc;
    --gray-mid: #727273;
    --gray-light: #b9bfc3;
    --almost-black: #060606;
    --white: #ffffff;
    --whatsapp: #25d366;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; color: var(--almost-black); background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; user-select: none; pointer-events: none; }

nav { background: #2c8cc1; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(44,140,193,0.4); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; height: 72px; }
.nav-logo img { height: 64px; width: auto; pointer-events: auto; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a { color: rgba(255,255,255,0.9); font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; display: flex; align-items: center; gap: 4px; position: relative; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: white; transform: scaleX(0); transition: transform 0.2s; }
.nav-links > li > a:hover { color: white; }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.dropdown-arrow { font-size: 10px; transition: transform 0.2s; display: inline-block; }
.nav-links > li:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(-8px); background: white; border-radius: 14px; min-width: 240px; box-shadow: 0 16px 48px rgba(0,0,0,0.15); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; border: 1px solid rgba(44,140,193,0.1); overflow: hidden; }
.nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: white; border-left: 1px solid rgba(44,140,193,0.1); border-top: 1px solid rgba(44,140,193,0.1); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: #060606; font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; transition: background 0.15s, color 0.15s; border: none; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: #e8f4fc; color: #2c8cc1; }
.dropdown-icon { width: 32px; height: 32px; min-width: 32px; background: #e8f4fc; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.dropdown-icon svg { width: 16px; height: 16px; fill: #2c8cc1; }
.nav-wa { background: #25d366; color: white !important; padding: 8px 18px; border-radius: 50px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; transition: transform 0.2s, box-shadow 0.2s; pointer-events: auto !important; }
.nav-wa:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,211,102,0.4); }
.nav-wa::after { display: none !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    background-color: #2c8cc1;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-bg { display: none; }
.hero-circle { display: none; }

.hero::before { display: none; }
.hero::after  { display: none; }
.hero-dots    { display: none; }

.hero-network {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-inner { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: white; line-height: 1.1; margin-bottom: 1rem; }
.hero-text h1 span { color: #7dd4f5; }
.hero-text p { color: rgba(255,255,255,0.85); font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: white; color: #2c8cc1; padding: 14px 32px; border-radius: 50px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; transition: transform 0.2s, box-shadow 0.2s; display: inline-block; pointer-events: auto !important; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-wa-hero { background: #25d366; color: white; padding: 14px 32px; border-radius: 50px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; transition: transform 0.2s, box-shadow 0.2s; display: flex; align-items: center; gap: 8px; pointer-events: auto !important; }
.btn-wa-hero:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.hero-logo-big { display: flex; justify-content: center; align-items: center; }
.hero-logo-big img { width: 100%; max-width: 560px; animation: float 4s ease-in-out infinite; pointer-events: auto !important; filter: drop-shadow(0 8px 32px rgba(0,0,0,0.2)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.stats-bar { background: #ffffff; padding: 1.5rem 2rem; border-top: 3px solid #2c8cc1; border-bottom: 3px solid #2c8cc1; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.stat { text-align: center; }
.stat-num { font-family: 'Rajdhani', sans-serif; font-size: 2rem; font-weight: 700; color: #2c8cc1; display: block; }
.stat-label { font-size: 0.8rem; color: #060606; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

section { padding: 5rem 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag { display: inline-block; background: #e8f4fc; color: #2c8cc1; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 18px; border-radius: 50px; margin-bottom: 1rem; }
.section-header h2 { font-family: 'Rajdhani', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: #060606; margin-bottom: 0.75rem; }
.section-header p { color: #727273; font-size: 1rem; max-width: 600px; margin: 0 auto; line-height: 1.8; }
.max { max-width: 1200px; margin: 0 auto; }

#productos { background: #f8fbfe; }
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.cat-card { background: white; border-radius: 16px; padding: 2rem; border: 1px solid rgba(44,140,193,0.1); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(44,140,193,0.15); border-color: rgba(44,140,193,0.3); }
.cat-icon { width: 56px; height: 56px; border-radius: 14px; background: #e8f4fc; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.cat-icon img { width: 32px; height: 32px; object-fit: contain; pointer-events: none; }
.cat-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; color: #060606; margin-bottom: 0.5rem; }
.cat-card p { color: #727273; font-size: 0.9rem; line-height: 1.7; }
.cat-items { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: #e8f4fc; color: #2c8cc1; font-size: 0.75rem; padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.cat-cta { border: 2px dashed rgba(44,140,193,0.3) !important; background: #e8f4fc !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 200px; }
.cat-cta img { width: 48px; height: 48px; margin-bottom: 1rem; pointer-events: none; }
.btn-wa-small { margin-top: 1rem; background: #25d366; color: white; padding: 10px 20px; border-radius: 50px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 14px; transition: transform 0.2s; pointer-events: auto !important; display: inline-block; }
.btn-wa-small:hover { transform: translateY(-2px); }

#servicios { background: white; }
.servs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.serv-card { border-radius: 16px; border: 1px solid #e8f4fc; overflow: hidden; background: #f8fbfe; transition: transform 0.2s, box-shadow 0.2s; }
.serv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(44,140,193,0.12); }
.serv-img { width: 100%; height: 180px; object-fit: cover; display: block; pointer-events: none; }
.serv-body { padding: 1.5rem; }
.serv-body h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; font-weight: 700; color: #060606; margin-bottom: 0.4rem; }
.serv-body p { color: #727273; font-size: 0.88rem; line-height: 1.7; }

#nosotros { background: linear-gradient(135deg, #2c8cc1 0%, #1a5f8a 100%); color: white; }
#nosotros .section-tag { background: rgba(255,255,255,0.15); color: white; }
#nosotros .section-header h2 { color: white; }
#nosotros .section-header p { color: rgba(255,255,255,0.8); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.why-card { text-align: center; padding: 2rem 1.5rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; transition: background 0.2s, transform 0.2s; }
.why-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.why-num { font-family: 'Rajdhani', sans-serif; font-size: 3rem; font-weight: 700; color: rgba(255,255,255,0.2); display: block; margin-bottom: -0.5rem; }
.why-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.5rem; }
.why-card p { color: rgba(255,255,255,0.75); font-size: 0.88rem; line-height: 1.7; }

#contacto { background: #f8fbfe; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info h2 { font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700; color: #060606; margin-bottom: 0.75rem; }
.contact-info p { color: #727273; line-height: 1.8; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.c-item { display: flex; align-items: flex-start; gap: 1rem; }
.c-icon { width: 44px; height: 44px; min-width: 44px; background: #2c8cc1; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.c-icon svg { width: 20px; height: 20px; fill: white; }
.c-item h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; color: #060606; margin-bottom: 2px; }
.c-item p, .c-item a { color: #727273; font-size: 0.9rem; }
.c-item a:hover { color: #2c8cc1; }
.contact-form { background: white; border-radius: 20px; padding: 2.5rem; border: 1px solid rgba(44,140,193,0.1); box-shadow: 0 8px 40px rgba(44,140,193,0.08); }
.contact-form h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; color: #060606; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #727273; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid #dce8f0; border-radius: 10px; font-family: 'Nunito', sans-serif; font-size: 0.95rem; color: #060606; transition: border-color 0.2s, box-shadow 0.2s; background: white; pointer-events: auto !important; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #2c8cc1; box-shadow: 0 0 0 3px rgba(44,140,193,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.honeypot { display: none !important; visibility: hidden !important; }
.btn-submit { width: 100%; padding: 14px; background: #2c8cc1; color: white; border: none; border-radius: 50px; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; transition: background 0.2s, transform 0.2s; pointer-events: auto !important; }
.btn-submit:hover { background: #1a6a9a; transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-msg { display: none; padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; margin-top: 1rem; text-align: center; }
.form-msg.success { display: block; background: #e6f9ee; color: #1a7a3c; border: 1px solid #a3ddb8; }
.form-msg.error { display: block; background: #fdecea; color: #c0392b; border: 1px solid #f5b7b1; }

footer { background: #060606; color: white; padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand img { height: 56px; margin-bottom: 1rem; pointer-events: auto; }
.footer-brand p { color: #b9bfc3; font-size: 0.88rem; line-height: 1.8; max-width: 280px; }
footer h4 { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; color: #2c8cc1; margin-bottom: 1rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul a { color: #b9bfc3; font-size: 0.88rem; transition: color 0.2s; pointer-events: auto; }
footer ul a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: #727273; font-size: 0.82rem; }
.footer-bottom span { color: #2c8cc1; }

.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; background: #25d366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.5); transition: transform 0.2s, box-shadow 0.2s; pointer-events: auto !important; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.wa-float svg { width: 30px; height: 30px; fill: white; }

@media (max-width: 900px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #2c8cc1; padding: 1.5rem 2rem; gap: 1rem; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; background: rgba(255,255,255,0.1); border-radius: 10px; margin-top: 0.5rem; }
    .dropdown::before { display: none; }
    .dropdown a { color: white; padding: 10px 16px; }
    .dropdown a:hover { background: rgba(255,255,255,0.1); color: white; }
    .dropdown-icon { background: rgba(255,255,255,0.15); }
    .dropdown-icon svg { fill: white; }
    .nav-links > li { position: static; }
}
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-logo-big { order: -1; }
    .hero-logo-big img { max-width: 280px; }
    .hero-btns { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}