/* ==========================================================================
   Memaar Cool — Website stylesheet
   Built on Memaar Cool Brand Guidelines 2026 (Edition 2.0)
   ========================================================================== */

/* ---------- Fonts (brand master files, SIL OFL) ---------- */
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* primary */
  --mc-light-sea-green: #29C0AF;
  --mc-deep-sea: #0E384E;
  --mc-flesh-ochre: #FD5A28;
  --mc-pearl-bush: #E7E0D6;
  /* digital */
  --mc-page: #F6F2EE;
  --mc-teal-700: #1C7C7E;
  --mc-ochre-800: #CA4820;
  --mc-ochre-900: #B13F1C;
  --mc-slate: #4A5A63;
  --mc-green-tint: #EAF9F7;
  --mc-ochre-tint: #FFEEEA;
  --mc-error: #B3261E;
  --mc-cyan: #62F9F5;
  --mc-deep-sea-2: #0A2B3C;
  /* gradients */
  --g-thermal: linear-gradient(120deg, #FD5A28 0%, #E9A48C 50%, #29C0AF 100%);
  --g-motion: radial-gradient(circle at 50% 50%, #FF8F63 0%, #FD5A28 55%, #E44A1C 100%);
  --g-cooling: linear-gradient(160deg, #29C0AF 0%, #7ED9CE 55%, #EAF9F7 100%);
  --g-transition: linear-gradient(200deg, #29C0AF 0%, #E9A48C 45%, #FD5A28 100%);

  --font-ar: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  --font-en: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-label: "Montserrat", "IBM Plex Sans Arabic", sans-serif;

  --container: 1200px;
  --gutter: 48px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-sm: 0 2px 8px rgba(14, 56, 78, .06);
  --shadow: 0 18px 40px -18px rgba(14, 56, 78, .25);
  --shadow-lg: 0 40px 80px -30px rgba(14, 56, 78, .35);
}
@media (max-width: 1024px) { :root { --gutter: 32px; --header-h: 72px; } }
@media (max-width: 640px)  { :root { --gutter: 16px; --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 17px;
  line-height: 1.7;
  color: var(--mc-deep-sea);
  background: var(--mc-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.6; }
body.is-loading, body.menu-open { overflow: hidden; }
/* never allow horizontal scroll (decorative shapes + side reveals stay inside the page) */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
main, footer { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--mc-teal-700); text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--mc-light-sea-green); color: var(--mc-deep-sea); }
:focus-visible { outline: 3px solid var(--mc-light-sea-green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-family: var(--font-en); font-feature-settings: "tnum"; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--lg { width: 48px; height: 48px; stroke-width: 2; }

.skip-link { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 1000; background: var(--mc-deep-sea); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Type hierarchy (guideline p.15) ---------- */
.h2 { font-size: clamp(26px, 2.2vw + 14px, 32px); font-weight: 600; line-height: 1.4; letter-spacing: 0; }
html[lang="en"] .h2 { line-height: 1.3; }
.h2--light { color: #fff; }
.h3 { font-size: clamp(20px, .6vw + 16px, 24px); font-weight: 500; line-height: 1.5; }
.lead { font-size: 18px; color: var(--mc-deep-sea); }
p { color: var(--mc-slate); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; color: var(--mc-teal-700);
  margin-block-end: 16px;
}
.eyebrow::after { content: ""; width: 40px; height: 2px; background: var(--mc-light-sea-green); border-radius: 2px; }
.eyebrow__num { font-family: var(--font-label); font-weight: 600; letter-spacing: .12em; }
.eyebrow--light { color: var(--mc-light-sea-green); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mc-light-sea-green); box-shadow: 0 0 0 0 rgba(41,192,175,.6); animation: pulse 2.4s infinite; }
.hero__eyebrow::after { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(41,192,175,.55); } 70% { box-shadow: 0 0 0 12px rgba(41,192,175,0); } 100% { box-shadow: 0 0 0 0 rgba(41,192,175,0); } }

/* ---------- Buttons (guideline p.19) ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transform: translate(var(--bx), var(--by));
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .3s, transform .35s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--mc-ochre-800); color: #fff; box-shadow: 0 10px 24px -10px rgba(202,72,32,.6); }
.btn--primary:hover { background: var(--mc-ochre-900); box-shadow: 0 14px 30px -10px rgba(177,63,28,.7); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--white { background: #fff; color: var(--mc-deep-sea); }
.btn--white:hover { background: var(--mc-deep-sea); color: #fff; }
.btn--outline-white { color: #fff; border-color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--mc-deep-sea); }
.btn:disabled { background: var(--mc-pearl-bush); color: var(--mc-slate); box-shadow: none; cursor: not-allowed; }
.btn__arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
html[dir="ltr"] .btn__arrow { transform: scaleX(-1); }
.btn:hover .btn__arrow { transform: translateX(-5px); }
html[dir="ltr"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(-5px); }
/* shine sweep */
.btn--primary::before, .btn--white::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::before, .btn--white:hover::before { transform: translateX(120%); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; align-content: center; gap: 32px;
  background: var(--mc-deep-sea);
  transition: clip-path 1s var(--ease-in-out), visibility 0s 1s;
  clip-path: inset(0 0 0 0);
}
.preloader__icon { width: 96px; height: 96px; }
.preloader__icon svg { animation: spin 2.4s var(--ease-in-out) infinite .9s; }
.preloader__bar { width: 140px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--mc-light-sea-green); transform-origin: right; transform: scaleX(0); animation: load 1.4s var(--ease) forwards; }
html[dir="ltr"] .preloader__bar span { transform-origin: left; }
@keyframes load { to { transform: scaleX(1); } }
body.is-loaded .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }
html:not(.js) .preloader { display: none; }

/* ---------- Brand icon (animated, built from master paths) ---------- */
.mc-icon svg { width: 100%; height: 100%; overflow: visible; }
.mc-icon .blade { fill: var(--mc-light-sea-green); transform-box: view-box; transform-origin: 70.6px 72.4px; transition: fill .5s, opacity .5s, transform .6s var(--ease); }
.mc-icon[data-build] .blade { opacity: 0; transform: rotate(-60deg) scale(.4); }
.mc-icon.is-built .blade { animation: bladeIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes bladeIn { from { opacity: 0; transform: rotate(-60deg) scale(.4); } to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
.mc-icon[data-spin] svg, .mc-icon[data-spin-slow] svg { transform-origin: 50% 50%; }
.mc-icon[data-spin].is-spinning svg { animation: spin 40s linear infinite; }
.mc-icon[data-spin-slow] svg { animation: spin 30s linear infinite; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 1100; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--g-thermal); transform-origin: right; transform: scaleX(0); }
html[dir="ltr"] .progress span { transform-origin: left; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000; height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease), height .4s;
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo { position: relative; display: block; width: 190px; flex: none; }
.header__logo img { width: 100%; height: auto; transition: opacity .4s; }
.header__logo .logo-color { position: absolute; inset: 0; opacity: 0; }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative; display: block; padding: 8px 14px; color: rgba(255,255,255,.85); font-weight: 500; font-size: 15px; transition: color .3s;
}
.nav__list a::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--mc-light-sea-green); transform: scaleX(0); transition: transform .4s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: #fff; }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff;
  font-family: var(--font-label); font-weight: 600; font-size: 13px; transition: all .3s;
}
.lang-toggle:hover { border-color: var(--mc-light-sea-green); color: var(--mc-light-sea-green); }
html[lang="en"] .lang-toggle { font-family: var(--font-ar); font-size: 14px; }

.header.is-scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(14,56,78,.08), var(--shadow-sm); }
.header.is-scrolled .logo-white { opacity: 0; }
.header.is-scrolled .logo-color { opacity: 1; }
.header.is-scrolled .nav__list a { color: var(--mc-deep-sea); }
.header.is-scrolled .nav__list a:hover, .header.is-scrolled .nav__list a.is-active { color: var(--mc-teal-700); }
.header.is-scrolled .lang-toggle { color: var(--mc-deep-sea); border-color: rgba(14,56,78,.25); }
.header.is-scrolled .burger span { background: var(--mc-deep-sea); }
.header.is-hidden { transform: translateY(-100%); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; padding: 0; }
.burger span { position: absolute; inset-inline-start: 10px; width: 24px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s, background-color .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span { background: var(--mc-deep-sea); }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-open .header { background: #fff; }
body.menu-open .header .logo-white { opacity: 0; }
body.menu-open .header .logo-color { opacity: 1; }
body.menu-open .header .lang-toggle { color: var(--mc-deep-sea); border-color: rgba(14,56,78,.25); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: #fff; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 24px;
  clip-path: circle(0% at var(--mx, 90%) 32px); transition: clip-path .7s var(--ease-in-out); visibility: hidden;
}
html[dir="ltr"] .mobile-menu { --mx: 10%; }
html[dir="rtl"] .mobile-menu { --mx: 6%; }
body.menu-open .mobile-menu { clip-path: circle(150% at var(--mx, 90%) 32px); visibility: visible; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu li { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
body.menu-open .mobile-menu li { opacity: 1; transform: none; }
body.menu-open .mobile-menu li:nth-child(1) { transition-delay: .15s; } body.menu-open .mobile-menu li:nth-child(2) { transition-delay: .2s; }
body.menu-open .mobile-menu li:nth-child(3) { transition-delay: .25s; } body.menu-open .mobile-menu li:nth-child(4) { transition-delay: .3s; }
body.menu-open .mobile-menu li:nth-child(5) { transition-delay: .35s; } body.menu-open .mobile-menu li:nth-child(6) { transition-delay: .4s; }
.mobile-menu a:not(.btn) { display: block; padding: 12px 0; font-size: 24px; font-weight: 600; color: var(--mc-deep-sea); border-bottom: 1px solid var(--mc-pearl-bush); }
.mobile-menu .mobile-menu__phone { border: 0; font-family: var(--font-en); font-size: 18px; color: var(--mc-teal-700); text-align: center; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  .header__actions .btn { display: none; }
  .header__logo { width: 140px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: var(--mc-deep-sea); color: #fff; overflow: hidden;
  padding-block: calc(var(--header-h) + 48px) 96px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.orb--green { width: 520px; height: 520px; background: var(--mc-light-sea-green); top: -160px; inset-inline-end: -120px; opacity: .35; animation: drift1 18s ease-in-out infinite alternate; }
.orb--cyan { width: 380px; height: 380px; background: #1C7C7E; bottom: -120px; inset-inline-start: 20%; opacity: .45; animation: drift2 22s ease-in-out infinite alternate; }
.orb--ochre { width: 260px; height: 260px; background: var(--mc-flesh-ochre); bottom: 10%; inset-inline-start: -80px; opacity: .22; animation: drift3 16s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-80px, 120px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(120px, -60px) scale(.9); } }
@keyframes drift3 { to { transform: translate(60px, -100px) scale(1.15); } }
.hero__grid {
  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%);
}
.airflow { position: absolute; inset: 0; width: 100%; height: 100%; }
.airflow path {
  fill: none; stroke: var(--mc-light-sea-green); stroke-width: 1.2; stroke-linecap: round; opacity: .35;
  stroke-dasharray: 140 900; animation: flow 9s linear infinite;
}
.airflow path:nth-child(2) { animation-duration: 11s; animation-delay: -3s; opacity: .25; }
.airflow path:nth-child(3) { animation-duration: 13s; animation-delay: -6s; opacity: .18; stroke: var(--mc-cyan); }
.airflow path:nth-child(4) { animation-duration: 10s; animation-delay: -1.5s; opacity: .2; }
@keyframes flow { from { stroke-dashoffset: 1040; } to { stroke-dashoffset: 0; } }
.hero__shape { position: absolute; width: 420px; opacity: .14; }
.hero__shape--1 { top: 12%; inset-inline-start: -140px; }
.hero__shape--2 { bottom: -60px; inset-inline-end: 6%; width: 340px; opacity: .2; }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__title {
  font-size: clamp(36px, 4.2vw + 10px, 64px); font-weight: 600; line-height: 1.3; margin-block: 8px 24px; color: #fff;
}
html[lang="en"] .hero__title { line-height: 1.15; letter-spacing: -.01em; }
.hero__title .hl { color: var(--mc-light-sea-green); position: relative; display: inline-block; }
.hero__title .hl::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .08em; height: .1em; border-radius: 4px;
  background: var(--g-thermal); transform: scaleX(0); transform-origin: right; transition: transform 1.1s var(--ease) 1.2s;
}
html[dir="ltr"] .hero__title .hl::after { transform-origin: left; }
body.is-loaded .hero__title .hl::after { transform: scaleX(1); }
.hero__lead { font-size: clamp(17px, .5vw + 14px, 19px); color: rgba(255,255,255,.78); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-block-start: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 32px; margin-block-start: 48px; padding-block-start: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__trust li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.75); font-size: 15px; }
.hero__trust strong { font-size: 32px; font-weight: 600; color: #fff; line-height: 1; }
.hero__trust li:first-child strong { color: var(--mc-flesh-ochre); }

/* split-text words */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .14em; margin-block: -.14em; }
.word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--w) * 80ms + .25s); }
body.is-loaded .word > span { transform: none; }

