/* ==========================================================================
   Al-Mufarji Group — tasalyom.com
   One stylesheet for Arabic (RTL) and English (LTR): layout uses logical
   properties (inline-start / inline-end) so it mirrors automatically.
   ========================================================================== */

/* ---------- 1. Design tokens (colors from the client's brand guide) ---------- */
:root {
  --blue: #4A80C2;          /* brand guide blue */
  --blue-600: #2F69AE;      /* text/button-safe blue (5.6:1 with white) */
  --blue-50: #EEF4FB;
  --pink: #ED176C;          /* brand guide magenta */
  --pink-600: #CF0F5E;      /* button-safe magenta (5.4:1 with white) */
  --pink-50: #FDECF3;
  --gold: #FEBF10;          /* brand guide yellow — always with dark text */
  --gold-50: #FFF6DB;
  --sky: #80BFCE;           /* brand guide light blue */
  --sky-50: #EAF5F8;
  --coral: #F3425A;
  --plum: #72384E;
  --ink: #15404C;           /* brand guide dark teal: text + dark sections */
  --ink-900: #0F3340;
  --ink-soft: #4A5B6B;      /* secondary text (7:1 on white) */
  --on-dark-soft: #C9D7E0;  /* secondary text on --ink (7.6:1) */
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --line: #E1E7EF;
  --wa: #12803E;            /* WhatsApp green, darkened so white text passes 4.5:1 */

  --font-display: "Baloo Bhaijaan 2", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(15, 51, 64, .06);
  --shadow: 0 10px 30px rgba(15, 51, 64, .10);
  --shadow-lg: 0 24px 60px rgba(15, 51, 64, .18);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;

  --z-header: 100;
  --z-float: 90;
  --z-menu: 200;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.7; }
img, video, svg { display: block; max-width: 100%; }
picture { display: contents; }
source { display: none; } /* otherwise <source> becomes an empty grid/flex item */
img, video { height: auto; }
a { color: var(--blue-600); text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 800;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--ink); padding: 12px 20px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  color: var(--pink-600); background: var(--pink-50);
  padding: .35em 1em; border-radius: 999px; margin-bottom: 1.1rem;
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.eyebrow::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--gold); background: rgba(254, 191, 15, .12); }
.eyebrow--blue { color: var(--blue-600); background: var(--blue-50); }

