/* =========================================================
   Secure Hive — site styles
   Brand tokens come from the live Elementor kit, with one
   correction: the accent now follows the LOGO red (#E01B21)
   and blends into the site orange (#FF7D16) — one gradient,
   used everywhere, instead of mixed reds and oranges.
   ========================================================= */

:root {
  /* brand */
  --red: #E01B21;          /* logo red */
  --orange: #FF7D16;       /* existing site orange */
  --accent: #FF5A36;       /* mid-gradient, for text/icons on dark */
  --grad: linear-gradient(120deg, #E01B21 0%, #FF7D16 100%);
  --cream: #E9DBC5;        /* brand "primary" */

  /* neutrals (brand darks) */
  --bg: #1E1B1B;
  --bg-deep: #171414;
  --surface: #242122;
  --surface-2: #2C2829;
  --line: #3A3637;
  --text: #F5F1EC;
  --muted: #B3ACA8;        /* was #7A7A7A — too low contrast on dark */

  /* light band */
  --light: #F7F3EE;
  --light-line: #E6DFD6;
  --ink: #1E1B1B;
  --ink-muted: #5E5857;

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: filter .2s, background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);  /* solid: backdrop-filter would trap the fixed mobile menu inside the header */
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .25s ease; }
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
@media (min-width: 1081px) { .site-header.scrolled .nav-wrap { height: 66px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
@media (max-width: 640px) { .brand img { height: 44px; } }

.site-nav { display: flex; align-items: center; gap: 28px; }
.menu { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 8px;
  font: 500 .95rem/1 var(--font); color: #E8E2DC;
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.sub-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.menu > li > a:hover, .sub-toggle:hover, .has-sub:hover > .sub-toggle { color: #fff; background: rgba(255,255,255,.05); }
.menu > li > a[aria-current="page"], .menu > li.current > .sub-toggle { color: #fff; }
.menu > li > a[aria-current="page"]::after, .menu > li.current > .sub-toggle::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad);
}

.submenu {
  display: block; position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 270px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
  visibility: hidden; opacity: 0; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { visibility: visible; opacity: 1; transform: none; }
.has-sub:hover > .sub-toggle svg, .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .92rem; color: #DCD5CF; transition: background-color .15s, color .15s; }
.submenu a:hover { background: var(--surface-2); color: #fff; }
.submenu .sub-overview { color: var(--accent); font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 6px; padding-bottom: 11px; }
.submenu .sub-overview:hover { color: var(--orange); }

.mega { width: 720px; left: -160px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 12px; }
.mega-col h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 12px 8px; font-weight: 700; }
.mega-col h4 span { display: block; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .78rem; color: #8F8884; margin-top: 2px; }
.mega-feature {
  border-radius: var(--radius-sm); padding: 18px; display: flex; flex-direction: column; gap: 8px;
  background: linear-gradient(160deg, rgba(224,27,33,.22), rgba(255,125,22,.08)), var(--surface-2);
  border: 1px solid rgba(255,90,54,.25);
}
.mega-feature strong { font-size: 1rem; }
.mega-feature p { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.mega-feature { align-self: start; }
.mega-feature a.link-arrow { padding: 0; font-size: .9rem; color: var(--accent); }
.mega-feature a.link-arrow:hover { background: none; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 24px 32px; overflow-y: auto; background: var(--bg);
  }
  .site-nav.open { display: flex; animation: navIn .25s ease both; }
  body.nav-open { overflow: hidden; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .menu > li > a:hover, .sub-toggle:hover, .has-sub:hover > .sub-toggle { background: none; }
  .menu > li > a[aria-current="page"]::after, .menu > li.current > .sub-toggle::after { display: none; }
  .menu > li > a[aria-current="page"], .menu > li.current > .sub-toggle { color: var(--accent); }
  /* on touch layouts only the .open class controls submenus */
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: none; }
  .has-sub:hover > .sub-toggle svg { transform: none; }
  .has-sub.open > .submenu, .has-sub.open > .mega { display: block; }
  .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
  .submenu, .mega { display: none; visibility: visible; opacity: 1; transform: none; transition: none; position: static; width: auto; min-width: 0; box-shadow: none; border: 0; background: none; padding: 0 0 12px; }
  .submenu::before { display: none; }
  .mega-col h4 { margin: 12px 12px 6px; }
  .mega-feature { background: none; border: 0; padding: 4px 12px 0; }
  .mega-feature strong, .mega-feature p { display: none; }
  .submenu a { padding: 10px 12px; }
  .nav-cta { width: 100%; padding: 1rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--bg-deep);
  padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px);
}
/* Layer 1 — background video from the live site (Elementor: Section > Background > Video, play on mobile off) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Layer 2 — brand swoosh blended over the teal video so the hero follows the red→orange brand colours
   (Elementor: Background Overlay image + Blend Mode "Screen") */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: url("../img/texture.png") left bottom / cover no-repeat; transform: scaleX(-1); mix-blend-mode: screen; }
/* Layer 3 — dark gradient for text contrast */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(23,20,20,.94) 0%, rgba(23,20,20,.72) 45%, rgba(23,20,20,.15) 100%); }
.hero .container { position: relative; z-index: 2; }
@media (max-width: 767px) {
  .hero-video { display: none; }
  .hero { background: var(--bg-deep) url("../img/hero-poster.jpg") center / cover no-repeat; }
}
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: .45em; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #D6CFC9; max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.4rem;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; font-weight: 500; color: #E8E2DC;
}
.pill img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); }
.hero-pillars a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #EDE7E1; font-size: .95rem; }
.hero-pillars a:hover { color: #fff; }
.hero-pillars svg { width: 20px; height: 20px; color: var(--accent); }

/* inner page hero */
.page-hero { position: relative; padding: clamp(70px, 9vw, 110px) 0 clamp(56px, 7vw, 84px); background: var(--bg-deep) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,20,20,.95) 0%, rgba(23,20,20,.82) 50%, rgba(23,20,20,.55) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 820px; margin-bottom: .4em; }
.page-hero .lede { color: #D6CFC9; font-size: 1.1rem; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.1rem; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6E6765; }
.crumbs a { color: var(--accent); }
.crumbs a:hover { color: var(--orange); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-deep); }
.section-light { background: var(--light); color: var(--ink); }
.section-light .muted, .section-light .section-head p { color: var(--ink-muted); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-light .eyebrow { color: var(--red); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s, background-color .25s, transform .25s ease, box-shadow .25s ease;
}
a.card:hover { border-color: rgba(255,90,54,.55); background: var(--surface-2); }
/* Elementor hover animation "Float" (Advanced > Motion Effects > Hover Animation) */
a.card:hover, .stream:hover, .step:hover, .flag-card:hover, .product:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,.35); }
.icon-box { transition: background .25s, color .25s, border-color .25s; }
.card:hover .icon-box { background: var(--grad); border-color: transparent; color: #fff; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .95rem; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card .tagline { color: #E4DDD6; font-weight: 500; font-size: .95rem; margin-bottom: .6rem; }
.icon-box {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(224,27,33,.2), rgba(255,125,22,.12));
  border: 1px solid rgba(255,90,54,.3); color: var(--accent);
}
.icon-box svg { width: 26px; height: 26px; }

