:root {
  --green: #4CAF50;
  --green-dark: #2e7d32;
  --green-mid: #388e3c;
  --green-light: #81C784;
  --yellow: #f5c518;
  --dark: #1a1a1a;
  --gray: #f7f7f7;
  --text: #333;
  --white: #fff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; }
img { max-width: 100%; }

/* TOP BAR */
.topbar {
  background: var(--green-dark); color: rgba(255,255,255,0.88);
  font-size: 0.78rem; padding: 7px 60px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.topbar a { color: rgba(255,255,255,0.88); text-decoration: none; }
.topbar-left { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar-center { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: center; width: 95%;}

.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; transition: background 0.2s;
}
.topbar-social a:hover { background: rgba(255,255,255,0.3); }

.white {
    color: white;
}

/* NAV */
nav {
  position: sticky; top: 0; width: 100%; z-index: 1000;
  background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 68px; transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.13); }
.nav-logo { font-family: 'Montserrat',sans-serif; font-weight: 900; font-size: 1.7rem; color: var(--green-dark); letter-spacing: -1px; text-decoration: none; }
.nav-logo span { color: var(--yellow); }
.nav-logo img { height: 42px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.88rem; transition: color 0.2s; font-family: 'Montserrat',sans-serif; position: relative; }
.nav-links a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px; background:var(--green); transition:width 0.25s; border-radius:2px; }
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--green) !important; color: white !important; padding: 10px 22px !important; border-radius: 6px !important; }
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }
.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 Drawer */
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1999; }
.drawer-overlay.open { display: block; }
.mobile-drawer {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
  background: white; z-index: 2000; box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  display: flex; flex-direction: column; padding: 80px 32px 40px;
  transition: right 0.35s cubic-bezier(.4,0,.2,1);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #555; }
.mobile-drawer a { display: block; padding: 14px 0; font-weight: 700; font-size: 1rem; color: var(--dark); text-decoration: none; border-bottom: 1px solid #f0f0f0; font-family: 'Montserrat',sans-serif; transition: color 0.2s; }
.mobile-drawer a:hover { color: var(--green); }
.mobile-drawer .mcta { background: var(--green); color: white !important; padding: 14px 20px; border-radius: 8px; text-align: center; margin-top: 20px; border-bottom: none !important; }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.78) 35%, rgba(30,100,30,0.5) 100%),
    url('https://descomplicandosite.com/energyroof/wp-content/uploads/2024/10/Design-sem-nome-2024-10-23T170415.118.png') center/cover no-repeat;
  display: flex; align-items: center; padding: 110px 60px 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 70% 50%, rgba(76,175,80,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { max-width: 620px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(76,175,80,0.25); border: 1px solid rgba(76,175,80,0.5);
  color: var(--green-light); font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 20px;
  font-family: 'Montserrat',sans-serif;
}
.hero-content h1 { font-size: 3.2rem; font-weight: 900; color: white; line-height: 1.12; margin-bottom: 20px; }
.hero-content h1 em { color: var(--yellow); font-style: normal; }
.hero-content p { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.75; margin-bottom: 36px; }
.hero-content p strong { color: white; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: white; padding: 15px 36px;
  border-radius: 8px; font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: all 0.25s; font-family: 'Montserrat',sans-serif;
  box-shadow: 0 4px 20px rgba(76,175,80,0.4);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-3px); box-shadow: 0 10px 32px rgba(76,175,80,0.5); }
.hero-stats {
  display: flex; gap: 0; margin-top: 52px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; overflow: hidden; backdrop-filter: blur(10px);
}
.hero-stat {
  flex: 1; padding: 20px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .hn { font-family: 'Montserrat',sans-serif; font-weight: 900; font-size: 1.9rem; color: var(--yellow); line-height: 1; }
.hero-stat .hl { font-size: 0.68rem; color: rgba(255,255,255,0.62); margin-top: 5px; text-transform: uppercase; letter-spacing: 1px; }

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

/* ABOUT */
.about { background: white; padding: 88px 60px; display: flex; gap: 60px; align-items: flex-start; flex-wrap: wrap; }
.about-image { flex: 1; min-width: 260px; max-width: 360px; }
.about-image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.about-text { flex: 2; min-width: 280px; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--green); font-weight: 700; margin-bottom: 8px; font-family: 'Montserrat',sans-serif; }
.section-title { font-size: 2.1rem; font-weight: 800; color: var(--dark); margin-bottom: 20px; line-height: 1.2; }
.about-text p { font-size: 0.92rem; line-height: 1.8; color: #555; margin-bottom: 12px; }
.about-text p strong { color: var(--green-dark); }
.about-badges { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.about-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--gray); border-radius: 10px; padding: 12px 18px;
  font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--dark);
  border: 1px solid #e8e8e8; transition: all 0.25s;
}
.about-badge:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }
.about-badge .abi { font-size: 1.3rem; }