.h-display { font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: 1.12; }
.h-section { font-size: clamp(1.85rem, 4vw, 3rem); }
.h-card { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.on-dark .lead, .section--dark .lead { color: var(--on-dark-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: end; justify-content: space-between; }
.section-head--split > div { max-width: 680px; }

/* hand-drawn underline in the slogan */
.mark-swoosh { position: relative; display: inline-block; color: var(--gold); white-space: nowrap; }
.mark-swoosh svg { position: absolute; inset-inline: -2%; bottom: -.18em; width: 104%; height: .4em; color: var(--pink); }
.mark-swoosh path { stroke: currentColor; stroke-width: 6; fill: none; stroke-linecap: round; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--pink-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .7em 1.6em; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(207, 15, 94, .28); }
.btn:active { transform: translateY(0) scale(.97); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform var(--dur) var(--ease-spring); }
.btn:hover .icon--flip, .btn:hover .icon-move { transform: translateX(4px); }
[dir="rtl"] .btn:hover .icon--flip { transform: scaleX(-1) translateX(4px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }
.btn--gold:hover { box-shadow: 0 10px 24px rgba(254, 191, 15, .35); }
.btn--blue { --btn-bg: var(--blue-600); }
.btn--blue:hover { box-shadow: 0 10px 24px rgba(47, 105, 174, .3); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: #fff; box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue-600); --btn-bd: currentColor; }
.btn--outline:hover { --btn-bg: var(--blue-50); box-shadow: none; }
.btn--wa { --btn-bg: var(--wa); }
.btn--wa:hover { box-shadow: 0 10px 24px rgba(19, 138, 67, .3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none;
  color: var(--blue-600); min-height: 44px;
}
.link-arrow .icon { transition: transform var(--dur) var(--ease-spring); }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h);
  color: #fff; transition: background-color var(--dur), box-shadow var(--dur), color var(--dur), height var(--dur);
}
.site-header.is-solid { background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
@supports (backdrop-filter: blur(10px)) {
  .site-header.is-solid { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-inline-end: auto; min-height: 44px; }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; }
.brand__sub { font-size: .72rem; font-weight: 600; opacity: .8; letter-spacing: .04em; }
html[lang="ar"] .brand__sub { font-family: var(--font-display); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: inherit; text-decoration: none; font-weight: 600; border-radius: 999px;
  transition: background-color var(--dur-fast);
}
.nav a:hover { background: rgba(255, 255, 255, .12); }
.site-header.is-solid .nav a:hover { background: var(--blue-50); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--blue));
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 2px solid currentColor; color: inherit; text-decoration: none;
  font-weight: 700; font-size: .95rem; transition: background-color var(--dur-fast), color var(--dur-fast);
}
.lang-switch:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lang-switch [lang="ar"] { font-family: var(--font-display); }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: inherit; align-items: center; justify-content: center;
}
.site-header.is-solid .menu-toggle { background: var(--blue-50); }
.menu-toggle .icon { width: 24px; height: 24px; }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--ink); color: #fff;
  display: flex; flex-direction: column; padding: 16px var(--gutter) 32px; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.mobile-menu::before {
  content: ""; position: absolute; inset: auto 0 0; height: 46%; pointer-events: none; opacity: .14;
  background: repeating-linear-gradient(100deg, var(--pink) 0 34px, var(--gold) 34px 68px, var(--blue) 68px 102px);
  mask-image: linear-gradient(to top, #000, transparent); -webkit-mask-image: linear-gradient(to top, #000, transparent);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.mobile-menu__top .brand { margin: 0; }
.mobile-menu__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu__close .icon { width: 24px; height: 24px; }
.mobile-menu nav { margin-top: 28px; position: relative; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px;
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.mobile-menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; position: relative; }
.mobile-menu__foot .lang-switch { justify-self: start; }
.mobile-menu__contact { display: flex; flex-wrap: wrap; gap: 10px; }
body.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .site-header .nav, .site-header .lang-switch { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 400px) {
  .brand__sub { display: none; }
  .brand img { width: 40px; }
}

/* ---------- 6. Decorations (logo-inspired) ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.tent-rays {
  position: absolute; inset: -40% -20%; z-index: 0; pointer-events: none; opacity: .11;
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--pink) 0 7.5deg, transparent 7.5deg 15deg, var(--gold) 15deg 22.5deg, transparent 22.5deg 30deg, var(--blue) 30deg 37.5deg, transparent 37.5deg 45deg);
  -webkit-mask-image: radial-gradient(circle at center, #000 0, transparent 62%);
  mask-image: radial-gradient(circle at center, #000 0, transparent 62%);
}
.bunting {
  position: absolute; inset-inline: 0; height: 46px; z-index: 2; pointer-events: none;
  background: url("../img/deco/bunting.svg") repeat-x 0 0 / 168px 46px;
}
.bunting--bottom { bottom: -2px; }
.stripe-bar { height: 10px; background: repeating-linear-gradient(90deg, var(--pink) 0 40px, var(--gold) 40px 80px, var(--blue) 80px 120px, var(--sky) 120px 160px); }
.dots-bg { background-image: radial-gradient(rgba(68, 127, 194, .18) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.wheel { width: 100%; height: 100%; }
.wheel__ring { transform-origin: 100px 100px; }
.balloon { width: 100%; height: auto; }

@media (prefers-reduced-motion: no-preference) {
  .tent-rays { animation: spin 140s linear infinite; }
  .wheel__ring { animation: spin 40s linear infinite; }
  .float { animation: bob 6s ease-in-out infinite; }
  .float--slow { animation-duration: 9s; animation-delay: -2s; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(3deg); } }

/* ---------- 7. Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(68, 127, 194, .45), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(237, 19, 109, .28), transparent 60%),
    var(--ink);
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(88px, 10vw, 128px);
  min-height: min(100svh, 940px);
  display: flex; align-items: center;
}
.hero > .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title { margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--on-dark-soft); max-width: 54ch; margin-bottom: 2rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero__tags li {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; font-weight: 600;
}
.hero__tags li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--gold)); }

.reels { position: relative; height: clamp(420px, 44vw, 600px); }
.reel {
  position: absolute; top: 50%; width: clamp(150px, 15.5vw, 230px); aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden; background: var(--ink-900);
  border: 5px solid #fff; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur);
}
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel:nth-child(1) { inset-inline-start: 0; transform: translateY(-46%) rotate(-8deg); }
.reel:nth-child(2) { inset-inline-start: 50%; transform: translate(-50%, -54%) rotate(2deg); z-index: 2; width: clamp(170px, 17.5vw, 260px); }
.reel:nth-child(3) { inset-inline-end: 0; transform: translateY(-42%) rotate(9deg); }
[dir="rtl"] .reel:nth-child(2) { transform: translate(50%, -54%) rotate(-2deg); }
.reel:hover { box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.reel:nth-child(1):hover { transform: translateY(-50%) rotate(-5deg) scale(1.03); }
.reel:nth-child(3):hover { transform: translateY(-46%) rotate(6deg) scale(1.03); }
.reel__label {
  position: absolute; inset-inline: 10px; bottom: 10px; padding: 8px 12px; border-radius: 14px;
  background: rgba(15, 51, 64, .78); color: #fff; font-weight: 700; font-size: .88rem; line-height: 1.3;
  display: flex; align-items: center; gap: 8px;
}
@supports (backdrop-filter: blur(6px)) { .reel__label { background: rgba(15, 51, 64, .55); backdrop-filter: blur(8px); } }
.reel__label .icon { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--pink-600); flex: none; }
.reel__btn { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; z-index: 2; border-radius: 20px; }
.reel__btn:focus-visible { outline-offset: -6px; }

.logo-badge {
  position: absolute; z-index: 3; top: -3%; inset-inline-end: 3%; width: clamp(140px, 13.5vw, 196px); aspect-ratio: 1;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--gold), var(--shadow-lg); display: grid; place-items: center;
}
.logo-badge img { position: relative; width: 44%; height: auto; }
.logo-badge img.logo-badge__arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.logo-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); direction: ltr; /* RTL textPath renders off-path in Chrome */ }
.logo-badge__ring text { font-family: var(--font-display); font-weight: 800; font-size: 11.5px; fill: currentColor; letter-spacing: 1.4px; }
.logo-badge__ring .logo-badge__bottom { fill: var(--pink-600); }
html[lang="ar"] .logo-badge__ring text { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.logo-badge__ring .dot { fill: var(--pink); }
.logo-badge__inner { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 2 4; stroke-linecap: round; transform-origin: 100px 100px; }
@media (prefers-reduced-motion: no-preference) { .logo-badge__inner { animation: spin 40s linear infinite; } }

.reels-toggle {
  position: absolute; z-index: 4; bottom: -6px; inset-inline-start: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(15, 51, 64, .7); color: #fff; font-size: .85rem; font-weight: 600; cursor: pointer;
}
[dir="rtl"] .reels-toggle { transform: translateX(50%); }
.reels-toggle .icon { width: 16px; height: 16px; }
.reels-toggle:hover { background: var(--ink-900); }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero > .container { grid-template-columns: 1fr; }
  .reels { height: clamp(330px, 84vw, 560px); max-width: 560px; width: 100%; margin-inline: auto; }
  .reel { width: clamp(118px, 30vw, 200px); border-width: 4px; border-radius: 20px; }
  .reel:nth-child(2) { width: clamp(134px, 34vw, 224px); }
}
@media (max-width: 600px) {
  .reel__label { inset-inline: 6px; bottom: 6px; padding: 5px 7px; gap: 5px; font-size: .72rem; line-height: 1.25; border-radius: 10px; }
  .reel__label .icon { width: 20px; height: 20px; padding: 5px; }
  .reels-toggle { bottom: 0; }
  .logo-badge { width: 128px; }
}

/* ---------- 8. Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px)); padding-bottom: clamp(80px, 9vw, 120px);
}
.page-hero .tent-rays { inset: -60% -10% auto auto; width: 900px; height: 900px; opacity: .18; }
[dir="rtl"] .page-hero .tent-rays { inset: -60% auto auto -10%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); margin-bottom: .3em; }
.page-hero .lead { color: var(--on-dark-soft); }
.page-hero__wheel { position: absolute; width: clamp(200px, 26vw, 340px); inset-inline-end: 4%; bottom: 30px; color: rgba(255, 255, 255, .16); z-index: 0; }
@media (max-width: 700px) { .page-hero__wheel { width: 180px; inset-inline-end: -40px; opacity: .7; } }

/* ---------- 9. Intro + numbers ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro__media { position: relative; }
.intro__media .photo-a { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.intro__media .photo-b {
  position: absolute; width: 40%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius);
  border: 6px solid #fff; box-shadow: var(--shadow-lg); inset-inline-end: -4%; bottom: -12%;
}
.intro__media .balloon-wrap { position: absolute; width: 72px; inset-inline-start: -18px; top: -38px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro__media { margin-bottom: 40px; } .intro__media .balloon-wrap { width: 56px; inset-inline-start: 4px; top: -30px; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(56px, 7vw, 88px); }
.stat {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  background: var(--c); color: var(--fg, #fff);
}
.stat::after {
  content: ""; position: absolute; width: 180px; height: 180px; inset-inline-end: -50px; top: -50px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .16) 0 15deg, transparent 15deg 30deg);
}
.stat__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); margin-bottom: 18px; }
.stat__icon .icon { width: 26px; height: 26px; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .stat__num { text-align: right; }
.stat__label { display: block; margin-top: 10px; font-weight: 600; font-size: 1.05rem; }
.stat--blue { --c: var(--blue-600); }
.stat--pink { --c: var(--pink-600); }
.stat--gold { --c: var(--gold); --fg: var(--ink); }
.stat--gold .stat__icon { background: rgba(21, 64, 76, .1); }
.stat--gold::after { background: repeating-conic-gradient(rgba(255, 255, 255, .35) 0 15deg, transparent 15deg 30deg); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- 10. Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.service-card {
  --c: var(--blue-600);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; min-height: 230px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur), border-color var(--dur);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c);
  transform: scaleY(0); transform-origin: bottom; transition: transform var(--dur-slow) var(--ease-out);
}
.service-card::after {
  content: ""; position: absolute; z-index: -1; width: 160px; height: 160px; inset-inline-end: -60px; bottom: -60px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .14) 0 12deg, transparent 12deg 24deg); opacity: 0; transition: opacity var(--dur);
}
.service-card__num { position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--c); opacity: .16; transition: color var(--dur), opacity var(--dur); }
.service-card__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c);
  transition: transform var(--dur) var(--ease-spring), background-color var(--dur), color var(--dur);
}
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.22rem; margin: 6px 0 0; }
.service-card p { color: var(--ink-soft); font-size: .97rem; margin: 0; transition: color var(--dur); }
.service-card .link-arrow { margin-top: auto; color: var(--c); transition: color var(--dur); }
.service-card:hover, .service-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; border-color: transparent; }
.service-card:hover::before, .service-card:focus-visible::before { transform: scaleY(1); }
.service-card:hover::after, .service-card:focus-visible::after { opacity: 1; }
.service-card:hover .service-card__num, .service-card:focus-visible .service-card__num { color: #fff; opacity: .3; }
.service-card:hover .service-card__icon, .service-card:focus-visible .service-card__icon { background: rgba(255, 255, 255, .18); color: #fff; transform: rotate(-8deg) scale(1.08); }
.service-card:hover p, .service-card:hover .link-arrow, .service-card:focus-visible p, .service-card:focus-visible .link-arrow { color: #fff; }
.service-card--gold:hover, .service-card--gold:focus-visible { color: var(--ink); }
.service-card--gold:hover p, .service-card--gold:hover .link-arrow, .service-card--gold:focus-visible p, .service-card--gold:focus-visible .link-arrow,
.service-card--gold:hover .service-card__icon, .service-card--gold:focus-visible .service-card__icon, .service-card--gold:hover .service-card__num { color: var(--ink); }
.c-blue { --c: var(--blue-600); }
.c-pink { --c: var(--pink-600); }
.c-gold { --c: #8F6500; }
.service-card--gold:hover::before, .service-card--gold:focus-visible::before { background: var(--gold); }
.c-teal { --c: #2E7A6A; }
.c-plum { --c: var(--plum); }
.c-coral { --c: #C8243B; }
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } .service-card { min-height: 0; } }

/* ---------- 11. Video showcase ---------- */
.showcase { position: relative; overflow: hidden; }
.showcase .tent-rays { inset: auto -30% -70% auto; width: 1100px; height: 1100px; opacity: .1; }
.showcase .container { position: relative; z-index: 1; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.video-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-900);
  aspect-ratio: 4 / 5; box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 51, 64, .92) 8%, rgba(15, 51, 64, .1) 55%, transparent); pointer-events: none; }
