/* ==========================================================
   JJ Power Systems – main stylesheet
   ========================================================== */
:root {
  --navy: #0B1F3A;
  --navy-2: #12305A;
  --blue: #1E90FF;
  --blue-dark: #0A6FD6;
  --green: #1B9E4B;
  --red: #E53935;
  --bg: #F5F8FC;
  --white: #FFFFFF;
  --text: #1A2433;
  --muted: #5B6B80;
  --border: #E2E8F0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, .16);
  --container: 1200px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--navy); }
svg { flex-shrink: 0; width: 20px; height: 20px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.text-center { text-align: center; }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--blue); border-radius: 2px; }
.text-center .eyebrow::after { content: ''; width: 28px; height: 3px; background: var(--blue); border-radius: 2px; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 16px; }
.section-title span { color: var(--blue); }
.section-lead { color: var(--muted); max-width: 680px; font-size: 1.05rem; }
.text-center .section-lead { margin: 0 auto; }
.section-head { margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(30, 144, 255, .35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #158a40; transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #C9D6E8; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar-info, .topbar-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 15px; height: 15px; color: var(--blue); }
.badge-license { background: rgba(30, 144, 255, .15); color: #8CC6FF; padding: 3px 12px; border-radius: 20px; font-weight: 600; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 2px 12px rgba(11, 31, 58, .06); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(11, 31, 58, .12); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .3s; }
.header.scrolled .container { height: 70px; }
.logo img { height: 54px; width: auto; transition: height .3s; }
.header.scrolled .logo img { height: 46px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--navy);
  padding: 28px 0; position: relative;
}
.nav-menu > li > a::after {
  content: ''; position: absolute; left: 0; bottom: 22px; width: 0; height: 2px; background: var(--blue); transition: width .25s;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--blue); }
.nav-menu > li > a:hover::after, .nav-menu > li > a.active::after { width: 100%; }
.nav-menu svg { width: 14px; height: 14px; transition: transform .25s; }

.dropdown {
  position: absolute; top: 100%; left: -20px; min-width: 290px;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s;
  border-top: 3px solid var(--blue);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover > a svg { transform: rotate(180deg); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; color: var(--text); }
.dropdown a:hover { background: var(--bg); color: var(--blue); padding-left: 18px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 780px); display: flex; align-items: center;
  background: linear-gradient(100deg, rgba(11, 31, 58, .95) 0%, rgba(11, 31, 58, .82) 45%, rgba(11, 31, 58, .35) 100%), url('../img/hero.jpg') center/cover no-repeat;
  color: var(--white); overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px;
  border: 60px solid rgba(30, 144, 255, .12); border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 80px 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 50px;
  background: rgba(30, 144, 255, .18); border: 1px solid rgba(30, 144, 255, .45);
  font-size: .85rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 24px; color: #BFE0FF;
}
.hero-tag svg { width: 16px; height: 16px; color: #FFD54F; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 1.15rem; color: #D5E1F0; margin-bottom: 36px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-highlights { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .15); }
.hero-highlights div { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .95rem; }
.hero-highlights svg { width: 22px; height: 22px; color: var(--green); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative; padding: 110px 0 90px; color: var(--white); text-align: center;
  background: linear-gradient(rgba(11, 31, 58, .88), rgba(11, 31, 58, .88)), url('../img/distribution.jpg') center/cover no-repeat;
}
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; margin-bottom: 12px; }
.breadcrumb { display: inline-flex; gap: 10px; color: #BFD3EA; font-size: .95rem; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span:last-child { color: var(--blue); }

/* ---------- About / welcome ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute; left: -24px; bottom: -28px; background: var(--blue); color: var(--white);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 230px;
}
.about-badge strong { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1.1; }
.about-badge small { font-size: .85rem; opacity: .95; }
.about-media::before {
  content: ''; position: absolute; top: -18px; right: -18px; width: 140px; height: 140px; z-index: -1;
  background-image: radial-gradient(var(--blue) 2px, transparent 2px); background-size: 16px 16px; opacity: .35;
}
.about-text p { color: var(--muted); margin-bottom: 18px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 26px 0 34px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check-list svg { width: 22px; height: 22px; color: var(--green); margin-top: 2px; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 32px; }
.feature-mini { background: var(--bg); border-radius: 12px; padding: 18px; border-left: 3px solid var(--blue); }
.feature-mini h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-mini p { font-size: .88rem; margin: 0; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.service-card {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-img { position: relative; height: 210px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-icon {
  position: absolute; left: 24px; bottom: -28px; width: 60px; height: 60px; border-radius: 14px;
  background: var(--blue); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 10px 20px rgba(30, 144, 255, .4); z-index: 2; transition: background .3s;
}
.service-card:hover .service-icon { background: var(--green); }
.service-icon svg { width: 30px; height: 30px; }
.service-body { padding: 44px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-size: 1.22rem; margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: .92rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Stats ---------- */
.stats {
  position: relative; padding: 80px 0; color: var(--white);
  background: linear-gradient(rgba(11, 31, 58, .92), rgba(11, 31, 58, .92)), url('../img/substation.jpg') center/cover fixed no-repeat;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 20px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: none; }
.stat-icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(30, 144, 255, .18); color: var(--blue); }
.stat-icon svg { width: 30px; height: 30px; }
.stat-num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; line-height: 1; }
.stat-num::after { content: '+'; color: var(--blue); }
.stat p { color: #BFD3EA; margin-top: 8px; font-weight: 500; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card { display: flex; flex-direction: column; gap: 16px; padding: 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s; }
.why-card:hover { transform: translateY(-5px); }
.why-card .icon-box { width: 56px; height: 56px; border-radius: 12px; background: rgba(30, 144, 255, .1); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.why-card .icon-box svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: .93rem; }
.why-split { grid-template-columns: 1.3fr .7fr; }
.why-media, .why-media img { height: 100%; }
.why-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; min-height: 420px; object-fit: cover; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process-step { position: relative; text-align: center; padding: 10px; }
.process-step .num {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--blue);
  background: var(--white); border: 2px dashed var(--blue); position: relative; z-index: 1;
}
.process-step:not(:last-child)::after { content: ''; position: absolute; top: 49px; left: calc(50% + 50px); width: calc(100% - 72px); border-top: 2px dashed #BBD7F5; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .93rem; }

/* ---------- Clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.client-card {
  display: flex; align-items: center; gap: 18px; padding: 26px 24px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--blue); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-left-color: var(--green); }
.client-mono {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .03em;
}
.client-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.client-card span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.client-card span svg { width: 15px; height: 15px; color: var(--blue); }

/* ---------- CTA ---------- */
.cta {
  position: relative; padding: 80px 0; color: var(--white);
  background: linear-gradient(110deg, rgba(10, 111, 214, .96), rgba(11, 31, 58, .94)), url('../img/cta-bg.jpg') center/cover no-repeat;
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.cta p { color: #D6E7FA; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn-white { background: var(--white); color: var(--navy); }
.cta .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }

/* ---------- Mission / values (about page) ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mv-card { background: var(--white); border-radius: var(--radius); padding: 38px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); transition: transform .3s; }
.mv-card:hover { transform: translateY(-6px); }
.mv-card:nth-child(2) { border-top-color: var(--green); }
.mv-card:nth-child(3) { border-top-color: var(--navy); }
.mv-card .icon-box { width: 62px; height: 62px; border-radius: 50%; background: rgba(30, 144, 255, .1); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }
.mv-card .icon-box svg { width: 30px; height: 30px; }
.mv-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.mv-card p { color: var(--muted); }

.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.credential { display: flex; align-items: center; gap: 18px; padding: 26px; background: var(--navy); color: var(--white); border-radius: var(--radius); }
.credential .icon-box { width: 56px; height: 56px; border-radius: 12px; background: rgba(30, 144, 255, .2); color: var(--blue); display: grid; place-items: center; }
.credential .icon-box svg { width: 28px; height: 28px; }
.credential small { color: #9FB6D3; display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.credential strong { font-family: var(--font-head); font-size: 1.15rem; word-break: break-all; }

/* ---------- Service detail (services page) ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .sd-media { order: 2; }
.sd-media { position: relative; }
.sd-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sd-media .service-icon { left: auto; right: 24px; bottom: -24px; }
.sd-num { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; color: rgba(30, 144, 255, .15); line-height: 1; }
.sd-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 6px 0 14px; }
.sd-text > p { color: var(--muted); margin-bottom: 20px; }
.sd-text .check-list { grid-template-columns: 1fr 1fr; margin: 0 0 28px; }
.sd-text .check-list li { font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 28px; text-align: center; transition: transform .3s; }
.contact-card:hover { transform: translateY(-6px); }
.contact-card .icon-box { width: 66px; height: 66px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 10px 20px rgba(30, 144, 255, .35); }
.contact-card .icon-box svg { width: 28px; height: 28px; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--muted); }
.contact-card a:hover { color: var(--blue); }

.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: stretch; }
.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px; }
.contact-form h2 { font-size: 1.7rem; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  font: inherit; font-size: .95rem; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text); transition: border-color .2s, background .2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { margin-top: 22px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.thanks .icon-box { width: 90px; height: 90px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .icon-box svg { width: 44px; height: 44px; }
.thanks h1 { margin-bottom: 12px; }
.thanks p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: #071528; color: #A9BBD3; padding-top: 80px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 44px; padding-bottom: 56px; }
.footer-logo img { height: 58px; width: auto; margin-bottom: 20px; }
.footer p { margin-bottom: 18px; }
.footer h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--blue); border-radius: 2px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '›'; color: var(--blue); font-size: 1.2rem; line-height: 1; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact svg { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.footer-contact a:hover { color: var(--white); }
.footer-cred { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; }
.footer-cred strong { color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.float-btns { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btns a, .float-btns button {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2); border: none; cursor: pointer; transition: transform .25s, opacity .3s;
}
.float-btns a:hover, .float-btns button:hover { transform: scale(1.08); }
.float-btns svg { width: 26px; height: 26px; }
.fb-whatsapp { background: #25D366; animation: pulse 2.4s infinite; }
.fb-call { background: var(--blue); }
.fb-top { background: var(--navy); opacity: 0; pointer-events: none; }
.fb-top.show { opacity: 1; pointer-events: auto; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fb-whatsapp { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-step::after { display: none; }
  .topbar-hours { display: none !important; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 86vw);
    background: var(--white); flex-direction: column; align-items: stretch; gap: 20px;
    padding: 90px 24px 30px; box-shadow: -10px 0 40px rgba(0, 0, 0, .15);
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav-toggle { position: relative; z-index: 110; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li > a { padding: 14px 0; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--border); }
  .nav-menu > li > a::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 12px; display: none; min-width: 0; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open > a svg { transform: rotate(180deg); }
  .nav .btn { width: 100%; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(11, 31, 58, .5); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }

  .split, .contact-wrap, .service-detail { grid-template-columns: 1fr; gap: 48px; }
  .service-detail:nth-child(even) .sd-media { order: 0; }
  .about-badge { left: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .mv-grid, .credentials, .contact-cards { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .stats { background-attachment: scroll; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .topbar-info a:not(:first-child), .topbar .badge-license { display: none; }
  .header .container { height: 72px; }
  .logo img { height: 44px; }
  .hero { min-height: auto; }
  .hero-content { padding: 70px 0; }
  .hero-highlights { gap: 16px; flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .check-list, .sd-text .check-list, .why-grid, .form-grid { grid-template-columns: 1fr; }
  .process-grid, .clients-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 10px; }
  .stat { border-right: none; padding: 14px 6px; }
  .stat-num { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 28px 20px; }
  .cta .container { flex-direction: column; align-items: flex-start; }
  .float-btns { right: 14px; bottom: 14px; }
  .float-btns a, .float-btns button { width: 48px; height: 48px; }
}
