/* ==========================================================================
   Nagalli Empilhadeiras — Design System
   ========================================================================== */

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

:root {
    --primary-yellow: #FFCC00;
    --dark-yellow: #E6B800;
    --accent-yellow: #FFD700;
    --text-dark: #0a0a0a;
    --text-gray: #555555;
    --text-light: #888888;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --gradient-1: linear-gradient(135deg, #FFCC00 0%, #FFD700 100%);
    --gradient-2: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-yellow: 0 8px 30px rgba(255,204,0,0.3);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: var(--header-h, 110px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

/* 3D icon images (replace emoji glyphs) */
.icon-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.icon-img-inline {
    width: 17px;
    height: 17px;
    object-fit: contain;
    display: inline-block;
    vertical-align: -3px;
    margin-right: 3px;
}

a {
    color: inherit;
}

/* Scroll-reveal base state — deliberately placed early so any component's own
   hover `transition` (declared later) takes priority once revealed, instead
   of this reveal timing leaking into hover/interaction feedback. */
.fade-in-el {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.12s ease-out;
}

.fade-in-el.in-view { opacity: 1; transform: translateY(0); }

/* ---------------------------------- Top bar ---------------------------------- */

.topbar {
    background: var(--text-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 0.5rem 3rem;
}

.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar a {
    text-decoration: none;
    color: var(--primary-yellow);
    font-weight: 600;
}

.topbar-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.topbar-links span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------------------------------- Header ---------------------------------- */

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 3rem;
    transition: padding 0.2s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(255,204,0,0.35));
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}

.nav-links a:not(.cta-button) {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.15s ease;
    position: relative;
    letter-spacing: -0.2px;
}

.nav-links a:not(.cta-button):hover {
    color: var(--text-dark);
}

.nav-links a:not(.cta-button)::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.15s ease;
}

.nav-links a:not(.cta-button):hover::before {
    width: 100%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-1);
    color: var(--text-dark);
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--shadow-yellow);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
}

.cta-button:hover::before {
    transform: translateX(0);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,204,0,0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* ---------------------------------- Buttons ---------------------------------- */

.whatsapp-button, .tel-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.15rem 2.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.whatsapp-button {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
}

.whatsapp-button:hover::before { transform: translateX(0); }

.whatsapp-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--white);
    padding: 1.15rem 2.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    border: 2px solid rgba(255,255,255,0.25);
}

.secondary-button:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-2px);
}

/* ---------------------------------- Mobile menu ---------------------------------- */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
    background: var(--text-dark);
    min-height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,204,0,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,204,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { animation: fadeInLeft 1s ease-out; }

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,204,0,0.15);
    backdrop-filter: blur(10px);
    color: var(--primary-yellow);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(255,204,0,0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


.hero-content h1 {
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 1.6rem;
    color: var(--white);
    font-weight: 900;
    letter-spacing: -1.8px;
}

.hero-content h1 span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.2rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.6rem;
}

.hero-trust {
    display: flex;
    gap: 2.2rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
}

.hero-trust-item strong {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--primary-yellow);
    letter-spacing: -1px;
}

.hero-trust-item span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

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

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.08);
    aspect-ratio: 4 / 5;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

.hero-float-card {
    position: absolute;
    bottom: 1.6rem;
    left: 1.6rem;
    right: 1.6rem;
    background: rgba(10,10,10,0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.3rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.hero-float-card .pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25D366;
    flex-shrink: 0;
    box-shadow: 0 0 0 rgba(37,211,102,0.6);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.hero-float-card p {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

.hero-float-card p b { color: var(--primary-yellow); }

/* ---------------------------------- Sections shared ---------------------------------- */

section { padding: 6.5rem 3rem; position: relative; }

.section-inner { max-width: 1400px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.8rem; }

.section-header.left { text-align: left; margin-left: 0; }

.section-label {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--text-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.section-label.on-dark {
    background: rgba(255,204,0,0.15);
    color: var(--primary-yellow);
    border: 1px solid rgba(255,204,0,0.3);
}

.section-title {
    font-size: 2.7rem;
    margin-bottom: 1.1rem;
    color: var(--text-dark);
    font-weight: 900;
    letter-spacing: -1.4px;
    line-height: 1.2;
}

.section-title.on-dark { color: var(--white); }

.section-subtitle {
    font-size: 1.13rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header.left .section-subtitle { margin: 0; }

.section-subtitle.on-dark { color: rgba(255,255,255,0.65); }

/* ---------------------------------- Services ---------------------------------- */

.services { background: var(--white); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2.2rem;
    margin-top: 3.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.6rem 2.4rem;
    border-radius: var(--radius-md);
    transition: all 0.12s ease-out;
    border: 2px solid var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.service-card > * { position: relative; z-index: 1; }

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before { opacity: 0.07; }

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.6rem;
    box-shadow: var(--shadow-yellow);
    transition: all 0.25s ease;
}

.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.4px;
}

.service-card p { color: var(--text-gray); line-height: 1.75; font-size: 1rem; }

/* ---------------------------------- Sectors (setores atendidos) ---------------------------------- */

.sectors {
    background: var(--gradient-2);
    color: var(--white);
}

.sectors-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3.5rem;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
}

.sectors-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sectors-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 10%, rgba(0,0,0,0.25) 70%);
}

.sectors-banner-text {
    position: relative;
    z-index: 1;
    padding: 2.4rem 2.6rem;
    max-width: 640px;
}

.sectors-banner-text h3 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 0.6rem;
}

