/* =========================================================
   Green Space — Website Styles
   Strong Foundations. Steady Growth.
   ========================================================= */

:root {
  --ink: #0B2420;
  --forest: #12352F;
  --forest-2: #184640;
  --teal: #439998;
  --teal-600: #347F7D;
  --teal-300: #6FD0C5;
  --mint: #E5F3F0;
  --mint-2: #F1F8F6;
  --paper: #F7F9F7;
  --white: #FFFFFF;
  --text: #17302B;
  --muted: #5A6E69;
  --muted-light: rgba(255, 255, 255, .68);
  --line: #DCE7E3;
  --line-dark: rgba(255, 255, 255, .12);

  --font-ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-logo: "DM Serif Display", Georgia, serif; /* شعار GREEN SPACE فقط */

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 36, 32, .06), 0 2px 8px rgba(11, 36, 32, .04);
  --shadow: 0 10px 30px -12px rgba(11, 36, 32, .18);
  --shadow-lg: 0 30px 60px -25px rgba(11, 36, 32, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.4; margin: 0; font-weight: 800; letter-spacing: 0; text-wrap: balance; }
h3 { font-weight: 700; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Logo (official lockup as a CSS mask → takes currentColor) ---------- */
.logo { display: inline-flex; align-items: center; color: var(--teal); }
.logo-lockup {
  display: block; width: 136px; aspect-ratio: 2.6103; background: currentColor;
  -webkit-mask: var(--logo-mask) center / contain no-repeat; mask: var(--logo-mask) center / contain no-repeat;
}
.logo-light { color: var(--teal-300); }
.footer-brand .logo-lockup { width: 220px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1;
  white-space: nowrap; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(-4px); }
.btn:active { transform: scale(.98); }
.btn-primary:hover { --btn-bg: var(--teal-600); box-shadow: 0 10px 24px -10px rgba(42, 157, 147, .7); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .06); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-light:hover { --btn-bg: var(--mint); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line); }
.btn-ghost:hover { --btn-bd: var(--text); }
.btn-text { --btn-bg: transparent; --btn-fg: var(--teal-600); padding: 0; min-height: auto; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: #fff; transition: background .3s, box-shadow .3s, color .3s, height .3s;
}
.site-header.is-scrolled, .page-light .site-header {
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line); color: var(--text); --header-h: 68px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.site-header:not(.is-scrolled) .logo { color: #fff; }
.page-light .site-header .logo { color: var(--teal); }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a[data-nav-link] { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; opacity: .85; transition: opacity .2s, background .2s; }
.nav a[data-nav-link]:hover, .nav a.is-active { opacity: 1; background: rgba(127, 127, 127, .12); }
.nav-cta { display: none; }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid currentColor; border-color: rgba(127, 127, 127, .3); background: transparent; color: inherit; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Section primitives ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 14px; font-weight: 600; color: var(--teal-600); letter-spacing: .02em;
}
.eyebrow > span:first-child:not([dir]) { font-family: var(--font-display); display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding-inline: 8px; border-radius: 999px; background: var(--mint); font-size: 12px; }
.eyebrow-light { color: var(--teal-300); }
.eyebrow-light > span:first-child:not([dir]) { background: rgba(111, 208, 197, .14); }
.section-title { font-size: clamp(30px, 4.4vw, 50px); }
.section-title em { font-style: normal; color: var(--teal); }
.section-dark .section-title em { color: var(--teal-300); }
.section-sub { color: var(--muted); font-size: 18px; margin-top: 18px; }
.section-en { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--teal-300); margin: 14px 0 0; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.75; color: var(--text); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 01 Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 980px); min-height: clamp(640px, 100svh, 980px); padding-top: calc(var(--header-h) + 40px);
  background: radial-gradient(120% 90% at 85% 0%, var(--forest-2) 0%, var(--ink) 55%);
  color: #fff; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow-1 { width: 520px; height: 520px; background: #1E7E75; top: -120px; inset-inline-end: -120px; }
