/* Tenant Website — landing page styles.
   Theme values (--tw-primary, --tw-secondary, ...) are overwritten at runtime from the tenant's saved config,
   so every colour below is derived from those variables (never a fixed brand colour).

   Motion rules
   - Entrances run once: .tw-reveal + .is-in (set by tenant_website.js), staggered with --tw-i.
   - html.tw-static (every re-render after the first: language switch, admin live preview) shows
     everything at once with no entrance animation.
   - prefers-reduced-motion switches all motion off. */
@property --tw-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --tw-primary: #0E7C86;
  --tw-secondary: #0B3C5D;
  --tw-accent: #F59E0B;
  --tw-bg: #F6FAFB;
  --tw-surface: #FFFFFF;
  --tw-text: #10212B;
  --tw-muted: #5B6B75;
  --tw-line: #E3ECEF;
  --tw-radius: 18px;
  --tw-font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --tw-shadow: 0 10px 30px color-mix(in srgb, var(--tw-secondary) 9%, transparent);
  --tw-shadow-lg: 0 24px 60px color-mix(in srgb, var(--tw-secondary) 18%, transparent);
  --tw-primary-soft: color-mix(in srgb, var(--tw-primary) 12%, transparent);
  --tw-primary-line: color-mix(in srgb, var(--tw-primary) 32%, var(--tw-line));
  --tw-grad: linear-gradient(135deg, var(--tw-primary), var(--tw-secondary));
  --tw-ease: cubic-bezier(.16, 1, .3, 1);
  --tw-nav-h: 72px;
  --tw-dir: 1;
}
[dir="rtl"] { --tw-dir: -1; }

@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tw-nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--tw-font);
  background: var(--tw-bg);
  color: var(--tw-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: color-mix(in srgb, var(--tw-primary) 28%, transparent); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--tw-primary) 60%, transparent); outline-offset: 3px; border-radius: 8px; }

.tw-container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- loader ---------- */
.tw-loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--tw-bg); transition: opacity .45s, visibility .45s; }
.tw-loader span { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--tw-primary-soft); border-top-color: var(--tw-primary); animation: tw-spin .8s linear infinite; }
.tw-loader span::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 4px solid transparent; border-bottom-color: var(--tw-accent); animation: tw-spin 1.2s linear infinite reverse; }
.tw-ready .tw-loader { opacity: 0; visibility: hidden; }
@keyframes tw-spin { to { transform: rotate(360deg); } }