/* the three revenue streams */
.stream { position: relative; overflow: hidden; padding: 34px; }
.stream::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.stream .num { position: absolute; right: 24px; top: 18px; font-size: 3.2rem; font-weight: 800; color: rgba(255,255,255,.05); line-height: 1; }
.stream h3 { font-size: 1.45rem; }
.stream ul { list-style: none; padding: 0; margin: 4px 0 24px; border-top: 1px solid var(--line); }
.stream li a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); color: #E4DDD6; font-size: .95rem; }
.stream li a:hover { color: var(--accent); }
.stream li svg { width: 16px; height: 16px; color: #6E6765; }

/* services vs solutions */
.split-box { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.split-box h3 { display: flex; align-items: center; gap: 12px; }
.split-box h3 small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(255,90,54,.4); border-radius: 999px; padding: 4px 10px; }
.link-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 0; }
.split-box > .link-arrow { margin-top: auto; }
.link-list a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: #E4DDD6; }
.link-list a:hover { color: var(--accent); }
.link-list svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ---------- checklist (fixes bullet alignment, incl. mobile) ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 14px; }
.checklist.two { grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: #E4DDD6; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat, var(--grad);
}
.section-light .checklist li { color: var(--ink); }
@media (max-width: 640px) { .checklist.two { grid-template-columns: 1fr; } }