.glow-2 { width: 420px; height: 420px; background: #0F5A52; bottom: -160px; inset-inline-start: 10%; opacity: .45; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
/* Hero background video: poster paints first (LCP), video fades in once playing */
.hero-media { position: absolute; inset: 0; background: var(--ink); }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(270deg, rgba(11, 36, 32, .94) 0%, rgba(11, 36, 32, .78) 42%, rgba(11, 36, 32, .5) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11, 36, 32, 0) 30%),
    linear-gradient(180deg, rgba(11, 36, 32, .6) 0%, rgba(11, 36, 32, 0) 22%);
}
.has-video .grid-lines { opacity: .5; }
.has-video .glow { opacity: .3; }
.hero-video-toggle {
  position: absolute; z-index: 2; inset-inline-end: var(--gutter); bottom: 88px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(11, 36, 32, .5); color: #fff;
  backdrop-filter: blur(6px); transition: background .2s, border-color .2s;
}
.hero-video-toggle:hover { background: rgba(11, 36, 32, .8); border-color: #fff; }
.hero-video-toggle .icon { width: 16px; height: 16px; }
.hero-video-toggle .icon-play, .hero-video-toggle.is-paused .icon-pause { display: none; }
.hero-video-toggle.is-paused .icon-play { display: block; }

.hero-inner { flex: 1; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 48px; padding-block: 40px 80px; }
.hero-title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.25; margin-bottom: 26px; }
.hero-title span { display: block; }
.hero-title-accent { color: var(--teal-300); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-light); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .eyebrow { font-family: var(--font-ar); letter-spacing: .08em; font-size: 13px; text-transform: uppercase; }

.hero-visual { display: grid; place-items: center; }
.orbit { --size: min(440px, 38vw); position: relative; width: var(--size); height: var(--size); }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(111, 208, 197, .35); }
.orbit-ring-1 { animation: spin 60s linear infinite; }
.orbit-ring-2 { inset: 18%; border-style: solid; border-color: rgba(255, 255, 255, .08); background: radial-gradient(circle, rgba(42, 157, 147, .18), transparent 70%); }
.orbit-core { position: absolute; inset: 34%; border-radius: 28%; display: grid; place-items: center; background: linear-gradient(145deg, var(--teal), #17655E); box-shadow: 0 30px 60px -20px rgba(42, 157, 147, .7), inset 0 1px 0 rgba(255, 255, 255, .25); animation: float 6s ease-in-out infinite; }
.orbit-mark { width: 46%; height: 46%; color: #fff; }
.orbit-node {
  --angle: calc(var(--i) * 72deg - 90deg);
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translate(calc(var(--size) / 2)) rotate(calc(var(--angle) * -1));
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px;
  background: rgba(11, 36, 32, .75); border: 1px solid var(--line-dark); border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(8px); direction: ltr;
}
.orbit-node b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); font-size: 11px; font-family: var(--font-display); }

.marquee { border-top: 1px solid var(--line-dark); overflow: hidden; padding-block: 20px; direction: ltr; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 18px; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 02 About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-body > p:not(.lead) { color: var(--muted); }
.about-chain { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.about-chain li { position: relative; padding: 8px 16px; border-radius: 999px; background: var(--mint-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.about-chain li + li::before { content: ""; position: absolute; inset-inline-start: -8px; top: 50%; width: 8px; height: 1px; background: var(--teal); }

/* ---------- 03 Services ---------- */
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.service-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--teal-300), var(--teal)); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--teal-600); transition: background .3s, color .3s; }
.service-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--teal); color: #fff; }
.service-num { font-family: var(--font-display); font-size: 14px; color: #A9BAB5; }
.service-en { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 6px; }
.service-title { font-size: 22px; margin-bottom: 12px; }
.service-desc { color: var(--muted); font-size: 16px; flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--teal-600); align-self: flex-start; }
.service-link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.service-link:hover .icon { transform: translateX(-5px); }

/* ---------- 04 Process ---------- */
.process { background: radial-gradient(80% 60% at 0% 100%, var(--forest) 0%, var(--ink) 60%); overflow: hidden; }
.process-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.process-head .section-head { margin-bottom: 0; }
.process-note { color: var(--muted-light); font-size: 18px; margin: 0; padding-inline-start: 24px; border-inline-start: 2px solid var(--teal); }
.process-note strong { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; inset-inline: 40px; height: 1px; background: linear-gradient(90deg, transparent, rgba(111, 208, 197, .45), transparent); }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--line-dark); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.step:hover { background: rgba(42, 157, 147, .1); border-color: rgba(111, 208, 197, .4); transform: translateY(-4px); }
.step-num { position: relative; display: grid; place-items: center; width: 22px; height: 22px; margin-bottom: 24px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(42, 157, 147, .18); font-size: 0; }
.step-num::after { content: ""; width: 6px; height: 6px; background: #fff; border-radius: 50%; }
.step-en { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--teal-300); }
.step-title { font-size: 26px; margin: 2px 0 10px; }
.step p { margin: 0; color: var(--muted-light); font-size: 15px; line-height: 1.7; }