[data-hero-in] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
body.is-loaded [data-hero-in] { opacity: 1; transform: none; }
body.is-loaded [data-hero-in="1"] { transition-delay: .1s; }
body.is-loaded [data-hero-in="2"] { transition-delay: .3s; }
body.is-loaded [data-hero-in="3"] { transition-delay: .6s; }
body.is-loaded [data-hero-in="4"] { transition-delay: .8s; }
body.is-loaded [data-hero-in="5"] { transition-delay: 1s; }
html:not(.js) [data-hero-in] { opacity: 1; transform: none; }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center; display: grid; place-items: center; }
.hero__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(41,192,175,.22); }
.hero__ring--1 { inset: 0; animation: ringPulse 6s ease-in-out infinite; }
.hero__ring--2 { inset: 12%; border-style: dashed; border-color: rgba(255,255,255,.12); animation: spin 60s linear infinite reverse; }
.hero__ring--3 { inset: 24%; background: radial-gradient(circle, rgba(41,192,175,.22), transparent 70%); border: 0; animation: ringPulse 6s ease-in-out infinite 1.5s; }
@keyframes ringPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: .6; } }
.hero__icon { width: 52%; aspect-ratio: 141.25 / 144.75; position: relative; z-index: 2; filter: drop-shadow(0 20px 50px rgba(41,192,175,.35)); transition: transform .6s var(--ease); }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.4);
}
.float-card .ico { color: var(--mc-light-sea-green); width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: rgba(41,192,175,.15); }
.float-card strong { display: block; font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4; }
.float-card span { display: block; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.4; }
.float-card--a { top: 10%; inset-inline-start: -6%; animation: float 7s ease-in-out infinite; }
.float-card--b { bottom: 12%; inset-inline-end: -4%; animation: float 8s ease-in-out infinite 1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.scroll-cue { position: absolute; bottom: 28px; inset-inline-start: 50%; transform: translateX(50%); z-index: 3; display: grid; justify-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: 12px; }
html[dir="ltr"] .scroll-cue { transform: translateX(-50%); }
.scroll-cue__mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; display: grid; justify-items: center; padding-top: 6px; }
.scroll-cue__mouse span { width: 3px; height: 8px; border-radius: 3px; background: var(--mc-light-sea-green); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: start; }
  .hero__visual { order: -1; max-width: 300px; }
  .float-card { display: none; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .hero__visual { max-width: 220px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__trust { gap: 20px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--mc-light-sea-green); color: var(--mc-deep-sea); overflow: hidden; padding-block: 18px; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
html[dir="ltr"] .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-inline-end: 28px; }
.marquee__group span { font-size: 18px; font-weight: 600; white-space: nowrap; }
.marquee__group i { width: 10px; height: 10px; flex: none; background: var(--mc-deep-sea); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); opacity: .7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
html[dir="ltr"] .marquee__track { animation-name: marqueeLtr; animation-direction: normal; }
@keyframes marqueeLtr { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 9vw, 128px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-block-end: 56px; }
.section-head__text { max-width: 480px; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--mc-light-sea-green); border-radius: 2px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.deco-shape { position: absolute; pointer-events: none; opacity: .5; }

/* ---------- ABOUT ---------- */
.about { background: #fff; overflow: hidden; }
.about__shape { width: 380px; top: 40px; inset-inline-end: -160px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; padding-block-end: 40px; padding-inline-start: 40px; }
.about__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.about__badge {
  position: absolute; bottom: 0; inset-inline-start: 0; max-width: 240px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--mc-deep-sea); color: #fff; box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-size: 48px; font-weight: 600; line-height: 1; color: var(--mc-flesh-ochre); margin-block-end: 8px; }
.about__badge span { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5; display: block; }
.about__icon-badge {
  position: absolute; top: -24px; inset-inline-end: -24px; width: 104px; height: 104px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow); display: grid; place-items: center;
}
.about__icon-badge .mc-icon { width: 56px; height: 56px; }
.about__content .h2 { margin-block-end: 20px; }
.about__content > p + p { margin-block-start: 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block-start: 36px; }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--mc-page); border: 1px solid transparent; transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.value:hover { border-color: rgba(41,192,175,.45); background: var(--mc-green-tint); transform: translateY(-3px); }
.value__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--mc-teal-700); box-shadow: var(--shadow-sm); }
.value h3 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.value p { font-size: 14px; line-height: 1.6; }
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; } .about__media { max-width: 520px; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } .about__media { padding-inline-start: 16px; } .about__icon-badge { width: 80px; height: 80px; inset-inline-end: -8px; } .about__icon-badge .mc-icon { width: 42px; height: 42px; } }

