/* ============================================================
   RR Desarrollos - Landing Page Styles
   Paleta: Púrpura #5D3FD3 | Dorado #FFC72C | Dark #1A0D32
   ============================================================ */

/* --- Variables --- */
:root {
    --purple:      #5D3FD3;
    --purple-dark: #4a30b0;
    --purple-deep: #1A0D32;
    --gold:        #FFC72C;
    --gold-light:  #FFD966;
    --light:       #F4F2FF;
    --white:       #ffffff;
    --gray:        #6b7280;
    --text-dark:   #1f2937;
    --text-light:  #f8f8f8;

    --font: 'Poppins', sans-serif;
    --radius: 16px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.25);
    --transition: 0.3s ease;

    --nav-height: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 6rem 0; }

/* --- Sección header genérico --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(255, 199, 44, 0.12);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.section-label.light { color: var(--gold); background: rgba(255, 199, 44, 0.15); }

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--purple);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section-header h2.light { color: var(--white); }
.section-desc { font-size: 1.1rem; color: var(--gray); max-width: 600px; margin: 0 auto; }
.section-desc.light { color: rgba(255,255,255,0.75); }

/* --- Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gold);
    color: var(--purple-deep);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 199, 44, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }

/* Dark sections */
.dark-section {
    background: var(--purple-deep);
    color: var(--text-light);
}
.dark-alt {
    background: #120a26;
    color: var(--text-light);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: rgba(26, 13, 50, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-logo img {
    height: 44px;
    width: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.navbar.scrolled .nav-logo img {
    opacity: 1;
    pointer-events: auto;
}
.navbar.scrolled .nav-logo:hover img { opacity: 0.85; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 100%;
    height: 2px;
    background: var(--gold);
    transition: right var(--transition);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }

.nav-cta {
    background: var(--gold);
    color: var(--purple-deep) !important;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all var(--transition) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,199,44,0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.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
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-deep) 0%, #2d1b69 60%, var(--purple) 100%);
    overflow: hidden;
    padding-top: var(--nav-height);
}
#circuitCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 1.5rem;
}
.hero-logo {
    margin: 0 auto 2rem;
    width: 120px;
    filter: drop-shadow(0 0 30px rgba(255,199,44,0.4));
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}
.typewriter-wrap {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
}
.typewriter-text { min-width: 2px; }
.cursor {
    display: inline-block;
    margin-left: 2px;
    color: var(--gold);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
.scroll-down span {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    animation: scrollDown 1.5s ease infinite;
}
.scroll-down span:nth-child(2) { animation-delay: 0.2s; }
.scroll-down span:nth-child(3) { animation-delay: 0.4s; }
@keyframes scrollDown {
    0% { opacity: 0; transform: rotate(45deg) translate(-4px, -4px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(4px, 4px); }
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.about { background: var(--light); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text .section-label { margin-bottom: 0.75rem; }
.about-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--purple);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}
.about-text > p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}
.about-highlights { display: flex; flex-direction: column; gap: 1rem; }
.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(93,63,211,0.07);
    transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-item:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(93,63,211,0.12);
}
.highlight-item i {
    font-size: 1.4rem;
    color: var(--purple);
    flex-shrink: 0;
    margin-top: 2px;
}
.highlight-item strong { display: block; font-weight: 600; color: var(--text-dark); }
.highlight-item span { font-size: 0.9rem; color: var(--gray); }

.about-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition);
    cursor: default;
}
.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-dark);
    background: var(--purple);
    color: var(--white);
}
.about-card i {
    font-size: 1.75rem;
    color: var(--purple);
    transition: color var(--transition);
}
.about-card:hover i { color: var(--gold); }
.about-card span { font-size: 0.85rem; font-weight: 600; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,199,44,0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(93,63,211,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gold);
}
.service-icon i {
    font-size: 1.75rem;
    color: var(--gold);
    transition: color var(--transition);
}
.service-card:hover .service-icon i { color: var(--purple-deep); }
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.service-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}
.service-hover-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.service-card:hover .service-hover-line { transform: scaleX(1); }

/* ============================================================
   PRODUCTOS
   ============================================================ */
