/* ============================================================================
   RVZ International Group -- Design System
   Deep teal anchor + a distinct accent per division for a dynamic, multi-brand
   feel that still reads as one professional group.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #034c6b;
  --navy-dark: #022e42;
  --navy-light: #0b6e99;
  --gold: #e8a33d;
  --gold-light: #f6c876;
  --ink: #16232b;
  --paper: #ffffff;
  --mist: #f4f8fa;
  --cloud: #e7eef1;
  --line: #dbe4e8;
  --muted: #5a6b73;
  --success: #2f9e5b;
  --danger: #d64545;

  --accent-marketing: #ff6b57;
  --accent-personnel: #1fa483;
  --accent-events: #c2418f;
  --accent-productions: #7a4de8;
  --accent-travel: #1a8fd1;
  --accent-customs: #3f6b8f;
  --accent-costarini: #e85d8a;
  --accent-accounting: #0f9d7a;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(3, 76, 107, 0.08);
  --shadow-md: 0 12px 32px rgba(3, 76, 107, 0.14);
  --shadow-lg: 0 24px 60px rgba(3, 76, 107, 0.20);
  --container: 1240px;
}

* { box-sizing: border-box; }
/* Inline SVG icons have no intrinsic size -- without this they stretch to
   fill whatever block/flex container they sit in (seen as huge icons on
   card/list layouts). Default to a text-relative size; specific components
   below override with an explicit pixel size where they need one. */
svg { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.15em; }
/* overflow-x: clip, not hidden -- CSS couples the two overflow axes: a hidden/auto/scroll
   value on one axis forces the OTHER axis (left at its default `visible`) to compute as
   `auto` too, per the CSS Overflow spec. That silently turned html/body into a second,
   independent vertical scroll container alongside the page's real one -- which breaks
   position:sticky (the admin sidebar's sticky containing block becomes ambiguous between
   the two scroll contexts) and can desync scroll position (a page jumping back to the top
   on its own). `clip` prevents the same horizontal overflow without ever establishing a
   scroll container, so it doesn't have that side effect. */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* the closed mobile nav drawer sits translateX(100%) off-screen but can still widen the scrollable area in some engines -- this keeps it from ever causing horizontal scroll/pan */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-dark); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }
ul { padding-left: 1.2em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-alt { background: var(--mist); }
.eyebrow {
  display: inline-block; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.78rem; color: var(--gold); margin-bottom: 10px;
}
.center { text-align: center; }
.lead { font-size: 1.15rem; }
.text-white { color: #fff !important; }
.text-white p, .text-white .lead { color: rgba(255,255,255,0.88) !important; }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy-dark); }
.btn-white:hover { background: var(--gold-light); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                           */
/* ---------------------------------------------------------------------- */
/* backdrop-filter lives on ::before, not .site-header itself: a filter/backdrop-filter
   on an element establishes the containing block for its position:fixed descendants,
   which broke the mobile nav panel (#mainNav, position:fixed, inset 0 0 0 auto) -- it
   was resolving "full height" against the header's own ~120px box instead of the
   viewport, collapsing the slide-out menu into a sliver at the top of the screen. */
.site-header {
  position: sticky; top: 0; z-index: 500; border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; flex-shrink: 0; transition: opacity .15s ease; }
.brand:hover { opacity: .85; }
.brand img { height: 46px; width: auto; image-rendering: -webkit-optimize-contrast; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a.nav-link {
  display: block; padding: 12px 14px; font-weight: 500; font-size: 0.94rem; color: var(--ink);
  border-radius: 999px; transition: background .15s ease, color .15s ease; white-space: nowrap;
}
.main-nav a.nav-link:hover, .main-nav li.active > a.nav-link { background: var(--mist); color: var(--navy); }
.has-dropdown > .nav-link::after { content: '▾'; font-size: 0.7em; margin-left: 5px; opacity: .7; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease; list-style: none; margin: 8px 0 0; border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 500; }
.dropdown li a:hover { background: var(--mist); }
.dropdown li a .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: #fff; flex-direction: column;
    align-items: stretch; padding: 90px 22px 30px; transform: translateX(100%); transition: transform .25s ease;
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; padding-left: 10px; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown > .nav-link::after { float: right; }
  .nav-cta { margin: 14px 0 0; }
  .nav-scrim { display: none; position: fixed; inset: 0; background: rgba(3,20,29,.45); z-index: 490; }
  .nav-scrim.show { display: block; }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; padding: 100px 0 90px;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(232,163,61,.20), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
}
.hero::after {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(circle at 12% 30%, rgba(255,255,255,.08) 0, transparent 40%),
                     radial-gradient(circle at 90% 80%, rgba(255,255,255,.06) 0, transparent 45%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); padding: 8px 16px; border-radius: 999px; font-size: .82rem; margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; }
.hero-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
/* Below 860px the grid stacks to one column -- keep the headline/value prop/CTAs
   first (natural DOM order) so mobile visitors reach the message immediately
   instead of scrolling past a large decorative logo graphic first. Cap the
   logo's width there too so it reads as a supporting accent, not the page's
   whole first screen. */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 260px; margin: 32px auto 0; }
}