/* ---------- scroll progress + back to top ---------- */
.tw-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--tw-primary), var(--tw-accent)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
[dir="rtl"] .tw-progress { transform-origin: right; background: linear-gradient(270deg, var(--tw-primary), var(--tw-accent)); }
.tw-top { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60; width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--tw-line); background: var(--tw-surface); color: var(--tw-primary); display: grid; place-items: center; box-shadow: var(--tw-shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s var(--tw-ease), visibility .3s, background .2s, color .2s; }
.tw-top.is-on { opacity: 1; visibility: visible; transform: none; }
.tw-top:hover { background: var(--tw-primary); color: #fff; transform: translateY(-3px); }
.tw-top svg { width: 22px; height: 22px; }

/* ---------- buttons ---------- */
.tw-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--tw-ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
}
/* light sweep across the button on hover */
.tw-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--tw-ease); }
.tw-btn:hover::after { transform: translateX(120%); }
.tw-btn:hover { transform: translateY(-2px); }
.tw-btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.tw-btn svg, .tw-eyebrow svg, .tw-link svg { width: 18px; height: 18px; flex: none; transition: translate .25s var(--tw-ease); }
.tw-btn:hover svg, .tw-link:hover svg { translate: calc(4px * var(--tw-dir)) 0; }
[dir="rtl"] .tw-flip { transform: scaleX(-1); }
.tw-btn--primary { background: linear-gradient(135deg, var(--tw-primary), color-mix(in srgb, var(--tw-primary) 72%, var(--tw-secondary))); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--tw-primary) 35%, transparent); }
.tw-btn--primary:hover { box-shadow: 0 14px 30px color-mix(in srgb, var(--tw-primary) 45%, transparent); }
.tw-btn--accent { background: var(--tw-accent); color: #1b1300; box-shadow: 0 8px 20px color-mix(in srgb, var(--tw-accent) 35%, transparent); }
.tw-btn--ghost { border-color: var(--tw-line); background: var(--tw-surface); color: var(--tw-secondary); }
.tw-btn--ghost:hover { border-color: var(--tw-primary-line); color: var(--tw-primary); box-shadow: var(--tw-shadow); }
.tw-btn--light { background: #fff; color: var(--tw-secondary); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.tw-btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.tw-btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.tw-btn--lg { min-height: 54px; padding: 0 30px; font-size: 16px; }

/* ---------- navbar ---------- */
.tw-nav {
  position: sticky; top: 0; z-index: 50; height: var(--tw-nav-h);
  background: color-mix(in srgb, var(--tw-surface) 78%, transparent);
  backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
  animation: tw-drop .7s var(--tw-ease) backwards;
}
.tw-nav.is-scrolled { background: color-mix(in srgb, var(--tw-surface) 92%, transparent); border-color: var(--tw-line); box-shadow: 0 6px 24px color-mix(in srgb, var(--tw-secondary) 8%, transparent); }
@keyframes tw-drop { from { opacity: 0; transform: translateY(-100%); } }
.tw-nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.tw-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--tw-secondary); min-width: 0; }
.tw-brand img { height: 46px; width: auto; max-width: 140px; object-fit: contain; flex: none; transition: transform .3s var(--tw-ease); }
.tw-brand:hover img, .tw-brand:hover .tw-brand__mark { transform: scale(1.06) rotate(-3deg); }
.tw-footer .tw-brand img { background: #fff; border-radius: 10px; padding: 4px; }
.tw-brand__mark { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tw-grad); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--tw-primary) 35%, transparent); transition: transform .3s var(--tw-ease); }
.tw-brand__mark svg { width: 24px; height: 24px; }
.tw-brand__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.tw-nav__links a:not(.tw-btn) { position: relative; white-space: nowrap; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--tw-muted); transition: color .2s, background .2s; }
.tw-nav__links a:not(.tw-btn)::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--tw-primary), var(--tw-accent)); transform: scaleX(0); transition: transform .35s var(--tw-ease); }
.tw-nav__links a:not(.tw-btn):hover { color: var(--tw-primary); background: var(--tw-primary-soft); }
.tw-nav__links a.is-active { color: var(--tw-primary); }
.tw-nav__links a.is-active::after { transform: scaleX(1); }
.tw-nav__actions { display: flex; align-items: center; gap: 10px; }
.tw-lang { height: 40px; min-width: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--tw-line); background: var(--tw-surface); color: var(--tw-secondary); font-weight: 700; transition: border-color .2s, color .2s, transform .25s var(--tw-ease); }
.tw-lang:hover { border-color: var(--tw-primary-line); color: var(--tw-primary); transform: translateY(-2px); }
.tw-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--tw-line); background: var(--tw-surface); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.tw-burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--tw-secondary); transition: transform .3s var(--tw-ease), opacity .2s; }
.tw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- sections ---------- */
.tw-section { position: relative; padding: 96px 0; }
.tw-section--alt { background: var(--tw-surface); }
.tw-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.tw-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--tw-primary-soft); border: 1px solid color-mix(in srgb, var(--tw-primary) 18%, transparent); color: var(--tw-primary); font-weight: 700; font-size: 14px; }
.tw-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--tw-secondary); margin-top: 12px; letter-spacing: -.01em; }
/* accent bar under every section title, drawn in when the title scrolls into view */
.tw-head h2::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 5px; margin: 16px auto 0; background: linear-gradient(90deg, var(--tw-primary), var(--tw-accent)); transform: scaleX(0); transition: transform .8s var(--tw-ease) .25s; }
.tw-head.is-in h2::after { transform: scaleX(1); }
.tw-head p { color: var(--tw-muted); font-size: 17px; margin-top: 14px; }

/* ---------- hero ---------- */
.tw-hero { position: relative; padding: 72px 0 110px; overflow: hidden; }
/* soft dotted grid that fades out towards the edges */
.tw-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--tw-secondary) 16%, transparent) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000, transparent 78%);
}
/* slow drifting colour clouds behind the hero */
.tw-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.tw-hero__bg i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; animation: tw-drift 20s ease-in-out infinite alternate; }
.tw-hero__bg i:nth-child(1) { width: 560px; height: 560px; top: -180px; inset-inline-end: -120px; background: color-mix(in srgb, var(--tw-primary) 30%, transparent); }
.tw-hero__bg i:nth-child(2) { width: 420px; height: 420px; bottom: -160px; inset-inline-start: -100px; background: color-mix(in srgb, var(--tw-accent) 22%, transparent); animation-duration: 26s; animation-delay: -8s; }
.tw-hero__bg i:nth-child(3) { width: 340px; height: 340px; top: 30%; inset-inline-start: 38%; background: color-mix(in srgb, var(--tw-secondary) 16%, transparent); animation-duration: 32s; animation-delay: -14s; }
@keyframes tw-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.18); } }

.tw-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.tw-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; color: var(--tw-secondary); margin-top: 18px; letter-spacing: -.015em; text-wrap: balance; }
.tw-hero h1 em { font-style: normal; color: var(--tw-primary); }
.tw-hero__sub { font-size: 18px; color: var(--tw-muted); margin-top: 18px; max-width: 560px; }
.tw-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tw-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.tw-hero__badges li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--tw-surface) 75%, transparent); border: 1px solid var(--tw-line); backdrop-filter: blur(6px); font-weight: 600; font-size: 14px; color: var(--tw-secondary); transition: transform .25s var(--tw-ease), border-color .2s; }
.tw-hero__badges li:hover { transform: translateY(-2px); border-color: var(--tw-primary-line); }
.tw-hero__badges svg { width: 20px; height: 20px; color: var(--tw-primary); flex: none; }
.tw-hero .tw-eyebrow svg { animation: tw-pulse 2.4s ease-in-out infinite; }
@keyframes tw-pulse { 50% { transform: scale(1.18); opacity: .7; } }