/* image reveal mask */
.img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-in-out); }
.is-in .img-reveal, .img-reveal.is-in { clip-path: inset(0 0 0 0); }
html:not(.js) .img-reveal { clip-path: none; }

/* ---------- STATS ---------- */
.stats { background: var(--mc-deep-sea); color: #fff; padding-block: 64px; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 80% 0%, rgba(41,192,175,.18), transparent 70%); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 32px; display: grid; gap: 8px; border-inline-start: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat__num { font-size: clamp(40px, 3.5vw + 16px, 60px); font-weight: 600; line-height: 1; color: #fff; }
.stat--accent .stat__num { color: var(--mc-flesh-ochre); }
.stat span { color: rgba(255,255,255,.72); font-size: 15px; }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
}

/* ---------- SERVICES ---------- */
.services { background: var(--mc-page); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; overflow: hidden;
  border: 1px solid rgba(14,56,78,.06); box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
  isolation: isolate;
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(41,192,175,.4); }
.service-card__glow { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(41,192,175,.14), transparent 60%); }
.service-card:hover .service-card__glow { opacity: 1; }
.service-card__num { position: absolute; top: 24px; inset-inline-end: 24px; font-size: 14px; font-weight: 600; color: var(--mc-pearl-bush); font-family: var(--font-label); letter-spacing: .1em; transition: color .4s; }
.service-card:hover .service-card__num { color: var(--mc-light-sea-green); }
.service-card__ico { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; background: var(--mc-green-tint); color: var(--mc-teal-700); margin-block-end: 28px; transition: background-color .4s, color .4s, transform .6s var(--ease); }
.service-card:hover .service-card__ico { background: var(--mc-deep-sea); color: var(--mc-light-sea-green); transform: rotate(-6deg) scale(1.05); }
.service-card .h3 { margin-block-end: 12px; }
.service-card p { font-size: 15px; line-height: 1.7; }
.service-card__list { margin-block-start: 20px; padding-block-start: 20px; border-top: 1px solid var(--mc-pearl-bush); display: grid; gap: 8px; }
.service-card__list li { position: relative; padding-inline-start: 20px; font-size: 14px; color: var(--mc-deep-sea); }
.service-card__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--mc-light-sea-green); transform: rotate(45deg); }
/* line-draw icons */
.draw path, .draw circle { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.8s var(--ease); }
.is-in .draw path, .is-in .draw circle { stroke-dashoffset: 0; }
html:not(.js) .draw path, html:not(.js) .draw circle { stroke-dashoffset: 0; }
@media (max-width: 1100px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; } }