.sectors-banner-text p {
    color: rgba(255,255,255,0.75);
    font-size: 1.02rem;
    line-height: 1.7;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.6rem;
}

.sector-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 2rem 2rem;
    transition: all 0.12s ease-out;
}

.sector-card:hover {
    background: rgba(255,204,0,0.06);
    border-color: rgba(255,204,0,0.35);
    transform: translateY(-6px);
}

.sector-icon { margin-bottom: 1rem; display: block; }
.sector-icon img { width: 42px; height: 42px; object-fit: contain; }

.sector-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    letter-spacing: -0.3px;
}

.sector-card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------------------------------- Benefits ---------------------------------- */

.benefits { background: var(--white); }

.benefits-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.benefits-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

.benefits-image img { width: 100%; height: 100%; object-fit: cover; }

.benefits-list { display: flex; flex-direction: column; gap: 1.6rem; }

.benefit-row {
    display: flex;
    gap: 1.3rem;
    padding: 1.6rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--medium-gray);
    transition: all 0.12s ease-out;
}

.benefit-row:hover {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.benefit-row .benefit-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-yellow);
}

.benefit-row h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.3px;
}

.benefit-row p { color: var(--text-gray); font-size: 0.98rem; line-height: 1.65; }

/* ---------------------------------- Process (como funciona) ---------------------------------- */

.process { background: var(--light-gray); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.process-step {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    border: 2px solid var(--medium-gray);
    position: relative;
    transition: all 0.12s ease-out;
}

.process-step:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.process-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: var(--text-dark);
    font-weight: 900;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-yellow);
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.process-step p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }

/* ---------------------------------- Area served ---------------------------------- */

.area { background: var(--white); }

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

.area-copy p { color: var(--text-gray); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.4rem; }

.area-copy strong { color: var(--text-dark); }

.city-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.city-chip {
    background: var(--light-gray);
    border: 2px solid var(--medium-gray);
    color: var(--text-dark);
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.city-chip:hover {
    border-color: var(--primary-yellow);
    background: rgba(255,204,0,0.08);
    transform: translateY(-2px);
}

.city-chip.hub {
    background: var(--gradient-1);
    border-color: transparent;
    font-weight: 800;
}

/* ---------------------------------- Brands & Clients ---------------------------------- */

.brands { background: var(--light-gray); }
.clients { background: var(--white); }

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.4rem;
    margin-top: 3rem;
}

.badge-item {
    background: white;
    padding: 1.8rem 1.4rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.12s ease-out;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-dark);
    border: 2px solid var(--medium-gray);
    letter-spacing: -0.2px;
    position: relative;
    overflow: hidden;
}

.clients .badge-item { border-color: var(--medium-gray); background: var(--light-gray); }

.badge-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.badge-item span { position: relative; z-index: 1; }

.badge-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-yellow);
}

.badge-item:hover::before { opacity: 0.1; }

/* ---------------------------------- About ---------------------------------- */

.about { background: var(--light-gray); }

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: stretch;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 340px;
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-content {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--medium-gray);
}

.about-content h3 {
    font-size: 1.9rem;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
    font-weight: 900;
    letter-spacing: -0.8px;
    position: relative;
    padding-bottom: 1.3rem;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 70px; height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 1.4rem;
    font-size: 1.03rem;
}

.about-content p strong { color: var(--text-dark); font-weight: 700; }

/* ---------------------------------- Stats ---------------------------------- */

.stats {
    background: var(--gradient-2);
    padding: 4.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255,204,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255,204,0,0.15) 0%, transparent 50%);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item { position: relative; padding: 1.6rem; }

.stat-item::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 55px; height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.stat-item h3 {
    font-size: 3.6rem;
    margin: 1.7rem 0 0.6rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.stat-item p { font-size: 1.1rem; color: rgba(255,255,255,0.9); font-weight: 600; letter-spacing: 0.3px; }

/* ---------------------------------- Contact / Form ---------------------------------- */

.contact { background: var(--text-dark); color: var(--white); }

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

.contact-info p { color: rgba(255,255,255,0.7); font-size: 1.08rem; line-height: 1.85; margin-bottom: 2rem; }

.contact-methods { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.2rem; }

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.15s ease;
}

