/*
Theme Name: Adicita Jaya Mandiri
Theme URI: https://adicita.co.id
Author: PT Adicita Jaya Mandiri
Author URI: https://adicita.co.id
Description: Theme company profile single page untuk PT Adicita Jaya Mandiri, General Contractor, Trading & Mechanical Electrical. Desain Swiss-flat yang profesional, responsif, smooth scroll, galeri portofolio, komitmen K3, integrasi WhatsApp, Google Maps, dan form kontak.
Version: 1.1.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adicita-jm
Tags: one-column, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ============================================================
   1. RESET & TOKENS
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0f1b2d;
  --navy-2: #16273e;
  --ink: #0b1524;
  --blue: #0e6b99;
  --blue-dark: #0a5276;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --body: #3b4555;
  --muted: #66707f;
  --cream: #f8fafc;
  --cream-2: #eef2f7;
  --line: #e4e9f0;
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --wa: #1da851;
  --wa-dark: #178a42;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
  --nav-h: 72px;
  --radius: 8px;
  --radius-sm: 6px;
  --gap: 24px;
  --section-pad: 104px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--red);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--navy);
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ============================================================
   2. UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

.section--dark {
  background: var(--navy);
  color: #c6d0dd;
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}

.section-head--center .section-kicker::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
}

.section--dark .section-sub {
  color: #9fb0c3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn--red:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark);
}

.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-2);
  color: var(--white);
}

.btn--wa {
  background: var(--wa);
  color: #fff;
}

.btn--wa:hover {
  background: var(--wa-dark);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn--outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   3. HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 1px 0 var(--line-dark);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 44px;
  width: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb0c3;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: #d5dde7;
  padding: 9px 14px;
  border-radius: 6px;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  margin-left: 10px;
}

.nav-cta a {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
}

.nav-cta a:hover {
  background: var(--red-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.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);
}

/* ============================================================
   4. HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: #d5dde7;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay hitam minimalis agar teks tetap terbaca */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 17, 30, 0.92) 0%,
    rgba(10, 17, 30, 0.78) 50%,
    rgba(10, 17, 30, 0.94) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: calc(var(--nav-h) + 80px) 0 56px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff8095;
  margin-bottom: 24px;
}

.hero-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
}

.hero h1 .line {
  display: block;
  margin-top: 14px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #9fb0c3;
}

.hero p {
  max-width: 560px;
  color: #b8c4d3;
  font-size: 17px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Stats strip */
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  margin-bottom: 56px;
}

.stat-chip {
  padding: 26px 28px;
  border-left: 1px solid var(--line-dark);
}

.stat-chip:first-child {
  border-left: none;
}

.stat-chip b {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-chip span {
  font-size: 13.5px;
  color: #9fb0c3;
  letter-spacing: 0.03em;
}

/* ============================================================
   5. ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.about-copy p {
  color: var(--body);
  margin-bottom: 16px;
}

.about-copy strong {
  color: var(--navy);
  font-weight: 600;
}

.about-points {
  margin-top: 26px;
  display: grid;
  gap: 2px;
}

.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--body);
}

.about-points li:last-child {
  border-bottom: none;
}

.about-points .ico {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
  margin-top: 1px;
}

.about-points .ico svg {
  width: 16px;
  height: 16px;
}

.about-side {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.about-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 30px;
  color: #b8c4d3;
}

.about-card h3 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: 20px;
}

.about-card .sub {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fb0c3;
  margin-bottom: 22px;
}

.id-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line-dark);
}

.id-row:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.id-row .label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb0c3;
}

.id-row .value {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--white);
  font-size: 15px;
  text-align: right;
}

/* ============================================================
   6. VISION & MISSION
   ============================================================ */
.vm-wrap {
  margin-top: 76px;
}

.vm-head {
  margin-bottom: 28px;
}

.vm-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.18s var(--ease);
}

.vm-card:hover {
  border-color: var(--navy);
}

.vm-card .vm-ico {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--navy);
  background: var(--cream-2);
}

.vm-card .vm-ico svg {
  width: 22px;
  height: 22px;
}

.vm-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.vm-card p,
.vm-card li {
  color: var(--body);
  font-size: 16px;
}

.vm-card ul li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
}

