/* ==========================================================================
   LOREM Medical — Design System
   الهوية: أخضر زمردي من اللوجو + كحلي/أخضر غامق جدًا + فضي (حواف اللوجو المعدنية)
   ========================================================================== */

:root {
  /* Brand greens (sampled from logo #0E7A40) */
  --g-950: #02120b;
  --g-900: #041b11;
  --g-850: #062619;
  --g-800: #083220;
  --g-700: #0b4a2d;
  --g-600: #0f7a41;   /* brand */
  --g-500: #15964f;
  --g-400: #22b25f;
  --g-300: #4fd68a;
  --g-200: #a5ecc3;
  --g-100: #e3f5ea;

  /* Neutrals — silver like the logo bevel */
  --silver-50: #f6f8f7;
  --silver-100: #eef2f0;
  --silver-200: #dfe6e2;
  --silver-300: #c3ccc8;
  --silver-400: #95a19b;
  --ink: #0b1310;
  --text: #17221d;
  --muted: #56645d;
  --white: #ffffff;

  --metal: linear-gradient(135deg, #ffffff 0%, #c9d1cd 28%, #f7f9f8 50%, #aeb8b3 74%, #eef2f0 100%);
  --brand-grad: linear-gradient(135deg, #22b25f 0%, #0f7a41 55%, #0b4a2d 100%);
  --glow: 0 0 0 1px rgba(79, 214, 138, .25), 0 20px 60px -20px rgba(34, 178, 95, .55);

  --font: "Tajawal", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --header-h: 84px;
}

/* -------------------------------------------------------------------------- */
/* Base                                                                        */
/* -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--g-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

::selection { background: var(--g-400); color: var(--g-950); }
:focus-visible { outline: 2px solid var(--g-300); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 2000;
  background: var(--g-400); color: var(--g-950); padding: 10px 18px; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; position: relative; z-index: 2; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }

main { position: relative; }
section { position: relative; overflow: hidden; isolation: isolate; }

/* -------------------------------------------------------------------------- */
/* Typography helpers                                                          */
/* -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
  color: var(--g-600);
  padding: 7px 14px 7px 16px;
  border-radius: 100px;
  background: rgba(15, 122, 65, .08);
  border: 1px solid rgba(15, 122, 65, .18);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; transform: rotate(45deg);
  background: var(--g-400); box-shadow: 0 0 0 4px rgba(34, 178, 95, .18);
}
.on-dark .eyebrow { color: var(--g-200); background: rgba(79, 214, 138, .08); border-color: rgba(79, 214, 138, .22); }

.section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; margin-top: 18px; }
.section-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 60ch; margin-top: 16px; }
.on-dark { color: #e9f2ee; }
.on-dark .section-lead { color: rgba(233, 242, 238, .72); }

.hl {
  background: linear-gradient(100deg, var(--g-300), var(--g-400) 40%, #b9f5d2 60%, var(--g-400));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
.hl-dark {
  background: linear-gradient(100deg, var(--g-700), var(--g-500) 45%, var(--g-400) 55%, var(--g-700));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

.pad { padding-block: clamp(80px, 11vw, 150px); }

/* -------------------------------------------------------------------------- */
/* Buttons                                                                     */
/* -------------------------------------------------------------------------- */
.btn {
  --bg: var(--brand-grad);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 8px 10px 8px 28px; padding-inline-start: 28px; padding-inline-end: 8px;
  border-radius: 100px; font-weight: 700; font-size: 16px;
  color: #fff; background: var(--bg);
  overflow: hidden; isolation: isolate;
  box-shadow: 0 14px 34px -14px rgba(15, 122, 65, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  touch-action: manipulation; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #4fd68a, #15964f);
  transform: translateX(101%); transition: transform .55s var(--ease-out);
}
[dir="rtl"] .btn::before { transform: translateX(-101%); }
.btn:hover::before { transform: translateX(0); }
.btn:hover { box-shadow: 0 20px 44px -14px rgba(34, 178, 95, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn:active { transform: scale(.97); }
.btn .btn-ico {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
  overflow: hidden; position: relative;
}
.btn .btn-ico .icon { transition: transform .45s var(--ease-out); }
.btn .btn-ico .icon + .icon { position: absolute; transform: translateX(40px); }
.btn:hover .btn-ico .icon:first-child { transform: translateX(-40px); }
.btn:hover .btn-ico .icon + .icon { transform: translateX(0); }

.btn-ghost {
  --bg: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: none;
}
.btn-ghost::before { background: rgba(255, 255, 255, .12); }
.btn-ghost:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }

.btn-light { --bg: #fff; color: var(--g-800); box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .35); }
.btn-light::before { background: var(--g-100); }
.btn-light .btn-ico { background: var(--g-600); color: #fff; border: 0; }
.btn-light:hover { box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .45); }

.btn-wa { --bg: linear-gradient(135deg, #2bd46b, #12a150); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--g-600);
  position: relative; padding-bottom: 4px;
}
.link-arrow::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(.25); transform-origin: right; transition: transform .45s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .icon { transition: transform .4s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(-6px); }
.on-dark .link-arrow { color: var(--g-300); }

/* -------------------------------------------------------------------------- */
/* Preloader + page transition                                                 */
/* -------------------------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 50%, var(--g-800), var(--g-950));
  transition: clip-path 1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader-inner { display: grid; justify-items: center; gap: 22px; }
.preloader img { width: 92px; animation: preMark 1.6s var(--ease-out) both; filter: drop-shadow(0 0 24px rgba(79, 214, 138, .45)); }
.preloader-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 100%; background: var(--g-300); transform-origin: right; animation: preBar 1.1s var(--ease-in-out) both; }
.preloader-word { color: #fff; font-weight: 800; letter-spacing: .5em; font-size: 13px; padding-inline-start: .5em; opacity: .75; direction: ltr; }
@keyframes preMark { from { opacity: 0; transform: scale(.6) rotate(-45deg); } to { opacity: 1; transform: none; } }
@keyframes preBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.page-transition {
  position: fixed; inset: 0; z-index: 2900; pointer-events: none;
  display: grid; place-items: center;
}
.page-transition .pt-layer { position: absolute; inset: 0; transform: translateY(100%); }
.page-transition .pt-1 { background: var(--g-500); }
.page-transition .pt-2 { background: var(--g-900); }
.page-transition img { position: relative; width: 72px; opacity: 0; transform: scale(.7); }
.page-transition.leaving .pt-1 { transform: translateY(0); transition: transform .5s var(--ease-in-out); }
.page-transition.leaving .pt-2 { transform: translateY(0); transition: transform .5s .08s var(--ease-in-out); }
.page-transition.leaving img { opacity: 1; transform: none; transition: all .4s .3s var(--ease-out); }
.page-transition.entering .pt-1, .page-transition.entering .pt-2 { transform: translateY(0); }
.page-transition.entering.go .pt-2 { transform: translateY(-100%); transition: transform .7s var(--ease-in-out); }
.page-transition.entering.go .pt-1 { transform: translateY(-100%); transition: transform .7s .1s var(--ease-in-out); }

/* -------------------------------------------------------------------------- */
/* Cursor glow + progress                                                      */
/* -------------------------------------------------------------------------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1; width: 520px; height: 520px; pointer-events: none;
  margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 214, 138, .14), transparent 62%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .6s;
}
.cursor-glow.on { opacity: 1; }
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 2500; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(79, 214, 138, .8); border-radius: 50%; pointer-events: none;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s, opacity .3s;
  opacity: 0;
}
.cursor-dot.on { opacity: 1; }
.cursor-dot.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(79, 214, 138, .12); }

.scroll-progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 1200; pointer-events: none;
  background: linear-gradient(90deg, var(--g-300), var(--g-500));
  transform: scaleX(0); transform-origin: right;
}

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 1100;
  height: var(--header-h);
  transition: transform .5s var(--ease-out), background .4s, height .4s, box-shadow .4s;
}
.site-header.scrolled {
  --header-h: 72px;
  background: rgba(3, 20, 13, .72);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -30px rgba(0, 0, 0, .8);
}
.site-header.hide { transform: translateY(-110%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand img { width: 40px; height: auto; transition: transform .8s var(--spring); }
.brand:hover img { transform: rotate(90deg) scale(1.05); }
.brand-text { display: grid; line-height: 1; direction: ltr; text-align: left; }
.brand-text b { font-size: 22px; font-weight: 900; letter-spacing: .06em; }
.brand-text small { font-size: 10.5px; letter-spacing: .42em; opacity: .72; margin-top: 4px; font-weight: 500; }

.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  position: relative; display: block; padding: 10px 16px; color: rgba(255, 255, 255, .78);
  font-weight: 600; font-size: 16px; border-radius: 100px; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; width: 6px; height: 6px;
  background: var(--g-300); transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .4s var(--spring);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.nav a.active { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700;
  padding: 8px 8px 8px 18px; border-radius: 100px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .3s, border-color .3s;
}
.header-phone:hover { background: rgba(79, 214, 138, .14); border-color: rgba(79, 214, 138, .45); }
.header-phone .ph-ico {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  background: var(--g-500); animation: ring 3.5s ease-in-out infinite;
}
@keyframes ring {
  0%, 82%, 100% { transform: rotate(0); }
  85% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 91% { transform: rotate(-8deg); } 94% { transform: rotate(6deg); }
}

.burger {
  display: none; width: 50px; height: 50px; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  place-items: center; position: relative; z-index: 1300;
}
.burger span { position: absolute; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(3) { transform: translateY(6px); width: 12px; right: 15px; }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: rotate(-45deg); width: 20px; right: auto; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1050; padding: calc(var(--header-h) + 30px) var(--gutter) 40px;
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(34, 178, 95, .28), transparent 60%),
    linear-gradient(160deg, var(--g-850), var(--g-950));
  display: flex; flex-direction: column; gap: 30px;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; color: #fff;
  font-size: clamp(28px, 8vw, 40px); font-weight: 800;
  transform: translateY(110%); transition: transform .7s var(--ease-out);
}
.mobile-menu li a::before { counter-increment: m; content: "0" counter(m); font-size: 13px; color: var(--g-300); font-weight: 700; direction: ltr; }
.mobile-menu li a.active { color: var(--g-300); }
.menu-open .mobile-menu li a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .06s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .12s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .18s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .24s; }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 12px; color: rgba(255, 255, 255, .75); }
.mobile-menu-foot a { display: inline-flex; gap: 10px; align-items: center; }
.menu-open { overflow: hidden; }

/* -------------------------------------------------------------------------- */
/* Decorative primitives                                                       */
/* -------------------------------------------------------------------------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.blob { border-radius: 50%; filter: blur(70px); opacity: .55; animation: blobFloat 18s ease-in-out infinite alternate; }
.blob.g { background: radial-gradient(circle, var(--g-400), transparent 70%); }
.blob.d { background: radial-gradient(circle, var(--g-600), transparent 70%); }
.blob.w { background: radial-gradient(circle, #ffffff, transparent 70%); }
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
  100% { transform: translate(-30px, 30px) scale(.92); }
}
.diamond {
  aspect-ratio: 1; transform: rotate(45deg);
  border: 1px solid rgba(15, 122, 65, .22); border-radius: 6px;
}
.on-dark .diamond, .diamond.light { border-color: rgba(255, 255, 255, .12); }
.diamond.spin { animation: dSpin 40s linear infinite; }
@keyframes dSpin { to { transform: rotate(405deg); } }
.diamond.float { animation: dFloat 9s ease-in-out infinite; }
@keyframes dFloat { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translate(-16px, -16px); } }

.ring {
  border-radius: 50%; border: 1px dashed rgba(79, 214, 138, .35);
  animation: dSpin 60s linear infinite;
}
.cross {
  width: 22px; height: 22px; position: absolute;
  animation: crossFloat 7s ease-in-out infinite;
}
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.cross::before { inset: 0 38%; }
.cross::after { inset: 38% 0; }
@keyframes crossFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(90deg); } }

.dots-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(15, 122, 65, .22) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 75%);
}
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%);
  animation: gridMove 30s linear infinite;
}
@keyframes gridMove { to { background-position: 0 72px, 72px 0; } }

/* diamond lattice pattern (echo of the logo silhouette) */
.lattice::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 4 60 32 32 60 4 32Z' fill='none' stroke='%23ffffff' stroke-opacity='.07'/%3E%3Cpath d='M32 18 46 32 32 46 18 32Z' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E");
  background-size: 64px 64px;
}
.noise::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Section surfaces — each one different */
.s-mist { background: linear-gradient(180deg, #f2f6f4 0%, #e5eeea 100%); color: var(--text); }
.s-silver {
  background:
    repeating-linear-gradient(135deg, rgba(15, 122, 65, .035) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, #f8faf9 0%, #e2e9e5 55%, #d5dfda 100%);
  color: var(--text);
}
.s-deep { background: radial-gradient(90% 70% at 85% 0%, #0a3a24 0%, var(--g-900) 45%, var(--g-950) 100%); color: #e9f2ee; }
.s-brand { background: linear-gradient(135deg, var(--g-500) 0%, var(--g-600) 35%, var(--g-700) 75%, var(--g-800) 100%); color: #fff; }
.s-ink { background: radial-gradient(70% 90% at 15% 100%, #0b3d25 0%, #04130c 55%, #020a06 100%); color: #e9f2ee; }

/* angled section edges */
.cut-top { clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%); margin-top: -4vw; padding-top: calc(4vw + clamp(80px, 11vw, 150px)); }
.cut-bottom { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 4vw)); padding-bottom: calc(4vw + clamp(80px, 11vw, 150px)); }

/* -------------------------------------------------------------------------- */
/* Reveal system                                                               */
/* -------------------------------------------------------------------------- */
/* Reveals animate the individual `translate`/`scale` properties via keyframes,
   so they never fight with each element's own `transform` hover/tilt effects. */
[data-reveal] { opacity: 0; }
[data-reveal].in { animation: rv-up 1.1s var(--ease-out) var(--d, 0s) both; }
[data-reveal="down"].in { animation-name: rv-down; }
[data-reveal="right"].in { animation-name: rv-right; }
[data-reveal="left"].in { animation-name: rv-left; }
[data-reveal="zoom"].in { animation-name: rv-zoom; animation-duration: 1.3s; }
[data-reveal="blur"].in { animation-name: rv-blur; }
@keyframes rv-up { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: none; } }
@keyframes rv-down { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: none; } }
@keyframes rv-right { from { opacity: 0; translate: 70px 0; } to { opacity: 1; translate: none; } }
@keyframes rv-left { from { opacity: 0; translate: -70px 0; } to { opacity: 1; translate: none; } }
@keyframes rv-zoom { from { opacity: 0; scale: .86; filter: blur(8px); } to { opacity: 1; scale: 1; filter: none; } }
@keyframes rv-blur { from { opacity: 0; filter: blur(14px); translate: 0 20px; } to { opacity: 1; filter: none; translate: none; } }

.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.in .split-line > span, .split-line.in > span { transform: none; }

/* -------------------------------------------------------------------------- */
/* HERO (home)                                                                 */
/* -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: grid; align-content: center;
  padding: calc(var(--header-h) + 40px) 0 140px;
  color: #fff; background: var(--g-950);
}
.hero-media { position: absolute; inset: -6%; z-index: -4; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero-tint { position: absolute; inset: 0; z-index: -3; background: #0f7a41; mix-blend-mode: color; opacity: .78; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to left, rgba(2, 16, 10, .97) 0%, rgba(2, 18, 11, .86) 34%, rgba(4, 30, 18, .45) 62%, rgba(4, 30, 18, .3) 100%),
    linear-gradient(to top, var(--g-950) 0%, rgba(2, 18, 11, 0) 35%),
    radial-gradient(60% 60% at 20% 30%, rgba(79, 214, 138, .25), transparent 70%);
}
.hero canvas.particles { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero .grid-bg::before { z-index: 0; }

.hero-lines { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.hero-lines svg { position: absolute; left: -6%; top: 50%; width: min(78vw, 980px); transform: translateY(-50%); overflow: visible; }
.hero-lines path {
  fill: none; stroke: url(#hlGrad); stroke-width: 1.2;
  stroke-dasharray: 3000; stroke-dashoffset: 3000;
  animation: draw 4s var(--ease-in-out) forwards .5s;
}
.hero-lines path:nth-child(2) { animation-delay: .9s; stroke-width: .8; }
.hero-lines path:nth-child(3) { animation-delay: 1.3s; stroke-width: .6; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-lines .pulse-dot { animation: dotPulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes dotPulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.4); } }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 70px); align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border-radius: 100px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.hero-badge b {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px;
  background: var(--g-500); color: #fff; font-weight: 800; direction: ltr; letter-spacing: .08em; font-size: 12px;
}
.hero-badge b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c6ffdc; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 900; line-height: 1.12; margin-top: 26px; }
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); color: transparent;
}
.hero-lead { margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(233, 242, 238, .8); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points .icon { color: var(--g-300); width: 18px; height: 18px; }

/* Composition — floating full posters (never cropped: 4:5 frames for 4:5 images) */
.hero-stage { position: relative; height: min(640px, 72vh); z-index: 2; }
.hero-stage .ring.r1 { position: absolute; width: 112%; aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -50%; }
.hero-stage .ring.r2 { position: absolute; width: 78%; aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -50%; animation-direction: reverse; animation-duration: 45s; border-style: solid; border-color: rgba(255, 255, 255, .08); }
.hero-stage .ring.r1::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--g-300); box-shadow: 0 0 18px 4px rgba(79, 214, 138, .7);
}
.float-card {
  position: absolute; width: 44%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  background: #fff; padding: 0;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .25);
  transition: box-shadow .5s;
}
.float-card img { width: 100%; height: 100%; object-fit: contain; }
.float-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(120%); animation: shine 7s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { transform: translateX(120%); } 85%, 100% { transform: translateX(-120%); } }
.fc-1 { top: 4%; left: 30%; width: 48%; z-index: 3; }
.fc-2 { top: 36%; left: 0; width: 38%; z-index: 2; }
.fc-3 { top: 44%; left: 62%; width: 36%; z-index: 1; }
.fc-1 .bob, .fc-2 .bob, .fc-3 .bob { width: 100%; height: 100%; }
.float-wrap { position: absolute; will-change: transform; }
.float-wrap.w1 { top: 2%; left: 28%; width: 46%; z-index: 3; animation: bob 7s ease-in-out infinite; }
.float-wrap.w2 { top: 38%; left: -2%; width: 36%; z-index: 2; animation: bob 8s ease-in-out infinite .8s; }
.float-wrap.w3 { top: 46%; left: 64%; width: 34%; z-index: 1; animation: bob 9s ease-in-out infinite 1.6s; }
.float-wrap .float-card { position: relative; width: 100%; top: auto; left: auto; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-18px) rotate(var(--r, 0deg)); } }
.w1 { --r: -2deg; } .w2 { --r: -6deg; } .w3 { --r: 5deg; }

.glass-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 16px; color: #fff;
  background: rgba(8, 40, 26, .55); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
  animation: bob 6s ease-in-out infinite;
}
.glass-chip .gc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-grad); flex: none; }
.glass-chip b { display: block; font-size: 20px; line-height: 1.1; font-weight: 900; }
.glass-chip small { display: block; font-size: 13px; opacity: .75; line-height: 1.3; }
.gc-a { top: 6%; right: 0; animation-delay: .4s; }
.gc-b { bottom: 4%; left: 14%; animation-delay: 1.2s; }