/* staged hero entrance: eyebrow, title, text, buttons, badges one after another */
.tw-ready .tw-hero__copy > * { animation: tw-rise .9s var(--tw-ease) backwards; }
.tw-ready .tw-hero__copy > :nth-child(1) { animation-delay: .08s; }
.tw-ready .tw-hero__copy > :nth-child(2) { animation-delay: .18s; }
.tw-ready .tw-hero__copy > :nth-child(3) { animation-delay: .30s; }
.tw-ready .tw-hero__copy > :nth-child(4) { animation-delay: .42s; }
.tw-ready .tw-hero__copy > :nth-child(5) { animation-delay: .54s; }
.tw-ready .tw-hero__media { animation: tw-zoom .1s; animation: tw-zoom 1.1s var(--tw-ease) .2s backwards; }
@keyframes tw-rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } }
@keyframes tw-zoom { from { opacity: 0; transform: translateY(24px) scale(.92); } }

.tw-hero__media { position: relative; }
/* glowing colour ring that slowly turns behind the hero picture */
.tw-hero__media::before {
  content: ""; position: absolute; inset: -16px; border-radius: 46px; z-index: -1;
  background: conic-gradient(from var(--tw-angle), var(--tw-primary), var(--tw-accent), var(--tw-secondary), var(--tw-primary));
  filter: blur(30px); opacity: .38; animation: tw-turn 12s linear infinite;
}
@keyframes tw-turn { to { --tw-angle: 360deg; } }
.tw-hero__frame { position: relative; aspect-ratio: 1 / 1; border-radius: 32px; overflow: hidden; background: linear-gradient(150deg, var(--tw-primary), var(--tw-secondary)); box-shadow: var(--tw-shadow-lg); transform: perspective(900px) rotateX(var(--tw-rx, 0deg)) rotateY(var(--tw-ry, 0deg)); transition: transform .5s var(--tw-ease); }
.tw-hero__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); pointer-events: none; }
.tw-hero__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tw-ease); }
.tw-hero__media:hover .tw-hero__frame img { transform: scale(1.05); }
.tw-hero__frame svg.tw-illus { width: 100%; height: 100%; }
/* built-in illustration: turning ring + rising bubbles */
.tw-illus .tw-orbit { transform-origin: 200px 200px; animation: tw-spin 40s linear infinite; }
.tw-illus .tw-bub { transform-box: fill-box; animation: tw-bubble 3.2s ease-in-out infinite; }
.tw-illus .tw-bub:nth-of-type(2) { animation-delay: -1s; }
.tw-illus .tw-bub:nth-of-type(3) { animation-delay: -1.8s; }
.tw-illus .tw-bub:nth-of-type(4) { animation-delay: -2.5s; }
@keyframes tw-bubble { 50% { transform: translateY(-9px); opacity: .45; } }

.tw-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: color-mix(in srgb, var(--tw-surface) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid color-mix(in srgb, var(--tw-surface) 60%, var(--tw-line)); box-shadow: var(--tw-shadow-lg); font-weight: 700; font-size: 14px; animation: tw-bob 5s ease-in-out infinite; }
.tw-float small { display: block; font-weight: 600; color: var(--tw-muted); font-size: 12px; }
.tw-float__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tw-grad); color: #fff; }
.tw-float__icon svg { width: 22px; height: 22px; }
.tw-float--a { bottom: 8%; inset-inline-start: -28px; }
.tw-float--b { top: 10%; inset-inline-end: -20px; animation-delay: -2.5s; }
@keyframes tw-bob { 50% { transform: translateY(-12px); } }