.products { background: var(--white); }
.products .section-header h2 { color: var(--purple); }

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(93,63,211,0.08);
}
.product-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.product-row.reverse { direction: rtl; }
.product-row.reverse > * { direction: ltr; }

.product-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.product-image-placeholder {
    background: linear-gradient(135deg, var(--purple-deep), var(--purple));
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image-placeholder i {
    font-size: 5rem;
    color: rgba(255,199,44,0.5);
}
.product-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.badge-gold { background: var(--gold); color: var(--purple-deep); }
.badge-green { background: #22c55e; color: #fff; }
.badge-gray { background: #94a3b8; color: #fff; }

.product-info h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--purple);
    margin-bottom: 1rem;
}
.product-info p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.feature-list { margin-bottom: 2rem; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.feature-list i {
    color: var(--purple);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   ESTADÍSTICAS
   ============================================================ */
.stats-section { padding: 4rem 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item {
    padding: 2rem 1rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all var(--transition);
}
.stat-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}
.stat-item > i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-section { padding: 6rem 0; }

.swiper { padding-bottom: 3rem !important; }

.portfolio-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.portfolio-card:hover {
    border-color: rgba(255,199,44,0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.portfolio-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }

.portfolio-placeholder {
    background: linear-gradient(135deg, #2d1b69, var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-placeholder i {
    font-size: 4rem;
    color: rgba(255,199,44,0.3);
}
.portfolio-info { padding: 1.75rem; }
.portfolio-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: block;
}
.portfolio-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}
.portfolio-info h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}
.portfolio-info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
}
.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    transition: gap var(--transition);
}
.portfolio-link:hover { gap: 10px; }

/* Swiper custom theme */
.portfolio-swiper-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.portfolio-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-size: 1.8rem;
    line-height: 1;
    padding-bottom: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
.portfolio-btn:hover {
    background: var(--gold);
    color: var(--purple-deep);
}
.portfolio-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}
.swiper-pagination-bullet { background: rgba(255,255,255,0.4) !important; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-section { background: var(--light); }
.contact-section .section-header h2 { color: var(--purple); }

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(93,63,211,0.15);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(93,63,211,0.1);
}
.form-feedback {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}
.form-feedback.success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.form-feedback.error   { background: #ffeef0; color: #c62828; border-left: 4px solid #f44336; }

#submitBtn { position: relative; overflow: hidden; }
#submitBtn.loading { pointer-events: none; opacity: 0.7; }

/* Info card */
.contact-info-card {
    background: var(--purple-deep);
    border-radius: var(--radius);
    padding: 2.5rem;
    color: var(--white);
    height: 100%;
}
.contact-info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.contact-info-card > p {
    color: rgba(255,255,255,0.65);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon i { color: var(--gold); font-size: 1.1rem; }
.whatsapp-icon { background: rgba(37, 211, 102, 0.2); }
.whatsapp-icon i { color: #25d366; }
.contact-item strong { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.contact-item a { color: var(--white); font-weight: 500; transition: color var(--transition); }
.contact-item a:hover { color: var(--gold); }

.contact-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: all var(--transition);
}
.contact-social a:hover {
    background: var(--gold);
    color: var(--purple-deep);
    transform: translateY(-3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--purple-deep);
    color: var(--white);
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.7; }
.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.25rem;
}
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}
.footer-contact li i { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }

.footer-bottom {
    padding: 1.25rem 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-country { display: flex; align-items: center; gap: 0.4rem; }
.footer-country i { color: var(--gold); }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all var(--transition);
    animation: pulse-whatsapp 2s infinite;
}
.whatsapp-fab:hover {
    transform: scale(1.12);
    animation: none;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .product-row { grid-template-columns: 1fr; gap: 2rem; }
    .product-row.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    /* Navbar mobile */
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        flex-direction: column;
        background: rgba(26,13,50,0.98);
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-12px);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
        backdrop-filter: blur(12px);
        z-index: 999;
    }
    .nav-links.open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
    }
    .nav-link { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }

    /* About grid */
    .about-card-grid { grid-template-columns: repeat(2, 1fr); }

    /* Form row */
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .about-card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom .container { flex-direction: column; text-align: center; }
}