/* ---------- 05 Needs ---------- */
.needs-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.needs .section-head { position: sticky; top: calc(var(--header-h) + 40px); margin-bottom: 0; }
.needs-cta { margin-top: 32px; }
.needs-list { display: grid; gap: 12px; }
.need { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; }
.need:hover { border-color: #B7D5CF; }
.need input { position: absolute; opacity: 0; pointer-events: none; }
.need-check { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; border: 1.5px solid #B7C9C4; color: transparent; transition: all .25s; }
.need-check .icon { width: 16px; height: 16px; }
.need-text { display: grid; gap: 2px; }
.need-text strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.need-text span { color: var(--muted); font-size: 15px; }
.need:has(input:checked) { border-color: var(--teal); background: var(--mint-2); box-shadow: 0 10px 30px -18px rgba(42, 157, 147, .6); }
.need input:checked + .need-check { background: var(--teal); border-color: var(--teal); color: #fff; }
.need input:focus-visible + .need-check { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- 06 Paid ---------- */
.paid { padding-top: 0; }
.paid-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 6vw, 72px); border-radius: 36px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--forest) 0%, var(--ink) 100%);
}
.paid-card::before { content: ""; position: absolute; width: 560px; height: 560px; inset-inline-end: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(42, 157, 147, .45), transparent 65%); z-index: -1; }
.paid-lead { color: var(--muted-light); font-size: 18px; margin: 22px 0 32px; }
.paid-benefits { display: grid; gap: 12px; margin-bottom: 24px; }
.paid-benefits li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.paid-benefits li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(42, 157, 147, .2); color: var(--teal-300); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.platforms span { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(111, 208, 197, .35); color: var(--teal-300); font-size: 13px; font-weight: 600; }
.funnel { display: grid; gap: 6px; justify-items: center; direction: ltr; }
.funnel span { width: var(--w); padding: 8px; text-align: center; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; background: linear-gradient(90deg, rgba(42, 157, 147, .25), rgba(42, 157, 147, .55), rgba(42, 157, 147, .25)); }

/* ---------- 07 Sectors ---------- */
.sectors { background: var(--paper); }
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.sector:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.sector-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--mint); color: var(--teal-600); }
.sector-icon .icon { width: 22px; height: 22px; }
.sector-text { display: grid; line-height: 1.5; }
.sector-text strong { font-weight: 600; font-size: 16px; }
.sector-text small { color: var(--muted); font-size: 13px; text-align: end; }

/* ---------- 08 Production ---------- */
.production { background: var(--ink); }
.production-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.prod-card { display: grid; grid-template-columns: 200px 1fr; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-dark); transition: border-color .3s, transform .4s var(--ease); }
.prod-card:hover { border-color: rgba(111, 208, 197, .45); transform: translateY(-4px); }
.prod-art { position: relative; display: grid; place-items: center; min-height: 220px; overflow: hidden; background: var(--forest); }
.prod-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(11, 36, 32, .55); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); color: #fff; }
.prod-icon .icon { width: 28px; height: 28px; }
.art-360 { background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(111, 208, 197, .2) 31%, transparent 32%, transparent 45%, rgba(111, 208, 197, .15) 46%, transparent 47%), linear-gradient(160deg, #1B5A52, #0C2C27); }
.art-360::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px dashed rgba(111, 208, 197, .5); animation: spin 20s linear infinite; }
.art-estate { background: linear-gradient(180deg, #2A7F76 0%, #123A34 100%); }
.art-estate::before { content: ""; position: absolute; inset: auto 0 0; height: 70%; background:
  linear-gradient(90deg, transparent 8%, rgba(255,255,255,.14) 8% 28%, transparent 28% 34%, rgba(255,255,255,.2) 34% 60%, transparent 60% 66%, rgba(255,255,255,.12) 66% 90%, transparent 90%);
  clip-path: polygon(8% 40%, 28% 40%, 28% 20%, 34% 20%, 34% 0, 60% 0, 60% 30%, 66% 30%, 66% 50%, 90% 50%, 90% 100%, 8% 100%); }
.art-product { background: radial-gradient(circle at 50% 70%, rgba(111, 208, 197, .35), transparent 55%), linear-gradient(160deg, #1D4B45, #0E2D29); }
.art-product::before { content: ""; position: absolute; width: 60%; height: 18px; bottom: 22%; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(6px); }
.art-video { background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px) top / 100% 16px no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px) bottom / 100% 16px no-repeat, linear-gradient(160deg, #22675F, #0D2B27); }
.prod-body { padding: 28px; display: flex; flex-direction: column; }
.prod-body .service-en { color: var(--teal-300); }
.prod-body h3 { font-size: 21px; margin-bottom: 10px; }
.prod-body p:not(.service-en) { color: var(--muted-light); font-size: 15px; flex: 1; }
.prod-body .service-link { color: var(--teal-300); }

/* ---------- 09 Google ---------- */
.google-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.google .section-head { margin-bottom: 32px; }
.google-list { display: grid; gap: 10px; margin-bottom: 36px; }
.google-list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.google-list li:last-child { border-bottom: 0; }
.google-list strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--text); text-align: start; }
.google-list li > span:last-child { color: var(--muted); font-size: 15px; line-height: 1.6; }
.g-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--mint); color: var(--teal-600); }