/* ---------- stats ---------- */
.tw-stats { margin-top: -56px; position: relative; z-index: 2; }
.tw-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--tw-surface); border: 1px solid var(--tw-line); border-radius: calc(var(--tw-radius) + 4px); box-shadow: var(--tw-shadow-lg); overflow: hidden; }
.tw-stat { position: relative; padding: 30px 20px; text-align: center; transition: background .3s; }
.tw-stat::before { content: ""; position: absolute; inset-inline: 22%; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--tw-primary), var(--tw-accent)); transform: scaleX(0); transition: transform .5s var(--tw-ease); }
.tw-stat:hover { background: var(--tw-primary-soft); }
.tw-stat:hover::before { transform: scaleX(1); }
.tw-stat + .tw-stat { border-inline-start: 1px solid var(--tw-line); }
.tw-stat strong { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--tw-primary); background: linear-gradient(135deg, var(--tw-primary), var(--tw-secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: transform .3s var(--tw-ease); }
.tw-stat:hover strong { transform: scale(1.08); }
.tw-stat span { color: var(--tw-muted); font-weight: 600; font-size: 15px; }

/* ---------- cards ---------- */
.tw-grid { display: grid; gap: 22px; }
.tw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tw-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tw-card { position: relative; isolation: isolate; overflow: hidden; background: var(--tw-surface); border: 1px solid var(--tw-line); border-radius: var(--tw-radius); padding: 28px; transition: transform .35s var(--tw-ease), box-shadow .35s, border-color .25s; }
.tw-section--alt .tw-card { background: var(--tw-bg); }
/* soft light that follows the pointer (--tw-mx / --tw-my are set by tenant_website.js) */
.tw-card::after, .tw-pkg::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none; transition: opacity .35s; background: radial-gradient(340px circle at var(--tw-mx, 50%) var(--tw-my, 0%), color-mix(in srgb, var(--tw-primary) 16%, transparent), transparent 65%); }
.tw-card:hover::after, .tw-pkg:hover::after { opacity: 1; }
.tw-card:hover { transform: translateY(-6px); box-shadow: var(--tw-shadow-lg); border-color: var(--tw-primary-line); }
.tw-card__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--tw-primary-soft); color: var(--tw-primary); margin-bottom: 18px; transition: transform .45s var(--tw-ease), background .3s, color .3s, box-shadow .3s; }
.tw-card__icon svg { width: 28px; height: 28px; }
.tw-card:hover .tw-card__icon:not(.tw-card__icon--img) { background: var(--tw-grad); color: #fff; transform: translateY(-3px) rotate(-6deg) scale(1.06); box-shadow: 0 10px 22px color-mix(in srgb, var(--tw-primary) 35%, transparent); }
/* service image as a large logo-size picture */
.tw-card__icon--img { width: 96px; height: 96px; border-radius: 20px; background: var(--tw-surface); border: 1px solid var(--tw-line); padding: 8px; }
.tw-card__icon--img img { width: 100%; height: 100%; object-fit: contain; }
.tw-card:hover .tw-card__icon--img { transform: scale(1.05); }
/* service image as the full card background */
.tw-card--cover { min-height: 280px; display: flex; align-items: flex-end; padding: 0; border: 0; background: var(--tw-secondary) center / cover no-repeat; }
.tw-card--cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(5,20,30,.82) 100%); transition: background .3s; }
.tw-card--cover::after { z-index: 0; }
.tw-card__cover-text { position: relative; z-index: 1; padding: 24px; transition: transform .35s var(--tw-ease); }
.tw-card--cover:hover .tw-card__cover-text { transform: translateY(-6px); }
.tw-card.tw-card--cover h3 { color: #fff; }
.tw-card.tw-card--cover p { color: rgba(255,255,255,.88); }
.tw-card h3 { font-size: 19px; font-weight: 800; color: var(--tw-secondary); }
.tw-card p { color: var(--tw-muted); margin-top: 8px; font-size: 15px; }

/* ---------- packages ---------- */
.tw-pkg { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; background: var(--tw-surface); border: 1px solid var(--tw-line); border-radius: calc(var(--tw-radius) + 6px); padding: 32px 28px; transition: transform .35s var(--tw-ease), box-shadow .35s, border-color .25s; }
.tw-pkg::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--tw-primary), var(--tw-accent)); transform: scaleX(0); transform-origin: center; transition: transform .5s var(--tw-ease); }
.tw-pkg:hover::before { transform: scaleX(1); }
.tw-pkg:hover { transform: translateY(-6px); box-shadow: var(--tw-shadow-lg); border-color: var(--tw-primary-line); }
.tw-pkg--featured { background: linear-gradient(160deg, var(--tw-secondary), color-mix(in srgb, var(--tw-primary) 70%, var(--tw-secondary))); color: #fff; border: 0; transform: scale(1.03); box-shadow: var(--tw-shadow-lg); }
.tw-pkg--featured:hover { transform: scale(1.03) translateY(-6px); }
.tw-pkg--featured { padding-top: 58px; } /* room for the "most popular" tag above the name */
/* a band of light crosses the featured package every few seconds */
.tw-pkg--featured::before { inset: 0; height: auto; z-index: -1; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.16) 50%, transparent 60%); transform: translateX(-100%); transition: none; animation: tw-sheen 5.5s ease-in-out infinite; }
.tw-pkg--featured:hover::before { transform: translateX(-100%); }
.tw-pkg--featured::after { background: radial-gradient(340px circle at var(--tw-mx, 50%) var(--tw-my, 0%), rgba(255,255,255,.14), transparent 65%); }
@keyframes tw-sheen { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.tw-pkg__tag { position: absolute; top: 18px; inset-inline-end: 18px; padding: 4px 12px; border-radius: 999px; background: var(--tw-accent); color: #1b1300; font-size: 12px; font-weight: 800; animation: tw-tag 2.6s ease-in-out infinite; }
@keyframes tw-tag { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--tw-accent) 0%, transparent); } 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tw-accent) 55%, transparent); } }
.tw-pkg h3 { font-size: 20px; font-weight: 800; }
.tw-pkg:not(.tw-pkg--featured) h3 { color: var(--tw-secondary); }
.tw-pkg__price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.tw-pkg__price strong { font-size: 42px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.tw-pkg:not(.tw-pkg--featured) .tw-pkg__price strong { color: var(--tw-primary); }
.tw-pkg__price span { font-weight: 700; opacity: .8; }
.tw-pkg__price s { opacity: .55; font-weight: 600; }
.tw-pkg ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; flex: 1; }
.tw-pkg li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15px; }
.tw-pkg li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--tw-primary); }
.tw-pkg--featured li svg { color: var(--tw-accent); }
.tw-pkg .tw-btn { width: 100%; }
.tw-pkg__name-ar { margin-top: 2px; font-weight: 700; font-size: 16px; opacity: .8; }
.tw-pkg__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.tw-pill { padding: 2px 10px; border-radius: 999px; background: var(--tw-primary-soft); color: var(--tw-primary); font-weight: 700; }
.tw-pkg--featured .tw-pill { background: rgba(255,255,255,.16); color: #fff; }
.tw-pkg__where { display: inline-flex; align-items: center; gap: 4px; opacity: .75; font-weight: 600; }
.tw-pkg__where svg { width: 14px; height: 14px; }
.tw-pkg li.tw-pkg__more { opacity: .7; padding-inline-start: 30px; }
/* admin-chosen card colors / image (Website Admin Control > Packages) */
.tw-pkg--custom { border-color: transparent; }
.tw-pkg--custom[style*="--pkg-fg"] { color: var(--pkg-fg); }
.tw-pkg--custom[style*="--pkg-fg"] h3,
.tw-pkg--custom[style*="--pkg-fg"]:not(.tw-pkg--featured) h3,
.tw-pkg--custom[style*="--pkg-fg"] .tw-pkg__price strong,
.tw-pkg--custom[style*="--pkg-fg"]:not(.tw-pkg--featured) .tw-pkg__price strong,
.tw-pkg--custom[style*="--pkg-fg"] li svg { color: var(--pkg-fg); }
.tw-pkg--custom[style*="--pkg-fg"] .tw-pill { background: color-mix(in srgb, var(--pkg-fg) 18%, transparent); color: var(--pkg-fg); }
.tw-pkg--img { background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--tw-secondary); min-height: 420px; }
.tw-pkg--img > * { position: relative; z-index: 1; }
.tw-pkg--img::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(5,20,30,.35) 0%, rgba(5,20,30,.85) 100%); }
.tw-pkg--img .tw-pkg__tag { position: absolute; }

