/* =========================================================
   Digimint Media — Design System (white & mint)
   ========================================================= */
:root {
  --mint: #1fd3a3;
  --mint-600: #12b489;
  --mint-300: #6ff0cd;
  --mint-050: #e9fbf5;
  --mint-100: #d3f7ea;
  --forest: #06251b;
  --forest-800: #0a3324;
  --ink: #0b1f18;
  --body: #3d534b;
  --muted: #6d8279;
  --line: #e4efea;
  --white: #ffffff;
  --off: #f6fbf9;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(6, 37, 27, 0.06);
  --shadow: 0 18px 40px rgba(6, 37, 27, 0.10);
  --shadow-lg: 0 30px 70px rgba(6, 37, 27, 0.16);
  --container: 1180px;
  --header-h: 72px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.section { padding: 6.5rem 0; }
.section--tight { padding: 4.5rem 0; }
.section--off { background: var(--off); }
.section--forest {
  background: radial-gradient(900px 480px at 85% -10%, rgba(31, 211, 163, 0.20), transparent 60%), var(--forest);
  color: #dcefe8;
}
.section--forest h2, .section--forest h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mint-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--mint); border-radius: 2px; }
.section--forest .eyebrow { color: var(--mint-300); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mint); outline-offset: 2px;
}
.btn--mint { background: var(--mint); color: var(--forest); box-shadow: 0 10px 24px rgba(31, 211, 163, 0.35); }
.btn--mint:hover { background: var(--mint-300); box-shadow: 0 14px 30px rgba(31, 211, 163, 0.45); }
.btn--outline { border-color: rgba(6, 37, 27, 0.18); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--mint-600); color: var(--mint-600); }
.section--forest .btn--outline { border-color: rgba(255, 255, 255, 0.25); color: var(--white); }
.section--forest .btn--outline:hover { border-color: var(--mint); color: var(--mint-300); }
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32); }
.btn--wa:hover { background: #1EBE5A; }
.btn--light { background: var(--white); color: var(--forest); }
.btn--dark { background: var(--forest); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand img { height: 38px; width: auto; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mint), var(--mint-600)); color: var(--forest); font-weight: 700;
}
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { position: relative; font-size: 0.94rem; font-weight: 500; color: var(--body); padding: 0.25rem 0; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--mint); border-radius: 2px; transition: width 0.25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); align-items: center; justify-content: center; font-size: 1.25rem;
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 300; background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px); padding: 6rem 2rem 2rem; display: none;
}
.mobile-menu.open { display: block; animation: fadeIn 0.25s ease; }
.mobile-menu a.mm-link {
  display: block; padding: 1rem 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-menu .mm-cta { margin-top: 2rem; display: grid; gap: 0.8rem; }
.mm-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 1.3rem;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e7f5ef;
  background:
    radial-gradient(1000px 520px at 78% -5%, rgba(31, 211, 163, 0.28), transparent 62%),
    radial-gradient(700px 420px at -5% 100%, rgba(31, 211, 163, 0.14), transparent 60%),
    var(--forest);
  padding: 6rem 0 7rem;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 80%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--mint) 10%, var(--mint-300) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: #b9d5cb; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1.2rem; }
