/* =========================================================
   GM Energy – www.gmenergy.in
   Static site stylesheet
   ========================================================= */

:root {
  --navy: #0a2a5e;
  --navy-2: #0d3b85;
  --blue: #1560c4;
  --sky: #1e8ef0;
  --cyan: #29b6f6;
  --amber: #f5a623;
  --ink: #142238;
  --text: #4a5870;
  --muted: #7a879c;
  --line: #e3e9f2;
  --bg-soft: #f3f7fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 42, 94, .10);
  --shadow-lg: 0 20px 50px rgba(10, 42, 94, .18);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --topbar-h: 48px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, .h1 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .2px; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--body); font-weight: 600; font-size: 1rem; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; box-shadow: 0 8px 22px rgba(21, 96, 196, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(21, 96, 196, .45); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--blue); }
.btn-outline-white { border-color: #fff; color: #fff; }
.btn-outline-white:hover { background: #25d366; border-color: #25d366; color: #fff; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #fff; font-size: 1.05rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--topbar-h); gap: 16px; }
.topbar-contact { display: flex; gap: 28px; flex-wrap: wrap; }
.tb-item { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; letter-spacing: .3px; }
.tb-item:hover { color: var(--cyan); }
.tb-icon {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky); font-size: .95rem;
}
.topbar-social { display: flex; align-items: center; gap: 8px; }
.tb-follow { font-size: .85rem; opacity: .75; margin-right: 4px; text-transform: uppercase; letter-spacing: 1px; }
.soc {
  width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.12); transition: background .2s, transform .2s;
}
.soc:hover { color: #fff; transform: translateY(-2px); }
.soc.linkedin:hover { background: #0a66c2; }
.soc.facebook:hover { background: #1877f2; }
.soc.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.soc.whatsapp:hover { background: #25d366; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(10,42,94,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: 1rem; padding: 10px 14px; border-radius: 6px; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--sky); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.nav a:not(.btn):hover, .nav a.active { color: var(--blue); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .nav-cta { margin-left: 10px; padding: 11px 22px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(72vh, 600px); min-height: 480px; overflow: hidden; background: var(--navy); }
.slides, .slide { position: absolute; inset: 0; }
.slide {
  display: flex; align-items: center; opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.slide::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg), linear-gradient(135deg, #0d3b85, #1e8ef0);
  background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 7s ease-out;
}
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,24,58,.92) 0%, rgba(10,42,94,.78) 42%, rgba(13,59,133,.25) 100%);
}
.slide.active { opacity: 1; visibility: visible; }
.slide.active::before { transform: scale(1); }
.slide-content { position: relative; z-index: 2; color: #fff; }
.slide-content > * { max-width: 680px; opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.slide.active .slide-content > * { opacity: 1; transform: none; }
.slide.active .slide-content > *:nth-child(2) { transition-delay: .15s; }
.slide.active .slide-content > *:nth-child(3) { transition-delay: .3s; }
.slide.active .slide-content > *:nth-child(4) { transition-delay: .45s; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 40px;
  background: rgba(30,142,240,.22); border: 1px solid rgba(41,182,246,.5);
  font-weight: 600; font-size: .9rem; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow i { color: var(--amber); }
.hero h1, .hero .h1 {
  color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 span, .hero .h1 span {
  background: linear-gradient(90deg, #4fc3f7, #1e8ef0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slide-content p { font-size: 1.18rem; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .2s;
}
.slider-arrow:hover { background: var(--sky); border-color: var(--sky); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.slider-dots button {
  width: 12px; height: 12px; border-radius: 12px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45); transition: width .3s, background .3s;
}
.slider-dots button.active { width: 36px; background: var(--sky); }

/* ---------- Highlights ---------- */
.highlights { position: relative; z-index: 10; margin-top: 24px; }
.highlights + .section { padding-top: 48px; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.hl-card { display: flex; gap: 16px; align-items: center; padding: 28px 24px; border-right: 1px solid var(--line); transition: background .3s; }
.hl-card:last-child { border-right: 0; }
.hl-card > i {
  flex: none; width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.5rem; color: var(--blue); background: #e8f2fe; transition: .3s;
}
.hl-card h3 { font-size: 1.25rem; margin: 0 0 2px; }
.hl-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.hl-card:hover { background: var(--navy); }
.hl-card:hover h3 { color: #fff; }
.hl-card:hover p { color: rgba(255,255,255,.7); }
.hl-card:hover > i { background: var(--sky); color: #fff; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-tag {
  display: inline-block; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--sky); margin-bottom: 10px; position: relative; padding-left: 34px;
}
.section-tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--sky); }
.section-head p { font-size: 1.1rem; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: rgba(255,255,255,.8); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: stretch; }
.about-media { position: relative; display: flex; flex-direction: column; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; flex: 1; min-height: 260px; }
.about-photo {
  position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--img) center/cover, linear-gradient(135deg, var(--navy-2), var(--sky));
}
.about-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,24,58,.85)); }
.about-photo span { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-weight: 600; font-size: .92rem; }
.about-photo span i { color: var(--cyan); margin-right: 4px; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; border: 1px solid var(--line); }
.about-img img { width: 100%; height: auto; }
.about-media::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 120px; height: 120px; z-index: -1;
  background-image: radial-gradient(var(--sky) 2px, transparent 2px); background-size: 14px 14px; opacity: .5;
}
.about-badge {
  position: absolute; right: -14px; bottom: -28px; display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--sky);
}
.about-badge img { width: 54px; height: auto; }
.about-badge strong { display: block; color: var(--ink); font-family: var(--head); font-size: 1.2rem; }
.about-badge span { font-size: .88rem; color: var(--muted); }
.about-text h2 { margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: .98rem; }
.check-list i { color: var(--sky); margin-top: 5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { text-align: center; padding: 16px 8px; background: var(--bg-soft); border-radius: 12px; border-bottom: 3px solid var(--sky); }
.stat strong { display: block; font-family: var(--head); font-size: 2.4rem; color: var(--blue); line-height: 1; }
.stat span { font-size: .82rem; line-height: 1.3; display: block; margin-top: 6px; color: var(--text); }

.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.vm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.vm-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vm-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-size: 1.4rem; margin-bottom: 18px; }
.vm-card ul { margin: 0; padding-left: 18px; }
.vm-card li { margin-bottom: 6px; }
.vm-card p { margin: 0; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px; position: relative; overflow: hidden;
  box-shadow: 0 4px 16px rgba(10,42,94,.05); transition: transform .35s, box-shadow .35s; z-index: 0;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, var(--navy), var(--navy-2) 60%, var(--blue));
  opacity: 0; transition: opacity .35s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { opacity: 1; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,.8); }