/* ---------- media + text ---------- */
.media-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.media-split.flip > :first-child { order: 2; }
/* not .media-frame: WordPress's media-views.css uses that name (position:absolute) when logged in */
.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.photo-frame:hover img { transform: scale(1.05); } /* Image widget: Hover Animation "Grow" */
.photo-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad); }
@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; gap: 36px; }
  .media-split.flip > :first-child { order: 0; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.stat { border-left: 2px solid; border-image: var(--grad) 1; padding: 4px 0 4px 16px; }
.stat b { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.step:hover { border-color: rgba(255,90,54,.45); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: .85rem; font-weight: 800; letter-spacing: .1em; margin-bottom: 14px; color: var(--accent); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- partners / logos ---------- */
.logo-strip { padding: 36px 0; background: var(--light); border-bottom: 1px solid var(--light-line); }
.logo-strip .label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-row { display: flex; align-items: center; gap: 56px; width: max-content; padding-right: 56px; background: var(--light); animation: marquee 45s linear infinite; } /* background: the animated layer is isolated, so logos need a backdrop to multiply against */
.marquee:hover .logo-row { animation-play-state: paused; }
.logo-row img { height: 38px; width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }

.partner-group + .partner-group { margin-top: 56px; }
.partner-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--light-line); }
.partner-group-head h3 { margin: 0; }
.partner-group-head p { margin: 0; color: var(--ink-muted); font-size: .95rem; }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.partner-tile { background: #fff; border: 1px solid var(--light-line); border-radius: var(--radius-sm); height: 104px; display: flex; align-items: center; justify-content: center; padding: 18px; transition: border-color .2s, box-shadow .2s, transform .25s ease; }
.partner-tile:hover { border-color: #D8CEC2; box-shadow: 0 10px 24px rgba(30,27,27,.07); transform: scale(1.04); }
.partner-tile img { max-height: 46px; width: auto; }
@media (max-width: 960px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- global presence ---------- */
.flags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flag-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.flag-card img { width: 44px; height: 30px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); flex-shrink: 0; }
.flag-card b { display: block; font-size: 1rem; line-height: 1.25; }
.flag-card span { font-size: .8rem; color: var(--muted); }
.flag-card.hq { border-color: rgba(255,90,54,.55); background: linear-gradient(140deg, rgba(224,27,33,.16), rgba(255,125,22,.06)), var(--surface); }
.legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: .85rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; border: 1px solid var(--line); background: var(--surface); }
.legend i.hq { background: var(--grad); border: 0; }
@media (max-width: 960px) { .flags { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .flags { grid-template-columns: 1fr; } }

/* ---------- success stories (Instagram) ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 13; background: var(--surface); border: 1px solid var(--line); display: block; }
.story img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .3s, transform .8s ease; }
.story:hover img { opacity: .85; transform: scale(1.06); }
.story .play { transition: transform .25s ease, background-color .25s; }
.story:hover .play { transform: translate(-50%, -50%) scale(1.1); background: rgba(224,27,33,.75); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85) 100%); }
.story .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; }
.story .play svg { width: 22px; height: 22px; margin-left: 3px; color: #fff; }
.story .meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.story .meta small { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }
.story .meta b { display: block; font-size: 1.05rem; line-height: 1.3; }
.story .meta span { font-size: .8rem; color: #CFC8C2; }
.stories-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
@media (max-width: 860px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stories { grid-template-columns: 1fr; } .story { aspect-ratio: 4 / 5; } }

/* ---------- product cards ---------- */
.product { padding: 28px; }
.product .kind { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.product h3 { font-size: 1.3rem; margin-bottom: .3em; }
.product ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.product li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: .9rem; color: #DCD5CF; }
.product li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); margin: 9px 0 0 4px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(64px, 8vw, 104px); }
.section-alt + .cta-band, .section-light + .cta-band { padding-top: clamp(64px, 8vw, 104px); }
.cta-box {
  position: relative; overflow: hidden; border-radius: 20px; padding: clamp(36px, 5vw, 56px);
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-box::before { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 300px; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 110' fill='none' stroke='white' stroke-width='7'%3E%3Cpath d='M50 5 93.3 30v50L50 105 6.7 80V30z'/%3E%3C/svg%3E") center / contain no-repeat; }
.cta-box h2 { margin: 0 0 .3em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-box p { margin: 0; opacity: .92; max-width: 560px; }
.cta-box .btn-dark { position: relative; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-item .icon-box { width: 48px; height: 48px; margin: 0; }
.info-item .icon-box svg { width: 22px; height: 22px; }
.info-item h4 { margin: 0 0 4px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.info-item h4 img { width: 20px; height: 14px; border-radius: 2px; }
.info-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.info-item a:hover { color: var(--accent); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 40px); }
.form-card h2 { font-size: 1.6rem; margin-bottom: .3em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: #E4DDD6; }
.field label .req { color: var(--accent); }
.input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3ACA8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field textarea { min-height: 160px; resize: vertical; }  /* full message stays visible */
.input::placeholder, .field textarea::placeholder { color: #7D7673; }
.input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,90,54,.18); }
/* phone: code + number share one aligned row */
/* honeypot: off-screen for people, still in the DOM for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* result after send.php redirects back */
.form-status { margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .92rem; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.form-status.ok { border-color: rgba(255,90,54,.55); }
.form-status.err { border-color: var(--red); }
.phone-row { display: grid; grid-template-columns: 116px 1fr; gap: 10px; }
.phone-row select { padding-right: 30px; background-position: right 10px center; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { color: var(--muted); font-size: .82rem; max-width: 360px; }
.form-foot small a { color: var(--accent); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose p, .prose li { color: #D6CFC9; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-top: 72px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .85fr .7fr 1.5fr; gap: 40px; padding-bottom: 56px; }
.footer-grid.no-form { grid-template-columns: 1.4fr 1fr 1fr; }
.footer-about .reach { margin-top: 0; }
.footer-about p + h4 { margin-top: 32px; }
.footer-grid h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-about p { color: var(--muted); margin: 18px 0 0; max-width: 320px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links + h4 { margin-top: 28px; }
.footer-grid h4 a:hover { color: var(--accent); }
.footer-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.footer-flags img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
/* footer form — message box stays fully visible, phone code and number share one aligned row */
.footer-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; }
.footer-form h4 { margin-bottom: 4px; }
.footer-form .form-grid { gap: 12px; margin: 14px 0 18px; }
.footer-form .field { gap: 6px; }
.footer-form .field label { font-size: .8rem; }
.footer-form .input, .footer-form select, .footer-form textarea { padding: 11px 12px; font-size: .92rem; }
.footer-form .phone-row select { padding-right: 28px; }
.footer-form textarea { min-height: 110px; }
.footer-form .btn { width: 100%; }
.reach { display: grid; gap: 16px; }
.reach div { color: var(--muted); }
.reach b { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; margin-bottom: 2px; }
.reach b img { width: 20px; height: 14px; border-radius: 2px; }
.reach a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: filter .2s; }
.socials a:hover { filter: brightness(1.12); }
.socials svg { width: 20px; height: 20px; }
.socials .li { background: #0A66C2; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: #8F8884; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer-grid, .footer-grid.no-form { grid-template-columns: 1fr 1fr; } .footer-form { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid, .footer-grid.no-form { grid-template-columns: 1fr; gap: 32px; } .footer-form .form-grid { grid-template-columns: 1fr; } }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .card, .stream, .split-box { padding: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
/* =========================================================
   Motion — every effect maps to a native Elementor setting.
   Entrance classes are assigned in assets/js/main.js.
   ========================================================= */
/* Entrance Animation (Advanced > Motion Effects), duration "Fast" ≈ .8s, with Animation Delay */
[data-animate] { opacity: 0; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
[data-animate="fadeInUp"] { transform: translateY(28px); }
[data-animate="fadeInLeft"] { transform: translateX(-36px); }
[data-animate="fadeInRight"] { transform: translateX(36px); }
[data-animate="zoomIn"] { transform: scale(.94); }
[data-animate].is-visible { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  [data-animate] { opacity: 1; transform: none; }
  .hero-video { display: none; }
  .hero { background: var(--bg-deep) url("../img/hero-poster.jpg") center / cover no-repeat; }
}