.video-card__body { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: 22px 24px; color: #fff; pointer-events: none; }
.video-card__tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); margin-bottom: 8px; }
.video-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0; }
.video-card__meta { font-size: .9rem; color: var(--on-dark-soft); }
.video-card__play {
  position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center;
}
.video-card__play span {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-600); color: #fff;
  box-shadow: 0 0 0 10px rgba(237, 19, 109, .25); transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur);
  margin-bottom: 70px;
}
.video-card__play .icon { width: 28px; height: 28px; margin-inline-start: 4px; }
[dir="rtl"] .video-card__play .icon { margin-inline-start: 0; margin-inline-end: 4px; }
.video-card:hover img { transform: scale(1.06); }
.video-card__play:hover span, .video-card__play:focus-visible span { transform: scale(1.12); box-shadow: 0 0 0 16px rgba(237, 19, 109, .2); }
.video-card__play:focus-visible { outline-offset: -8px; border-radius: var(--radius-lg); }
@media (prefers-reduced-motion: no-preference) {
  .video-card__play span { animation: pulse 2.6s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(237, 19, 109, .45); } 70%, 100% { box-shadow: 0 0 0 22px rgba(237, 19, 109, 0); } }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .video-card { aspect-ratio: 4 / 4.4; } }

.photo-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 14vw, 190px); gap: clamp(10px, 1.4vw, 16px); margin-top: clamp(28px, 4vw, 44px); }
.photo-mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-900); }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.photo-mosaic figure:hover img { transform: scale(1.06); }
.photo-mosaic .w2 { grid-column: span 2; }
.photo-mosaic .h2 { grid-row: span 2; }
@media (max-width: 760px) {
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .photo-mosaic .w2 { grid-column: span 2; }
  .photo-mosaic .h2 { grid-row: span 2; }
}