.scroll-cue {
  position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: grid; justify-items: center; gap: 8px; color: rgba(255, 255, 255, .6); font-size: 12px; letter-spacing: .2em;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; background: var(--g-300); border-radius: 2px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Marquee ribbon */
.ribbon {
  position: absolute; bottom: 0; inset-inline: -2%; z-index: 4; transform: rotate(-1.6deg) translateY(30%);
  background: var(--brand-grad); color: #fff; padding: 18px 0;
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .6);
  border-block: 1px solid rgba(255, 255, 255, .2);
}
.ribbon.static { position: relative; transform: rotate(-1.6deg); inset: auto; margin-block: -10px; }
.marquee { display: flex; overflow: hidden; user-select: none; direction: ltr; }
.marquee-track { display: flex; flex: none; gap: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-inline: 14px; font-size: clamp(18px, 2vw, 24px); font-weight: 800; white-space: nowrap; direction: rtl; }
.marquee-track span::after { content: ""; width: 12px; height: 12px; transform: rotate(45deg); border: 2px solid rgba(255, 255, 255, .7); margin-inline-start: 14px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* -------------------------------------------------------------------------- */
/* PAGE HERO (inner pages)                                                     */
/* -------------------------------------------------------------------------- */
.page-hero {
  min-height: 78vh; display: grid; align-content: center; color: #fff;
  padding: calc(var(--header-h) + 60px) 0 120px;
  background: var(--g-950);
}
.page-hero .ph-media { position: absolute; inset: -8%; z-index: -4; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(.6); opacity: .55; }
.page-hero .hero-tint { opacity: .85; }
.page-hero .ph-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(to left, rgba(2, 16, 10, .96) 10%, rgba(2, 18, 11, .7) 55%, rgba(4, 30, 18, .55) 100%),
    linear-gradient(to top, var(--g-950), transparent 40%);
}
.ph-word {
  position: absolute; z-index: -1; bottom: 6%; left: -2%; direction: ltr;
  font-size: clamp(90px, 18vw, 280px); font-weight: 900; line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); white-space: nowrap;
}
.ph-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--g-300); }
.breadcrumb .sep { width: 6px; height: 6px; transform: rotate(45deg); background: var(--g-400); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 900; }
.page-hero .hero-lead { max-width: 52ch; }
.ph-figure { position: relative; justify-self: center; width: min(360px, 80%); }
.ph-figure .float-card { position: relative; width: 100%; inset: auto; animation: bob 8s ease-in-out infinite; --r: -4deg; }
.ph-figure .diamond { position: absolute; width: 120%; top: -10%; left: -10%; border-color: rgba(79, 214, 138, .25); }
.ph-figure .diamond.d2 { width: 150%; top: -25%; left: -25%; border-color: rgba(255, 255, 255, .07); }