/* packages: all of them, two rows, scroll sideways (arrows / swipe / drag the bar) */
.tw-pkgs { position: relative; }
.tw-pkgs__scroll { overflow-x: auto; overflow-y: hidden; padding: 16px 6px 22px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--tw-primary) transparent; -webkit-overflow-scrolling: touch; }
.tw-pkgs__scroll:focus-visible { outline: 2px solid var(--tw-primary); outline-offset: 2px; border-radius: 12px; }
.tw-pkgs__track { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: min(340px, 82vw); gap: 22px; width: max-content; }
.tw-pkgs__track > .tw-pkg { scroll-snap-align: start; }
.tw-pkgs__nav { position: absolute; top: 50%; z-index: 5; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 1px solid var(--tw-line); background: var(--tw-surface); color: var(--tw-primary); display: grid; place-items: center; cursor: pointer; box-shadow: var(--tw-shadow); transition: background .2s, color .2s, transform .2s; }
.tw-pkgs__nav:hover { background: var(--tw-primary); color: #fff; transform: scale(1.08); }
.tw-pkgs__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tw-pkgs__nav--prev { left: -18px; }
.tw-pkgs__nav--prev svg { transform: rotate(180deg); }
.tw-pkgs__nav--next { right: -18px; }
.tw-pkg__terms { width: 100%; margin-bottom: 10px; background: transparent; border: 1.5px solid currentColor; color: var(--tw-primary); }
.tw-pkg__terms svg { width: 18px; height: 18px; }
.tw-pkg--featured .tw-pkg__terms { color: #fff; }
.tw-pkg--custom[style*="--pkg-fg"] .tw-pkg__terms { color: var(--pkg-fg); }
@media (max-width: 1260px) { .tw-pkgs__nav--prev { left: 4px; } .tw-pkgs__nav--next { right: 4px; } }
@media (max-width: 640px) { .tw-pkgs__track { grid-template-rows: auto; } .tw-pkgs__nav { display: none; } }

/* "test precautions" dialog */
body.tw-modal-open { overflow: hidden; }
.tw-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(5, 20, 30, .6); backdrop-filter: blur(4px); animation: tw-modal-fade .2s ease; }
.tw-modal__box { width: min(640px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: var(--tw-surface); color: var(--tw-text, inherit); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; animation: tw-modal-pop .3s var(--tw-ease); }
.tw-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 24px; background: linear-gradient(135deg, var(--tw-secondary), color-mix(in srgb, var(--tw-primary) 70%, var(--tw-secondary))); color: #fff; }
.tw-modal__head h3 { font-size: 20px; font-weight: 800; }
.tw-modal__head span { display: block; margin-top: 4px; opacity: .85; font-weight: 600; font-size: 14px; }
.tw-modal__x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.tw-modal__x:hover { background: rgba(255, 255, 255, .32); }
.tw-modal__list { list-style: none; margin: 0; padding: 18px 24px; display: grid; gap: 12px; overflow-y: auto; }
.tw-modal__list li { padding: 14px 16px; border-radius: 14px; background: var(--tw-bg); border: 1px solid var(--tw-line); border-inline-start: 4px solid var(--tw-primary); }
.tw-modal__list strong { color: var(--tw-secondary); font-size: 15px; }
.tw-modal__list p { margin-top: 6px; color: var(--tw-muted); font-size: 14.5px; line-height: 1.7; white-space: pre-line; }
.tw-modal__foot { padding: 14px 24px 20px; border-top: 1px solid var(--tw-line); }
.tw-modal__foot .tw-btn { width: 100%; }
@keyframes tw-modal-fade { from { opacity: 0; } }
@keyframes tw-modal-pop { from { opacity: 0; transform: translateY(18px) scale(.96); } }

/* ---------- home visit ---------- */
.tw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tw-split__media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; background: linear-gradient(150deg, color-mix(in srgb, var(--tw-primary) 85%, #fff), var(--tw-secondary)); box-shadow: var(--tw-shadow-lg); }
.tw-split__media img, .tw-split__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--tw-ease); }
.tw-split__media:hover img, .tw-split__media:hover svg { transform: scale(1.05); }
.tw-split .tw-head { text-align: start; margin: 0 0 28px; }
.tw-split .tw-head h2::after { margin-inline: 0; transform-origin: left; }
[dir="rtl"] .tw-split .tw-head h2::after { transform-origin: right; }
.tw-steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; counter-reset: step; }
.tw-steps li { position: relative; display: flex; gap: 16px; padding: 18px; border-radius: var(--tw-radius); background: var(--tw-surface); border: 1px solid var(--tw-line); counter-increment: step; transition: transform .35s var(--tw-ease), box-shadow .35s, border-color .25s; }
.tw-steps li:hover { transform: translateX(calc(6px * var(--tw-dir))); box-shadow: var(--tw-shadow); border-color: var(--tw-primary-line); }
.tw-steps li::before { content: counter(step); flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tw-grad); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 8px 18px color-mix(in srgb, var(--tw-primary) 30%, transparent); transition: transform .4s var(--tw-ease); }
.tw-steps li:hover::before { transform: scale(1.1) rotate(-6deg); }
/* link between one step and the next */
.tw-steps li:not(:last-child)::after { content: ""; position: absolute; top: 100%; inset-inline-start: 39px; width: 2px; height: 17px; background: linear-gradient(var(--tw-primary), color-mix(in srgb, var(--tw-primary) 25%, transparent)); }
.tw-steps h3 { font-size: 17px; font-weight: 800; color: var(--tw-secondary); }
.tw-steps p { color: var(--tw-muted); font-size: 15px; }