/* Video lightbox (native <dialog>) */
.lightbox {
  width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--ink-900); color: #fff; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.lightbox.is-portrait { width: min(500px, calc(100vw - 24px)); }
.lightbox::backdrop { background: rgba(8, 28, 35, .86); }
@supports (backdrop-filter: blur(4px)) { .lightbox::backdrop { backdrop-filter: blur(6px); } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; }
[dir="rtl"] .lightbox__bar { padding: 12px 22px 12px 12px; }
.lightbox__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin: 0; }
.lightbox__close { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover { background: var(--pink-600); }
.lightbox__close .icon { width: 22px; height: 22px; }
.lightbox video { width: 100%; max-height: calc(100dvh - 120px); background: #000; aspect-ratio: auto; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: pop var(--dur) var(--ease-out); }
}
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(12px); } }

/* ---------- 12. Logos strip (clients & partners) ---------- */
.logo-marquee { position: relative; overflow: hidden; padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; gap: clamp(14px, 2vw, 22px); }
.logo-tile {
  flex: none; width: clamp(150px, 16vw, 190px); height: 104px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; padding: 16px 20px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.logo-tile img { max-height: 68px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter var(--dur), opacity var(--dur); }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-tile:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .logo-marquee.is-animated .logo-track { animation: marquee 48s linear infinite; }
  [dir="rtl"] .logo-marquee.is-animated .logo-track { animation-name: marquee-rtl; }
  .logo-marquee.is-animated:hover .logo-track, .logo-marquee.is-animated:focus-within .logo-track, .logo-marquee.is-paused .logo-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(14px, 2vw, 22px) / 2)); } }