/* -------------------------------------------------------------------------- */
/* Intro / about teaser                                                        */
/* -------------------------------------------------------------------------- */
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.collage { position: relative; height: clamp(520px, 52vw, 660px); }
.collage .c-img {
  position: absolute; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 70px -35px rgba(4, 40, 22, .55), 0 0 0 8px rgba(255, 255, 255, .7);
}
.collage .c-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.collage .c-img:hover img { transform: scale(1.04); }
.collage .c1 { width: 62%; top: 0; right: 0; z-index: 2; }
.collage .c2 { width: 52%; bottom: 0; left: 0; z-index: 3; }
.collage .c-frame { position: absolute; width: 60%; aspect-ratio: 1; top: 18%; left: 12%; border: 2px solid var(--g-400); border-radius: 26px; transform: rotate(45deg); opacity: .35; z-index: 1; }
.collage .stamp {
  position: absolute; z-index: 4; top: 4%; left: 6%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--g-600); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(15, 122, 65, .14), 0 20px 40px -10px rgba(15, 122, 65, .6);
}
.collage .stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: dSpin 18s linear infinite; }
.collage .stamp text { fill: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 2.4px; }
.collage .stamp img { width: 44px; position: relative; }

.check-list { display: grid; gap: 14px; margin-top: 30px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.check-list .ck { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--g-600); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(15, 122, 65, .8); transform: rotate(45deg); }
.check-list .ck .icon { transform: rotate(-45deg); width: 16px; height: 16px; stroke-width: 3; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.stat {
  position: relative; padding: 22px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(15, 122, 65, .12); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.stat:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(15, 122, 65, .5); }
.stat::after { content: ""; position: absolute; width: 70px; height: 70px; border: 1px solid rgba(15, 122, 65, .2); transform: rotate(45deg); top: -30px; left: -30px; transition: transform .8s var(--ease-out); }
.stat:hover::after { transform: rotate(135deg) scale(1.3); }
.stat b { display: block; font-size: clamp(32px, 3.4vw, 44px); font-weight: 900; color: var(--g-600); line-height: 1; direction: ltr; text-align: right; }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); font-weight: 600; }

