*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@font-face {
    font-family: 'MiFuente';
    src: url('../fonts/SF_Automaton_Bold.ttf') format('woff2'),
        url('../fonts/SF_Automaton_Bold.ttf') format('woff');
}

:root {
    --blue: #0050cc;
    --blue-light: #0082dd;
    --dark: #1d1d1b;
    --dark-2: #111110;
    --gray: #6b7280;
    --gray-light: #f4f6fb;
    --white: #ffffff;
    --grad: linear-gradient(135deg, #0050cc 0%, #0082dd 100%);
    --grad-dark: linear-gradient(135deg, #003a99 0%, #005fb8 100%);
    --font-head: 'DM Sans', sans-serif;
    --font-title: MiFuente, sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 14px;
    --shadow: 0 4px 32px rgba(0, 80, 204, .13);
    --shadow-lg: 0 12px 48px rgba(0, 80, 204, .18);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 4px;
}

/* ── UTILITY ── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--gray-light);
}

.tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(0, 80, 204, .08);
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--blue);
}

.section-sub {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
    text-align: justify;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .03em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(0, 80, 204, .35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 80, 204, .48);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

.btn-white:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
}

/* ── FADE IN ANIMATION ── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-delay-1 {
    transition-delay: .1s;
}

.fade-delay-2 {
    transition-delay: .2s;
}

.fade-delay-3 {
    transition-delay: .3s;
}

.fade-delay-4 {
    transition-delay: .4s;
}

/* ════════════════════════════
       NAVIGATION
    ════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: background .4s, box-shadow .4s;
}

.nav.scrolled {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .07);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}

.nav.scrolled .nav-logo {
    color: var(--dark);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .9rem;
}

.nav-logo-img-primary {
    display: none;
}

.nav.scrolled .nav-logo-img-primary {
    display: block;
}

.nav.scrolled .nav-logo-img-secondary {
    display: none;
}

.nav.scrolled .nav-logo-icon {
    background: rgba(255, 255, 255, 0);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, .85);
    padding: 8px 14px;
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: .02em;
}

.nav.scrolled .nav-links a {
    color: var(--dark);
}

.nav-links a:hover,
.nav.scrolled .nav-links a:hover {
    color: var(--blue);
    background: rgba(0, 80, 204, .06);
}

.nav-cta {
    margin-left: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav.scrolled .hamburger span {
    background: var(--dark);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--dark-2);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--white);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--blue-light);
}


/* ════════════════════════════
       FOOTER
    ════════════════════════════ */
footer {
    background: var(--dark-2);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: .88rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.7;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .8rem;
    transition: var(--transition);
}

.footer-social:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.footer-col h5 {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, .45);
    font-size: .875rem;
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: .82rem;
    color: rgba(255, 255, 255, .3);
}

.footer-bottom a {
    color: var(--blue-light);
    text-decoration: none;
}

/* CTA STRIP */
.cta-strip {
    background: var(--grad);
    padding: 80px 0;
    text-align: center;
}

.cta-strip h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-strip p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .75);
    max-width: 480px;
    margin: 0 auto 32px;
}

.cta-strip-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ════════════════════════════
       RESPONSIVE
    ════════════════════════════ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        display: none;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
      grid-template-columns: 1fr 1fr;
    }

    .workshops-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    .hero-content {
        grid-template-columns: 1fr !important;
    }
    .hero-visual {
        display: none !important;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .workshops-grid {
        grid-template-columns: 1fr !important;
    }

    .testimonios-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-form {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    .mvv-grid {
        grid-template-columns: 1fr !important;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}