.serp { position: relative; padding: 28px; border-radius: 32px; background: linear-gradient(160deg, var(--mint) 0%, var(--mint-2) 100%); border: 1px solid var(--line); display: grid; gap: 14px; }
.serp-bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); color: var(--muted); font-size: 15px; }
.serp-bar .icon { color: var(--teal); }
.serp-card { padding: 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); display: grid; gap: 10px; }
.serp-card-main { border: 1.5px solid var(--teal); box-shadow: var(--shadow); }
.serp-head { display: flex; gap: 12px; align-items: center; }
.serp-head strong { display: block; font-family: var(--font-display); font-size: 17px; }
.serp-head small { color: var(--muted); font-size: 13px; }
.serp-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--teal-300); }
.serp-logo .logo-mark { width: 22px; height: 22px; }
.serp-stars { display: flex; gap: 2px; color: #F2B33D; }
.serp-stars .icon { width: 16px; height: 16px; fill: currentColor; }
.serp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.serp-actions span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--teal-600); }
.serp-actions .icon { width: 15px; height: 15px; }
.serp-line { height: 9px; border-radius: 6px; background: #E6EEEB; }
.serp-line:first-child { background: #C9E3DE; }
.w-40 { width: 40%; } .w-50 { width: 50%; } .w-70 { width: 70%; } .w-80 { width: 80%; } .w-90 { width: 90%; }

/* ---------- 10 Founder ---------- */
.founder { padding-top: 0; }
.founder-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--paper); border: 1px solid var(--line); }
.founder-card .section-head { margin-bottom: 0; }
.founder-text { font-size: 19px; color: var(--muted); margin: 0; }
.brands { margin-top: 40px; }
.brands-label { text-align: center; color: var(--muted); font-size: 15px; }
.brands-label small { display: block; font-size: 12px; letter-spacing: .04em; opacity: .8; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 20px; }
.brands-grid li { display: grid; place-items: center; height: 96px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.brands-grid img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.brands-grid li:hover img { filter: none; opacity: 1; }

/* ---------- 11 Why ---------- */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 50%; background: var(--ink); color: var(--teal-300); }
.why-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: 10px; text-align: right; }
.why-card p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- 12 Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.contact-points { display: grid; gap: 12px; margin: 32px 0; }
.contact-points li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.contact-points .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--mint); color: var(--teal-600); }
.contact-direct { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 15px; transition: border-color .2s, color .2s; }
.contact-direct a:hover { border-color: var(--teal); color: var(--teal-600); }