/* ---------- WHY (icon idea) ---------- */
.why { position: relative; background: var(--mc-deep-sea); color: #fff; padding-block: clamp(80px, 9vw, 128px); overflow: clip; }
.why::before { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; top: 10%; inset-inline-end: -300px; background: radial-gradient(circle, rgba(41,192,175,.12), transparent 65%); pointer-events: none; }
.why__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.why__intro { color: rgba(255,255,255,.72); margin-block-start: 16px; max-width: 440px; }
.why__icon-wrap { margin-block-start: 48px; }
.why__dial { position: relative; width: min(320px, 70%); aspect-ratio: 1; display: grid; place-items: center; }
.why__now { display: none; }
.why__icon { width: 62%; aspect-ratio: 141.25 / 144.75; }
.why__icon svg { transition: transform .9s var(--ease); }
.why__icon .blade { fill: rgba(41,192,175,.25); }
.why__icon .blade.is-lit { fill: var(--mc-light-sea-green); }
.why__icon .blade.is-current { fill: var(--mc-cyan); filter: drop-shadow(0 0 12px rgba(98,249,245,.6)); }
.why__orbit { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.why__orbit circle { fill: none; stroke: var(--mc-light-sea-green); stroke-width: 1.2; stroke-dasharray: 603; stroke-dashoffset: var(--orbit, 603); transition: stroke-dashoffset .3s linear; stroke-linecap: round; }
.why__list { display: grid; gap: 16px; counter-reset: why; }
.why-item {
  display: flex; gap: 24px; padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02);
  opacity: .4; transform: scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease), background-color .6s, border-color .6s;
}
.why-item.is-active { opacity: 1; transform: none; background: rgba(41,192,175,.08); border-color: rgba(41,192,175,.35); }
.why-item__num { font-size: 15px; font-weight: 600; color: var(--mc-light-sea-green); font-family: var(--font-label); padding-top: 4px; }
.why-item h3 { font-size: clamp(22px, 1vw + 16px, 28px); font-weight: 600; color: #fff; margin-block-end: 8px; line-height: 1.4; }
.why-item p { color: rgba(255,255,255,.72); }
@media (min-width: 961px) { .why-item { min-height: clamp(220px, 34vh, 360px); align-items: center; } }
@media (max-width: 960px) {
  .why__grid { grid-template-columns: 1fr; row-gap: 0; }
  /* the heading, intro and dial become grid items, so the dial can stick for the whole section */
  .why__sticky { display: contents; }
  .why__intro { margin-block-end: 24px; }
  .why__icon-wrap {
    position: sticky; top: calc(var(--header-h) + 8px); z-index: 3; align-self: start;
    display: flex; align-items: center; gap: 16px;
    margin: 0 calc(var(--gutter) * -1) 16px; padding: 10px var(--gutter);
    background: rgba(14, 56, 78, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-block: 1px solid rgba(41, 192, 175, .18);
    box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .5);
    transition: top .5s var(--ease);
  }
  body.header-hidden .why__icon-wrap { top: 8px; }
  .why__dial { width: 84px; flex: none; }
  .why__icon .blade.is-current { filter: drop-shadow(0 0 6px rgba(98,249,245,.7)); }
  .why__now { display: grid; gap: 2px; color: #fff; min-width: 0; }
  .why__now-num { font-size: 14px; font-weight: 600; color: var(--mc-light-sea-green); font-family: var(--font-label); letter-spacing: .08em; }
  .why__now-total { color: rgba(255,255,255,.45); }
  .why__now-title { font-size: 20px; font-weight: 600; line-height: 1.3; }
  .why__now-title.is-swap { animation: nowSwap .45s var(--ease); }
  .why-item { opacity: .45; transform: none; padding: 24px; }
  .why-item.is-active { opacity: 1; }
}

/* ---------- PROCESS ---------- */
.process { background: #fff; overflow: hidden; }
.process__track { position: relative; }
.process__line { position: absolute; top: 36px; inset-inline: 10%; height: 2px; background: var(--mc-pearl-bush); border-radius: 2px; }
.process__line span { display: block; height: 100%; background: var(--g-thermal); border-radius: 2px; transform-origin: right; transform: scaleX(var(--p, 0)); }
html[dir="ltr"] .process__line span { transform-origin: left; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.step { text-align: center; display: grid; justify-items: center; gap: 8px; }
.step__dot {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-block-end: 12px;
  background: #fff; color: var(--mc-teal-700); border: 2px solid var(--mc-pearl-bush);
  transition: background-color .5s, color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s;
}
.step.is-reached .step__dot { background: var(--mc-deep-sea); color: var(--mc-light-sea-green); border-color: var(--mc-deep-sea); box-shadow: 0 0 0 8px var(--mc-green-tint); }
.step:hover .step__dot { transform: translateY(-4px); }
.step__num { font-family: var(--font-label); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--mc-teal-700); }
.step h3 { font-size: 19px; font-weight: 600; line-height: 1.4; }
.step p { font-size: 15px; max-width: 220px; }
@media (max-width: 960px) {
  .process__steps { grid-template-columns: 1fr; gap: 0; }
  .process__line { top: 0; bottom: 0; height: auto; width: 2px; inset-inline-start: 35px; inset-inline-end: auto; }
  .process__line span { width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  html[dir="ltr"] .process__line span { transform-origin: top; }
  .step { grid-template-columns: 72px 1fr; justify-items: start; text-align: start; column-gap: 20px; row-gap: 2px; padding-block-end: 32px; }
  .step__dot { grid-row: span 3; margin: 0; }
  .step p { max-width: none; }
}

/* ---------- SECTORS ---------- */
.sectors { background: var(--mc-page); }
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sector { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.sector__media { position: absolute; inset: 0; z-index: -2; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform: scale(1.06); transition: transform 1.2s var(--ease), filter 1s; filter: saturate(.8); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14,56,78,.96) 15%, rgba(14,56,78,.55) 55%, rgba(14,56,78,.15)); transition: opacity .6s; }
.sector:hover .sector__media img { transform: scale(1.14); filter: saturate(1); }
.sector__body { padding: 32px; width: 100%; }
.sector__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(41,192,175,.18); color: var(--mc-light-sea-green); border: 1px solid rgba(41,192,175,.35); margin-block-end: 20px; transition: transform .6s var(--ease), background-color .4s, color .4s; }
.sector:hover .sector__ico { transform: translateY(-6px); background: var(--mc-light-sea-green); color: var(--mc-deep-sea); }
.sector .h3 { color: #fff; font-weight: 600; margin-block-end: 6px; font-size: 26px; }
.sector p { color: rgba(255,255,255,.8); font-size: 15px; }
.sector__body::after { content: ""; display: block; height: 3px; width: 48px; margin-block-start: 20px; border-radius: 3px; background: var(--mc-light-sea-green); transition: width .6s var(--ease); }
.sector:hover .sector__body::after { width: 100%; }
@media (max-width: 960px) { .sectors__grid { grid-template-columns: 1fr; } .sector { min-height: 320px; } }

/* ---------- FLEET ---------- */
.fleet { background: #fff; padding-block: clamp(64px, 8vw, 112px); overflow: hidden; }
.fleet__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
/* the van faces left: keep it on the physical right so it drives in from the edge, never over the text */
html[dir="rtl"] .fleet__road { order: -1; }
html[dir="ltr"] .fleet__inner { grid-template-columns: .8fr 1.2fr; }
.fleet__text .h2 { margin-block-end: 16px; }
.fleet__road { position: relative; }
.fleet__road::after { content: ""; position: absolute; inset-inline: 0; bottom: 6%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14,56,78,.18), transparent); filter: blur(4px); z-index: 0; }
.fleet__van { position: relative; z-index: 1; width: 100%; mix-blend-mode: multiply; will-change: transform; }
/* the van faces left, so the air trail always sits on its right (physical, not logical) */
.fleet__wind { position: absolute; top: 30%; right: -6%; display: grid; justify-items: start; gap: 18px; z-index: 0; }
.fleet__wind span { display: block; height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--mc-light-sea-green), transparent); animation: wind 1.6s ease-in-out infinite; transform-origin: left; }
.fleet__wind span:nth-child(1) { width: 140px; } .fleet__wind span:nth-child(2) { width: 90px; animation-delay: .3s; } .fleet__wind span:nth-child(3) { width: 120px; animation-delay: .6s; }
@keyframes wind { 0%, 100% { transform: scaleX(.3); opacity: 0; } 50% { transform: scaleX(1); opacity: .8; } }
@media (max-width: 860px) { .fleet__inner, html[dir="ltr"] .fleet__inner { grid-template-columns: 1fr; } .fleet__road { order: -1; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; padding-block: clamp(72px, 8vw, 112px); isolation: isolate; }
.cta__bg { position: absolute; inset: -20%; z-index: -2; background: var(--g-thermal); background-size: 200% 200%; animation: gradientShift 14s ease-in-out infinite alternate; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
.cta__shape { position: absolute; z-index: -1; width: 520px; inset-inline-end: -80px; top: -40px; opacity: .35; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta__title { font-size: clamp(30px, 3vw + 12px, 48px); font-weight: 700; line-height: 1.3; color: #fff; text-shadow: 0 2px 30px rgba(14,56,78,.25); }
.cta__text { color: #fff; font-size: 22px; font-weight: 600; margin-block-start: 8px; text-shadow: 0 1px 16px rgba(14,56,78,.35); }
.cta__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- CONTACT ---------- */
.contact { background: var(--mc-page); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__info .h2 { margin-block-end: 12px; }
.contact-list { display: grid; gap: 16px; margin-block: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--mc-teal-700); box-shadow: var(--shadow-sm); transition: background-color .3s, color .3s; }
.contact-list li:hover .contact-list__ico { background: var(--mc-deep-sea); color: var(--mc-light-sea-green); }
.contact-list__label { display: block; font-size: 13px; color: var(--mc-slate); }
.contact-list a, .contact-list address { display: block; color: var(--mc-deep-sea); font-weight: 500; font-size: 16px; word-break: break-word; }
.contact-list a:hover { color: var(--mc-teal-700); }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; height: 240px; box-shadow: var(--shadow-sm); background: var(--mc-pearl-bush); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

.form { position: relative; background: #fff; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; gap: 20px; }
.form::before { content: ""; position: absolute; top: 0; inset-inline: 48px; height: 4px; border-radius: 0 0 4px 4px; background: var(--g-cooling); }
.form__title { font-size: 24px; font-weight: 600; margin-block-end: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--mc-deep-sea);
  padding: 24px 16px 10px; border-radius: 12px; border: 1.5px solid var(--mc-pearl-bush); background: var(--mc-page);
  transition: border-color .3s, background-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input[dir="ltr"] { text-align: right; }
html[dir="ltr"] .field input[dir="ltr"] { text-align: left; }
.field--select select { cursor: pointer; padding-inline-end: 44px; }
.field--select::after { content: ""; position: absolute; top: 28px; inset-inline-end: 18px; width: 8px; height: 8px; border-right: 2px solid var(--mc-slate); border-bottom: 2px solid var(--mc-slate); transform: rotate(45deg); pointer-events: none; }
.field label {
  position: absolute; top: 17px; inset-inline-start: 17px; color: var(--mc-slate); font-size: 16px; pointer-events: none;
  transform-origin: right top; transition: transform .25s var(--ease), color .25s;
}
html[dir="ltr"] .field label { transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--mc-light-sea-green); background: #fff; box-shadow: 0 0 0 4px rgba(41,192,175,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label { transform: translateY(-10px) scale(.78); color: var(--mc-teal-700); }
.field__error { display: none; font-size: 13px; color: var(--mc-error); margin-block-start: 6px; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--mc-error); background: #fff; }
.field.is-invalid .field__error { display: block; animation: shake .4s; }
@keyframes nowSwap { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form__submit { margin-block-start: 8px; }
.form__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; }
.form.is-sending .form__spinner { display: block; }
.form.is-sending .btn__arrow { display: none; }
.form__status { display: none; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form__status.is-success { display: flex; gap: 10px; align-items: center; background: var(--mc-green-tint); color: var(--mc-teal-700); border: 1px solid rgba(41,192,175,.4); animation: pop .5s var(--ease); }
.form__status.is-error { display: block; background: var(--mc-ochre-tint); color: var(--mc-error); border: 1px solid rgba(179,38,30,.25); animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { position: relative; background: var(--mc-deep-sea-2); color: rgba(255,255,255,.75); padding-block: 80px 0; overflow: hidden; }
.footer__shape { position: absolute; width: 420px; height: 270px; inset-inline-start: -120px; bottom: -60px; background: url("../img/shapes/brand-shape_outline-white.svg") no-repeat center / contain; opacity: .06; }
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block-end: 56px; }
.footer__brand img { width: 220px; height: auto; margin-block-end: 20px; }
.footer__brand p { color: rgba(255,255,255,.65); max-width: 320px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin-block-end: 18px; }
.footer__col ul { display: grid; gap: 10px; font-size: 15px; }
.footer a { color: rgba(255,255,255,.75); transition: color .3s; }
.footer a:hover { color: var(--mc-light-sea-green); }
.footer__bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom p { color: rgba(255,255,255,.55); font-size: 14px; }
.to-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff !important; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.to-top:hover { background: var(--mc-light-sea-green); border-color: var(--mc-light-sea-green); color: var(--mc-deep-sea) !important; transform: translateY(-4px); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; z-index: 900; bottom: 24px; inset-inline-start: 24px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mc-light-sea-green); color: var(--mc-deep-sea); box-shadow: 0 12px 30px -8px rgba(14,56,78,.45);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mc-light-sea-green); animation: ripple 2.4s infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
body.show-float .wa-float { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Scroll reveal ---------- */
/* uses the independent `translate` property so hover `transform` effects keep working */
html.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), translate 1s var(--ease), scale 1s var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-reveal="up"] { translate: 0 36px; }
html.js [data-reveal="left"] { translate: -48px 0; }
html.js [data-reveal="right"] { translate: 48px 0; }
html.js[dir="ltr"] [data-reveal="left"] { translate: 48px 0; }
html.js[dir="ltr"] [data-reveal="right"] { translate: -48px 0; }
html.js [data-reveal="scale"] { scale: .92; }
@media (max-width: 640px) { html.js [data-reveal="left"], html.js [data-reveal="right"] { translate: 0 32px; } }
html.js [data-reveal].is-in { opacity: 1; translate: none; scale: none; }
html.js [data-reveal-stagger] > * { opacity: 0; translate: 0 32px; transition: opacity .8s var(--ease), translate .9s var(--ease), transform .5s var(--ease), box-shadow .5s, border-color .4s, background-color .3s; transition-delay: calc(var(--s, 0) * 110ms); }
html.js [data-reveal-stagger].is-in > * { opacity: 1; translate: none; }
html.js [data-reveal-stagger].is-done > * { transition-delay: 0ms; }
html.js [data-reveal-stagger].is-done > .service-card { transition: transform .25s ease-out, box-shadow .5s, border-color .4s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none !important; }
  .mc-icon[data-build] .blade { opacity: 1; transform: none; }
}