.hero-trust { font-size: 0.9rem; color: #8fb3a7; display: flex; align-items: center; gap: 0.6rem; }
.hero-trust::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.pill {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #cfe9e0;
}

/* Hero art */
.hero-art { position: relative; height: 520px; perspective: 1400px; }
.art-blob {
  position: absolute; border-radius: 50%; filter: blur(2px);
  background: radial-gradient(circle at 30% 30%, rgba(111, 240, 205, 0.55), rgba(31, 211, 163, 0.05) 70%);
}
.art-blob.b1 { width: 220px; height: 220px; top: -30px; right: 40px; animation: float 9s ease-in-out infinite; }
.art-blob.b2 { width: 120px; height: 120px; bottom: 20px; left: -20px; animation: float 11s ease-in-out infinite reverse; }
.art-card {
  position: absolute; border-radius: var(--radius); background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 4px rgba(2, 15, 10, 0.12), 0 20px 40px -14px rgba(2, 15, 10, 0.45), 0 48px 80px -40px rgba(2, 15, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.5); color: var(--ink);
  transform-style: preserve-3d; transform-origin: center center;
}
.art-browser { top: 30px; left: 20px; width: 74%; padding: 0; overflow: hidden; transform: perspective(1200px) rotateY(-12deg) rotateX(5deg); animation: floatBrowser 9s ease-in-out infinite; }
.art-browser .bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--off); border-bottom: 1px solid var(--line); }
.art-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7e6e0; }
.art-browser .bar i:first-child { background: var(--mint); }
.art-body { padding: 1rem 1.1rem 1.2rem; }
.art-hero-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--mint-100), #eef8f4); }
.art-hero-line.w60 { width: 60%; margin-bottom: 8px; }
.art-hero-line.w40 { width: 40%; background: linear-gradient(90deg, var(--mint), var(--mint-300)); }
.art-thumb-row { display: flex; gap: 8px; margin-top: 12px; }
.art-thumb { flex: 1; height: 54px; border-radius: 10px; background: linear-gradient(135deg, #e7f7f1, #f4fbf8); border: 1px solid var(--line); }
.art-thumb:nth-child(2) { background: linear-gradient(135deg, var(--mint-100), var(--mint-050)); }
.art-phone {
  bottom: 20px; right: 10px; width: 168px; padding: 12px; border-radius: 26px;
  transform: perspective(1000px) rotateY(12deg) rotateX(-3deg);
  animation: floatPhone 7.6s ease-in-out infinite 1s; z-index: 3;
}
.art-phone .p-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.art-phone .p-av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), var(--mint-600)); }
.art-phone .p-line { height: 7px; border-radius: 4px; background: #eaf4f0; flex: 1; }
.art-phone .p-img { height: 96px; border-radius: 12px; background: linear-gradient(135deg, var(--mint), var(--mint-600)); margin-bottom: 10px; }
.art-chart { bottom: 90px; left: 0; width: 220px; padding: 1rem 1.1rem; transform: perspective(1000px) rotateY(-9deg) rotateX(6deg); animation: floatChart 8.6s ease-in-out infinite 0.5s; z-index: 4; }
.art-chart .c-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.art-chart .c-bars { display: flex; align-items: flex-end; gap: 8px; height: 74px; }
.art-chart .c-bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--mint-100); }
.art-chart .c-bars span:nth-child(1) { height: 35%; }
.art-chart .c-bars span:nth-child(2) { height: 55%; }
.art-chart .c-bars span:nth-child(3) { height: 45%; }
.art-chart .c-bars span:nth-child(4) { height: 75%; background: linear-gradient(180deg, var(--mint), var(--mint-600)); }
.art-chart .c-bars span:nth-child(5) { height: 95%; background: linear-gradient(180deg, var(--mint), var(--mint-600)); }
.art-badge {
  top: -6px; right: 120px; padding: 0.55rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  background: var(--forest-800); color: var(--mint-300); z-index: 5; animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes floatBrowser {
  0%, 100% { transform: perspective(1200px) rotateY(-12deg) rotateX(5deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-12deg) rotateX(5deg) translateY(-16px); }
}
@keyframes floatPhone {
  0%, 100% { transform: perspective(1000px) rotateY(12deg) rotateX(-3deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(12deg) rotateX(-3deg) translateY(-13px); }
}
@keyframes floatChart {
  0%, 100% { transform: perspective(1000px) rotateY(-9deg) rotateX(6deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-9deg) rotateX(6deg) translateY(-18px); }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item {
  padding: 1.5rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-100); }
.trust-item .ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem;
  background: var(--mint-050); border: 1px solid var(--mint-100); margin-bottom: 0.9rem;
}
.trust-item h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.trust-item p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; }
.about-visual .frame {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest-800) 60%, #0d4230 100%);
  position: relative; box-shadow: var(--shadow-lg);
}
.about-visual .frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-visual .frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6, 37, 27, 0.88) 0%, rgba(6, 37, 27, 0.18) 46%, rgba(6, 37, 27, 0) 72%),
              radial-gradient(400px 260px at 72% 18%, rgba(31, 211, 163, 0.28), transparent 62%);
}
.about-visual .frame::after {
  content: "Digimint Media"; position: absolute; z-index: 2; left: 1.6rem; bottom: 1.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--white); letter-spacing: -0.02em;
}
.about-visual .float-card {
  position: absolute; right: -18px; bottom: 42px; background: var(--white); border-radius: var(--radius);
  padding: 1rem 1.2rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.about-visual .float-card strong { font-family: var(--font-display); color: var(--ink); display: block; font-size: 1.05rem; }
.about-visual .float-card span { font-size: 0.82rem; color: var(--muted); }
.about-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.8rem; }
.about-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--body); }
.about-list li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint-050); color: var(--mint-600); font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--mint), var(--mint-300)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--mint-100); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--mint-050), var(--mint-100)); border: 1px solid var(--mint-100);
  margin-bottom: 1.1rem; transition: transform 0.3s ease;
}
.service-card:hover .ic { transform: rotate(-6deg) scale(1.06); }
.service-card .svc-img {
  width: 100%; border-radius: 14px; margin-bottom: 1.1rem; display: block;
  border: 1px solid var(--line); transition: transform 0.35s ease;
}
.service-card:hover .svc-img { transform: scale(1.03); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.service-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.service-card .wa-link {
  font-size: 0.86rem; font-weight: 600; color: var(--mint-600); display: inline-flex; align-items: center; gap: 0.4rem;
}
.service-card .wa-link:hover { color: var(--forest); gap: 0.65rem; }
.services-cta {
  margin-top: 2.6rem; padding: 2.2rem 2.4rem; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--forest), var(--forest-800));
  color: var(--white); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem;
}
.services-cta h3 { color: var(--white); font-size: 1.5rem; margin: 0; }
.services-cta p { color: #b9d5cb; margin: 0.3rem 0 0; }

/* ---------- Work / Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.2rem; }
.filter {
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--body); font-size: 0.88rem; font-weight: 500; transition: all 0.2s ease;
}
.filter:hover { border-color: var(--mint); color: var(--mint-600); }
.filter.active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.work-grid { columns: 3; column-gap: 1.3rem; }
.work-item {
  break-inside: avoid; margin-bottom: 1.3rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; text-align: left; padding: 0;
  display: block; width: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.work-thumb { position: relative; height: 220px; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.work-item:hover .work-thumb img { transform: scale(1.06); }
.work-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6, 37, 27, 0.38), transparent 58%);
}
.work-thumb .tag {
  position: absolute; z-index: 1; top: 12px; left: 12px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; background: rgba(255, 255, 255, 0.92); color: var(--forest); padding: 0.3rem 0.7rem; border-radius: 999px;
}
.work-thumb .demo {
  position: absolute; z-index: 1; bottom: 12px; right: 12px; font-size: 0.68rem; font-weight: 600;
  background: rgba(6, 37, 27, 0.72); color: var(--mint-300); padding: 0.25rem 0.6rem; border-radius: 999px;
}
.work-meta { padding: 1.1rem 1.2rem 1.3rem; }
.work-meta h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.work-meta p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 1.5rem;
  background: rgba(6, 37, 27, 0.72); backdrop-filter: blur(4px);
}
.modal.open { display: flex; animation: fadeIn 0.2s ease; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg); max-width: 640px; width: 100%; overflow: hidden;
  box-shadow: var(--shadow-lg); animation: pop 0.25s ease;
}
@keyframes pop { from { transform: scale(0.96); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.modal-thumb { height: 190px; overflow: hidden; position: relative; background: var(--mint-050); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-body { padding: 1.8rem 2rem 2rem; }
.modal-body h3 { font-size: 1.5rem; }
.modal-body .row { margin: 0.9rem 0; }
.modal-body .row span.k { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint-600); margin-bottom: 0.2rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 1.15rem;
}

/* ---------- Process ---------- */
.process { position: relative; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; }
.process-grid::before {
  content: ""; position: absolute; top: 44px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent); opacity: 0.5;
}
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; z-index: 2; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--forest);
  background: linear-gradient(135deg, var(--mint-300), var(--mint)); box-shadow: 0 10px 22px rgba(31, 211, 163, 0.3);
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.2rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); font-weight: 600; color: var(--ink); font-size: 0.95rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.industry:hover { transform: translateY(-3px); border-color: var(--mint); box-shadow: var(--shadow-sm); }
.industry .ic { font-size: 1.4rem; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: center; }
.why-visual {
  border-radius: var(--radius-lg); padding: 2.4rem; min-height: 380px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--forest), var(--forest-800)); box-shadow: var(--shadow-lg);
}
.why-visual .why-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.why-visual::before {
  content: ""; position: absolute; z-index: 1; width: 320px; height: 320px; border-radius: 50%; top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(31, 211, 163, 0.4), transparent 70%);
}
.why-visual .stat { position: relative; z-index: 2; margin-bottom: 1.6rem; }
.why-visual .stat strong { display: block; font-family: var(--font-display); color: var(--white); font-size: 1.5rem; }
.why-visual .stat span { color: #a9c9bf; font-size: 0.9rem; }
.why-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-list .ic {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem;
  background: var(--mint-050); border: 1px solid var(--mint-100);
}
.why-list h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.why-list p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Collaboration (in place of testimonials) ---------- */
.collab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.collab-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.collab-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.collab-card .ic { font-size: 1.6rem; margin-bottom: 0.8rem; }
.collab-card h3 { font-size: 1rem; }
.collab-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 0.9rem; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-q .chev { flex: none; transition: transform 0.3s ease; color: var(--mint-600); font-size: 1.2rem; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a .inner { padding: 0 1.4rem 1.3rem; color: var(--body); font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact-section {
  background:
    radial-gradient(700px 420px at 15% 0%, rgba(255, 255, 255, 0.65), transparent 60%),
    linear-gradient(120deg, var(--mint) 0%, var(--mint-300) 100%);
  color: var(--forest);
}
.contact-section h2 { color: var(--forest); }
.contact-section .lead { color: rgba(6, 37, 27, 0.78); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-info .ci-row { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.1rem; }
.contact-info .ci-row .ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255, 255, 255, 0.9);
}
.contact-info .ci-row .k { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(6, 37, 27, 0.6); font-weight: 700; }
.contact-info .ci-row .v { font-weight: 700; color: var(--forest); font-size: 1.02rem; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--off); color: var(--ink); font: inherit; transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: #dc2626; font-size: 0.8rem; margin-top: 0.3rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .err { display: block; }
.form-status { margin-top: 1rem; font-size: 0.92rem; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--mint-600); }
.form-status.fail { color: #dc2626; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: #b9d5cb; padding: 4.5rem 0 2rem; }
.footer h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2.5rem; }
.footer .brand { color: var(--white); margin-bottom: 1rem; }
.footer p { font-size: 0.9rem; }
.footer a { display: block; color: #b9d5cb; font-size: 0.92rem; margin-bottom: 0.55rem; transition: color 0.2s ease; }
.footer a:hover { color: var(--mint-300); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: 0.85rem; color: #8fb3a7;
}
.footer-bottom a { display: inline; margin: 0; }

/* ---------- Floating WhatsApp button & back-to-top ---------- */
.wa-btn {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 160;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; isolation: isolate;
  background: radial-gradient(circle at 32% 26%, #5ceb8f 0%, #2ed46c 42%, #1ebe5a 72%, #12a24c 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.6),
    inset 0 -4px 9px rgba(0, 60, 25, 0.28),
    0 10px 18px -6px rgba(18, 162, 76, 0.6),
    0 24px 44px -18px rgba(6, 37, 27, 0.6);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.wa-btn__icon { width: 32px; height: 32px; display: block; position: relative; z-index: 2; filter: drop-shadow(0 1px 1px rgba(0, 50, 20, 0.35)); }
.wa-btn__pulse {
  position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 212, 108, 0.55); }
  70% { box-shadow: 0 0 0 20px rgba(46, 212, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 212, 108, 0); }
}
.wa-btn__label {
  position: absolute; right: calc(100% + 14px); top: 50%; white-space: nowrap;
  transform: translateY(-50%) translateX(8px); opacity: 0; pointer-events: none;
  background: var(--forest); color: #fff; font-size: 0.8rem; font-weight: 600;
  padding: 0.5rem 0.85rem; border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 24px -10px rgba(6, 37, 27, 0.7);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-btn:hover, .wa-btn:focus-visible { transform: translateY(-4px) scale(1.07); box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.65), inset 0 -4px 9px rgba(0, 60, 25, 0.28), 0 16px 26px -8px rgba(18, 162, 76, 0.7), 0 32px 56px -22px rgba(6, 37, 27, 0.7); }
.wa-btn:active { transform: translateY(-1px) scale(0.97); }
.wa-btn:hover .wa-btn__label, .wa-btn:focus-visible .wa-btn__label { opacity: 1; transform: translateY(-50%) translateX(0); }

.to-top {
  position: fixed; right: 1.4rem; bottom: 5.9rem; z-index: 150; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); box-shadow: inset 0 1px 0 #fff, var(--shadow-sm);
  display: none; place-items: center; font-size: 1.1rem;
}
.to-top.show { display: grid; }
.to-top:hover { border-color: var(--mint); color: var(--mint-600); }

/* =========================================================
   3D LOOK — elevation, perspective, depth
   ========================================================= */

/* --- Pressable 3D buttons --- */
.btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 0 rgba(6, 37, 27, 0.06),
              0 14px 26px -14px rgba(6, 37, 27, 0.5);
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px) scale(0.985); box-shadow: inset 0 3px 8px rgba(6, 37, 27, 0.22); }
.btn--mint {
  background: linear-gradient(180deg, var(--mint-300), var(--mint));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 0 rgba(8, 120, 92, 0.45),
              0 9px 16px -6px rgba(8, 120, 92, 0.45), 0 18px 32px -16px rgba(31, 211, 163, 0.9);
}
.btn--mint:hover {
  background: linear-gradient(180deg, #85f7d7, var(--mint));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 6px 0 rgba(8, 120, 92, 0.45),
              0 14px 22px -8px rgba(8, 120, 92, 0.5), 0 24px 40px -18px rgba(31, 211, 163, 0.95);
}
.btn--mint:active { box-shadow: inset 0 4px 10px rgba(4, 80, 60, 0.35), 0 1px 0 rgba(8, 120, 92, 0.5); }
.btn--outline { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 20px -14px rgba(6, 37, 27, 0.5); }
.btn--wa {
  background: linear-gradient(180deg, #4ade7f, #25D366 55%, #1ebe5a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 0 rgba(16, 120, 60, 0.5),
              0 10px 18px -8px rgba(16, 120, 60, 0.5), 0 18px 32px -16px rgba(37, 211, 102, 0.85);
}
.btn--wa:hover { background: linear-gradient(180deg, #5ceb8f, #25D366 55%, #1abe57); }
.btn--dark {
  background: linear-gradient(180deg, #0e3d2b, var(--forest));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 0 rgba(0, 0, 0, 0.35),
              0 18px 32px -16px rgba(6, 37, 27, 0.85);
}
.btn--light { box-shadow: inset 0 1px 0 #fff, 0 4px 0 rgba(6, 37, 27, 0.12), 0 18px 30px -16px rgba(6, 37, 27, 0.6); }

/* --- Elevated surfaces --- */
.service-card, .trust-item, .industry, .collab-card, .step, .work-item, .faq-item,
.about-visual .float-card, .form-card, .modal-box {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(6, 37, 27, 0.05),
              0 14px 28px -16px rgba(6, 37, 27, 0.34);
}
.about-visual .frame, .why-visual, .services-cta {
  box-shadow: 0 2px 6px rgba(6, 37, 27, 0.12), 0 28px 56px -22px rgba(6, 37, 27, 0.55),
              0 60px 100px -60px rgba(6, 37, 27, 0.5);
}

/* --- Beveled 3D icon tiles --- */
.trust-item .ic, .service-card .ic, .why-list .ic, .contact-info .ci-row .ic {
  background-image: linear-gradient(150deg, #ffffff, var(--mint-050));
  border-color: rgba(31, 211, 163, 0.28);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 5px rgba(6, 37, 27, 0.06), 0 8px 16px -8px rgba(6, 37, 27, 0.4);
}

/* --- Section depth --- */
.section--off {
  background: linear-gradient(180deg, #fbfefd 0%, var(--off) 45%, #f1f9f6 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(6, 37, 27, 0.04);
}
.section--forest { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(6, 37, 27, 0.05), 0 12px 30px -14px rgba(6, 37, 27, 0.35); }

/* --- Depth on pills, filters, inputs --- */
.pill { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 18px -12px rgba(0, 0, 0, 0.6); }
.filter { box-shadow: inset 0 1px 0 #fff, 0 8px 16px -12px rgba(6, 37, 27, 0.6); }
.filter:hover { transform: translateY(-2px); }
.filter.active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 0 rgba(0, 0, 0, 0.22), 0 16px 26px -14px rgba(6, 37, 27, 0.85); }
.field input, .field select, .field textarea { box-shadow: inset 0 2px 5px rgba(6, 37, 27, 0.07); }
.field input:focus, .field select:focus, .field textarea:focus {
  box-shadow: inset 0 1px 2px rgba(6, 37, 27, 0.05), 0 0 0 4px rgba(31, 211, 163, 0.18);
}
.modal-box { box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28), 0 50px 90px -30px rgba(0, 0, 0, 0.75); }
@keyframes pop {
  from { transform: perspective(1400px) translateY(20px) rotateX(9deg) scale(0.95); opacity: 0; }
  to { transform: perspective(1400px) translateY(0) rotateX(0) scale(1); opacity: 1; }
}

/* --- Interactive 3D tilt (driven by main.js) --- */
.tilt { will-change: transform; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.45s ease; }
.tilt.is-tilting { transition: transform 0.1s linear, box-shadow 0.45s ease; }
.tilt.is-tilting, .tilt:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 4px rgba(6, 37, 27, 0.06),
              0 26px 48px -20px rgba(6, 37, 27, 0.45), 0 52px 84px -44px rgba(6, 37, 27, 0.4);
}

/* --- 3D reveal entrance --- */
[data-reveal] {
  opacity: 0; transform: perspective(1600px) translateY(26px) rotateX(6deg); transform-origin: center top;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
[data-reveal].in { opacity: 1; transform: perspective(1600px) translateY(0) rotateX(0deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .tilt { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .trust-grid, .industry-grid, .collab-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { columns: 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .hero-grid, .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { height: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 4.5rem 0; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 4rem 0 5rem; }
  .hero-art { height: 380px; }
  .art-phone { width: 130px; }
  .art-chart { width: 170px; }
  .services-grid, .trust-grid, .industry-grid, .collab-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .work-grid { columns: 1; }
  .form-card { padding: 1.5rem; }
  .about-visual .float-card { right: 10px; }
  .wa-btn { width: 56px; height: 56px; right: 1rem; bottom: 1rem; }
  .wa-btn__icon { width: 28px; height: 28px; }
  .wa-btn__label { display: none; }
  .to-top { bottom: 5.2rem; right: 1.15rem; }
}