.page-hero { padding: 64px 0 56px; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; text-align: center; }
/* Artwork behind heroes and on division cards (see art_style() / division_art()). */
.page-hero.has-art { background-image: linear-gradient(160deg, rgba(3,32,46,.55) 0%, rgba(3,32,46,.82) 100%), var(--art); background-size: cover; background-position: center; position: relative; }
.page-hero.has-art .lead { color: rgba(255,255,255,.92); }
.hero.has-art { background-image: linear-gradient(160deg, rgba(3,32,46,.62) 0%, rgba(3,32,46,.9) 100%), var(--art); background-size: cover; background-position: center; }
.division-card.has-art::before { background-image: linear-gradient(200deg, rgba(3,20,29,.05) 0%, rgba(3,20,29,.78) 100%), var(--art); background-size: cover; background-position: center; transition: transform .5s ease; }
.division-card.has-art:hover::before { transform: scale(1.06); }
.art-figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.art-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-figure figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(3,20,29,.75)); }
.art-band { position: relative; padding: 90px 0; background-size: cover; background-position: center; color: #fff; text-align: center; }
.art-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(3,20,29,.55), rgba(3,20,29,.7)); }
.art-band .container { position: relative; }
.art-band h2 { color: #fff; }
.art-band p { color: rgba(255,255,255,.88); max-width: 720px; margin: 0 auto 22px; }
.art-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.art-strip .art-figure { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .art-strip { grid-template-columns: repeat(2, 1fr); } }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 720px; margin: 0 auto; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumbs a { color: rgba(255,255,255,.9); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------- */
/* Cards / grids                                                          */
/* ---------------------------------------------------------------------- */
/* minmax(0, 1fr) rather than a bare 1fr everywhere below -- a plain `1fr` track has an implicit
   `auto` minimum, so a wide descendant deep inside one grid item (e.g. a data table -- even one
   already wrapped in its own .table-scroll) can force that whole track wider than the grid's own
   container ("grid blowout"), silently pushing every other item in the row past the viewport too. */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-badge { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; background: var(--mist); color: var(--navy); }
.icon-badge svg { width: 24px; height: 24px; }

.division-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; min-height: 300px; display: flex; align-items: flex-end; padding: 30px; box-shadow: var(--shadow-md); isolation: isolate; }
.division-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--card-color, var(--navy)); background-image: linear-gradient(200deg, transparent, rgba(0,0,0,.55)); }
.division-card h3 { color: #fff; margin-bottom: 6px; }
.division-card p { color: rgba(255,255,255,.85); margin-bottom: 16px; }
.division-card .tag { display: inline-block; background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 56px; margin-bottom: 26px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Pricing */
/* Pricing cards: one fixed skeleton (see includes/partials/pricing-card.php) so every card in a
   grid is the same size -- title and description are line-clamped, only the first few features
   show, and the rest opens in the "More info" modal below. No transform on the featured card:
   scaling it made it overlap its neighbours. */
.pricing-card { border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 30px 28px 26px; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-width: 0; position: relative; }
.pricing-card.featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy-dark); padding: 6px 16px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pricing-card-head { min-height: 128px; }
.pricing-card h3 { font-size: 1.22rem; line-height: 1.3; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.22rem * 1.3 * 2); overflow-wrap: anywhere; }
.pricing-card-desc { font-size: .9rem; line-height: 1.5; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(.9rem * 1.5 * 3); }
.pricing-card .price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--navy-dark); margin: 10px 0 4px; line-height: 1.15; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-height: 2.6rem; overflow-wrap: anywhere; }
.pricing-card .price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.pricing-card-features { list-style: none; padding: 0; margin: 12px 0 18px; flex: 1; min-height: 190px; }
.pricing-card-features li { padding: 7px 0; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pricing-card-features li:first-child { border-top: none; }
.pricing-card-features li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.pricing-card-features li.pricing-card-more-count::before, .pricing-card-features li.pricing-card-empty::before { content: ''; }
.pricing-card-features li.pricing-card-more-count { color: var(--navy); font-weight: 600; }
.pricing-card-features li.pricing-card-empty { color: var(--muted); font-style: italic; }
.pricing-card-features li.pricing-card-more-count, .pricing-card-features li.pricing-card-empty { display: block; -webkit-line-clamp: unset; }
/* One column on phones: equal heights no longer matter, so drop the reserved space. */
@media (max-width: 620px) { .pricing-card-head { min-height: 0; } .pricing-card-features { min-height: 0; } .pricing-card h3, .pricing-card-desc { min-height: 0; } }
.pricing-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.pricing-card-actions .btn { padding-left: 10px; padding-right: 10px; font-size: .88rem; white-space: nowrap; }
@media (max-width: 380px) { .pricing-card-actions { grid-template-columns: 1fr; } }

/* "More info" modal for a pricing card: full description, every feature, the enquiry button. */
.pricing-modal-overlay { position: fixed; inset: 0; background: rgba(3,20,29,.6); z-index: 960; display: none; align-items: center; justify-content: center; padding: 20px; }
.pricing-modal-overlay.show { display: flex; animation: fadeIn .2s ease; }
.pricing-modal { background: #fff; border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: var(--shadow-lg); position: relative; padding: 34px 32px 30px; }
.pricing-modal .promo-close { top: 12px; right: 12px; background: var(--mist); }
.pricing-modal h3 { margin: 0 40px 6px 0; font-size: 1.45rem; }
.pricing-modal .price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--navy-dark); margin: 6px 0 14px; }
.pricing-modal .price small { font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.pricing-modal p { color: var(--muted); line-height: 1.6; }
.pricing-modal h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--navy-dark); margin: 18px 0 6px; }
.pricing-modal ul { list-style: none; padding: 0; margin: 0 0 20px; columns: 1; }
.pricing-modal ul li { padding: 7px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.pricing-modal ul li:first-child { border-top: none; }
.pricing-modal ul li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.pricing-modal .hint { font-style: italic; margin: -8px 0 16px; }
@media (max-width: 560px) { .pricing-modal { padding: 26px 20px 22px; } }

/* Testimonials */
.testimonial-card { border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 30px; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.testimonial-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; margin-bottom: 12px; }
.testimonial-card .quote { flex: 1; font-size: 0.98rem; color: var(--navy-dark); font-style: italic; margin-bottom: 20px; }
.testimonial-card .client-row { display: flex; align-items: center; gap: 12px; }
.testimonial-card .client-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--mist); flex-shrink: 0; }
.testimonial-card .client-avatar-fallback { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.testimonial-card .client-name { font-weight: 700; color: var(--navy-dark); font-size: 0.92rem; }
.testimonial-card .client-meta { font-size: 0.82rem; color: var(--muted); }

/* Scrollable testimonials carousel -- real native scroll (drag/swipe/trackpad/wheel all
   work), not the transform-animated marquee used elsewhere, so it stays genuinely
   interactive rather than just auto-playing. */
.testimonials-scroll-wrap { position: relative; }
.testimonials-scroll {
  display: flex; justify-content: center; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 6px 4px 18px; margin: 0 -4px;
  scrollbar-width: none;
}
.testimonials-scroll::-webkit-scrollbar { display: none; }
.testimonials-scroll .testimonial-card { flex: 0 0 min(340px, 84vw); height: 300px; scroll-snap-align: start; }
.testimonials-scroll .testimonial-card .quote {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden;
}
.testimonials-nav { display: flex; justify-content: center; gap: 12px; margin-top: 6px; }
.testimonials-nav-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--navy-dark); font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.testimonials-nav-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.testimonials-nav-btn:disabled { opacity: .35; cursor: default; transform: none; box-shadow: var(--shadow-sm); }