/* FINANCERS MARQUEE */
.financers { padding: 36px 0; background: var(--gray); overflow: hidden; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.financers-label { text-align: center; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 3px; color: #999; font-weight: 700; margin-bottom: 18px; font-family: 'Montserrat',sans-serif; }
.marquee-wrap { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 24s linear infinite; align-items: center; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { margin: 0 32px; display: flex; align-items: center; }
.marquee-item img { height: 36px; object-fit: contain; filter: grayscale(30%); opacity: 0.85; transition: all 0.3s; }
.marquee-item img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.bank-label { font-family: 'Montserrat',sans-serif; font-weight: 800; font-size: 1rem; padding: 8px 20px; border-radius: 6px; border: 2px solid; }
.bank-bb { color: #ffc107; border-color: #ffc107; }
.bank-real { color: #1565C0; border-color: #1565C0; }
.bank-sant { color: #e53935; border-color: #e53935; }
.bank-brad { color: #cc0000; border-color: #cc0000; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SOLUTIONS */
.solutions { padding: 88px 60px; background: white; text-align: center; }
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.sol-card {
  background: var(--gray); border-radius: 16px; padding: 40px 28px;
  border: 2px solid transparent; transition: all 0.3s; cursor: pointer; text-align: left;
  position: relative; overflow: hidden;
}
.sol-card::before {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  opacity: 0; transition: opacity 0.3s;
}
.sol-card:hover, .sol-card.active { border-color: var(--green); transform: translateY(-6px); box-shadow: 0 16px 48px rgba(76,175,80,0.2); }
.sol-card.active::before { opacity: 1; }
.sol-card > * { position: relative; z-index: 1; }
.sol-icon { width: 56px; height: 56px; background: rgba(76,175,80,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 20px; transition: background 0.3s; }
.sol-card.active .sol-icon { background: rgba(255,255,255,0.18); }
.sol-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; transition: color 0.3s; }
.sol-card p { font-size: 0.87rem; line-height: 1.7; color: #666; transition: color 0.3s; }
.sol-card.active h3 { color: white; }
.sol-card.active p { color: rgba(255,255,255,0.85); }

/* BEFORE / AFTER */
.before-after { background: #efefef; padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ba-item { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.ba-label { padding: 14px 20px; font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; }
.ba-before .ba-label { background: #e53935; color: white; }
.ba-after .ba-label { background: var(--green); color: white; }
.ba-item img { width: 100%; display: block; }

/* GALLERY */
.gallery { background: white; padding: 88px 60px; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 240px 220px;
  gap: 14px; margin-top: 52px;
}
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:nth-child(3) { grid-row: 1 / 3; }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(46,125,50,0);
  display: flex; align-items: center; justify-content: center; transition: background 0.3s;
}
.gallery-overlay span { color: white; font-size: 2rem; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { background: rgba(46,125,50,0.38); }
.gallery-item:hover .gallery-overlay span { opacity: 1; }

/* WHY SECTION */
.why-section { background: var(--gray); padding: 88px 60px; display: flex; gap: 60px; align-items: center; flex-wrap: wrap; }
.why-img { flex: 1; min-width: 280px; position: relative; padding-bottom: 24px; }
.why-img img { width: 100%; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.14); }
.why-badge {
  position: absolute; bottom: 0; right: -10px;
  background: var(--green); color: white; border-radius: 16px; padding: 18px 22px;
  font-family: 'Montserrat',sans-serif; box-shadow: 0 8px 32px rgba(76,175,80,0.4); text-align: center;
}
.why-badge .wn { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.why-badge .wt { font-size: 0.7rem; opacity: 0.9; margin-top: 4px; }
.why-text { flex: 1; min-width: 280px; }
.why-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.why-text > p { font-size: 0.92rem; line-height: 1.8; color: #555; margin-bottom: 32px; }
.why-feature { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.why-fi { width: 48px; height: 48px; background: var(--green); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.4rem; box-shadow: 0 6px 20px rgba(76,175,80,0.3); }
.why-feature h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.why-feature p { font-size: 0.84rem; color: #666; line-height: 1.6; }

/* ADVANTAGES */
.advantages { background: white; padding: 88px 60px; text-align: center; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.adv-card {
  background: var(--gray); border-radius: 16px; padding: 32px 20px;
  transition: all 0.3s; border: 2px solid transparent; text-align: center;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(76,175,80,0.15); border-color: var(--green-light); background: white; }
.adv-icon { font-size: 2.2rem; margin-bottom: 14px; }
.adv-card h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.adv-card p { font-size: 0.8rem; line-height: 1.65; color: #666; }

/* SERVICES */
.services { background: var(--green-dark); padding: 88px 60px; text-align: center; position: relative; overflow: hidden; }
.services::before {
  content:''; position:absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.services .section-label { color: var(--green-light); }
.services .section-title { color: white; }
.services .intro { color: rgba(255,255,255,0.78); font-size: 0.92rem; line-height: 1.8; max-width: 680px; margin: 0 auto 52px; }
.serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.serv-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 32px 20px; text-align: center; transition: all 0.3s;
}
.serv-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-6px); border-color: rgba(255,255,255,0.25); }
.serv-icon { font-size: 2.2rem; margin-bottom: 14px; }
.serv-card h4 { font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 10px; }
.serv-card p { font-size: 0.82rem; line-height: 1.65; color: rgba(255,255,255,0.72); }

/* TESTIMONIALS */
.testimonials { background: var(--gray); padding: 88px 60px; text-align: center; }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.test-card {
  background: white; border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06); text-align: left;
  border-bottom: 4px solid var(--green); transition: all 0.3s;
}
.test-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(76,175,80,0.15); }
.test-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.1rem; font-family: 'Montserrat',sans-serif; flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: 0.88rem; font-family: 'Montserrat',sans-serif; }
.reviewer-date { font-size: 0.72rem; color: #999; margin-top: 2px; }
.stars { color: #f5c518; font-size: 0.9rem; letter-spacing: 1px; }
.test-card p { font-size: 0.83rem; line-height: 1.65; color: #555; }

/* CONTACT */
.contact-section { background: white; padding: 88px 60px; display: flex; gap: 60px; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 260px; }
.contact-info h2 { font-size: 2rem; font-weight: 800; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cd-icon { width: 42px; height: 42px; background: rgba(76,175,80,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.cd-text { font-size: 0.88rem; color: #444; line-height: 1.4; }
.cd-text a { color: var(--green-dark); text-decoration: none; font-weight: 600; }
.contact-socials { display: flex; gap: 12px; margin-top: 24px; }
.contact-social { width: 42px; height: 42px; border-radius: 10px; border: 2px solid #e0e0e0; display: flex; align-items: center; justify-content: center; font-size: 1rem; text-decoration: none; transition: all 0.2s; }
.contact-social:hover { background: var(--green); border-color: var(--green); }
.contact-form { flex: 1; min-width: 300px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: #444; font-family: 'Montserrat',sans-serif; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px; border: 2px solid #e8e8e8;
  font-size: 0.88rem; font-family: 'Open Sans',sans-serif; transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--gray); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(76,175,80,0.1); background: white; }
.form-group textarea { resize: vertical; min-height: 90px; }
.btn-submit {
  background: var(--green); color: white; border: none; padding: 15px 36px;
  border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; width: 100%;
  font-family: 'Montserrat',sans-serif; transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(76,175,80,0.35);
}
.btn-submit:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(76,175,80,0.45); }

/* FOOTER */
footer { background: #111; color: rgba(255,255,255,0.65); padding: 64px 60px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-logo { font-family: 'Montserrat',sans-serif; font-weight: 900; font-size: 1.6rem; color: white; margin-bottom: 14px; display: block; letter-spacing: -1px; text-decoration: none; }
.footer-logo span { color: var(--yellow); }
.footer-brand p { font-size: 0.83rem; line-height: 1.75; color: rgba(255,255,255,0.48); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.85rem; transition: background 0.2s; color: rgba(255,255,255,0.7); }
.footer-social:hover { background: var(--green); color: white; }
.footer-col h4 { color: white; font-size: 0.9rem; margin-bottom: 18px; font-family: 'Montserrat',sans-serif; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.48); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--green-light); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1); }
.reveal-right.visible { opacity: 1; transform: none; }
.d1{transition-delay:0.1s} .d2{transition-delay:0.18s} .d3{transition-delay:0.26s} .d4{transition-delay:0.34s} .d5{transition-delay:0.42s} .d6{transition-delay:0.5s}

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 28px; color: white; font-size: 2.5rem; cursor: pointer; background: none; border: none; line-height: 1; transition: color 0.2s; }
.lightbox-close:hover { color: var(--green-light); }

/* WHATSAPP */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5); text-decoration: none;
  font-size: 1.7rem; transition: all 0.25s; animation: wa-pulse 2.5s infinite;
  color: white;
}
.wa-float:hover { transform: scale(1.12); }
@keyframes wa-pulse {
  0%,100%{box-shadow:0 6px 24px rgba(37,211,102,0.5)}
  50%{box-shadow:0 6px 40px rgba(37,211,102,0.8)}
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  nav,.topbar,.hero,.about,.solutions,.gallery,.why-section,.advantages,.services,.testimonials,.contact-section,footer { padding-left: 32px; padding-right: 32px; }
  .before-after { padding: 48px 32px; }
  .adv-grid { grid-template-columns: repeat(2,1fr); }
  .serv-grid { grid-template-columns: repeat(2,1fr); }
  .test-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1/-1; }
  .solutions-grid { gap: 18px; }
}
@media (max-width: 767px) {
  .topbar { display: none; }
  nav { padding: 0 20px; height: 60px; }
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: flex; }

  .hero { padding: 80px 20px 52px; min-height: 100svh; background-position: 60% center; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 0.88rem; }
  .btn-primary { width: 100%; justify-content: center; }
  .hero-stats { flex-wrap: wrap; border-radius: 12px; }
  .hero-stat { flex: 1 1 calc(50% - 1px); border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .hero-stat:nth-child(3),.hero-stat:nth-child(4) { border-bottom: none; }
  .hero-stat .hn { font-size: 1.6rem; }

  .about { padding: 52px 20px; flex-direction: column; gap: 28px; }
  .about-image { max-width: 100%; }
  .section-title { font-size: 1.6rem; }

  .solutions { padding: 52px 20px; }
  .solutions-grid { grid-template-columns: 1fr; gap: 14px; }

  .before-after { padding: 40px 20px; grid-template-columns: 1fr; gap: 20px; }

  .gallery { padding: 52px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: unset; gap: 10px; }
  .gallery-item { height: 150px !important; border-radius: 10px; }
  .gallery-item:nth-child(3) { grid-row: auto; }

  .why-section { padding: 52px 20px; flex-direction: column; gap: 48px; }
  .why-img { max-width: 100%; }
  .why-badge { right: 0; }
  .why-text h2 { font-size: 1.6rem; }

  .advantages { padding: 52px 20px; }
  .adv-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .adv-card { padding: 22px 14px; }
  .adv-card h4 { font-size: 0.83rem; }
  .adv-card p { font-size: 0.76rem; }

  .services { padding: 52px 20px; }
  .serv-grid { grid-template-columns: 1fr; gap: 12px; }
  .serv-card { display: flex; text-align: left; align-items: flex-start; gap: 14px; padding: 20px; }
  .serv-icon { font-size: 1.8rem; margin-bottom: 0; flex-shrink: 0; margin-top: 2px; }

  .testimonials { padding: 52px 20px; }
  .test-grid { grid-template-columns: 1fr; gap: 14px; }

  .contact-section { padding: 52px 20px; flex-direction: column; gap: 36px; }
  .contact-info h2 { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }

  footer { padding: 40px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; font-size: 1.5rem; }
}
@media (max-width: 400px) {
  .hero-content h1 { font-size: 1.7rem; }
  .adv-grid { grid-template-columns: 1fr; }
  .about-badges { flex-direction: column; }
}