@keyframes marquee-rtl { to { transform: translateX(calc(50% + clamp(14px, 2vw, 22px) / 2)); } }
.logo-marquee:not(.is-animated) .logo-track { width: auto; flex-wrap: wrap; justify-content: center; }
.logo-marquee:not(.is-animated) [aria-hidden="true"].logo-tile { display: none; }
.logos-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.logos-head h3 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.marquee-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; cursor: pointer;
}
.marquee-toggle:hover { border-color: var(--blue); }
.marquee-toggle .icon { width: 16px; height: 16px; }
.partner-row { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 22px); }
.partner-row .logo-tile { width: clamp(150px, 20vw, 220px); }
.partner-row .logo-tile img { filter: none; opacity: 1; }
.logos-block + .logos-block { margin-top: clamp(40px, 5vw, 56px); }

/* ---------- 13. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); background: var(--pink-600); color: #fff; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: repeating-linear-gradient(115deg, #fff 0 26px, transparent 26px 52px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
[dir="rtl"] .cta-band::before { -webkit-mask-image: linear-gradient(-90deg, transparent 30%, #000); mask-image: linear-gradient(-90deg, transparent 30%, #000); }
.cta-band h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: .3em; max-width: 18ch; }
.cta-band p { font-size: 1.15rem; max-width: 48ch; color: #FFE3EE; margin-bottom: 1.6em; }
.cta-band .balloon-a { position: absolute; width: clamp(70px, 9vw, 120px); inset-inline-end: clamp(20px, 8vw, 120px); top: 18%; }
.cta-band .balloon-b { position: absolute; width: clamp(48px, 6vw, 80px); inset-inline-end: clamp(110px, 17vw, 260px); top: 46%; opacity: .9; }
@media (max-width: 700px) { .cta-band .balloon-a { top: auto; bottom: 20px; width: 64px; opacity: .5; } .cta-band .balloon-b { display: none; } }

/* ---------- 14. Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- 15. About page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-stack { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack img { width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.photo-stack img { aspect-ratio: 3 / 4; }
.photo-stack picture:nth-child(2) img { margin-top: 48px; }

.founder { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder__visual { position: relative; max-width: 440px; width: 100%; margin-inline: auto; aspect-ratio: 1; }
.founder__visual .wheel-bg { position: absolute; inset: -6%; color: var(--blue); opacity: .25; }
.founder__disc { position: absolute; inset: 8%; border-radius: 50%; background: conic-gradient(var(--pink) 0 25%, var(--gold) 0 50%, var(--blue) 0 75%, var(--sky) 0); padding: 10px; }
.founder__disc picture, .founder__disc img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.founder__since {
  position: absolute; bottom: 4%; inset-inline-start: 0; z-index: 2; background: var(--gold); color: var(--ink); border-radius: 20px; padding: 12px 18px;
  box-shadow: var(--shadow); font-weight: 700; line-height: 1.3; text-align: center;
}
.founder__since strong { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.founder__role { font-weight: 700; color: var(--pink-600); margin-bottom: .2em; }
.founder blockquote { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); border-inline-start: 4px solid var(--gold); padding-inline-start: 20px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder__visual { max-width: 340px; } .founder__visual .wheel-bg { inset: 0; } }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.vm-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); color: #fff; background: var(--c); isolation: isolate; }
.vm-card::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; inset-inline-end: -80px; bottom: -90px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .13) 0 12deg, transparent 12deg 24deg); }
.vm-card__icon { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; margin-bottom: 22px; }
.vm-card__icon .icon { width: 30px; height: 30px; }
.vm-card h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.vm-card p { font-size: 1.12rem; margin: 0; color: rgba(255, 255, 255, .92); }
@media (max-width: 760px) { .vm-grid { grid-template-columns: 1fr; } }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.value-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.value-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--c); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 18px; }
.value-card__icon .icon { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.35rem; margin-bottom: .3em; }
.value-card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }

.goals { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 22px); counter-reset: goal; }
.goal { display: flex; gap: 18px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.goal__num { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; background: var(--c); color: var(--fg, #fff); }
.goal p { margin: 0; font-size: 1.1rem; color: #EAF1F5; }
@media (max-width: 760px) { .goals { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.chip .icon { color: var(--c, var(--pink-600)); }
.team__media { position: relative; }
.team__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* ---------- 16. Services page ---------- */
.service-jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service-jump a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.service-jump a span { font-family: var(--font-display); color: var(--c); font-weight: 800; }
.service-jump a:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }

.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(40px, 6vw, 72px); scroll-margin-top: calc(var(--header-h) + 8px); }
.service-row + .service-row { border-top: 1px dashed var(--line); }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: .9; color: var(--c); opacity: .9; display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.service-row__num .service-card__icon { width: 64px; height: 64px; }
.service-row h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.checklist { list-style: none; display: grid; gap: 12px; margin: 20px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; font-weight: 500; }
.checklist .tick { flex: none; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.checklist .tick .icon { width: 16px; height: 16px; stroke-width: 3; }
.service-row__media { position: relative; }
.service-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.service-row__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg); z-index: -1;
  background: repeating-linear-gradient(135deg, var(--c) 0 14px, color-mix(in srgb, var(--c) 20%, #fff) 14px 28px); opacity: .5;
}
[dir="rtl"] .service-row__media::before { inset: 18px 18px -18px -18px; }
.service-row__media { isolation: isolate; }
.art-panel {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 60%, #fff), var(--c) 70%); box-shadow: var(--shadow);
}
.art-panel::before { content: ""; position: absolute; inset: -40%; background: repeating-conic-gradient(rgba(255, 255, 255, .12) 0 10deg, transparent 10deg 20deg); }
@media (prefers-reduced-motion: no-preference) { .art-panel::before { animation: spin 90s linear infinite; } }
.art-panel__icon { position: relative; width: 44%; aspect-ratio: 1; border-radius: 32%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 2px solid rgba(255, 255, 255, .35); }
.art-panel__icon .icon { width: 52%; height: 52%; stroke-width: 1.6; }
.art-panel__chip { position: absolute; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); white-space: nowrap; }
.art-panel__chip:nth-child(2) { top: 14%; inset-inline-start: 8%; }
.art-panel__chip:nth-child(3) { bottom: 16%; inset-inline-end: 8%; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .service-row__media::before { inset: 12px -10px -12px 10px; }
  [dir="rtl"] .service-row__media::before { inset: 12px 10px -12px -10px; }
}