.service-card:hover .tags li { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.service-card:hover .svc-icon { background: var(--sky); color: #fff; }
.svc-icon {
  width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center;
  background: #e8f2fe; color: var(--blue); font-size: 1.7rem; margin-bottom: 22px; transition: .35s;
}
.service-card h3 { font-size: 1.5rem; transition: color .35s; }
.service-card p { transition: color .35s; }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 30px; background: var(--bg-soft); color: var(--navy-2); border: 1px solid var(--line); transition: .35s; }

/* ---------- Equipment gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.g-item {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--sky));
}
.g-item::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--img); background-size: cover; background-position: center; transition: transform .6s;
}
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,24,58,.88)); }
.g-item:hover::before { transform: scale(1.08); }
.g-wide { grid-column: span 2; }
.g-item figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; }
.g-item figcaption span { display: inline-block; font-size: .75rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: #fff; background: var(--sky); padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; }
.g-item h3 { color: #fff; margin: 0; font-size: 1.45rem; }
.product-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.product-chips span {
  padding: 9px 18px; border-radius: 40px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem;
  color: var(--navy-2); background: #fff; transition: .25s;
}
.product-chips span:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Industries ---------- */
.industries {
  position: relative; color: #fff;
  background:
    linear-gradient(120deg, rgba(6,24,58,.95), rgba(13,59,133,.9)),
    url('https://images.unsplash.com/photo-1658870901700-9c0418787aa7?auto=format&fit=crop&w=1920&q=60') center/cover fixed,
    var(--navy);
}
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-card {
  display: flex; align-items: center; gap: 18px; padding: 26px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: .3s;
}
.ind-card:hover { background: rgba(30,142,240,.25); border-color: var(--sky); transform: translateY(-4px); }
.ind-card i { font-size: 1.7rem; color: var(--cyan); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(41,182,246,.12); flex: none; }
.ind-card h3 { color: #fff; margin: 0; font-size: 1.3rem; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 16px); }
.steps li { text-align: center; position: relative; padding: 0 6px; }
.steps li > i {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.8rem; color: var(--blue); background: #fff; border: 2px solid var(--line); position: relative; z-index: 1;
  box-shadow: var(--shadow); transition: .3s;
}
.steps li:hover > i { background: var(--blue); color: #fff; border-color: var(--blue); }
.step-no { position: absolute; top: -6px; left: 50%; margin-left: 22px; z-index: 2; background: var(--amber); color: #fff; font-family: var(--head); font-weight: 700; font-size: .9rem; padding: 2px 8px; border-radius: 20px; }
.steps h3 { font-size: 1.25rem; margin-bottom: 4px; }
.steps p { font-size: .92rem; margin: 0; }

/* ---------- Clients ---------- */
.clients { background: var(--bg-soft); }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.client-card {
  background: #fff; border-radius: var(--radius); padding: 26px 22px 24px; text-align: center;
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.client-logo { height: 120px; display: grid; place-items: center; padding: 10px; margin-bottom: 18px; border-radius: 10px; background: #fff; border-bottom: 1px solid var(--line); }
.client-logo img { max-height: 96px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(.15); transition: filter .3s, transform .3s; }
.client-logo.dark { background: #0785c6; border-bottom: 0; }
.client-card:hover .client-logo img { filter: none; transform: scale(1.05); }
.client-logo.dark img { filter: none; }
.client-card h3 { margin-bottom: 2px; }
.client-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.client-more { text-align: center; margin: 32px 0 0; font-weight: 600; color: var(--navy-2); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.why-intro p { font-size: 1.1rem; margin-bottom: 26px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-item { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); transition: .3s; }
.why-item:hover { border-color: var(--sky); box-shadow: var(--shadow); }
.why-item > i { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; font-size: 1.25rem; }
.why-item h3 { font-size: 1.25rem; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(110deg, var(--blue) 0%, var(--sky) 70%, var(--cyan) 100%);
  color: #fff; padding: 40px 0; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; background: rgba(255,255,255,.08); transform: skewX(-25deg); }
.cta-band::before { right: 12%; top: 0; bottom: 0; width: 120px; }
.cta-band::after { right: 4%; top: 0; bottom: 0; width: 50px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; text-transform: uppercase; margin-bottom: 6px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-inner p { margin: 0; color: rgba(255,255,255,.9); font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.ci-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); color: inherit; transition: .25s; }
a.ci-card:hover { border-color: var(--sky); background: #fff; box-shadow: var(--shadow); }
.ci-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 1.15rem; }
.ci-card small { display: block; text-transform: uppercase; letter-spacing: 1px; font-size: .75rem; font-weight: 700; color: var(--muted); }
.ci-card strong { color: var(--ink); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 240px; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--sky); }
.contact-form h3 { font-size: 1.8rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 8px;
  border: 1.5px solid var(--line); background: var(--bg-soft); font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(30,142,240,.12);
}
.contact-form .invalid { border-color: #e53935; background: #fff5f5; }
.contact-form textarea { resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note.ok { color: #2e7d32; font-weight: 600; }
.form-note.err { color: #c62828; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #061a3d; color: rgba(255,255,255,.72); padding-top: 52px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.f-logo { background: #fff; display: inline-block; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; }
.f-logo img { height: 46px; width: auto; }
.footer h4 { color: #fff; font-size: 1.35rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--sky); border-radius: 3px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--cyan); }
.f-col ul:not(.f-contact) a::before { content: "\203A"; margin-right: 8px; color: var(--sky); font-weight: 700; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact i { color: var(--sky); margin-top: 5px; width: 16px; text-align: center; }
.f-social { display: flex; gap: 10px; margin-top: 8px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .25s; }
.f-social a:hover { background: var(--sky); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .9rem; }
.fb-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.fb-tags { color: rgba(255,255,255,.5); letter-spacing: .5px; }

/* ---------- Floating ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); animation: pulse 2.4s infinite;
}
.float-wa:hover { color: #fff; transform: scale(1.06); }
@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); } }
.to-top {
  position: fixed; right: 27px; bottom: 96px; z-index: 900; width: 48px; height: 48px; border-radius: 10px; border: 0;
  background: var(--blue); color: #fff; font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--sky); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav a { padding: 10px 9px; font-size: .95rem; }
  .brand img { height: 46px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .section { padding: 48px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 10px 20px 24px; box-shadow: 0 20px 30px rgba(10,42,94,.15);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility .35s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .nav-cta { margin: 16px 0 0; border-radius: 8px; border-bottom: 0; }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .hl-card:nth-child(2) { border-right: 0; }
  .hl-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .contact-grid, .why-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .why-intro { position: static; text-align: center; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .vm-grid { grid-template-columns: 1fr; margin-top: 70px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .industries { background-attachment: scroll, scroll, scroll; }
  .slider-arrow { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .topbar-inner { flex-direction: column; justify-content: center; padding: 8px 20px; gap: 6px; }
  .topbar-contact { gap: 8px 18px; justify-content: center; }
  .tb-item { font-size: .98rem; }
  .tb-icon { width: 28px; height: 28px; font-size: .85rem; }
  .tb-follow { display: none; }
  .soc { width: 30px; height: 30px; font-size: .85rem; }
  .brand img { height: 40px; }
  .hero { min-height: 540px; height: 80vh; }
  .slide::after { background: linear-gradient(180deg, rgba(6,24,58,.75), rgba(6,24,58,.9)); }
  .slide-content p { font-size: 1.02rem; }
  .slider-dots { bottom: 24px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .hl-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .hl-card:last-child { border-bottom: 0; }
  .check-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .about-photos { min-height: 160px; }
  .about-badge { position: relative; right: auto; bottom: auto; margin: -24px 14px 0; }
  .service-grid, .ind-grid, .why-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .g-wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .client-grid { gap: 14px; }
  .client-logo { height: 90px; }
  .client-logo img { max-height: 70px; }
  .client-card h3 { font-size: 1.15rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .fb-inner { flex-direction: column; text-align: center; }
  .float-wa { width: 52px; height: 52px; font-size: 1.7rem; right: 16px; bottom: 16px; }
  .to-top { right: 18px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