.vm-card ul li::before {
  content: "-";
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.vm-commit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.vm-commit .item {
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.vm-commit .item:first-child {
  border-left: none;
}

.vm-commit h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.vm-commit p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ============================================================
   7. SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.service-ico {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue);
  background: var(--cream-2);
}

.service-ico svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.service-card ul {
  font-size: 14px;
  color: var(--body);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.service-card ul li {
  display: flex;
  gap: 8px;
  padding: 4px 0;
}

.service-card ul li::before {
  content: "•";
  color: var(--red);
  font-weight: 700;
}

/* ============================================================
   8. PROJECTS
   ============================================================ */
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  transition: all 0.18s var(--ease);
}

.filter-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.project-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.project-card.hidden {
  display: none;
}

.project-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--cream-2);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}

.project-info {
  padding: 18px 20px;
}

.project-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.project-info p {
  font-size: 14px;
  color: var(--muted);
}

.project-client {
  display: block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.project-client b {
  color: var(--navy);
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 13, 22, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-figure {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-figure img {
  max-height: 70vh;
  margin: 0 auto;
  border-radius: 8px;
  background: var(--white);
}

.lightbox-figure figcaption {
  color: #d5dde7;
  margin-top: 16px;
  font-size: 15px;
}

.lightbox-figure figcaption small {
  display: block;
  color: #9fb0c3;
  margin-top: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  font-size: 22px;
  border-radius: 6px;
  transition: background-color 0.18s var(--ease);
}

.lightbox-close:hover {
  background: var(--red);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  font-size: 20px;
  border-radius: 6px;
  transition: background-color 0.18s var(--ease);
}

.lightbox-nav:hover {
  background: var(--red);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ============================================================
   9. K3
   ============================================================ */
.k3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.k3-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: border-color 0.18s var(--ease);
}

.k3-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.k3-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.k3-ico {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #ff8095;
  background: rgba(200, 16, 46, 0.16);
}

.k3-ico svg {
  width: 22px;
  height: 22px;
}

.k3-num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: -0.02em;
  line-height: 1;
}

.k3-card h3 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 10px;
}

.k3-card p {
  color: #9fb0c3;
  font-size: 15px;
}

.k3-note {
  text-align: center;
  margin-top: 44px;
  color: #9fb0c3;
  font-size: 15.5px;
}

.k3-note b {
  color: var(--white);
  font-weight: 600;
}

/* ============================================================
   10. CUSTOMERS
   ============================================================ */
.customers-marquee {
  overflow: hidden;
  position: relative;
}

.customers-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.customers-marquee:hover .customers-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.customer-card {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  margin-right: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: border-color 0.18s var(--ease);
}

.customer-card:hover {
  border-color: var(--navy);
}

.customer-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ============================================================
   11. CONTACT
   ============================================================ */
.contact-grid {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-form h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.contact-form > p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

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

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 107, 153, 0.14);
}

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

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
}

.form-status.show { display: block; }
.form-status.ok { background: #e7f6ec; color: #146c43; border: 1px solid #b9e4c9; }
.form-status.err { background: #fdebec; color: #a41717; border: 1px solid #f4c2c2; }

/* Maps */
.map-wrap {
  margin-top: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: #9fb0c3;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 50px;
  width: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 5px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  max-width: 320px;
  color: #9fb0c3;
}

.footer-col h4 {
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #9fb0c3;
  font-size: 14.5px;
}

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

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 13px;
}

.footer-contact .fc-ico {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #ff8095;
}

.footer-contact .fc-ico svg {
  width: 20px;
  height: 20px;
}

.footer-contact .fc-txt {
  font-size: 14px;
  line-height: 1.6;
  color: #9fb0c3;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.footer-bottom .nib {
  color: #8ca0b6;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.wa-float:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
}

.wa-float svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* Back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s var(--ease);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-side {
    position: static;
  }

  .vm-commit {
    grid-template-columns: repeat(2, 1fr);
  }

  .vm-commit .item:nth-child(3) {
    border-left: none;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 6px;
  }

  .main-nav a {
    font-size: 17px;
    padding: 11px 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .k3-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 76px;
  }

  .services-grid,
  .projects-grid,
  .vm-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-chip {
    border-left: none;
    border-top: 1px solid var(--line-dark);
    padding: 20px 24px;
  }

  .stat-chip:first-child {
    border-top: none;
  }

  .vm-commit {
    grid-template-columns: 1fr;
  }

  .vm-commit .item {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .vm-commit .item:first-child {
    border-top: none;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