/* ---------- 17. Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card__icon { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--c); color: #fff; }
.contact-card__icon .icon { width: 26px; height: 26px; }
.contact-card__label { display: block; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.contact-card__value { display: block; font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-card__value[dir="ltr"] { text-align: start; }
.contact-note { margin-top: 18px; padding: 20px; border-radius: var(--radius); background: var(--gold-50); border: 1px solid #F6DE94; }
.contact-note p { margin: 0; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: repeating-linear-gradient(90deg, var(--pink) 0 40px, var(--gold) 40px 80px, var(--blue) 80px 120px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; }
.field .req { color: var(--pink-600); margin-inline-start: 2px; }
.field .opt { color: var(--ink-soft); font-weight: 500; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #C8D3DF; background: var(--bg-soft);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background-color var(--dur-fast);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2315404C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 44px; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(68, 127, 194, .2); }
.field [aria-invalid="true"] { border-color: #C0213A; background: #FFF5F6; }
.field__error { display: none; margin-top: 6px; color: #B01C33; font-size: .92rem; font-weight: 600; }
.field__error.is-shown { display: flex; gap: 6px; align-items: center; }
.field__hint { margin-top: 6px; color: var(--ink-soft); font-size: .88rem; }
.hp-field { position: absolute !important; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.form-actions .btn { min-width: 190px; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; display: none; animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .icon { display: none; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 14px; font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #E8F7EE; color: #145C33; border: 1px solid #A8DDBC; }
.form-status.is-error { display: block; background: #FFF0F2; color: #A3182F; border: 1px solid #F3B8C2; }
.form-privacy { font-size: .88rem; color: var(--ink-soft); margin: 0; }

.map-placeholder {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 360px; display: grid; place-items: center; text-align: center;
  background: var(--blue-50); border: 2px dashed #9DB9DD; padding: 32px;
}
.map-placeholder::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(68, 127, 194, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(68, 127, 194, .15) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-placeholder > div { position: relative; }
.map-placeholder .pin { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--pink-600); color: #fff; box-shadow: 0 0 0 12px rgba(237, 19, 109, .14); }
.map-placeholder .pin .icon { width: 32px; height: 32px; }
.map-placeholder h3 { margin-bottom: .2em; }
.map-placeholder p { margin: 0; color: var(--ink-soft); }
.map-frame { border: 0; width: 100%; min-height: 420px; border-radius: var(--radius-lg); }

/* ---------- 18. Footer ---------- */
.site-footer { position: relative; background: var(--ink-900); color: #DCE6EC; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: clamp(28px, 4vw, 48px); }
.footer-logo { display: inline-grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: #fff; margin-bottom: 18px; }
.footer-logo img { width: 70%; height: auto; }
.site-footer h2 { font-size: 1.15rem; color: #fff; margin-bottom: 14px; }
.site-footer p { color: #C9D7E0; }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.footer-contact { list-style: none; display: grid; gap: 4px; }
.footer-contact .icon { color: var(--gold); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); transition: background-color var(--dur-fast), transform var(--dur) var(--ease-spring); }
.socials a:hover { background: var(--pink-600); color: #fff; transform: translateY(-3px); text-decoration: none; }
.socials .icon { width: 22px; height: 22px; }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .92rem; color: #B7C7D2; }
.footer-bottom p { margin: 0; color: inherit; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 19. Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: var(--z-float); bottom: max(18px, env(safe-area-inset-bottom)); inset-inline-end: 18px;
  display: inline-flex; align-items: center; gap: 0; height: 60px; min-width: 60px; padding: 0 8px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 12px 28px rgba(19, 138, 67, .4);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur);
}
.wa-float__icon { width: 44px; height: 44px; display: grid; place-items: center; }
.wa-float__icon .icon { width: 32px; height: 32px; stroke-width: 1.9; }
.wa-float__text { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width var(--dur) var(--ease-out), padding var(--dur); }
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(19, 138, 67, .5); }
.wa-float:hover .wa-float__text, .wa-float:focus-visible .wa-float__text { max-width: 200px; padding-inline: 6px 14px; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ring 2.8s ease-out infinite; pointer-events: none; }
}
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- 20. Print ---------- */
@media print {
  .site-header, .wa-float, .bunting, .tent-rays, .reels, .mobile-menu { display: none !important; }
  .hero, .page-hero, .section--dark, .site-footer { background: #fff !important; color: #000 !important; }
}