/* ---------- branches ---------- */
.tw-branch { display: flex; flex-direction: column; gap: 10px; }
.tw-branch__row { display: flex; gap: 10px; align-items: flex-start; color: var(--tw-muted); font-size: 15px; }
.tw-branch__row svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--tw-primary); }
.tw-branch__row a { transition: color .2s; }
.tw-branch__row a:hover { color: var(--tw-primary); }
.tw-branch .tw-link { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--tw-primary); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- testimonials ---------- */
.tw-quote { display: flex; flex-direction: column; gap: 14px; }
.tw-quote::before { content: "\201D"; position: absolute; z-index: -1; top: -18px; inset-inline-end: 18px; font-size: 130px; line-height: 1; font-family: Georgia, "Times New Roman", serif; color: var(--tw-primary-soft); transition: transform .5s var(--tw-ease), color .3s; }
.tw-quote:hover::before { transform: translateY(8px) scale(1.08); color: color-mix(in srgb, var(--tw-primary) 22%, transparent); }
.tw-stars { display: flex; gap: 2px; color: var(--tw-accent); }
.tw-stars svg { width: 18px; height: 18px; }
.tw-stars .is-off { color: var(--tw-line); }
.tw-quote.is-in .tw-stars svg { animation: tw-star .5s var(--tw-ease) backwards; }
.tw-quote.is-in .tw-stars svg:nth-child(1) { animation-delay: .30s; }
.tw-quote.is-in .tw-stars svg:nth-child(2) { animation-delay: .38s; }
.tw-quote.is-in .tw-stars svg:nth-child(3) { animation-delay: .46s; }
.tw-quote.is-in .tw-stars svg:nth-child(4) { animation-delay: .54s; }
.tw-quote.is-in .tw-stars svg:nth-child(5) { animation-delay: .62s; }
@keyframes tw-star { from { opacity: 0; transform: scale(.2) rotate(-40deg); } }
.tw-quote p { color: var(--tw-text); font-size: 16px; margin: 0; flex: 1; }
.tw-quote__who { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--tw-secondary); }
.tw-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tw-grad); color: #fff; font-weight: 800; }