/* Blog */
.blog-card { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; }
.blog-card .blog-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card .blog-card-date { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.blog-post-body { font-size: 1.02rem; line-height: 1.75; }
.blog-post-body h2 { margin-top: 2em; }
.blog-post-body img { max-width: 100%; border-radius: var(--radius-md); }

/* Badges by division accent */
.accent-marketing { --card-color: var(--accent-marketing); }
.accent-personnel { --card-color: var(--accent-personnel); }
.accent-events { --card-color: var(--accent-events); }
.accent-productions { --card-color: var(--accent-productions); }
.accent-travel { --card-color: var(--accent-travel); }
.accent-customs { --card-color: var(--accent-customs); }
.accent-costarini { --card-color: var(--accent-costarini); }
.accent-accounting { --card-color: var(--accent-accounting); }
.text-accent-marketing { color: var(--accent-marketing); }
.text-accent-personnel { color: var(--accent-personnel); }
.text-accent-events { color: var(--accent-events); }
.text-accent-productions { color: var(--accent-productions); }
.text-accent-travel { color: var(--accent-travel); }
.text-accent-customs { color: var(--accent-customs); }
.text-accent-costarini { color: var(--accent-costarini); }
.text-accent-accounting { color: var(--accent-accounting); }

/* ---------------------------------------------------------------------- */
/* Spotlight feature section (division "most popular" showcase)          */
/* ---------------------------------------------------------------------- */
.spotlight {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); isolation: isolate;
  background: linear-gradient(125deg, var(--accent-marketing) 0%, #ff8a5c 45%, #7a4de8 130%);
  padding: 54px 40px; color: #fff; box-shadow: var(--shadow-lg);
}
.spotlight::before, .spotlight::after {
  content: ''; position: absolute; z-index: -1; border-radius: 50%; opacity: .35; filter: blur(2px);
}
.spotlight::before { width: 280px; height: 280px; background: #fff; top: -120px; right: -80px; opacity: .12; }
.spotlight::after { width: 200px; height: 200px; background: #fff; bottom: -100px; left: -60px; opacity: .1; }
.spotlight-ribbon {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.35); padding: 7px 16px 7px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px;
}
.spotlight h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
.spotlight p.lead { color: rgba(255,255,255,.92); max-width: 640px; }
.spotlight-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.spotlight-chip {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.spotlight-chip svg { width: 16px; height: 16px; flex-shrink: 0; }
.spotlight .btn-white { background: #fff; color: var(--accent-marketing); font-weight: 700; }
.spotlight .btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.spotlight .btn-outline-white { border: 2px solid rgba(255,255,255,.7); color: #fff; font-weight: 700; }
.spotlight .btn-outline-white:hover { background: rgba(255,255,255,.14); }

/* Tilting service cards */
.tilt-card {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.tilt-card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: var(--shadow-lg); border-color: transparent; }
.tilt-card .icon-badge { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px; }
.tilt-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.tilt-card ul li { padding: 6px 0 6px 22px; position: relative; font-size: .92rem; color: var(--muted); }
.tilt-card ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--card-color, var(--navy)); }

/* Scrolling tech/skills strip */
.skills-marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.skills-marquee-track { display: flex; align-items: center; gap: 14px; width: max-content; animation: trusted-marquee-scroll 26s linear infinite; }
.skills-marquee:hover .skills-marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .skills-marquee-track { animation: none; } }
.skill-pill {
  flex-shrink: 0; padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: .92rem; color: var(--navy-dark); box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) {
  .spotlight { padding: 36px 22px; }
  .spotlight h2 { font-size: 1.5rem; }
}

.coming-soon-badge {
  display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--gold); color: var(--navy-dark); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
}

/* ---------------------------------------------------------------------- */
/* Forms                                                                   */
/* ---------------------------------------------------------------------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--navy-dark); }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }

.address-autocomplete-wrap { position: relative; }
.address-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 50; margin-top: 4px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); max-height: 260px;
  overflow-y: auto; padding: 6px;
}
.address-suggestion {
  display: block; width: 100%; text-align: left; background: transparent; border: none; padding: 10px 12px;
  border-radius: var(--radius-sm); font-size: .86rem; color: var(--ink); cursor: pointer; box-shadow: none;
}
.address-suggestion:hover, .address-suggestion:focus { background: var(--mist); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time], input[type=password], input[type=search], select, textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); font-family: var(--font-body);
  font-size: .95rem; background: #fcfdfe; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 4px rgba(11,110,153,.12); }
textarea { min-height: 130px; resize: vertical; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 3px; }
.pricing-filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; max-width: 900px; margin: 0 auto 6px;
  background: var(--mist); padding: 16px 20px; border-radius: var(--radius-md);
}
.pricing-filter-bar input[type=text], .pricing-filter-bar select { margin-bottom: 0; }
.pricing-filter-bar .checkbox-row { align-items: center; }
.pricing-filter-bar .checkbox-row input { margin-top: 0; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: #e7f7ee; color: var(--success); border: 1px solid #bfe9d1; }
.alert-error { background: #fbeaea; color: var(--danger); border: 1px solid #f2c4c4; }
.alert-info { background: var(--mist); color: var(--navy); border: 1px solid var(--line); }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.78); padding: 44px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; display: flex; align-items: center; gap: 6px; }
.site-footer p { font-size: .88rem; margin-bottom: 12px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand img { height: 50px; margin-bottom: 10px; filter: brightness(0) invert(1); }
.social-row { display: flex; gap: 8px; margin-top: 12px; }
.social-row a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .15s ease, transform .15s ease; }
.social-row a svg { width: 15px; height: 15px; }
.social-row a:hover { background: var(--gold); transform: translateY(-3px); color: var(--navy-dark); }
.footer-bottom { padding: 14px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.55); }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------- */
/* Cookie banner                                                          */
/* ---------------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 900; max-width: 560px;
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 22px 24px;
  border: 1px solid var(--line); display: none;
}
.cookie-banner.show { display: block; animation: slideUp .35s ease; }
.cookie-banner p { font-size: .88rem; margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------------- */
/* WhatsApp floating button                                               */
/* ---------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 850; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  animation: pulse 2.4s infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------------------------------------------------------------------- */
/* Promo popup modal                                                      */
/* ---------------------------------------------------------------------- */
.promo-overlay { position: fixed; inset: 0; background: rgba(3,20,29,.6); z-index: 950; display: none; align-items: center; justify-content: center; padding: 20px; }
.promo-overlay.show { display: flex; animation: fadeIn .25s ease; }
.promo-modal { background: #fff; border-radius: var(--radius-lg); max-width: 480px; width: 100%; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.promo-modal img { width: 100%; max-height: 220px; object-fit: cover; }
.promo-modal-body { padding: 30px; }
.promo-code-box { background: var(--mist); border: 1px dashed var(--navy); border-radius: var(--radius-md); padding: 14px 16px; margin: 16px 0; text-align: center; }
.promo-code-label { display: block; font-weight: 700; color: var(--navy-dark); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.promo-code-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.promo-code-row code { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: .05em; }
.promo-modal { max-height: calc(100vh - 40px); overflow-y: auto; }
.promo-modal [hidden] { display: none !important; }
.promo-claim-form { margin-top: 14px; text-align: left; }
.promo-claim-form .form-row { gap: 12px; }
.promo-claim-form .field { margin-bottom: 12px; }
.promo-claim-form textarea { min-height: 90px; }
.promo-claim-intro { font-size: .92rem; margin: 0 0 12px; }
.promo-claim-error { background: #fdecec; color: #8b1f1f; border-radius: var(--radius-md); padding: 10px 12px; font-size: .86rem; margin-bottom: 12px; }
.promo-claim-fineprint { font-size: .74rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.promo-claim-expires { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.promo-claim-success p { margin: 0; font-size: .92rem; }
.promo-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
@media (max-width: 560px) { .promo-claim-form .form-row { grid-template-columns: 1fr; } .promo-modal-body { padding: 22px; } }
.promo-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; z-index: 2; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------------- */
/* Client portal tabs                                                     */
/* ---------------------------------------------------------------------- */
.portal-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 6px; }
.portal-tab { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); background: var(--mist); transition: all .15s ease; }
.portal-tab:hover { background: var(--cloud); color: var(--navy); }
.portal-tab.active { background: var(--navy); color: #fff; }
.avail-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.avail-legend span { display: inline-flex; align-items: center; gap: 6px; }
.avail-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Shared month-grid calendar, used by both the admin booking calendar and the client portal calendar */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-head { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }
.cal-cell { min-height: 110px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #fff; }
.cal-cell-empty { border: none; background: transparent; }
.cal-today { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(232,163,61,.25) inset; }
.cal-daynum { font-weight: 700; font-size: .82rem; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cal-booking { display: block; background: var(--mist); border-radius: 6px; padding: 4px 6px; font-size: .72rem; margin-bottom: 4px; color: var(--navy-dark); cursor: grab; }
.cal-booking:hover { background: var(--cloud); }
.cal-booking-dragging { opacity: .4; }
.cal-drop-target { background: rgba(3,76,107,.08); box-shadow: 0 0 0 2px var(--navy) inset; }
.cal-blocked { background: repeating-linear-gradient(135deg, var(--mist), var(--mist) 8px, #fff 8px, #fff 16px); }
@media (max-width: 900px) { .cal-cell { min-height: 70px; font-size: .8rem; } }
/* Below ~680px, 7 evenly-flexed columns squeeze each day too narrow to hold its content
   (a "BLOCKED FROM 12:00" pill, event chips) without either wrapping illegibly or forcing
   the grid wider than its own column tracks allow -- which, combined with overflow-x:hidden
   on body, was making Saturday/Sunday effectively disappear rather than just look cramped.
   Give the grid a real min-width and let this wrapper scroll horizontally instead, same
   pattern as .table-scroll uses for wide data tables. */
.cal-grid-scroll { overflow-x: auto; }
@media (max-width: 680px) { .cal-grid { min-width: 640px; } }

/* Internal team calendar events (meetings/tasks, distinct from client bookings) -- month/week/day/agenda views */
.cal-view-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cal-view-tabs a { padding: 6px 14px; border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); }
.cal-view-tabs a:hover { color: var(--navy-dark); }
.cal-view-tabs a.active { background: var(--navy-dark); color: #fff; border-color: var(--navy-dark); }
.cal-event { display: block; background: #eaf3ec; border-left: 3px solid var(--success); border-radius: 6px; padding: 4px 6px; font-size: .72rem; margin-bottom: 4px; color: var(--navy-dark); }
.cal-event:hover { background: #dcefe1; }
.cal-event-pending { border-left-color: var(--gold); }
.cal-week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.cal-week-day { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; min-height: 160px; }
.cal-week-day.cal-today { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(232,163,61,.25) inset; }
.cal-week-day-head { font-weight: 700; font-size: .8rem; margin-bottom: 8px; }
@media (max-width: 900px) { .cal-week-grid { grid-template-columns: 1fr; } }
.cal-agenda-group { margin-bottom: 18px; }
.cal-agenda-date { font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.cal-agenda-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; border-bottom: 1px solid var(--mist); border-radius: 6px; }
.cal-agenda-item:hover { background: var(--mist); }
.cal-agenda-time { font-size: .78rem; color: var(--muted); min-width: 76px; flex-shrink: 0; }

/* Speedometer-style circular stat gauges (client portal dashboard) */
.stat-gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-bottom: 26px; }
.stat-gauge { display: flex; flex-direction: column; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 14px; }
.stat-gauge-ring {
  width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background 0.6s ease;
}
.stat-gauge-inner {
  width: 86px; height: 86px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
}
.stat-gauge-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--navy-dark); }
.stat-gauge-label { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; text-align: center; }

/* ---------------------------------------------------------------------- */
/* PWA install banner                                                     */
/* ---------------------------------------------------------------------- */
.install-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 880; max-width: 360px;
  background: var(--navy-dark); color: #fff; padding: 16px 18px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 10px; font-size: .88rem;
  animation: slideUp .35s ease;
}
.install-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------------------------------------------------------------------- */
/* Misc utility                                                           */
/* ---------------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 20px; }
.stat { }
.stat .num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.stat .label { font-size: .82rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; }
.badge-award { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 600; color: var(--navy-dark); }

/* Long-form rich text (division bodies, legal pages) */
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--navy); }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; color: var(--muted); }
.prose p { color: var(--muted); }
.prose strong { color: var(--ink); }
.legal-doc { max-width: 820px; margin: 0 auto; }
.legal-doc h2 { margin-top: 1.8em; font-size: 1.3rem; }
.legal-doc ol { padding-left: 1.3em; }
.legal-doc ol > li { margin-bottom: 14px; color: var(--muted); }
/* Long statutory documents: a compact contents block, definition lists, and a header meta strip */
.legal-contents { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 22px; margin: 0 0 28px; font-size: .92rem; }
.legal-contents h3 { margin: 0 0 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.legal-contents ol { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.2em; }
@media (max-width: 640px) { .legal-contents ol { columns: 1; } }
.legal-contents li { margin-bottom: 4px; break-inside: avoid; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; color: var(--muted); margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.legal-meta strong { color: var(--ink); }
.legal-doc dl.definitions { margin: 0 0 1.4em; }
.legal-doc dl.definitions dt { font-weight: 600; color: var(--ink); margin-top: 10px; }
.legal-doc dl.definitions dd { margin: 2px 0 0 0; color: var(--muted); }
.legal-doc .law-refs { font-size: .9rem; }
.legal-doc .law-refs li { margin-bottom: 8px; }
.legal-doc table.admin-table td { color: var(--muted); font-size: .9rem; }
.meta-updated { font-size: .82rem; color: var(--muted); margin-bottom: 30px; display: block; }

.trusted-marquee {
  overflow: hidden; width: 100%; margin-top: 26px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.trusted-marquee-track { display: flex; align-items: flex-start; gap: 44px; width: max-content; animation: trusted-marquee-scroll 32s linear infinite; }
.trusted-marquee:hover .trusted-marquee-track { animation-play-state: paused; }
@keyframes trusted-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trusted-marquee-track { animation: none; } }

.trusted-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; width: 112px; text-decoration: none; }
.trusted-logo-circle {
  width: 78px; height: 78px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.trusted-logo:hover .trusted-logo-circle { transform: translateY(-4px) scale(1.06); box-shadow: var(--shadow-md); }
.trusted-logo-circle img { width: 42px; height: 42px; object-fit: contain; }
.trusted-logo-name {
  font-size: .82rem; font-weight: 600; color: var(--navy-dark); text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

.page-loader-overlay {
  position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 18px; background: rgba(2,46,66,.94); backdrop-filter: blur(4px);
}
.page-loader-overlay.show { display: flex; }
.page-loader-badge { position: relative; width: 92px; height: 92px; display: flex; align-items: center; justify-content: center; }
.page-loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold) 0deg, transparent 110deg, var(--gold-light) 260deg, var(--gold) 360deg);
  animation: page-loader-spin 1s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
}
.page-loader-logo { width: 62px; height: 62px; object-fit: contain; border-radius: 50%; background: #fff; padding: 8px; box-sizing: border-box; animation: page-loader-pulse 1.3s ease-in-out infinite; position: relative; z-index: 1; filter: drop-shadow(0 0 10px rgba(232,163,61,.55)); }
.page-loader-text { color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .8; }
@keyframes page-loader-spin { to { transform: rotate(360deg); } }
@keyframes page-loader-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }

.password-field-wrap { position: relative; }
.password-field-wrap input { padding-right: 44px !important; }
.password-toggle-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px;
  background: transparent; border: none; box-shadow: none; padding: 6px; cursor: pointer; color: var(--muted);
  display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: color .15s ease, background .15s ease;
}
.password-toggle-btn:hover { color: var(--navy); background: var(--mist); }
.password-toggle-btn svg { width: 18px; height: 18px; }
.password-strength-meter { height: 4px; border-radius: 999px; background: var(--line); margin: 7px 0 16px; overflow: hidden; }
.password-strength-bar { height: 100%; width: 0%; border-radius: 999px; transition: width .2s ease, background .2s ease; }

/* Notification bell */
.notif-bell-wrap { position: relative; }
.notif-bell-btn { position: relative; background: transparent; border: none; box-shadow: none; cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center; color: inherit; }
.notif-bell-btn svg { width: 20px; height: 20px; }
.notif-badge {
  position: absolute; top: 2px; right: 2px; background: var(--danger); color: #fff; font-size: .62rem; font-weight: 800;
  min-width: 16px; height: 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.notif-panel {
  position: absolute; top: 100%; right: 0; margin-top: 8px; width: 320px; max-height: 420px; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 600; display: none;
}
.notif-panel.show { display: block; }
.notif-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.notif-panel-header strong { font-size: .85rem; color: var(--navy-dark); }
.notif-panel-header a { font-size: .78rem; }
.notif-item { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; cursor: pointer; }
.notif-item:hover { background: var(--mist); }
.notif-unread { background: rgba(3,76,107,.05); }
.notif-item-title { font-weight: 600; font-size: .85rem; color: var(--navy-dark); }
.notif-item-body { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.notif-item-time { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.notif-empty { padding: 24px 14px; text-align: center; color: var(--muted); font-size: .85rem; }

/* Offline support on the public site (assets/js/offline.js, loaded on pages with queue-able forms). */
.offline-banner {
  display: none; position: sticky; top: 0; z-index: 500;
  background: #fdeccf; color: #8a5a00; padding: 10px 20px; font-size: .85rem; font-weight: 600;
  text-align: center; border-bottom: 1px solid #f0d9a8;
}
.offline-banner.show { display: block; }
.offline-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 1200;
  background: var(--navy, #034c6b); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: .88rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); max-width: min(92vw, 520px); text-align: center; transition: opacity .3s, transform .3s;
}
.offline-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------------- */
/* RVZ Accounting Software sales page (includes/partials/accounting-showcase.php) */
/* ---------------------------------------------------------------------- */
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-hero { padding: 70px 0 60px; background: #fff; }
.acc-hero-grid { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 48px; align-items: center; }
.acc-hero-logo { display: block; height: 58px; width: auto; margin: 0 0 18px; }
.acc-hero-grid h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.18; margin: 8px 0 14px; }
.acc-hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.acc-hero-points li { padding-left: 26px; position: relative; }
.acc-hero-points li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent-accounting); font-weight: 700; }
.acc-hero-shot { margin: 0; }
.acc-download .card { padding: 26px 22px; text-align: center; display: flex; flex-direction: column; }
.acc-download .card h3 { margin: 10px 0 4px; font-size: 1.1rem; }
.acc-download .card .hint { margin: 0 0 16px; flex: 1; }
.acc-download-current { border-color: var(--accent-accounting) !important; box-shadow: 0 18px 40px -24px rgba(15, 157, 122, .6); }
.acc-download-icon { font-size: 2rem; line-height: 1; color: var(--accent-accounting); }
.acc-hero-shot img, .acc-gallery-main img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(3, 20, 29, .45), 0 10px 24px -14px rgba(3, 20, 29, .25); background: #fff; }
.acc-hero-shot figcaption, .acc-gallery-caption { color: var(--muted); font-size: .85rem; margin-top: 12px; text-align: center; }
.acc-shot-link { display: block; cursor: zoom-in; }
.acc-features .card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.acc-features .card p { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.6; }
.acc-features .icon-badge.accent-accounting { background: rgba(15, 157, 122, .12); color: var(--accent-accounting); }

.acc-gallery { display: grid; grid-template-columns: 1fr; gap: 18px; }
.acc-gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.acc-thumb { background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 6px; cursor: pointer; text-align: center; font: inherit; color: var(--muted); font-size: .78rem; transition: border-color .15s, transform .15s; }
.acc-thumb img { display: block; width: 100%; height: auto; border-radius: 6px; margin-bottom: 6px; }
.acc-thumb.active, .acc-thumb:hover { border-color: var(--accent-accounting); color: var(--navy-dark); transform: translateY(-2px); }

.acc-billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 14px; }
.acc-billing-toggle button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .92rem; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.acc-billing-toggle button small { font-weight: 500; font-size: .72rem; color: var(--accent-accounting); margin-left: 4px; }
.acc-billing-toggle button.active { background: var(--navy-dark); color: #fff; }
.acc-billing-toggle button.active small { color: #9fe8d2; }
.acc-plans { align-items: stretch; }
.acc-plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.acc-plan.popular { border-color: var(--accent-accounting); box-shadow: 0 18px 40px -24px rgba(15, 157, 122, .6); }
.acc-plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-accounting); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.acc-plan h3 { margin: 0; font-size: 1.25rem; }
.acc-plan-tagline { color: var(--muted); font-size: .86rem; margin: 2px 0 12px; }
.acc-plan-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--navy-dark); margin: 0 0 14px; line-height: 1.1; }
.acc-plan-price small { font-family: var(--font-body); font-size: .82rem; font-weight: 500; color: var(--muted); }
.acc-plan ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; display: grid; align-content: start; gap: 7px; font-size: .88rem; color: var(--ink, #1f2d35); }
.acc-plan ul li { padding-left: 22px; position: relative; line-height: 1.45; }
.acc-plan ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-accounting); font-weight: 700; }
.acc-plan .hint { font-size: .78rem; margin: 8px 0 0; text-align: center; }

.acc-matrix-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.acc-matrix { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 700px; }
.acc-matrix th, .acc-matrix td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.acc-matrix thead th { background: var(--mist); font-weight: 700; color: var(--navy-dark); }
.acc-matrix tbody th { text-align: left; font-weight: 500; color: var(--ink, #1f2d35); width: 40%; }
.acc-matrix tbody tr:last-child th, .acc-matrix tbody tr:last-child td { border-bottom: 0; }
.acc-tick { color: var(--accent-accounting); font-weight: 700; font-size: 1.05rem; }
.acc-cross { color: #b8c2c8; }

.acc-trial { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.acc-trial h2 { margin: 8px 0 12px; }
.acc-trial p { color: var(--muted); }
.acc-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.acc-faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; color: var(--navy-dark); list-style: none; position: relative; padding-right: 30px; }
.acc-faq summary::-webkit-details-marker { display: none; }
.acc-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.3rem; color: var(--accent-accounting); }
.acc-faq details[open] summary::after { content: "\2013"; }
.acc-faq details p { margin: 0 0 16px; color: var(--muted); line-height: 1.65; }

.acc-lightbox { position: fixed; inset: 0; background: rgba(3, 20, 29, .86); z-index: 970; display: flex; align-items: center; justify-content: center; padding: 20px; }
.acc-lightbox[hidden] { display: none !important; }
.acc-lightbox-inner { position: relative; max-width: 1280px; width: 100%; text-align: center; }
.acc-lightbox-inner img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 12px; box-shadow: var(--shadow-lg); background: #fff; }
.acc-lightbox-inner p { color: #dbe6ec; margin: 12px 0 0; font-size: .9rem; }
.acc-lightbox .promo-close { position: absolute; top: -14px; right: -6px; background: #fff; width: 36px; height: 36px; border-radius: 50%; border: 0; font-size: 1.4rem; line-height: 36px; cursor: pointer; z-index: 2; }

@media (max-width: 960px) {
  .acc-hero-grid, .acc-trial { grid-template-columns: 1fr; gap: 28px; }
  .acc-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .acc-plans.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .acc-hero { padding: 44px 0 36px; }
  .acc-gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .acc-plans.grid-4 { grid-template-columns: 1fr; }
  .acc-plan { margin-top: 10px; }
}