/* -------------------------------------------------------------------------- */
/* Service cards (dark, spotlight)                                             */
/* -------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius-l); min-height: 300px;
  display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease-out), border-color .4s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(79, 214, 138, .18), transparent 60%);
}
.svc-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(79, 214, 138, .9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.svc-card:hover { transform: translateY(-8px); border-color: transparent; }
.svc-card:hover::before, .svc-card:hover::after { opacity: 1; }
.svc-num { position: absolute; top: 22px; left: 26px; font-size: 54px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); direction: ltr; transition: -webkit-text-stroke-color .4s, transform .6s var(--ease-out); }
.svc-card:hover .svc-num { -webkit-text-stroke-color: rgba(79, 214, 138, .55); transform: translateY(-4px); }
.svc-ico {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: var(--brand-grad); box-shadow: 0 16px 30px -12px rgba(34, 178, 95, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .6s var(--spring);
}
.svc-ico .icon { width: 28px; height: 28px; }
.svc-card:hover .svc-ico { transform: rotate(-8deg) scale(1.08); }
.svc-card h3 { font-size: 22px; margin-top: 12px; color: #fff; }
.svc-card p { color: rgba(233, 242, 238, .68); font-size: 15.5px; }
.svc-card .link-arrow { margin-top: auto; font-size: 15px; }

/* -------------------------------------------------------------------------- */
/* Products carousel + product cards                                           */
/* -------------------------------------------------------------------------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 30px calc(50vw - 50%) 50px; margin-inline: calc(50% - 50vw); scroll-padding-inline: calc(50vw - 50%);
  scrollbar-width: none; cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-track.dragging * { pointer-events: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 clamp(250px, 26vw, 320px); }
.carousel-nav { display: flex; gap: 10px; }
.round-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(15, 122, 65, .3); color: var(--g-700); background: rgba(255, 255, 255, .6);
  transition: background .3s, color .3s, transform .4s var(--spring);
}
.round-btn:hover { background: var(--g-600); color: #fff; transform: scale(1.08); }
.round-btn .icon { width: 22px; height: 22px; }

.p-card {
  --rx: 0deg; --ry: 0deg; --sx: 50%; --sy: 50%;
  position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 10px;
  background: linear-gradient(160deg, #ffffff, #eef3f0);
  box-shadow: 0 30px 50px -34px rgba(4, 40, 22, .6), 0 0 0 1px rgba(15, 122, 65, .1);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out), box-shadow .5s;
  transform-style: preserve-3d;
}
.p-card:hover { box-shadow: 0 40px 70px -34px rgba(4, 40, 22, .75), 0 0 0 1px rgba(34, 178, 95, .45); }
.p-card .p-img { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #fff; }
.p-card .p-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease-out); }
.p-card:hover .p-img img { transform: scale(1.03); }
.p-card .p-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(255, 255, 255, .45), transparent 45%);
  mix-blend-mode: soft-light;
}
.p-card:hover .p-img::after { opacity: 1; }
.p-zoom {
  position: absolute; top: 12px; left: 12px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(4, 27, 17, .75); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--spring);
}
.p-card:hover .p-zoom, .p-card:focus-within .p-zoom { opacity: 1; transform: none; }
.p-body { padding: 16px 10px 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-cat { font-size: 13px; font-weight: 700; color: var(--g-500); display: inline-flex; gap: 8px; align-items: center; }
.p-cat::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; }
.p-body h3 { font-size: 18px; color: var(--ink); font-weight: 800; }
.p-body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.p-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.p-btn {
  flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; border-radius: 12px;
  background: var(--g-600); color: #fff; font-weight: 700; font-size: 15px;
  transition: background .3s, transform .3s var(--spring);
}
.p-btn:hover { background: var(--g-500); transform: translateY(-2px); }
.p-btn.alt { flex: none; width: 46px; background: var(--g-100); color: var(--g-700); }
.p-btn.alt:hover { background: var(--g-200); }

/* -------------------------------------------------------------------------- */
/* Process                                                                     */
/* -------------------------------------------------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 20px; }
.process-line { position: absolute; top: 44px; inset-inline: 6%; height: 2px; background: rgba(255, 255, 255, .15); z-index: 0; }
.process-line span { position: absolute; inset: 0; background: linear-gradient(to left, #fff, var(--g-200)); transform-origin: right; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px rgba(255, 255, 255, .6); }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-node {
  width: 88px; height: 88px; margin: 0 auto 26px; display: grid; place-items: center; position: relative;
}
.step-node::before {
  content: ""; position: absolute; inset: 10px; transform: rotate(45deg); border-radius: 16px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .5s, transform .8s var(--spring);
}
.step:hover .step-node::before { background: #fff; transform: rotate(135deg); }
.step-node .icon { position: relative; width: 28px; height: 28px; color: #fff; transition: color .4s; }
.step:hover .step-node .icon { color: var(--g-600); }
.step-node em { position: absolute; top: -6px; left: -2px; font-style: normal; font-size: 12px; font-weight: 800; background: #fff; color: var(--g-700); padding: 2px 9px; border-radius: 20px; direction: ltr; }
.step h3 { font-size: 21px; }
.step p { margin-top: 8px; color: rgba(255, 255, 255, .78); font-size: 15.5px; }

/* -------------------------------------------------------------------------- */
/* Why us / features                                                           */
/* -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.feature {
  position: relative; padding: 22px; border-radius: var(--radius); overflow: hidden;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(15, 122, 65, .12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .5s var(--ease-out), background .4s, box-shadow .5s;
}
.feature:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 26px 40px -26px rgba(15, 122, 65, .5); }
.feature .f-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--g-100); color: var(--g-600); transition: background .4s, color .4s, transform .6s var(--spring); }
.feature:hover .f-ico { background: var(--g-600); color: #fff; transform: rotate(-10deg); }
.feature h3 { font-size: 18px; margin-top: 14px; color: var(--ink); }
.feature p { font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.65; }
.feature::after { content: ""; position: absolute; bottom: 0; right: 0; height: 3px; width: 100%; background: var(--brand-grad); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.feature:hover::after { transform: scaleX(1); }

.media-stack { position: relative; padding: 40px 30px 70px; }
.media-stack .ms-main { position: relative; z-index: 2; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #fff; box-shadow: 0 50px 80px -40px rgba(4, 40, 22, .7); max-width: 480px; margin-inline: auto; }
.media-stack .ms-main img { width: 100%; height: 100%; object-fit: contain; }
.media-stack .ms-back { position: absolute; z-index: 1; inset: 0 8% 8% 0; border-radius: 34px; background: var(--brand-grad); transform: rotate(-4deg); }
.media-stack .ms-back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(255, 255, 255, .25) 1.2px, transparent 1.4px); background-size: 18px 18px; }
.media-stack .glass-chip { color: var(--ink); background: rgba(255, 255, 255, .82); border-color: rgba(15, 122, 65, .15); }
.media-stack .glass-chip small { color: var(--muted); opacity: 1; }
.media-stack .gc-a { top: 0; right: 0; }
.media-stack .gc-b { bottom: 10px; left: 0; }

/* -------------------------------------------------------------------------- */
/* CTA                                                                         */
/* -------------------------------------------------------------------------- */
.cta { text-align: center; }
.cta-box { position: relative; max-width: 900px; margin-inline: auto; }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); font-weight: 900; }
.cta p { margin: 20px auto 0; max-width: 56ch; color: rgba(233, 242, 238, .75); font-size: 1.12rem; }
.cta .hero-actions { justify-content: center; }
.cta-diamond { position: absolute; top: 50%; left: 50%; width: min(620px, 90vw); translate: -50% -50%; z-index: -1; }
.cta-diamond .diamond { position: absolute; inset: 0; border-color: rgba(79, 214, 138, .25); }
.cta-diamond .diamond:nth-child(2) { inset: 12%; border-color: rgba(79, 214, 138, .15); animation-direction: reverse; }
.cta-diamond .diamond:nth-child(3) { inset: 24%; background: radial-gradient(circle, rgba(34, 178, 95, .35), transparent 70%); border: 0; filter: blur(20px); }
.cta-mark { position: absolute; z-index: -1; width: 420px; opacity: .05; top: 50%; right: -80px; translate: 0 -50%; animation: dSpinSlow 80s linear infinite; }
@keyframes dSpinSlow { to { rotate: 360deg; } }

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(180deg, #03110a, #010805); color: rgba(233, 242, 238, .72); padding-top: 90px; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(79, 214, 138, .5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-logo { width: 150px; }
.footer-about { margin-top: 18px; font-size: 15px; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.site-footer h4::before { content: ""; width: 8px; height: 8px; background: var(--g-400); transform: rotate(45deg); }
.f-links { display: grid; gap: 10px; }
.f-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s, transform .4s var(--ease-out); width: fit-content; }
.f-links a:hover { color: var(--g-300); transform: translateX(-6px); }
.f-contact { display: grid; gap: 14px; }
.f-contact a { display: flex; align-items: center; gap: 12px; transition: color .3s; }
.f-contact a:hover { color: #fff; }
.f-contact .fc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: var(--g-300); flex: none; transition: background .3s, color .3s; }
.f-contact a:hover .fc-ico { background: var(--g-500); color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: transform .45s var(--spring), background .3s; }
.socials a:hover { transform: translateY(-5px) rotate(-8deg); background: var(--g-500); }
.footer-word {
  margin-top: 70px; direction: ltr; text-align: center; white-space: nowrap;
  font-size: clamp(40px, 8.6vw, 124px); font-weight: 900; line-height: .9; letter-spacing: .02em;
  background: linear-gradient(180deg, rgba(79, 214, 138, .22), rgba(79, 214, 138, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .07); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

/* -------------------------------------------------------------------------- */
/* Floating buttons                                                            */
/* -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2fdc70, #13a552);
  box-shadow: 0 16px 34px -10px rgba(19, 165, 82, .8);
  transition: transform .45s var(--spring);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2fdc70; animation: waPulse 2.6s ease-out infinite; }
.wa-float::after { animation-delay: 1.3s; }
@keyframes waPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.wa-tip {
  position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%; white-space: nowrap;
  background: #fff; color: var(--g-800); font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 12px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none;
}
.wa-float:hover .wa-tip, .wa-tip.show { opacity: 1; transform: none; }

.to-top {
  position: fixed; bottom: 30px; left: 24px; z-index: 1000; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(4, 27, 17, .8); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out), background .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--g-600); }
.to-top svg.prog { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top svg.prog circle { fill: none; stroke: var(--g-300); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); }

/* -------------------------------------------------------------------------- */
/* ABOUT page                                                                  */
/* -------------------------------------------------------------------------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quote-card {
  position: relative; margin-top: 34px; padding: 26px 28px; border-radius: var(--radius);
  background: var(--g-900); color: #e9f2ee; overflow: hidden;
}
.quote-card::before { content: "”"; position: absolute; top: -26px; left: 18px; font-size: 140px; line-height: 1; color: rgba(79, 214, 138, .25); font-weight: 900; }
.quote-card p { position: relative; font-size: 18px; font-weight: 600; }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mvv-card {
  position: relative; padding: 40px 32px; border-radius: var(--radius-l); overflow: hidden; isolation: isolate;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .6s var(--ease-out);
}
.mvv-card:hover { transform: translateY(-10px); }
.mvv-card .big-ico { position: absolute; z-index: -1; left: -30px; bottom: -40px; width: 190px; height: 190px; color: rgba(79, 214, 138, .08); transition: transform 1s var(--ease-out), color .5s; }
.mvv-card:hover .big-ico { transform: rotate(-15deg) scale(1.1); color: rgba(79, 214, 138, .16); }
.mvv-card .svc-ico { margin-bottom: 22px; }
.mvv-card h3 { font-size: 24px; color: #fff; }
.mvv-card p { color: rgba(233, 242, 238, .7); margin-top: 12px; }
.mvv-card.featured { background: var(--brand-grad); border-color: transparent; transform: translateY(-20px); }
.mvv-card.featured:hover { transform: translateY(-30px); }
.mvv-card.featured .svc-ico { background: #fff; color: var(--g-600); }
.mvv-card.featured p { color: rgba(255, 255, 255, .88); }

.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 50px 80px -50px rgba(4, 40, 22, .55); }
.compare-col { padding: clamp(28px, 4vw, 48px); }
.compare-col h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.compare-col ul { display: grid; gap: 16px; margin-top: 26px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; }
.compare-col li .icon { margin-top: 5px; flex: none; }
.compare-old { background: rgba(255, 255, 255, .7); color: var(--muted); }
.compare-old li .icon { color: #c0504d; }
.compare-new { background: var(--brand-grad); color: #fff; position: relative; overflow: hidden; }
.compare-new li .icon { color: var(--g-200); }
.compare-new::after { content: ""; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255, 255, 255, .15); transform: rotate(45deg); left: -120px; bottom: -160px; }
.compare-vs { display: grid; place-items: center; background: #fff; width: 0; position: relative; }
.compare-vs span { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--g-950); color: #fff; display: grid; place-items: center; font-weight: 900; direction: ltr; z-index: 2; box-shadow: 0 0 0 8px rgba(255, 255, 255, .6); }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 700;
  transition: background .4s, transform .5s var(--ease-out), border-color .4s;
}
.spec:hover { background: rgba(79, 214, 138, .12); border-color: rgba(79, 214, 138, .4); transform: translateY(-4px); }
.spec .s-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(79, 214, 138, .14); color: var(--g-300); flex: none; transition: transform .6s var(--spring); }
.spec:hover .s-ico { transform: rotate(-12deg) scale(1.1); }

/* -------------------------------------------------------------------------- */
/* SERVICES page                                                               */
/* -------------------------------------------------------------------------- */
.svc-index { position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px; margin-bottom: 50px; border-radius: 100px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(15, 122, 65, .12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -30px rgba(4, 40, 22, .6); transition: top .4s; }
.svc-index::-webkit-scrollbar { display: none; }
.svc-index a { flex: none; padding: 10px 18px; border-radius: 100px; font-weight: 700; font-size: 15px; color: var(--muted); transition: background .3s, color .3s; white-space: nowrap; }
.svc-index a:hover { color: var(--g-600); }
.svc-index a.active { background: var(--g-600); color: #fff; }

.svc-row { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 70px); }
.svc-row + .svc-row { border-top: 1px dashed rgba(15, 122, 65, .2); }
.svc-row:nth-child(even) .svc-row-media { order: 2; }
.svc-row-media { position: relative; max-width: 420px; width: 100%; justify-self: center; }
.svc-row-media .frame { position: relative; z-index: 2; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -40px rgba(4, 40, 22, .7); }
.svc-row-media .frame img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.svc-row:hover .frame img { transform: scale(1.04); }
.svc-row-media .back { position: absolute; z-index: 1; inset: 6% -6% -6% 6%; border-radius: 30px; border: 2px solid var(--g-400); opacity: .45; transition: transform .8s var(--ease-out); }
.svc-row:nth-child(even) .back { inset: 6% 6% -6% -6%; }
.svc-row:hover .back { transform: translate(-8px, -8px); }
.svc-row-media .tag { position: absolute; z-index: 3; top: 20px; right: -14px; padding: 10px 18px; border-radius: 12px; background: var(--g-950); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .6); direction: ltr; }
.svc-row-body .svc-ico { margin-bottom: 20px; }
.svc-row-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; color: var(--ink); }
.svc-row-body > p { margin-top: 14px; color: var(--muted); max-width: 58ch; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-list li { padding: 9px 16px; border-radius: 100px; background: #fff; border: 1px solid rgba(15, 122, 65, .16); font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; transition: background .3s, color .3s, transform .4s var(--spring); }
.pill-list li:hover { background: var(--g-600); color: #fff; transform: translateY(-3px); }
.pill-list li .icon { width: 16px; height: 16px; color: var(--g-500); stroke-width: 2.6; }
.pill-list li:hover .icon { color: #fff; }

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; transition: background .3s, border-color .3s; }
.faq-item.open { background: rgba(79, 214, 138, .08); border-color: rgba(79, 214, 138, .35); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; text-align: right; color: #fff; font-weight: 700; font-size: 18px; min-height: 64px; }
.faq-q .plus { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: transform .5s var(--spring), background .3s; }
.faq-item.open .plus { transform: rotate(135deg); background: var(--g-500); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 24px; color: rgba(233, 242, 238, .72); }

/* -------------------------------------------------------------------------- */
/* PRODUCTS page                                                               */
/* -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 20px; border-radius: 100px;
  font-weight: 700; font-size: 15px; color: var(--g-800); background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(15, 122, 65, .16); transition: background .35s, color .35s, transform .4s var(--spring), box-shadow .35s;
}
.chip:hover { transform: translateY(-3px); box-shadow: 0 14px 24px -16px rgba(15, 122, 65, .7); }
.chip.active { background: var(--g-600); color: #fff; border-color: transparent; box-shadow: 0 14px 26px -12px rgba(15, 122, 65, .8); }
.chip .count { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: rgba(15, 122, 65, .12); direction: ltr; }
.chip.active .count { background: rgba(255, 255, 255, .22); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-grid .p-card { transition: transform .5s var(--ease-out), box-shadow .5s, opacity .45s var(--ease-out), scale .45s var(--ease-out); }
.product-grid .p-card.hiding { opacity: 0; scale: .9; animation: none; }
.product-grid .p-card.hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; padding: 24px;
  background: rgba(2, 12, 7, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-inner { position: relative; display: grid; grid-template-columns: auto 340px; gap: 0; max-width: 1040px; width: 100%; max-height: calc(100dvh - 48px); background: #fff; border-radius: 26px; overflow: hidden; transform: scale(.92) translateY(30px); transition: transform .6s var(--ease-out); }
.lightbox.open .lb-inner { transform: none; }
.lb-img { background: #f4f7f5; display: grid; place-items: center; max-height: calc(100dvh - 48px); }
.lb-img img { max-height: calc(100dvh - 48px); width: auto; max-width: 100%; height: auto; object-fit: contain; aspect-ratio: 4 / 5; }
.lb-info { padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.lb-info h3 { font-size: 26px; color: var(--ink); }
.lb-info p { color: var(--muted); }
.lb-info .btn { margin-top: auto; justify-content: space-between; }
.lb-close { position: absolute; top: 14px; left: 14px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: var(--g-950); color: #fff; display: grid; place-items: center; transition: transform .4s var(--spring); }
.lb-close:hover { transform: rotate(90deg); }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: background .3s; z-index: 3; }
.lb-nav:hover { background: var(--g-500); }
.lb-prev { right: 20px; } .lb-next { left: 20px; }

/* -------------------------------------------------------------------------- */
/* CONTACT page                                                                */
/* -------------------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -90px; position: relative; z-index: 5; }
.c-card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 28px 24px; border-radius: var(--radius-l); overflow: hidden; isolation: isolate;
  background: #fff; box-shadow: 0 30px 60px -36px rgba(4, 40, 22, .55); border: 1px solid rgba(15, 122, 65, .1);
  display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease-out), box-shadow .5s;
}
.c-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(34, 178, 95, .12), transparent 60%); opacity: 0; transition: opacity .4s; }
.c-card:hover { transform: translateY(-10px); box-shadow: 0 40px 70px -36px rgba(4, 40, 22, .7); }
.c-card:hover::before { opacity: 1; }
.c-card .svc-ico { width: 56px; height: 56px; }
.c-card h3 { font-size: 18px; color: var(--ink); margin-top: 8px; }
.c-card .val { font-weight: 800; color: var(--g-600); font-size: 18px; word-break: break-word; }
.c-card small { color: var(--muted); font-size: 14px; }
.c-card .arrow-corner { position: absolute; top: 22px; left: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--g-100); color: var(--g-600); transition: transform .5s var(--spring), background .3s, color .3s; }
.c-card:hover .arrow-corner { transform: rotate(-45deg); background: var(--g-600); color: #fff; }

.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-l); background: rgba(255, 255, 255, .85); border: 1px solid rgba(15, 122, 65, .12); box-shadow: 0 40px 80px -50px rgba(4, 40, 22, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); font-weight: 900; }
.form-card > p { color: var(--muted); margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; color: var(--text); }
.field label .req { color: var(--g-500); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px; font-size: 16px;
  background: var(--silver-50); border: 1.5px solid var(--silver-200); color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230f7a41' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-left: 46px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g-500); background: #fff; box-shadow: 0 0 0 4px rgba(34, 178, 95, .15); }
.field .err { color: #b3261e; font-size: 14px; display: none; }
.field.invalid input, .field.invalid select { border-color: #d0453b; }
.field.invalid .err { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.form-foot small { color: var(--muted); }
.form-success { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: var(--g-100); color: var(--g-700); font-weight: 700; }
.form-success.show { display: block; animation: popIn .6s var(--spring); }
@keyframes popIn { from { transform: scale(.9); opacity: 0; } }

.side-card { position: relative; padding: 36px 30px; border-radius: var(--radius-l); overflow: hidden; color: #fff; background: radial-gradient(90% 60% at 100% 0%, var(--g-500), var(--g-700) 55%, var(--g-900)); isolation: isolate; }
.side-card h3 { font-size: 26px; font-weight: 900; }
.side-card p { color: rgba(255, 255, 255, .82); margin-top: 10px; }
.side-card .btn { margin-top: 26px; width: 100%; justify-content: space-between; }
.side-card .mark-bg { position: absolute; z-index: -1; width: 260px; left: -70px; bottom: -60px; opacity: .14; animation: dSpinSlow 60s linear infinite; }
.side-list { margin-top: 26px; display: grid; gap: 12px; }
.side-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); }
.side-list .icon { color: var(--g-200); }

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav, .header-phone .ph-num { display: none; }
  .header-phone { padding: 6px; }
  .burger { display: grid; }
  .header-cta { margin-inline-start: auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .lb-inner { grid-template-columns: 1fr; max-width: 520px; overflow: auto; }
  .lb-img img { max-height: 60dvh; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero-grid, .ph-grid, .intro-grid, .why-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 150px; }
  .hero-shade, .page-hero .ph-shade {
    background:
      linear-gradient(180deg, rgba(2, 16, 10, .9) 0%, rgba(2, 18, 11, .8) 55%, rgba(2, 18, 11, .55) 80%, var(--g-950) 100%),
      radial-gradient(70% 40% at 80% 20%, rgba(79, 214, 138, .2), transparent 70%);
  }
  .hero-stage { height: 440px; max-width: 520px; width: 100%; margin-inline: auto; }
  .gc-a { right: 2%; }
  .ph-figure { width: min(280px, 70%); }
  .collage { max-width: 560px; margin-inline: auto; width: 100%; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .process-line { display: none; }
  .mvv { grid-template-columns: 1fr; }
  .mvv-card.featured { transform: none; }
  .mvv-card.featured:hover { transform: translateY(-10px); }
  .compare { grid-template-columns: 1fr; }
  .compare-vs { width: auto; height: 0; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .svc-row-media { order: 0; }
  .svc-row-media { max-width: 340px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .svc-grid, .feature-list, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 16px 12px; }
  .stat span { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .spec { padding: 14px; gap: 10px; font-size: 15px; }
  .contact-cards { grid-template-columns: 1fr; margin-top: -70px; }
  .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .hero-stage { height: 360px; }
  .glass-chip { padding: 9px 12px 9px 10px; }
  .glass-chip .gc-ico { width: 34px; height: 34px; }
  .glass-chip b { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .collage { height: 460px; }
  .collage .stamp { width: 100px; height: 100px; }
  .collage .stamp text { font-size: 9px; letter-spacing: 1.6px; }
  .scroll-cue { display: none; }
  .wa-float { width: 56px; height: 56px; bottom: 18px; right: 16px; }
  .to-top { bottom: 20px; left: 16px; width: 46px; height: 46px; }
  .media-stack { padding: 16px; }
  .media-stack .gc-a { right: 0; } .media-stack .gc-b { left: 0; }
  .lb-nav { display: none; }
}

/* -------------------------------------------------------------------------- */
/* Reduced motion                                                              */
/* -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-line > span { opacity: 1 !important; translate: none !important; scale: none !important; filter: none !important; }
  .split-line > span { transform: none !important; }
  .hero-lines path { stroke-dashoffset: 0; }
  .cursor-glow, .cursor-dot { display: none; }
}