.contact-method:hover {
    background: rgba(255,204,0,0.08);
    border-color: rgba(255,204,0,0.3);
    transform: translateX(6px);
}

.contact-method .icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method strong { display: block; font-size: 0.98rem; }
.contact-method span { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.contact-form {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background: rgba(255,255,255,0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.4rem;
}

.form-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.9rem;
    text-align: center;
}

/* ---------------------------------- CTA section ---------------------------------- */

.cta-section {
    background: var(--gradient-1);
    padding: 5.5rem 3rem;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.cta-section h2 {
    font-size: 2.7rem;
    margin-bottom: 1.3rem;
    font-weight: 900;
    letter-spacing: -1.4px;
    line-height: 1.2;
}

.cta-section p { font-size: 1.2rem; margin-bottom: 2.6rem; font-weight: 500; opacity: 0.9; }

.cta-section .whatsapp-button {
    background: var(--text-dark);
    color: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cta-section .whatsapp-button:hover {
    background: #000;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.cta-phone {
    display: block;
    margin-top: 1.3rem;
    font-weight: 700;
    font-size: 1.05rem;
}

/* ---------------------------------- Footer ---------------------------------- */

footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 4rem 3rem 2rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem; }

.footer-brand span { font-size: 1.2rem; font-weight: 800; color: var(--white); }

.footer-col p { font-size: 0.92rem; line-height: 1.8; color: rgba(255,255,255,0.55); }

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    letter-spacing: 0.3px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--primary-yellow); }

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.85rem;
}

.footer-bottom p:first-child { color: rgba(255,255,255,0.75); font-weight: 600; }

/* ---------------------------------- Floating WhatsApp ---------------------------------- */

.float-whatsapp {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37,211,102,0.5);
    z-index: 999;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.6) translateY(20px);
    pointer-events: none;
}

.float-whatsapp.visible { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }

.float-whatsapp:hover { transform: scale(1.1); box-shadow: 0 12px 35px rgba(37,211,102,0.6); }

.float-whatsapp svg { width: 30px; height: 30px; fill: white; }

/* ---------------------------------- Responsive ---------------------------------- */

@media (max-width: 1100px) {
    .hero-content h1 { font-size: 2.9rem; }
    .section-title { font-size: 2.3rem; }
    .benefits-layout, .about-layout, .area-layout, .contact-layout { grid-template-columns: 1fr; }
    .benefits-image, .about-image { max-height: 340px; }
}

@media (max-width: 768px) {
    .topbar { padding: 0.5rem 1.2rem; }
    .topbar-inner { justify-content: center; text-align: center; }

    .mobile-menu-toggle { display: block; }

    nav { padding: 1rem 1.4rem; }

    .nav-links {
        position: fixed;
        top: 74px;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: calc(100vh - 74px);
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        align-items: flex-start;
        gap: 1.3rem;
        overflow-y: auto;
    }

    .nav-links.active { right: 0; }

    .nav-links a:not(.cta-button) {
        width: 100%;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--medium-gray);
    }

    .nav-links .cta-button { margin-top: 0.6rem; width: 100%; justify-content: center; }

    .hero { min-height: auto; padding: 3rem 0 2rem; }

    .hero-container { grid-template-columns: 1fr; gap: 2.6rem; padding: 2rem 1.4rem; }

    .hero-content { text-align: center; }

    .hero-content h1 { font-size: 2.15rem; letter-spacing: -1px; }

    .hero-subtitle { font-size: 1.05rem; max-width: 100%; }

    .hero-buttons, .hero-trust { justify-content: center; }

    .hero-image { order: -1; max-width: 420px; margin: 0 auto; }

    section { padding: 3.5rem 1.4rem; }

    .section-title { font-size: 1.9rem; }
    .section-subtitle { font-size: 1.02rem; }

    .services-grid, .sectors-grid, .process-grid { grid-template-columns: 1fr; gap: 1.6rem; }

    .badge-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0.9rem; }

    .stat-item h3 { font-size: 2.7rem; }

    .cta-section h2 { font-size: 1.9rem; }
    .cta-section p { font-size: 1.05rem; }

    .whatsapp-button, .secondary-button, .tel-button { padding: 0.95rem 1.4rem; font-size: 0.98rem; }

    .about-content { padding: 2rem 1.5rem; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .float-whatsapp { width: 56px; height: 56px; bottom: 1.2rem; right: 1.2rem; }
}

/* ---------------------------------- Motion & a11y ---------------------------------- */

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--gradient-1); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--dark-yellow); }

::selection { background: var(--primary-yellow); color: var(--text-dark); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--primary-yellow);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