/* ---------- faq ---------- */
.tw-faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.tw-faq details { background: var(--tw-surface); border: 1px solid var(--tw-line); border-radius: var(--tw-radius); padding: 0 22px; transition: box-shadow .3s, border-color .25s; }
.tw-section--alt .tw-faq details { background: var(--tw-bg); }
.tw-faq details:hover { border-color: var(--tw-primary-line); }
.tw-faq details[open] { box-shadow: var(--tw-shadow); border-color: var(--tw-primary-line); }
.tw-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; color: var(--tw-secondary); cursor: pointer; transition: color .2s; }
.tw-faq summary:hover, .tw-faq details[open] summary { color: var(--tw-primary); }
.tw-faq summary::-webkit-details-marker { display: none; }
.tw-faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--tw-primary-soft); color: var(--tw-primary); font-size: 20px; transition: transform .4s var(--tw-ease), background .25s, color .25s; }
.tw-faq details[open] summary::after { transform: rotate(135deg); background: var(--tw-primary); color: #fff; }
.tw-faq details p { padding: 0 0 20px; color: var(--tw-muted); }
.tw-faq details[open] p { animation: tw-fade .45s var(--tw-ease); }
@keyframes tw-fade { from { opacity: 0; transform: translateY(-6px); } }
/* smooth open / close where the browser can animate to the content's own height */
@supports (interpolate-size: allow-keywords) {
  .tw-faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--tw-ease), content-visibility .4s allow-discrete; }
  .tw-faq details[open]::details-content { block-size: auto; }
}