.form-card { padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: var(--teal); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--text);
  font: inherit; font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.field select { appearance: none; -webkit-appearance: none; padding-inline-start: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6E69' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 14px center; }
.field input[dir="ltr"] { text-align: right; }
.field input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C3D6D1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(42, 157, 147, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #D2544A; background: #FFF7F6; }
.field-msg { color: #B83D33; font-size: 13px; }
.consent-check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--teal); flex-shrink: 0; }
.consent-check a { color: var(--teal-600); text-decoration: underline; }
.consent-check.has-error { color: #B83D33; }
.form-error { padding: 12px 16px; border-radius: 12px; background: #FFF1EF; color: #A8352B; font-size: 15px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-loading .spinner { display: block; }
.is-loading .btn-label { opacity: .7; }
.is-loading { pointer-events: none; }

.form-success { text-align: center; padding: 40px 12px; outline: none; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 20px; border-radius: 50%; background: var(--mint); color: var(--teal); }
.success-icon .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* ---------- 13 Final CTA ---------- */
.final-cta { padding-bottom: clamp(80px, 10vw, 120px); }
.final-card {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 5vw, 64px); border-radius: 40px; color: #fff;
  background: linear-gradient(135deg, var(--teal) 0%, #176A62 55%, var(--forest) 100%);
}
.final-mark { position: absolute; z-index: -1; width: 420px; height: 420px; color: rgba(255, 255, 255, .07); inset-inline-start: -60px; bottom: -120px; }
.final-card h2 { font-size: clamp(30px, 4.6vw, 54px); margin-bottom: 16px; }
.final-card h2 em { font-style: normal; color: #CFF3EE; }
.final-card p { font-size: 19px; color: rgba(255, 255, 255, .82); margin-bottom: 36px; }

/* ---------- 14 Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding-top: 80px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-tagline { font-family: var(--font-display); font-weight: 500; color: #fff; font-size: 20px; margin: 22px 0 10px; text-align: right; }
.footer-about { max-width: 340px; }
.footer-title { font-size: 15px; color: #fff; margin-bottom: 18px; }
.footer-list { display: grid; gap: 12px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { width: 18px; height: 18px; margin-top: 5px; color: var(--teal-300); }
.footer-list small { display: block; opacity: .6; font-size: 12px; }
.footer-list strong { color: #fff; font-weight: 500; }
.footer-list a { transition: color .2s; }
.footer-list a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-dark); transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp float + consent ---------- */
.wa-float { position: fixed; z-index: 90; inset-inline-end: 20px; bottom: 20px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }
.consent {
  position: fixed; z-index: 150; inset-inline: 20px auto; bottom: 20px; max-width: 440px;
  padding: 22px; border-radius: var(--radius); background: #fff; color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.7;
  animation: rise .5s var(--ease);
}
.consent p { margin-bottom: 14px; }
.consent a { color: var(--teal-600); text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Legal / inner pages ---------- */
.page-hero { padding: calc(var(--header-h) + 72px) 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); }
.page-hero p { color: var(--muted); margin-top: 12px; }
.prose { max-width: 780px; padding-block: 64px 100px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { color: #3D504B; }
.prose ul { list-style: disc; padding-inline-start: 24px; margin-bottom: 1em; }
.prose a { color: var(--teal-600); text-decoration: underline; }
.error-page { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 16vw, 180px); line-height: 1; color: var(--teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card { grid-template-columns: 1fr; }
  .prod-art { min-height: 180px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; margin-inline-start: auto; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 24px var(--gutter) 40px;
    background: var(--white); color: var(--text); display: flex; flex-direction: column; gap: 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open .site-header { background: var(--white); color: var(--text); }
  .nav-open .site-header .logo { color: var(--teal); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a[data-nav-link] { padding: 16px 4px; font-size: 20px; font-family: var(--font-display); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[data-nav-link]:hover { background: none; }
  .nav-cta { display: inline-flex; min-height: 56px; }
  body.nav-open { overflow: hidden; }

  .hero-inner { grid-template-columns: 1fr; text-align: start; padding-bottom: 56px; }
  .hero-visual { order: -1; }
  .orbit { --size: min(300px, 62vw); margin-block: 20px 40px; }
  .orbit-node { padding: 6px 10px 6px 6px; font-size: 11px; }
  .orbit-node b { width: 22px; height: 22px; font-size: 10px; }
  /* on phones the video itself is the visual — the orbit only clutters it */
  .has-video .hero-visual { display: none; }
  .has-video .hero-inner { padding-top: 48px; }
  .hero-video-toggle { bottom: 74px; }

  .about-grid, .needs-grid, .google-grid, .contact-grid, .founder-card, .process-head, .paid-card { grid-template-columns: 1fr; }
  .needs .section-head, .contact-intro { position: static; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .production-grid { grid-template-columns: 1fr; }
  .prod-card { grid-template-columns: 180px 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid, .sectors-grid, .why-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .service-card { padding: 26px; }
  .prod-card { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .consent { inset-inline: 12px; bottom: 12px; max-width: none; }
  .wa-float { bottom: 16px; inset-inline-end: 16px; width: 54px; height: 54px; }
  .logo-lockup { width: 112px; }
  .paid-card, .final-card, .form-card, .founder-card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .consent, .marquee, .hero-visual { display: none !important; }
  .hero, .section-dark, .paid-card, .final-card { background: none !important; color: #000 !important; }
}