/* ---------- cta band ---------- */
.tw-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(120deg, var(--tw-secondary), var(--tw-primary), var(--tw-secondary)); background-size: 220% 100%; color: #fff; box-shadow: var(--tw-shadow-lg); animation: tw-flow 12s ease-in-out infinite alternate; }
@keyframes tw-flow { to { background-position: 100% 0; } }
.tw-band::before, .tw-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.09); animation: tw-bob 7s ease-in-out infinite; }
.tw-band::after { width: 360px; height: 360px; inset-inline-end: -120px; top: -160px; }
.tw-band::before { width: 220px; height: 220px; inset-inline-start: 22%; bottom: -150px; animation-delay: -3.5s; }
.tw-band h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.tw-band p { opacity: .88; margin-top: 8px; font-size: 17px; }
.tw-band__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.tw-footer { position: relative; background: var(--tw-secondary); color: rgba(255,255,255,.78); padding: 68px 0 88px; overflow: hidden; } /* bottom room for the floating buttons */
.tw-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: linear-gradient(90deg, var(--tw-primary), var(--tw-accent), var(--tw-primary)); background-size: 200% 100%; animation: tw-flow 8s linear infinite alternate; }
.tw-footer::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -260px; inset-inline-end: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--tw-primary) 35%, transparent), transparent 65%); pointer-events: none; }
.tw-footer > .tw-container { position: relative; z-index: 1; }
.tw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.tw-footer h4 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.tw-footer .tw-brand { color: #fff; margin-bottom: 14px; }
.tw-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tw-footer ul a { display: inline-block; transition: color .2s, transform .3s var(--tw-ease); }
.tw-footer a:hover { color: #fff; }
.tw-footer ul a:hover { transform: translateX(calc(4px * var(--tw-dir))); }
.tw-footer__row { display: flex; gap: 10px; align-items: flex-start; }
.tw-footer__row svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--tw-accent); }
.tw-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tw-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .25s, transform .3s var(--tw-ease), box-shadow .25s; }
.tw-social a:hover { background: var(--tw-primary); transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.tw-social svg { width: 18px; height: 18px; }
.tw-footer__branch { color: #fff; margin-top: 6px; }
.tw-footer__branch:first-child { margin-top: 0; }
.tw-footer__bottom a { color: #fff; font-weight: 700; }
.tw-footer__bottom a:hover { text-decoration: underline; }
.tw-footer__sep { opacity: .4; margin: 0 6px; }
.tw-footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

/* ---------- floating whatsapp ---------- */
.tw-wa { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .3s var(--tw-ease); }
.tw-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: tw-ring 2.4s ease-out infinite; }
@keyframes tw-ring { from { transform: scale(1); opacity: .55; } to { transform: scale(1.9); opacity: 0; } }
.tw-wa:hover { transform: scale(1.1) rotate(8deg); }
.tw-wa svg { width: 30px; height: 30px; }

/* ---------- scroll reveal ----------
   The keyframes only describe the starting state, so once the entrance has played the element's
   own transform (hover lift, featured scale) is in charge again. */
.tw-reveal { opacity: 0; }
.tw-reveal.is-in { opacity: 1; animation: tw-in .85s var(--tw-ease) backwards; animation-delay: calc(var(--tw-i, 0) * 90ms); }
.tw-reveal.is-in[data-rv="side"] { animation-name: tw-in-side; }
.tw-reveal.is-in[data-rv="zoom"] { animation-name: tw-in-zoom; }
@keyframes tw-in { from { opacity: 0; transform: translateY(34px); } }
@keyframes tw-in-side { from { opacity: 0; transform: translateX(calc(-48px * var(--tw-dir))); } }
@keyframes tw-in-zoom { from { opacity: 0; transform: scale(.93); } }

/* every render after the first: no entrance animation */
.tw-static .tw-reveal { opacity: 1; animation: none; }
.tw-static .tw-hero__copy > *, .tw-static .tw-hero__media, .tw-static .tw-nav, .tw-static .tw-stars svg { animation: none !important; }
.tw-static .tw-head h2::after { transform: scaleX(1); transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .tw-reveal { opacity: 1; }
  .tw-head h2::after { transform: scaleX(1); }
  .tw-hero__frame { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tw-nav__links a:not(.tw-btn) { padding: 8px 8px; font-size: 14px; }
  .tw-nav__links a:not(.tw-btn)::after { inset-inline: 8px; }
  .tw-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tw-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1240px) {
  .tw-float--a { inset-inline-start: 12px; }
  .tw-float--b { inset-inline-end: 12px; }
}
@media (max-width: 1140px) {
  .tw-burger { display: flex; }
  .tw-nav__links {
    position: fixed; inset: var(--tw-nav-h) 0 auto 0; flex-direction: column; gap: 2px; padding: 12px 16px 20px;
    max-height: calc(100vh - var(--tw-nav-h)); overflow-y: auto;
    background: var(--tw-surface); border-bottom: 1px solid var(--tw-line); box-shadow: var(--tw-shadow-lg);
    border-radius: 0 0 22px 22px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--tw-ease), opacity .25s, visibility .25s;
  }
  .tw-nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .tw-nav__links a:not(.tw-btn) { padding: 12px; font-size: 16px; }
  .tw-nav__links a:not(.tw-btn)::after { display: none; }
  .tw-nav__links a.is-active { background: var(--tw-primary-soft); }
  /* menu items come in one after another */
  .tw-nav__links.is-open > a { animation: tw-in-side .45s var(--tw-ease) backwards; }
  .tw-nav__links.is-open > a:nth-child(2) { animation-delay: .04s; }
  .tw-nav__links.is-open > a:nth-child(3) { animation-delay: .08s; }
  .tw-nav__links.is-open > a:nth-child(4) { animation-delay: .12s; }
  .tw-nav__links.is-open > a:nth-child(5) { animation-delay: .16s; }
  .tw-nav__links.is-open > a:nth-child(6) { animation-delay: .20s; }
  .tw-nav__links.is-open > a:nth-child(n+7) { animation-delay: .24s; }
  .tw-nav__links .tw-btn { margin-top: 8px; color: #fff; }
  .tw-nav__links .tw-btn--ghost { color: var(--tw-secondary); }
  .tw-hide-sm { display: none; }
  .tw-nav__actions { margin-inline-start: auto; }
}
@media (max-width: 920px) {
  :root { --tw-nav-h: 64px; }
  .tw-hero { padding: 40px 0 92px; }
  .tw-hero__grid, .tw-split { grid-template-columns: 1fr; gap: 40px; }
  .tw-hero__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .tw-hero__frame { transform: none; }
  .tw-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tw-pkg--featured, .tw-pkg--featured:hover { transform: none; }
  .tw-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .tw-section { padding: 68px 0; }
}
@media (min-width: 1141px) { .tw-nav__links .tw-mobile-only { display: none; } }
@media (max-width: 640px) {
  .tw-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .tw-stat:nth-child(3) { border-inline-start: 0; }
  .tw-stat:nth-child(n+3) { border-top: 1px solid var(--tw-line); }
  .tw-grid--3, .tw-grid--4, .tw-footer__grid { grid-template-columns: 1fr; }
  .tw-float--a { inset-inline-start: 8px; }
  .tw-float--b { inset-inline-end: 8px; }
  .tw-hero__ctas .tw-btn { flex: 1 1 auto; }
  .tw-brand__name { max-width: 46vw; }
  .tw-hero__bg i { filter: blur(50px); }
  .tw-top { bottom: 16px; inset-inline-start: 16px; width: 44px; height: 44px; }
}
