/* =============================================================================
   Ink Fusion DTF — Main Stylesheet
   Source of truth: project-state/design-system.json + design-tokens.json
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ----------------------------------------------------------------------------- */

:root {
  /* Colors — Brand */
  --color-primary:        #4DC9E6;
  --color-primary-dark:   #1B8FBE;
  --color-primary-light:  #7DDDF2;
  --color-primary-ghost:  rgba(77, 201, 230, 0.08);

  /* Colors — Neutral */
  --color-secondary:      #0D1B2A;
  --color-secondary-mid:  #1A3040;
  --color-900:            #111111;
  --color-800:            #333333;
  --color-600:            #757575;
  --color-400:            #BDBDBD;
  --color-300:            #E0E0E0;
  --color-200:            #F5F5F5;
  --color-100:            #FFFFFF;

  /* Colors — Accent */
  --color-accent:         #FF4D00;
  --color-accent-dark:    #CC3D00;

  /* Colors — Semantic */
  --color-success:        #22C55E;
  --color-warning:        #F59E0B;
  --color-error:          #EF4444;
  --color-info:           #3B82F6;

  /* Semantic aliases */
  --color-text:           var(--color-900);
  --color-text-muted:     var(--color-600);
  --color-bg:             var(--color-100);
  --color-bg-subtle:      var(--color-200);
  --color-bg-dark:        var(--color-secondary);
  --color-border:         var(--color-300);

  /* Typography */
  --font-heading:         'Montserrat', sans-serif;
  --font-body:            'Barlow', sans-serif;

  /* Font Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --max-width:      1200px;
  --max-width-wide: 1440px;
  --gutter:         24px;
  --section-py:     80px;
  --section-py-mob: 48px;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:   0 1px 2px rgba(0,0,0,0.08);
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.12);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg:   0 8px 30px rgba(0,0,0,0.18);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.22);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.10);

  /* Motion */
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --ease-default:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-enter:      cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;

  /* ── Gradient meshes ──────────────────────────────────────────────────────── */
  --gradient-hero:
    radial-gradient(ellipse 80% 60% at 72% 40%, rgba(77,201,230,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 55% at 18% 80%, rgba(77,201,230,0.08) 0%, transparent 55%),
    #fff;
  --gradient-dark-mesh:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(77,201,230,0.14) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(77,201,230,0.09) 0%, transparent 50%),
    var(--color-secondary);
  --gradient-cta-mesh:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(77,201,230,0.28) 0%, transparent 65%),
    var(--color-primary);

  /* ── Glassmorphism ────────────────────────────────────────────────────────── */
  --glass-bg:     rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-blur:   blur(12px);
}

/* -----------------------------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: var(--z-toast);
}
.skip-link:focus {
  top: var(--space-4);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* -----------------------------------------------------------------------------
   3. TYPOGRAPHY
   ----------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
}

/* Headings inside dark/primary sections inherit the section's white color */
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark h5, .section--dark h6,
.section--primary h1, .section--primary h2, .section--primary h3 {
  color: inherit;
}

/* Overline on dark sections — white text */
.section--dark .overline,
.service-hero .overline,
.cta-banner .overline {
  color: rgba(255,255,255,0.65);
}

/* Explicit light variant for section headers */
.section-header--light h2,
.section-header--light h3 {
  color: #fff;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 800; }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); font-weight: 700; }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; }

p { line-height: 1.625; }

.overline {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.4;
}

/* Display heading — editorial scale for hero h1 and hero-level sections */
.display-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.text-muted  { color: var(--color-text-muted); }
.text-white  { color: #fff; }
.text-center { text-align: center; }
.text-sm     { font-size: var(--text-sm); }
.text-lg     { font-size: var(--text-lg); }

/* -----------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   ----------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding-block: var(--section-py);
}

.section--subtle { background-color: var(--color-bg-subtle); }
.section--dark   {
  background: var(--gradient-dark-mesh);
  color: #fff;
}
.section--primary { background-color: var(--color-primary); color: #fff; }

@media (max-width: 768px) {
  .section { padding-block: var(--section-py-mob); }
}
@media (max-width: 480px) {
  .section { padding-block: var(--space-10); } /* 40px — tighter on small phones */
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-header .overline { margin-bottom: var(--space-3); display: inline-block; }
.section-header h2 { margin-bottom: var(--space-4); letter-spacing: -0.02em; }
.section-header p  { max-width: 60ch; margin-inline: auto; color: var(--color-text-muted); font-size: var(--text-lg); }

.section-header--left { text-align: left; }
.section-header--left p { margin-inline: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* -----------------------------------------------------------------------------
   5. BUTTONS
   ----------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn:active { transform: scale(0.97); }

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sizes */
.btn--sm { padding: 10px 18px; font-size: var(--text-sm); }
.btn--md { padding: 14px 28px; font-size: var(--text-base); min-width: 140px; }
.btn--lg { padding: 16px 36px; font-size: var(--text-lg); min-width: 180px; }
.btn--xl { padding: 20px 44px; font-size: var(--text-xl); min-width: 220px; }

/* Variants */
.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
              box-shadow var(--transition-fast), transform 0.2s var(--ease-bounce);
}
.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 8px 24px rgba(77,201,230,0.35);
  transform: translateY(-2px) scale(1.02);
}
.btn--primary:active { transform: translateY(0) scale(0.98) !important; }

.btn--secondary {
  background-color: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.btn--secondary:hover {
  background-color: var(--color-secondary-mid);
  border-color: var(--color-secondary-mid);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost:hover {
  background-color: var(--color-primary-ghost);
}

.btn--ghost-light {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--ghost-light:hover {
  background-color: rgba(255,255,255,0.12);
}

.btn--white {
  background-color: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn--white:hover {
  background-color: var(--color-200);
  box-shadow: var(--shadow-md);
}

.btn--full { width: 100%; }

/* Button group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.btn-group--center { justify-content: center; }

@media (max-width: 768px) {
  .btn-group { justify-content: center; }
}
@media (max-width: 480px) {
  .btn-group { flex-direction: column; align-items: center; }
  .btn-group .btn { width: 100%; max-width: 320px; }
}

/* -----------------------------------------------------------------------------
   6. TOP BAR
   ----------------------------------------------------------------------------- */

.top-bar {
  background-color: var(--color-secondary);
  color: #fff;
  min-height: 40px;
  height: auto;
  display: flex;
  align-items: center;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  width: 100%;
  font-size: var(--text-sm);
  padding-block: var(--space-2);
}

.top-bar__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.top-bar__left a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}
.top-bar__left a:hover { opacity: 1; }

.top-bar__right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-primary-light);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .top-bar__inner {
    justify-content: center;
    text-align: center;
  }
  .top-bar__left { justify-content: center; }
  .top-bar__right { justify-content: center; }
}

@media (max-width: 480px) {
  .top-bar { display: none; }
}

/* -----------------------------------------------------------------------------
   7. SITE HEADER
   ----------------------------------------------------------------------------- */

.site-header {
  background-color: #fff;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

/* Container inside the header must fill the full 80px so height:100%
   on site-header__inner resolves correctly and content centres vertically */
.site-header > .container {
  height: 100%;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: var(--space-6);
}

/* Dissolve site-nav so its children (links + button) become
   independent grid items — links fill the middle column centred,
   button sits in the rightmost column */
.site-nav { display: contents; }
.site-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
}
.site-nav > .btn { justify-self: end; }

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-secondary);
  text-decoration: none;
}

.site-header__logo-mark {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 800;
  flex-shrink: 0;
}

/* .site-nav layout handled by display:contents above */

.site-nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--color-primary);
}
.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

/* Hamburger — use .site-header prefix to beat any theme overrides */
.site-header .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
}
.site-header .nav-toggle:hover { background-color: var(--color-bg-subtle); }

/* Mobile nav overlay */
.mobile-nav {
  display: none !important;
  position: fixed;
  inset: 0;
  background-color: var(--color-secondary);
  background-image: radial-gradient(ellipse at 10% 80%, rgba(77,201,230,0.12) 0%, transparent 55%);
  z-index: var(--z-modal);
  flex-direction: column;
  padding: var(--space-8) var(--gutter);
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex !important; }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav__header .site-header__logo { color: #fff; }
.mobile-nav__header .site-header__logo-mark { background-color: var(--color-primary); }
.mobile-nav__close { color: rgba(255,255,255,0.7); }
.mobile-nav__close:hover { color: #fff; }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.mobile-nav__link:hover { color: var(--color-primary); padding-left: var(--space-3); }

.mobile-nav__cta { margin-top: var(--space-8); }

@media (max-width: 1024px) {
  .site-nav__links { display: none !important; }
  .site-nav .btn { display: none !important; }
  .site-header .nav-toggle { display: flex !important; }
}

@media (max-width: 768px) {
  .site-header { height: 64px; }
}

/* -----------------------------------------------------------------------------
   8. PAGE HERO (Interior pages)
   ----------------------------------------------------------------------------- */

.page-hero {
  background: var(--gradient-dark-mesh);
  color: #fff;
  padding-block: var(--space-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero--sm { padding-block: var(--space-16); }
.page-hero--lg { padding-block: var(--space-24); }

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
}

.page-hero__content { position: relative; z-index: 1; }

.page-hero .overline { margin-bottom: var(--space-3); display: inline-block; }

.page-hero h1 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin-inline: auto;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-4);
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { opacity: 0.4; }

/* -----------------------------------------------------------------------------
   9. CARDS
   ----------------------------------------------------------------------------- */

/* Service Card */
.service-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-top-color var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--color-primary);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--color-primary-ghost);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}
.service-card__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.625;
  flex: 1;
}

/* Testimonial Card */
.testimonial-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--color-warning);
}
.testimonial-card__quote {
  font-style: italic;
  line-height: 1.625;
  flex: 1;
  color: var(--color-800);
}
.testimonial-card__author {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.testimonial-card__role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Value Card */
.value-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.value-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.value-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
}
.value-card__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.625;
}

/* Contact Card */
.contact-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
}
.contact-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
}
.contact-card__value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
}
.contact-card__note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Info Panel */
.info-panel {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.info-panel__item { display: flex; flex-direction: column; gap: var(--space-1); }
.info-panel__label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.info-panel__value {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.625;
}
.info-panel__value a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}
.info-panel__value a:hover { color: var(--color-primary-dark); text-decoration: underline; }

/* Callout Box */
.callout {
  background-color: var(--color-bg-subtle);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
}
.callout__icon { font-size: 1.5rem; margin-bottom: var(--space-3); display: block; }
.callout__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.callout p { color: var(--color-800); margin-bottom: var(--space-6); }

/* Stat pill */
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-bg-subtle);
  color: var(--color-secondary);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   10. TRUST BAR
   ----------------------------------------------------------------------------- */

.trust-bar {
  background-color: var(--color-bg-subtle);
  padding-block: var(--space-6);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.trust-item i,
.trust-item svg,
.trust-item__icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.trust-item__text,
.trust-item {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .trust-bar__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
}

/* -----------------------------------------------------------------------------
   11. CTA BANNER
   ----------------------------------------------------------------------------- */

.cta-banner {
  background: var(--gradient-cta-mesh);
  background-image:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(255,100,0,0.28) 0%, transparent 65%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-color: var(--color-primary);
  background-size: auto, 200px 200px;
  padding-block: var(--space-20);
  text-align: center;
  clip-path: polygon(0 6%, 100% 0%, 100% 94%, 0% 100%);
  margin-block: calc(-1 * var(--space-8));
  padding-block: calc(var(--space-20) + var(--space-8));
  position: relative;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  margin-bottom: var(--space-4);
}
.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* -----------------------------------------------------------------------------
   12. PROCESS STEPS
   ----------------------------------------------------------------------------- */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

.process-steps--3col { grid-template-columns: repeat(3, 1fr); }

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  position: relative;
  padding-top: var(--space-12);
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 1px;
  border-top: 1px dashed var(--color-border);
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.1;
  line-height: 1;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.process-step__icon {
  width: 52px;
  height: 52px;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}
.process-step__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
}
.process-step__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.625;
}

@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
}
@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------------------
   13. FORM ELEMENTS
   ----------------------------------------------------------------------------- */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}
.form-label--required::after {
  content: ' *';
  color: var(--color-error);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  height: 48px;
  padding: 0 var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-textarea {
  height: auto;
  min-height: 140px;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
  line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(77,201,230,0.2);
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: var(--color-error);
}

.form-error {
  font-size: var(--text-sm);
  color: var(--color-error);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 768px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* CF7 placeholder */
.cf7-placeholder {
  background-color: var(--color-bg-subtle);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
}
.cf7-placeholder__label {
  display: inline-block;
  background-color: var(--color-warning);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.cf7-placeholder p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* -----------------------------------------------------------------------------
   14. FAQ ACCORDION
   ----------------------------------------------------------------------------- */

.faq-section {
  margin-bottom: var(--space-12);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  gap: var(--space-4);
  color: var(--color-text);
  transition: color var(--transition-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-primary); }

.faq-item summary .chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-text-muted);
}

.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}
.faq-item[open] summary {
  color: var(--color-primary);
}

.faq-answer {
  padding-bottom: var(--space-5);
  padding-top: var(--space-2);
  max-width: 70ch;
  color: var(--color-800);
  line-height: 1.625;
  font-size: var(--text-base);
}

.faq-answer a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* FAQ category nav */
.faq-nav {
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 80px;
  z-index: var(--z-dropdown);
  padding-block: var(--space-3);
}

.faq-nav__inner {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

.faq-nav__tab {
  flex-shrink: 0;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.faq-nav__tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.faq-nav__tab.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.faq-nav__tab:focus { outline: none; }
.faq-nav__tab:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* FAQ search */
.faq-search {
  position: relative;
  max-width: 480px;
  margin: var(--space-6) auto 0;
}
.faq-search__icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  pointer-events: none;
}
.faq-search__input {
  width: 100%;
  height: 52px;
  padding-left: calc(var(--space-4) + 28px);
  padding-right: var(--space-4);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  transition: all var(--transition-fast);
}
.faq-search__input::placeholder { color: rgba(255,255,255,0.5); }
.faq-search__input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
  background-color: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .faq-search { display: none; }
}

/* Quick reference card */
.quick-ref-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
}
.quick-ref-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.quick-ref-card__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.quick-ref-card__label {
  font-weight: 600;
  color: var(--color-text);
  min-width: 180px;
  flex-shrink: 0;
}
.quick-ref-card__value { color: var(--color-text-muted); }

/* Application settings card */
.settings-card {
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-bg-subtle);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-8);
}
.settings-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.settings-card__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (max-width: 600px) {
  .settings-card__grid { grid-template-columns: 1fr; }
}
.settings-card__row {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-sm);
}
.settings-card__key { font-weight: 600; min-width: 100px; }
.settings-card__val { color: var(--color-text-muted); }

/* Timeline */
.turnaround-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: var(--space-8);
  overflow-x: auto;
}
.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  position: relative;
}
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  right: -50%;
  height: 2px;
  border-top: 2px dashed var(--color-border);
}
.timeline-step__dot {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-step__day { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; }
.timeline-step__label { font-size: var(--text-sm); font-weight: 600; font-family: var(--font-heading); }
@media (max-width: 600px) {
  .turnaround-timeline { flex-direction: column; gap: var(--space-4); }
  .timeline-step { flex-direction: row; text-align: left; }
  .timeline-step::after { display: none; }
}

/* -----------------------------------------------------------------------------
   15. CAPABILITY TABLE
   ----------------------------------------------------------------------------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.spec-table th {
  background-color: var(--color-secondary);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.spec-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-800);
}
.spec-table td:first-child { font-weight: 600; color: var(--color-text); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background-color: var(--color-bg-subtle); }

/* -----------------------------------------------------------------------------
   16. SOCIAL ICONS
   ----------------------------------------------------------------------------- */

.social-links {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
}
.social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(77,201,230,0.08);
}

/* -----------------------------------------------------------------------------
   17. SITE FOOTER
   ----------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--color-secondary);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-16);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.footer-brand__logo-mark {
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--text-base);
  font-weight: 800;
}
.footer-brand__tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 28ch;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--color-primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--color-primary); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.site-footer__copy { font-size: var(--text-sm); }
.site-footer__legal {
  display: flex;
  gap: var(--space-6);
}
.site-footer__legal a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
.site-footer__legal a:hover { color: #fff; }

@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* -----------------------------------------------------------------------------
   18. UTILITY
   ----------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge--primary { background-color: var(--color-primary); color: #fff; }
.badge--secondary { background-color: var(--color-secondary); color: #fff; }
.badge--warning { background-color: var(--color-warning); color: #fff; }
.badge--success { background-color: var(--color-success); color: #fff; }

.blockers-note {
  background-color: #fff8e6;
  border: 1.5px solid var(--color-warning);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  color: #7c4f00;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.blockers-note svg { flex-shrink: 0; margin-top: 1px; }

/* mb helpers */
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

/* =============================================================================
   19. HOME PAGE SECTION GRIDS
   ============================================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.why-item { text-align: center; }
.why-item i, .why-item svg {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  margin: 0 auto var(--space-4);
  display: block;
}
.why-item__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-2);
}
.why-item__body { font-size: var(--text-sm); color: rgba(255,255,255,0.7); line-height: 1.65; }

.gallery-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.gallery-teaser-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-bg-subtle);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-400);
  font-size: var(--text-xs);
  text-align: center;
  transition: transform var(--transition-base);
}
.gallery-teaser-item:hover { transform: scale(1.02); }
.gallery-teaser-item span { display: block; padding: var(--space-4); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  /* Home page section grids — single column on small phones */
  .gallery-teaser-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   20. HERO — HOME PAGE
   ============================================================================= */

.home-hero-section {
  background: var(--gradient-hero);
  overflow: hidden;
  position: relative;
}

/* Noise grain overlay */
.home-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

/* Dot grid background decoration */
.home-hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(77,201,230,0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.45) 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.45) 0%, transparent 70%);
  pointer-events: none;
}

/* Floating orbs — desktop only */
.hero-orb {
  position: absolute;
  border-radius: var(--radius-full);
  pointer-events: none;
  will-change: transform;
}
.hero-orb--1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(77,201,230,0.13) 0%, transparent 70%);
  top: -60px;
  right: 8%;
  animation: floatY 9s ease-in-out infinite;
}
.hero-orb--2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0,212,255,0.10) 0%, transparent 70%);
  bottom: 40px;
  right: 38%;
  animation: floatY 13s ease-in-out infinite reverse;
}

.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-20) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__overline { display: block; margin-bottom: var(--space-4); }

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero__title .text-accent {
  color: var(--color-accent);
  position: relative;
}

.hero__body {
  font-size: var(--text-lg);
  color: var(--color-800);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
.hero__micro span { display: flex; align-items: center; gap: var(--space-2); }

.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-400);
  animation: scrollBounce 2.2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(5px); opacity: 1; }
}

.hero__image-wrap {
  aspect-ratio: 1/1;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background-color: #0D1B2A;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-400);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-8);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 100svh;
    gap: var(--space-8);
    padding: calc(var(--space-20) + 16px) var(--gutter) var(--space-12);
    text-align: center;
  }
  .hero__title { font-size: var(--text-3xl); letter-spacing: -0.02em; }
  .hero__body { max-width: 100%; margin-inline: auto; }
  .hero__micro { justify-content: center; }
  .hero__scroll-hint { display: none; }
  .hero__image-wrap {
    width: 80%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1/1;
  }
  .home-hero-section::after { display: none; }
  .hero-orb { display: none; }
  .hero-bg-text { display: none; }
  /* Reduce reveal intensity on mobile */
  .reveal { transform: translateY(16px); transition-duration: 0.45s; }
}

/* =============================================================================
   21. SCROLL REVEAL ANIMATIONS
   ============================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-enter), transform 0.65s var(--ease-enter);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }
.reveal--delay-6 { transition-delay: 0.6s; }

/* Hero entrance (plays on load, not scroll) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-animate {
  animation: heroFadeUp 0.7s var(--ease-enter) both;
}
.hero-animate--d1 { animation-delay: 0.1s; }
.hero-animate--d2 { animation-delay: 0.25s; }
.hero-animate--d3 { animation-delay: 0.4s; }
.hero-animate--d4 { animation-delay: 0.55s; }
.hero-animate--d5 { animation-delay: 0.7s; }

/* ── Extended reveal variants ─────────────────────────────────────────────── */

.reveal--scale {
  opacity: 0;
  transform: scale(0.92) translateY(16px);
}
.reveal--scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-36px);
}
.reveal--left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(36px);
}
.reveal--right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@supports (clip-path: inset(0 0 0 0)) {
  .reveal--clip {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease-enter), opacity 0.35s var(--ease-enter);
  }
  .reveal--clip.is-visible {
    opacity: 1;
    clip-path: inset(0 0 0% 0);
  }
}

/* ── New keyframes ────────────────────────────────────────────────────────── */

@keyframes floatY {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-22px) rotate(2deg); }
  66%       { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

@keyframes gradientBorderSpin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77,201,230,0); }
  50%       { box-shadow: 0 0 0 10px rgba(77,201,230,0.14); }
}

@keyframes slideInTab {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes progressBar {
  from { width: 0%; }
  to   { width: 90%; }
}

/* ── Shimmer utility (skeleton loading) ──────────────────────────────────── */

.shimmer {
  background: linear-gradient(90deg,
    var(--color-bg-subtle) 25%,
    var(--color-300) 50%,
    var(--color-bg-subtle) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ── Price pulse — for live price updates ────────────────────────────────── */

.price-pulse {
  animation: pulseGlow 0.6s ease-out;
}

/* ── Page progress bar ───────────────────────────────────────────────────── */

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: calc(var(--z-toast) + 10);
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  width: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, width 0.35s var(--ease-enter);
}
.page-progress.is-loading {
  opacity: 1;
  animation: progressBar 0.8s var(--ease-enter) forwards;
}
.page-progress.is-done {
  width: 100% !important;
  opacity: 0;
  transition: width 0.2s, opacity 0.4s 0.2s;
}

/* ── Section diagonal dividers ───────────────────────────────────────────── */

.section-divider--diagonal {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  padding-bottom: calc(var(--section-py) + 64px);
}
.section-divider--diagonal-reverse {
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
  padding-top: calc(var(--section-py) + 64px);
  margin-top: -40px;
}
@media (max-width: 768px) {
  .section-divider--diagonal,
  .section-divider--diagonal-reverse {
    clip-path: none;
    padding-bottom: var(--section-py-mob);
    padding-top: var(--section-py-mob);
    margin-top: 0;
  }
}

/* ── Animated gradient border (featured pricing card) ────────────────────── */

.card--gradient-border {
  position: relative;
  z-index: 0;
}
.card--gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(270deg, var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 300% 300%;
  animation: gradientBorderSpin 4s ease infinite;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--scale, .reveal--left, .reveal--right, .reveal--clip,
  .hero-animate, .hero-orb, .shimmer, .price-pulse,
  .card--gradient-border::before {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* =============================================================================
   22. MOBILE FLOATING CTA BAR
   ============================================================================= */

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--color-secondary);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-3) var(--gutter);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

.mobile-cta-bar__trust {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 88px; }
}

/* ── Mobile form UX — prevent iOS zoom on focus ──────────────────────────── */
@media (max-width: 768px) {
  .form-input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
  textarea { resize: vertical; }
}

/* ── Touch targets — minimum 44px ────────────────────────────────────────── */
.gallery-filter-btn {
  min-height: 44px;
}
.faq-nav__tab {
  min-height: 48px;
}
.social-link {
  min-width: 44px;
  min-height: 44px;
}

/* ── Momentum scroll for horizontal nav bars ─────────────────────────────── */
.faq-nav__inner {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.faq-nav__inner::-webkit-scrollbar { display: none; }
.faq-nav__tab {
  scroll-snap-align: start;
  white-space: nowrap;
  flex-shrink: 0;
}

/* =============================================================================
   23. SCROLL TO TOP BUTTON
   ============================================================================= */

.scroll-top {
  position: fixed;
  bottom: calc(88px + var(--space-4));   /* clears the mobile-cta-bar height (88px) + gap */
  right: var(--space-6);
  z-index: 400;                          /* above mobile-cta-bar z-index of 300 */
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), background-color var(--transition-fast);
  pointer-events: none;
}
.scroll-top:hover { background: var(--color-primary-dark); }
.scroll-top:focus { outline: none; }
.scroll-top:focus-visible { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 2px; }
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 1025px) {
  /* On desktop the mobile-cta-bar is hidden — sit closer to the corner */
  .scroll-top { bottom: var(--space-8); }
}

/* =============================================================================
   24. PAGE-SPECIFIC COMPONENTS
   ============================================================================= */

/* --- Services page --- */
.service-nav {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 80px;
  z-index: var(--z-dropdown);
}
.service-nav__inner {
  display: flex;
  flex-wrap: wrap;
}
.service-nav__tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.service-nav__tab:hover { color: var(--color-primary); }
.service-nav__tab.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.service-hero {
  background: var(--color-secondary);
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: var(--space-16) 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.service-hero__content { max-width: 600px; position: relative; z-index: 1; }
.service-hero__content h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  margin: var(--space-3) 0 var(--space-5);
  color: #fff;
}
.service-hero__content p { font-size: var(--text-lg); color: rgba(255,255,255,0.85); margin-bottom: var(--space-8); }
.service-hero--dtf  { border-left: 6px solid var(--color-primary); }
.service-hero--gang { border-left: 6px solid var(--color-accent); }
.service-hero--custom { border-left: 6px solid var(--color-success); }

.grid-2-col { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-16); align-items: center; }
.grid-2-col--reverse { grid-template-columns: 2fr 3fr; }

.img-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
  border: 1.5px dashed var(--color-border);
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
}

.file-callout {
  background: var(--color-primary-ghost);
  border: 1.5px solid rgba(77,201,230,0.2);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-top: var(--space-8);
}
.file-callout h3 { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-4); }
.file-callout ul { padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.file-callout li { font-size: var(--text-sm); color: var(--color-800); line-height: 1.6; }
.file-callout .file-formats { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }
.file-format-badge {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xs);
  background: var(--color-secondary);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.pricing-placeholder {
  background: var(--color-bg-subtle);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
  color: var(--color-text-muted);
}
.pricing-placeholder i { display: block; margin: 0 auto var(--space-4); color: var(--color-400); }
.pricing-placeholder p { font-size: var(--text-sm); line-height: 1.7; }
.pricing-placeholder strong { color: var(--color-text); }

.persona-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.persona-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1.5px solid var(--color-border);
  text-align: center;
}
.persona-card i { color: var(--color-primary); margin-bottom: var(--space-4); display: block; }
.persona-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-xl); margin-bottom: var(--space-3); }
.persona-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

.gang-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.gang-step { text-align: center; }
.gang-step__num { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-4xl); color: var(--color-primary); display: block; margin-bottom: var(--space-2); }
.gang-step i { color: var(--color-secondary); display: block; margin: 0 auto var(--space-3); }
.gang-step h3 { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.gang-step p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; }

.trade-benefits { display: flex; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-8); }
.trade-benefit { display: flex; align-items: flex-start; gap: var(--space-4); flex: 1; min-width: 220px; }
.trade-benefit i { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.trade-benefit h4 { font-family: var(--font-heading); font-weight: 600; font-size: var(--text-base); margin-bottom: var(--space-1); }
.trade-benefit p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; }

.section-divider { border: none; border-top: 3px solid var(--color-primary); opacity: 0.15; margin: 0; }

.turnaround-table { width: 100%; border-collapse: collapse; margin-top: var(--space-6); }
.turnaround-table th, .turnaround-table td { padding: var(--space-4); border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); }
.turnaround-table th { font-family: var(--font-heading); font-weight: 600; background: var(--color-secondary); color: #fff; }
.turnaround-table td { color: var(--color-800); }

@media (max-width: 1024px) {
  .service-nav { top: 64px; }
  .faq-nav { top: 64px; }
  .grid-2-col, .grid-2-col--reverse { grid-template-columns: 1fr; }
  .persona-cards { grid-template-columns: 1fr; }
  .gang-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  /* Services/FAQ/Gang sheet — single column on phones */
  .gang-steps { grid-template-columns: 1fr; }
  /* Trade benefits — prevent min-width overflow on narrow screens */
  .trade-benefit { min-width: 0; width: 100%; }
}

/* --- Gallery page --- */
.gallery-filters-bar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
  position: sticky;
  top: 80px;
  z-index: var(--z-dropdown);
}
.gallery-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.gallery-filters__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-right: var(--space-2);
}
.gallery-filter-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.gallery-filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.gallery-filter-btn.is-active,
.gallery-filter-btn[aria-pressed="true"] {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.gallery-filter-btn:focus { outline: none; }
.gallery-filter-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.gallery-section { padding: var(--space-12) 0 var(--space-20); }

#gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  min-height: 300px;
}

.gallery-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-color: var(--color-bg-subtle);
}
.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}
.gallery-item:hover .gallery-item__img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
  padding: var(--space-4);
}
.gallery-item:hover .gallery-item__overlay { background: rgba(13,27,42,0.7); }
.gallery-item__overlay-text {
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.gallery-item:hover .gallery-item__overlay-text { opacity: 1; transform: translateY(0); }
.gallery-item__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-1); }
.gallery-item__view { font-size: var(--text-xs); color: rgba(255,255,255,0.8); }
.gallery-item__badge {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xs);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* gallery.js card class */
.gallery-card { position: relative; }
.gallery-card__btn { width: 100%; padding: 0; background: none; cursor: pointer; }
.gallery-card__img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  background: var(--color-bg-subtle);
}
.gallery-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-card__btn:hover .gallery-card__img-wrap img { transform: scale(1.06); }
.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}
.gallery-card__btn:hover .gallery-card__overlay { background: rgba(13,27,42,0.6); }
.gallery-card__overlay-label {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.gallery-card__btn:hover .gallery-card__overlay-label { opacity: 1; transform: translateY(0); }
.gallery-card__category { position: absolute; top: var(--space-2); left: var(--space-2); }

@media (max-width: 1024px) { #gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  #gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-filters-bar { top: 64px; padding-block: var(--space-3); }
}
@media (max-width: 400px) {
  /* Single-column gallery on very small phones (iPhone SE etc.) */
  #gallery-grid { grid-template-columns: 1fr; }
}

/* --- Pricing page --- */
.pricing-nav {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 80px;
  z-index: var(--z-dropdown);
}
.pricing-nav__inner { display: flex; flex-wrap: wrap; justify-content: center; }
.pricing-nav__tab {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-fast);
}
.pricing-nav__tab:hover { color: var(--color-primary); }
.pricing-nav__tab.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--featured {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-card__name { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.pricing-card__sub { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.pricing-card--featured .pricing-card__sub { color: rgba(255,255,255,0.7); }
.pricing-card__price { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-4xl); color: var(--color-primary); margin-bottom: var(--space-1); }
.pricing-card--featured .pricing-card__price { color: var(--color-primary-light); }
.pricing-card__price-note { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.pricing-card--featured .pricing-card__price-note { color: rgba(255,255,255,0.6); }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.pricing-card__features li { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-sm); }
.pricing-card__features li::before { content: '✓'; color: var(--color-primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-card--featured .pricing-card__features li { color: rgba(255,255,255,0.9); }

.info-callout {
  background: var(--color-primary-ghost);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-800);
  line-height: 1.7;
  margin: var(--space-8) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.info-callout i { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }

.pricing-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.pricing-table th, .pricing-table td { padding: var(--space-4); border-bottom: 1px solid var(--color-border); text-align: left; }
.pricing-table th { font-family: var(--font-heading); font-weight: 600; background: var(--color-secondary); color: #fff; }
.pricing-table tbody tr:nth-child(even) { background: var(--color-bg-subtle); }
.pricing-table td strong { color: var(--color-primary); }

@media (max-width: 1024px) { .pricing-cards { grid-template-columns: 1fr; } }
@media (max-width: 1024px) { .pricing-nav { top: 64px; } }

/* --- About page --- */
.story-section .grid-2 { grid-template-columns: 55fr 45fr; align-items: center; gap: var(--space-16); }
.story-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  background-color: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.story-stats { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.facility-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-bottom: var(--space-12); }
.facility-photo {
  aspect-ratio: 1/1;
  background-color: var(--color-bg-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-4);
}
.capabilities-grid { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-10); align-items: start; }
.trade-callout {
  background-color: var(--color-bg-subtle);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.trade-callout h4 { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-2); }
.trade-callout p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--space-6); }

@media (max-width: 768px) {
  .story-section .grid-2 { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .facility-photos { grid-template-columns: 1fr; }
}

/* --- Contact page --- */
.contact-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-bottom: 0; }
.form-panel-grid { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-10); align-items: start; }
.response-times { display: flex; flex-direction: column; gap: var(--space-3); }
.response-time-row { display: flex; justify-content: space-between; align-items: center; padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); }
.response-time-row:last-child { border-bottom: none; }
.response-time-row__label { font-weight: 600; color: var(--color-text); }
.response-time-row__value { color: var(--color-text-muted); }
.map-placeholder {
  background-color: var(--color-bg-subtle);
  border-radius: var(--radius-md);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--color-border);
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  text-align: center;
  flex-direction: column;
  gap: var(--space-2);
}
.faq-teaser-strip { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }

@media (max-width: 1024px) {
  .contact-methods-grid { grid-template-columns: 1fr; }
  .form-panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .faq-teaser-strip { flex-direction: column; align-items: flex-start; }
}

/* --- FAQ page --- */
.faq-layout { max-width: 800px; margin-inline: auto; }
.faq-category-section { padding-top: var(--space-16); scroll-margin-top: 140px; }
.faq-category-section + .faq-category-section { border-top: 2px solid var(--color-border); }
.faq-hidden { display: none !important; }
.no-results { text-align: center; padding: var(--space-12); color: var(--color-text-muted); display: none; }
.no-results.is-visible { display: block; }

/* ==========================================================
   HOMEPAGE — CINEMATIC REBUILD (Phase 1D)
   ========================================================== */

/* SECTION 1 — Cinematic hero */
.cine-hero {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(135deg, #0D1B2A 0%, #1A3040 60%, #0D1B2A 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: var(--space-16) 0 var(--space-20);
}
.cine-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.cine-hero__shapes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.cine-hero__rects { animation: cineDrift 18s ease-in-out infinite alternate; transform-origin: center; }
.cine-hero__dots circle { animation: cineDriftDots 14s ease-in-out infinite alternate; }
.cine-hero__watermark {
  position: absolute; right: -2%; bottom: -8%;
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(220px, 28vw, 420px);
  letter-spacing: -0.06em; line-height: 1; color: #4DC9E6; opacity: 0.04;
  white-space: nowrap; user-select: none;
}
.cine-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.45; will-change: transform; }
.cine-orb--cyan   { width: 460px; height: 460px; background: #4DC9E6; top: -120px; left: -100px;  animation: cineFloat 12s ease-in-out infinite; }
.cine-orb--slate  { width: 360px; height: 360px; background: #1B8FBE; bottom: -80px; right: 10%;   animation: cineFloat 16s ease-in-out infinite reverse; }
.cine-orb--accent { width: 240px; height: 240px; background: #FF4D00; opacity: 0.18; top: 30%; right: -60px; animation: cineFloat 20s ease-in-out infinite; }

@keyframes cineFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}
@keyframes cineDrift {
  0% { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(-12px,-18px) rotate(-1.5deg); }
}
@keyframes cineDriftDots {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-10px, 8px); }
}

.cine-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 60% 40%; gap: var(--space-10); align-items: center;
}
.cine-hero__copy .overline { color: var(--color-primary); }
.cine-hero__copy .hero__title {
  color: #fff;
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 1.05; font-weight: 800; letter-spacing: -0.025em;
  margin: var(--space-4) 0 var(--space-5);
}
.cine-hero__copy .hero__body {
  color: rgba(255,255,255,0.82); font-size: var(--text-lg);
  max-width: 580px; line-height: 1.6; margin-bottom: var(--space-8);
}

/* Mode pills */
.mode-pills { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); }
.mode-pill {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: flex-start;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--color-primary); color: #0D1B2A;
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-base);
  text-decoration: none; line-height: 1.1;
  border: 2px solid var(--color-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(77,201,230,0.25);
}
.mode-pill__label { display: block; font-weight: 700; }
.mode-pill__sub { display: block; font-size: 0.75rem; font-weight: 500; opacity: 0.7; letter-spacing: 0.02em; }
.mode-pill__arrow {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.2rem; transition: transform 0.2s ease, color 0.2s ease;
}
.mode-pill { padding-right: 50px; }
.mode-pill:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 28px rgba(77,201,230,0.4); }
.mode-pill:hover .mode-pill__arrow { transform: translate(4px, -50%); color: var(--color-accent); }
.mode-pill__badge {
  position: absolute; top: -10px; right: 14px;
  background: var(--color-accent); color: #fff;
  font-size: 0.625rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.mode-pill--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); box-shadow: none;
}
.mode-pill--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--color-primary); }
.mode-pill--solid {
  background: #fff; color: #0D1B2A; border-color: #fff;
}
.mode-pill--solid:hover { background: var(--color-primary); border-color: var(--color-primary); }

/* Trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center;
  color: rgba(255,255,255,0.78); font-size: var(--text-sm);
}
.trust-strip__item { display: inline-flex; align-items: center; gap: 6px; }
.trust-stars { color: #FFC857; letter-spacing: 1px; }
.trust-strip__sep { color: rgba(255,255,255,0.3); }

/* Cine hero visual (right) */
.cine-hero__visual { position: relative; aspect-ratio: 1/1; max-width: 460px; margin-left: auto; }
.cine-stack { position: absolute; inset: 0; }
.cine-stack__layer {
  position: absolute; border-radius: 18px;
  background: linear-gradient(135deg, rgba(77,201,230,0.18), rgba(27,143,190,0.05));
  border: 1px solid rgba(77,201,230,0.25);
  backdrop-filter: blur(8px);
}
.cine-stack__layer--1 { inset: 8% 12% 28% 8%; transform: rotate(-3deg); animation: cineFloat 8s ease-in-out infinite; }
.cine-stack__layer--2 { inset: 22% 6% 14% 22%; transform: rotate(2deg); background: linear-gradient(135deg, rgba(255,77,0,0.18), rgba(77,201,230,0.06)); border-color: rgba(255,77,0,0.25); animation: cineFloat 10s ease-in-out infinite reverse; }
.cine-stack__layer--3 { inset: 36% 18% 6% 12%; transform: rotate(-1deg); animation: cineFloat 12s ease-in-out infinite; }
.cine-stack__split {
  position: absolute; height: 4px; border-radius: 2px;
}
.cine-stack__split--cyan   { background: var(--color-primary); width: 50%; top: 30%; left: 18%; box-shadow: 0 0 24px var(--color-primary); }
.cine-stack__split--accent { background: var(--color-accent);  width: 30%; top: 64%; left: 38%; box-shadow: 0 0 24px var(--color-accent); }
.cine-stack__ring {
  position: absolute; width: 60%; height: 60%; top: 20%; left: 20%;
  border: 1px solid rgba(77,201,230,0.18); border-radius: 50%;
  animation: cineFloat 14s ease-in-out infinite reverse;
}

/* SECTION 2 — Counter ribbon */
.counter-ribbon {
  background: var(--color-primary);
  color: #0D1B2A;
  padding: var(--space-10) 0;
}
.counter-ribbon__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8);
  text-align: center;
}
.counter-ribbon__num {
  display: block;
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1;
  letter-spacing: -0.02em;
}
.counter-ribbon__label {
  display: block; margin-top: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0.78;
}

/* SECTION 3 — Mode rail (3 cards) */
.mode-rail__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-10);
}
.mode-card {
  position: relative;
  background: #fff; border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 16px; padding: var(--space-8);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex; flex-direction: column; gap: var(--space-3);
}
.mode-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(13,27,42,0.12);
  border-color: var(--color-primary);
}
.mode-card--featured {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(77,201,230,0.18);
}
.mode-card__icon {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--color-primary-ghost); color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.mode-card__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-xl); margin: 0; color: #0D1B2A; }
.mode-card__body { color: #475569; font-size: var(--text-base); margin: 0; line-height: 1.6; }
.price-chip {
  align-self: flex-start;
  background: rgba(77,201,230,0.12); color: var(--color-primary-dark);
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm);
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.02em;
}
.mode-card__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3); }
.mode-card__badge {
  position: absolute; top: -10px; right: var(--space-5);
  background: var(--color-accent); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.625rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}

/* SECTION 4 — Calculator */
.calc__shell {
  background: #fff; border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 18px; padding: var(--space-8);
  max-width: 760px; margin: var(--space-10) auto 0;
  box-shadow: 0 8px 24px rgba(13,27,42,0.06);
}
.calc__tabs { display: flex; gap: var(--space-2); border-bottom: 2px solid var(--color-border, #E5E7EB); margin-bottom: var(--space-6); }
.calc__tab {
  flex: 1;
  background: transparent; border: 0; padding: 12px 16px;
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-base);
  color: #64748B; cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.calc__tab:hover { color: #0D1B2A; }
.calc__tab.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.calc__panel { display: none; }
.calc__panel.is-active { display: block; }
.calc__controls { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-6); }
.calc__field { display: flex; flex-direction: column; gap: 8px; font-size: var(--text-sm); font-weight: 600; color: #0D1B2A; }
.calc__field select, .calc__field input[type="range"] {
  font: inherit; font-weight: 500; padding: 10px 12px;
  border: 1px solid var(--color-border, #E5E7EB); border-radius: 10px;
  background: #F8FAFC; color: #0D1B2A;
}
.calc__field input[type="range"] { padding: 0; height: 6px; appearance: none; background: linear-gradient(to right, var(--color-primary), var(--color-primary-light)); border: 0; }
.calc__radios { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.calc__radios legend { font-size: var(--text-sm); font-weight: 600; color: #0D1B2A; margin-bottom: var(--space-2); }
.calc__radios label {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 10px; cursor: pointer; font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.calc__radios label:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-ghost); }
.calc__result {
  background: linear-gradient(135deg, #0D1B2A, #1A3040);
  color: #fff; border-radius: 12px; padding: var(--space-6);
  text-align: center;
}
.calc__result-label { display: block; font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.calc__result-price { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); margin: 6px 0; color: var(--color-primary); }
.calc__result-note { display: block; font-size: var(--text-sm); opacity: 0.78; }
.calc__trust { text-align: center; font-size: var(--text-sm); color: #64748B; margin-top: var(--space-4); }
.calc__cta { text-align: center; margin-top: var(--space-6); }

/* SECTION 5 — Marquee */
.marquee-section { padding-bottom: var(--space-16); overflow: hidden; }
.marquee-row { overflow: hidden; padding: var(--space-3) 0; }
.marquee-row .gs-marquee { gap: var(--space-4); }
.marquee-tile {
  flex-shrink: 0;
  width: 180px; height: 180px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-heading); font-weight: 800;
  font-size: var(--text-2xl); letter-spacing: 0.04em;
  margin-right: var(--space-4);
  box-shadow: 0 8px 20px rgba(13,27,42,0.18);
}

/* === MARQUEE PHOTO TILES === */
.marquee-tile--photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: transparent;
}
.marquee-tile__caption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(13, 27, 42, 0.7);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SECTION 6 — Why band */
.why-band { position: relative; overflow: hidden; }
.why-band__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 80%; pointer-events: none;
  background: radial-gradient(circle, rgba(77,201,230,0.18) 0%, transparent 60%);
}

/* SECTION 7 — Trade callout (deeper navy) */
.trade-callout {
  background: #0A1420;
  color: #fff;
  padding: var(--space-20) 0;
  position: relative; overflow: hidden;
}
.trade-callout::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(77,201,230,0.12), transparent 60%);
  pointer-events: none;
}
.trade-callout__inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; text-align: center; }
.trade-callout__title {
  font-family: var(--font-heading); font-weight: 800; color: #fff;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em;
  margin: var(--space-3) 0 var(--space-5);
}
.trade-callout__body { color: rgba(255,255,255,0.78); font-size: var(--text-lg); line-height: 1.6; max-width: 640px; margin: 0 auto var(--space-8); }
.trade-callout__benefits {
  list-style: none; padding: 0; margin: 0 0 var(--space-8);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-6);
}
.trade-callout__benefits li { display: inline-flex; align-items: center; gap: 8px; color: var(--color-primary); font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.04em; text-transform: uppercase; }
.trade-callout__benefits li span { color: #fff; }
.trade-callout__cta {}

/* SECTION 8 — Process steps */
.process-step__circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--color-primary); color: #0D1B2A;
  font-family: var(--font-heading); font-weight: 800; font-size: var(--text-2xl);
  border-radius: 50%; box-shadow: 0 6px 16px rgba(77,201,230,0.35);
  margin-bottom: var(--space-3);
}

/* SECTION 9 — Testimonials carousel */
.testimonials .t-carousel { max-width: 760px; margin: var(--space-10) auto 0; }
.t-carousel__track { position: relative; min-height: 280px; }
.t-card {
  position: absolute; inset: 0;
  background: #fff; border: 1px solid var(--color-border, #E5E7EB);
  border-radius: 16px; padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-4);
  opacity: 0; pointer-events: none;
  box-shadow: 0 8px 24px rgba(13,27,42,0.06);
  transition: opacity 0.5s ease;
}
.t-card.is-active { opacity: 1; pointer-events: auto; position: relative; }
.t-card__stars { color: #FFC857; font-size: var(--text-lg); letter-spacing: 2px; }
.t-card__quote {
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-xl);
  line-height: 1.4; margin: 0; color: #0D1B2A; quotes: none;
}
.t-card__author { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; }
.t-card__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.04em;
}
.t-card__name { font-family: var(--font-heading); font-weight: 700; color: #0D1B2A; }
.t-card__role { color: #64748B; font-size: var(--text-sm); }
.t-card__badge {
  display: inline-block; margin-left: 6px;
  background: var(--color-primary-ghost); color: var(--color-primary-dark);
  font-size: 0.625rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; vertical-align: middle;
}
.t-carousel__dots { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-6); }
.t-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-border, #E5E7EB); border: 0; padding: 0;
  cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.t-dot.is-active { background: var(--color-primary); transform: scale(1.3); }

/* SECTION 10 — Final CTA banner */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1B8FBE 50%, #0D1B2A 100%);
  color: #fff;
  padding: var(--space-20) 0;
  text-align: center;
}
.final-cta__title {
  font-family: var(--font-heading); font-weight: 800; color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em;
  margin: var(--space-3) 0 var(--space-8);
}
.mode-pills--cta { justify-content: center; }

/* RESPONSIVE — homepage */
@media (max-width: 1024px) {
  .cine-hero__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .cine-hero__visual { max-width: 380px; margin: 0 auto; }
  .mode-rail__grid { grid-template-columns: 1fr; }
  .counter-ribbon__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
@media (max-width: 768px) {
  .cine-hero { min-height: auto; padding: var(--space-12) 0 var(--space-16); }
  .cine-hero__copy .hero__title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .mode-pills { flex-direction: column; align-items: stretch; }
  .mode-pill { width: 100%; }
  .trust-strip { justify-content: center; text-align: center; }
  .calc__controls { grid-template-columns: 1fr; }
  .calc__radios { grid-template-columns: 1fr; }
  .marquee-tile { width: 130px; height: 130px; font-size: var(--text-lg); }
  .trade-callout__benefits { gap: var(--space-3); flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .cine-hero { padding: var(--space-8) 0 var(--space-12); }
  .calc__shell { padding: var(--space-5); }
  .marquee-tile { width: 110px; height: 110px; font-size: var(--text-base); }
}

/* Reduced motion — kill marquee + orb animation */
@media (prefers-reduced-motion: reduce) {
  .cine-orb, .cine-hero__rects, .cine-hero__dots circle, .cine-stack__layer, .cine-stack__ring { animation: none !important; }
  .gs-marquee { animation: none !important; transform: none !important; }
  .marquee-row { overflow-x: auto; }
  .t-card { transition: none; }
}

/* ==========================================================
   SERVICES PAGE — CINEMATIC REBUILD (Phase 2)
   ========================================================== */

/* Sticky service tab nav */
.svc-tabs {
  position: sticky; top: 80px; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.svc-tabs__list {
  position: relative;
  display: flex; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) 0;
  list-style: none; margin: 0;
  overflow-x: auto; scrollbar-width: none;
}
.svc-tabs__list::-webkit-scrollbar { display: none; }
.svc-tabs__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm);
  color: var(--color-text-muted); text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.svc-tabs__link:hover { color: var(--color-primary); }
.svc-tabs__link.is-active {
  color: #0D1B2A;
  background: var(--color-primary-ghost, rgba(77,201,230,0.12));
}
.svc-tabs__active-bar {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--color-primary);
  border-radius: 2px 2px 0 0;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

/* Pillar section shell */
.svc-pillar {
  position: relative;
  padding: var(--space-20) 0;
  scroll-margin-top: 140px;
}
.svc-pillar--alt { background: var(--color-bg-subtle, #F8FAFC); }
.svc-pillar--dark {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A3040 100%);
  color: #fff;
}
.svc-pillar--dark .svc-pillar__title { color: #fff; }
.svc-pillar--dark .svc-pillar__lede { color: rgba(255,255,255,0.78); }

.svc-pillar__hero {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12); align-items: center;
  margin-bottom: var(--space-16);
}
.svc-pillar__overline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.svc-pillar__overline::before {
  content: ''; width: 28px; height: 2px; background: var(--color-primary); border-radius: 1px;
}
.svc-pillar__title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 var(--space-5);
  color: #0D1B2A;
}
.svc-pillar__lede {
  font-size: var(--text-lg); color: var(--color-text-muted);
  line-height: 1.6; margin-bottom: var(--space-6);
}
.svc-pillar__visual {
  position: relative; aspect-ratio: 1/1; max-width: 460px;
  margin-left: auto; width: 100%;
}

/* Pillar visual (abstract, mirrors hero) */
.svc-visual { position: absolute; inset: 0; }
.svc-visual__layer {
  position: absolute; border-radius: 18px;
  border: 1px solid rgba(77,201,230,0.25);
  background: linear-gradient(135deg, rgba(77,201,230,0.18), rgba(27,143,190,0.05));
  backdrop-filter: blur(8px);
  animation: cineFloat 11s ease-in-out infinite;
}
.svc-visual__layer--1 { inset: 8% 14% 30% 6%; transform: rotate(-3deg); }
.svc-visual__layer--2 {
  inset: 24% 4% 12% 24%; transform: rotate(2deg);
  background: linear-gradient(135deg, rgba(255,77,0,0.18), rgba(77,201,230,0.06));
  border-color: rgba(255,77,0,0.25);
  animation-delay: -3s; animation-duration: 13s; animation-direction: reverse;
}
.svc-visual__layer--3 { inset: 38% 18% 6% 14%; transform: rotate(-1deg); animation-duration: 15s; }
.svc-visual__split {
  position: absolute; height: 4px; border-radius: 2px;
}
.svc-visual__split--cyan { background: var(--color-primary); width: 50%; top: 30%; left: 18%; box-shadow: 0 0 24px var(--color-primary); }
.svc-visual__split--accent { background: var(--color-accent); width: 30%; top: 64%; left: 38%; box-shadow: 0 0 24px var(--color-accent); }
.svc-visual__ring {
  position: absolute; width: 60%; height: 60%; top: 20%; left: 20%;
  border: 1px solid rgba(77,201,230,0.18); border-radius: 50%;
  animation: cineFloat 14s ease-in-out infinite reverse;
}
.svc-pillar--dark .svc-visual__layer { border-color: rgba(77,201,230,0.4); }

/* Use case chips */
.svc-pillar__usecases {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin-bottom: var(--space-12);
}
.svc-pillar__usecase-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm);
  color: #0D1B2A;
  box-shadow: 0 2px 8px rgba(13,27,42,0.04);
}
.svc-pillar__usecase-chip i { color: var(--color-primary); }
.svc-pillar--dark .svc-pillar__usecase-chip {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

/* Specs grid */
.svc-specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5);
  margin-bottom: var(--space-12);
}
.svc-spec-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 16px; padding: var(--space-6);
  text-align: center;
  box-shadow: 0 4px 16px rgba(13,27,42,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(13,27,42,0.1);
  border-color: var(--color-primary);
}
.svc-spec-card__num {
  display: block;
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1;
  color: var(--color-primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.svc-spec-card__label {
  display: block;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Price card */
.svc-price-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 20px; padding: var(--space-10);
  margin-bottom: var(--space-12);
  box-shadow: 0 8px 28px rgba(13,27,42,0.06);
  text-align: center;
}
.svc-price-card__sizes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
  margin: var(--space-6) 0;
}
.svc-price-card__size {
  padding: var(--space-5) var(--space-3);
  border: 1px solid var(--color-border); border-radius: 14px;
  background: var(--color-bg-subtle, #F8FAFC);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.svc-price-card__size:hover { transform: translateY(-3px); border-color: var(--color-primary); }
.svc-price-card__size-label {
  display: block;
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-sm); color: #0D1B2A;
  margin-bottom: 4px;
}
.svc-price-card__size-price {
  display: block;
  font-family: var(--font-heading); font-weight: 800;
  font-size: var(--text-2xl); color: var(--color-primary);
}
.svc-price-card__note {
  font-size: var(--text-sm); color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* How it works (3 steps) */
.svc-howto {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.svc-howto-step {
  position: relative;
  text-align: center;
  padding: var(--space-6) var(--space-4);
}
.svc-howto-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--color-primary); color: #0D1B2A;
  font-family: var(--font-heading); font-weight: 800; font-size: var(--text-2xl);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(77,201,230,0.35);
  margin-bottom: var(--space-4);
}
.svc-howto-step h4 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-lg); margin: 0 0 var(--space-2); color: #0D1B2A;
}
.svc-howto-step p {
  color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.65; margin: 0;
}
.svc-pillar--dark .svc-howto-step h4 { color: #fff; }
.svc-pillar--dark .svc-howto-step p { color: rgba(255,255,255,0.72); }

/* Sample showcase */
.svc-samples {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.svc-samples__tile {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px rgba(13,27,42,0.1);
}
.svc-samples__tile--1 { background: linear-gradient(135deg, #4DC9E6, #1B8FBE); }
.svc-samples__tile--2 { background: linear-gradient(135deg, #1A3040, #4DC9E6); }
.svc-samples__tile--3 { background: linear-gradient(135deg, #FF4D00, #4DC9E6); }
.svc-samples__tile--4 { background: linear-gradient(135deg, #0D1B2A, #1B8FBE); }
.svc-samples__tile::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}

/* FAQ accordion */
.svc-faq { max-width: 760px; margin: 0 auto; }
.svc-faq__item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: var(--space-3);
  overflow: hidden;
  background: #fff;
}
.svc-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-heading); font-weight: 600; font-size: var(--text-base);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  color: #0D1B2A;
  transition: background 0.2s ease;
}
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__item summary::after {
  content: '＋'; font-size: 1.25rem; color: var(--color-primary);
  transition: transform 0.25s ease;
}
.svc-faq__item[open] summary { background: var(--color-primary-ghost, rgba(77,201,230,0.08)); }
.svc-faq__item[open] summary::after { content: '−'; transform: rotate(180deg); }
.svc-faq__a {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-sm); color: var(--color-text-muted);
  line-height: 1.75;
}
.svc-pillar--dark .svc-faq__item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.svc-pillar--dark .svc-faq__item summary { color: #fff; }
.svc-pillar--dark .svc-faq__a { color: rgba(255,255,255,0.78); }

/* Pillar final CTA row */
.svc-pillar__final {
  text-align: center; padding-top: var(--space-6);
}

/* Responsive — services */
@media (max-width: 1024px) {
  .svc-pillar__hero { grid-template-columns: 1fr; gap: var(--space-8); }
  .svc-pillar__visual { max-width: 380px; margin: 0 auto; }
  .svc-specs { grid-template-columns: repeat(2, 1fr); }
  .svc-howto { grid-template-columns: 1fr; }
  .svc-samples { grid-template-columns: repeat(2, 1fr); }
  .svc-price-card__sizes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .svc-pillar { padding: var(--space-12) 0; }
  .svc-tabs { top: 64px; }
  .svc-tabs__list { justify-content: flex-start; padding-inline: var(--space-3); }
  .svc-price-card { padding: var(--space-6); }
}
@media (max-width: 480px) {
  .svc-specs { grid-template-columns: 1fr; }
  .svc-samples { grid-template-columns: 1fr; }
  .svc-price-card__sizes { grid-template-columns: 1fr; }
}

/* ==========================================================
   PRICING PAGE — CINEMATIC REBUILD (Phase 2)
   ========================================================== */

/* 3-mode self-serve top */
.pricing-mode-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  margin-top: var(--space-10);
}
.pricing-mode-card {
  position: relative;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: 18px; padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 16px rgba(13,27,42,0.04);
}
.pricing-mode-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13,27,42,0.12);
  border-color: var(--color-primary);
}
.pricing-mode-card__icon {
  width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--color-primary-ghost, rgba(77,201,230,0.12));
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.pricing-mode-card__title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-2xl); margin: 0; color: #0D1B2A;
  letter-spacing: -0.01em;
}
.pricing-mode-card__price {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-primary);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.pricing-mode-card__price strong {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em; text-transform: none;
}
.pricing-mode-card__body {
  color: var(--color-text-muted); font-size: var(--text-base);
  line-height: 1.6; margin: 0;
}
.pricing-mode-card__cta { margin-top: auto; padding-top: var(--space-3); }

/* Pricing table — replaces older .pricing-table styling for new tables */
.pricing-table-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(13,27,42,0.04);
}
.pricing-table-card__header {
  background: linear-gradient(135deg, #0D1B2A, #1A3040);
  color: #fff;
  padding: var(--space-6) var(--space-8);
}
.pricing-table-card__header h3 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-2xl); margin: 0 0 4px; color: #fff;
}
.pricing-table-card__header p {
  margin: 0; color: rgba(255,255,255,0.78); font-size: var(--text-sm);
}
.pricing-table-card__body { padding: var(--space-2); }
.pricing-table-modern {
  width: 100%; border-collapse: collapse;
}
.pricing-table-modern th,
.pricing-table-modern td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.pricing-table-modern thead th {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-bg-subtle, #F8FAFC);
}
.pricing-table-modern tbody tr { transition: background 0.2s ease; }
.pricing-table-modern tbody tr:hover { background: var(--color-primary-ghost, rgba(77,201,230,0.06)); }
.pricing-table-modern tbody tr:last-child td { border-bottom: 0; }
.pricing-table-modern td strong { color: #0D1B2A; font-family: var(--font-heading); }
.pricing-table-modern .price-cell {
  font-family: var(--font-heading); font-weight: 800;
  font-size: var(--text-lg); color: var(--color-primary);
}
.pricing-table-card__footer {
  padding: var(--space-5) var(--space-8);
  background: var(--color-bg-subtle, #F8FAFC);
  border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4);
}
.pricing-table-card__footer p {
  margin: 0; font-size: var(--text-sm); color: var(--color-text-muted);
}

/* Trade tier table */
.pricing-tier-table { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 16px rgba(13,27,42,0.04); }
.pricing-tier-table__row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s ease;
}
.pricing-tier-table__row:last-child { border-bottom: 0; }
.pricing-tier-table__row--head {
  background: linear-gradient(135deg, #0D1B2A, #1A3040); color: #fff;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.pricing-tier-table__row--current {
  background: var(--color-primary-ghost, rgba(77,201,230,0.12));
  position: relative;
}
.pricing-tier-table__row--current::before {
  content: 'YOUR TIER'; position: absolute; top: 50%; right: var(--space-5);
  transform: translateY(-50%);
  background: var(--color-primary); color: #0D1B2A;
  font-family: var(--font-heading); font-weight: 800; font-size: 0.625rem;
  letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
}
.pricing-tier-table__cell { font-size: var(--text-sm); color: #0D1B2A; }
.pricing-tier-table__cell strong {
  display: block;
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: 2px;
}
.pricing-tier-table__cell--discount {
  font-family: var(--font-heading); font-weight: 800;
  font-size: var(--text-2xl); color: var(--color-primary);
  letter-spacing: -0.01em;
}

/* Demoted quote section */
.pricing-quote-section {
  background: var(--color-bg-subtle, #F8FAFC);
  padding: var(--space-20) 0;
  border-top: 1px solid var(--color-border);
}
.pricing-quote-section__intro {
  max-width: 720px; margin: 0 auto var(--space-10);
  text-align: center;
}
.pricing-quote-section__intro h2 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-3); color: #0D1B2A;
}
.pricing-quote-section__intro p {
  color: var(--color-text-muted); font-size: var(--text-base); line-height: 1.7;
}
.pricing-quote-section__intro::before {
  content: 'Fallback only'; display: inline-block;
  background: rgba(255,77,0,0.1); color: var(--color-accent);
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: var(--space-3);
}

/* Responsive — pricing */
@media (max-width: 1024px) {
  .pricing-mode-grid { grid-template-columns: 1fr; }
  .pricing-tier-table__row { grid-template-columns: 1fr; gap: var(--space-2); padding: var(--space-4); }
  .pricing-tier-table__row--head { display: none; }
  .pricing-tier-table__row--current::before { position: static; transform: none; display: inline-block; margin-top: var(--space-2); }
}
@media (max-width: 768px) {
  .pricing-table-modern { font-size: var(--text-xs); }
  .pricing-table-modern th, .pricing-table-modern td { padding: var(--space-3); }
}

/* ==========================================================
   PHASE 3 — Gallery / About / FAQ cinematic additions
   ========================================================== */

/* ---- Gallery cinematic ---- */
.gallery-hero { padding-bottom: var(--space-8); }
.gallery-filters-bar.gallery-filters-bar--cine {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
  position: sticky; top: 80px; z-index: 50;
}
.gallery-chips {
  display: flex; gap: var(--space-2); flex-wrap: wrap;
  align-items: center; justify-content: center;
}
.gallery-chip {
  font-family: var(--font-heading); font-weight: 600;
  font-size: var(--text-sm);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: #fff; color: #0D1B2A;
  cursor: pointer;
  transition: transform .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.gallery-chip:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-1px); }
.gallery-chip.is-active {
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
  box-shadow: 0 6px 20px rgba(77,201,230,0.35);
}
.gallery-chip:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.gallery-grid--masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  grid-auto-flow: row dense;
}
.gallery-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--color-bg-subtle);
  aspect-ratio: 4/5;
  will-change: transform;
  transition: transform .35s ease, box-shadow .3s ease;
}
.gallery-tile--tall { aspect-ratio: 3/5; grid-row: span 2; }
.gallery-tile--wide { aspect-ratio: 5/4; }
.gallery-tile--square { aspect-ratio: 1/1; }
.gallery-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(13,27,42,0.18); }
.gallery-tile__media {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  text-transform: uppercase;
}
.gallery-tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0) 40%, rgba(13,27,42,0.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-4);
  opacity: 0; transition: opacity .25s ease;
}
.gallery-tile:hover .gallery-tile__overlay,
.gallery-tile:focus-within .gallery-tile__overlay { opacity: 1; }
.gallery-tile__cat {
  align-self: flex-start;
  background: var(--color-primary); color: #fff;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: var(--space-2);
}
.gallery-tile__view {
  color: #fff; font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-sm);
  display: inline-flex; align-items: center; gap: 6px;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center; padding: var(--space-12);
  color: var(--color-text-muted);
}

/* Gallery lightbox (FLIP) */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: var(--space-6);
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(10,20,32,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gallery-lightbox__content {
  position: relative; z-index: 1;
  max-width: 880px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-4);
}
.gallery-lightbox__media {
  width: min(560px, 90vw);
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 2rem; color: #fff; letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.gallery-lightbox__caption {
  text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
}
.gallery-lightbox__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); }
.gallery-lightbox__cat {
  background: var(--color-primary); color: #fff;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.gallery-lightbox__close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); border: 0; color: #fff;
  border-radius: 50%; cursor: pointer; z-index: 2;
  transition: background .2s ease;
}
.gallery-lightbox__close:hover { background: rgba(255,255,255,0.22); }

@media (max-width: 1024px) { .gallery-grid--masonry { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  {
  .gallery-grid--masonry { grid-template-columns: 1fr; }
  .gallery-tile--tall { grid-row: auto; }
  .gallery-filters-bar.gallery-filters-bar--cine { top: 64px; }
}

/* ---- About — origin story (pinned) ---- */
.about-origin { background: #0A1420; color: #fff; position: relative; overflow: hidden; }
.about-origin::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 80% 10%, rgba(77,201,230,0.18), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(255,77,0,0.10),  transparent 60%);
  pointer-events: none;
}
.about-origin__inner { position: relative; }
.about-origin__chapter {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  min-height: 100vh;
  padding: var(--space-16) 0;
  align-items: center;
}
.about-origin__photo-wrap {
  position: sticky; top: 100px;
  height: 70vh; min-height: 420px; max-height: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-origin__photo {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #4DC9E6, #1B8FBE);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 1.25rem; letter-spacing: .12em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .6s ease;
}
.about-origin__photo.is-active { opacity: 1; }
.about-origin__photo--ch1 { background: linear-gradient(135deg, #4DC9E6 0%, #1B8FBE 50%, #0D1B2A 100%); }
.about-origin__photo--ch2 { background: linear-gradient(135deg, #1A3040 0%, #4DC9E6 70%, #FF4D00 100%); }
.about-origin__photo--ch3 { background: linear-gradient(135deg, #FF4D00 0%, #4DC9E6 70%, #0D1B2A 100%); }
.about-origin__copy { padding: var(--space-8) 0; }
.about-origin__overline {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 700;
  font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.about-origin__title {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1; margin-bottom: var(--space-5);
  color: #fff;
}
.about-origin__body { color: rgba(255,255,255,0.78); font-size: var(--text-lg); line-height: 1.7; max-width: 540px; }

/* About — equipment cards */
.about-equipment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.about-equipment-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}
.about-equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(77, 201, 230, 0.12);
  border-color: rgba(77, 201, 230, 0.4);
}
.about-equipment-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 201, 230, 0.1);
  border-radius: 12px;
  margin: 0 0 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.about-equipment-card__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}
.about-equipment-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: #0D1B2A;
  margin: 0 0 12px;
  line-height: 1.3;
}
.about-equipment-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.about-equipment-card__specs span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(77, 201, 230, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.about-equipment-card p {
  font-family: var(--font-body, 'Barlow', sans-serif);
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* About — values (2x2) */
.about-values {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  max-width: 980px; margin: 0 auto;
}
.about-value-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex; gap: var(--space-4);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.about-value-card:hover { border-color: var(--color-primary); box-shadow: 0 8px 24px rgba(13,27,42,0.06); }
.about-value-card__icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(77,201,230,0.12);
  color: var(--color-primary);
}
.about-value-card h3 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-base);
  color: #0D1B2A; margin: 0 0 4px;
}
.about-value-card p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6; margin: 0; }

/* About — builder strip */
.about-builder-strip {
  background: linear-gradient(135deg, #4DC9E6 0%, #1B8FBE 100%);
  color: #0D1B2A;
  padding: var(--space-16) 0;
  position: relative; overflow: hidden;
}
.about-builder-strip::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 90% 10%, rgba(255,255,255,0.25), transparent 60%);
  pointer-events: none;
}
.about-builder-strip__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-12); align-items: center;
}
.about-builder-strip h2 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15; color: #0D1B2A; margin-bottom: var(--space-4);
}
.about-builder-strip p { color: rgba(13,27,42,0.78); font-size: var(--text-lg); line-height: 1.7; margin-bottom: var(--space-6); }
.about-builder-screenshot {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(13,27,42,0.92), rgba(26,48,64,0.95)),
    repeating-linear-gradient(45deg, rgba(77,201,230,0.08) 0 12px, transparent 12px 24px);
  background-blend-mode: normal, overlay;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 80px rgba(13,27,42,0.30);
}
.about-builder-screenshot__badge {
  position: absolute; top: var(--space-4); left: var(--space-4);
  background: rgba(77,201,230,0.95); color: #0D1B2A;
  font-family: var(--font-heading); font-weight: 800;
  font-size: 0.6875rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.about-builder-screenshot__label {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.25rem; letter-spacing: .12em; text-transform: uppercase;
}

/* About — capabilities grid */
.about-capabilities {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.about-capability-card {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.about-capability-card__icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(77,201,230,0.12); color: var(--color-primary);
  border-radius: 10px; margin-bottom: var(--space-3);
}
.about-capability-card h3 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-base);
  color: #0D1B2A; margin: 0 0 4px;
}
.about-capability-card p { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0; line-height: 1.6; }

@media (max-width: 1024px) {
  .about-equipment, .about-capabilities { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
  .about-origin__chapter { grid-template-columns: 1fr; min-height: auto; gap: var(--space-6); }
  .about-origin__photo-wrap { position: relative; top: 0; height: 50vh; min-height: 320px; }
  .about-builder-strip__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .about-equipment, .about-capabilities { grid-template-columns: 1fr; }
  .about-equipment { gap: 16px; }
  .about-equipment-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-origin__photo-wrap { position: relative !important; top: 0 !important; height: 40vh; }
  .about-origin__photo { opacity: 1 !important; }
  .about-origin__photo--ch1 ~ .about-origin__photo { display: none; }
}

/* ---- FAQ cinematic ---- */
.faq-hero-search {
  margin-top: var(--space-6);
  max-width: 540px; margin-inline: auto;
  position: relative;
}
.faq-hero-search__input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-body); font-size: var(--text-base);
  transition: background-color .2s ease, border-color .2s ease;
}
.faq-hero-search__input::placeholder { color: rgba(255,255,255,0.6); }
.faq-hero-search__input:focus {
  outline: none;
  background: rgba(255,255,255,0.16);
  border-color: var(--color-primary);
}
.faq-hero-search__icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.7); pointer-events: none;
}

.faq-tabs {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 80px; z-index: 50;
}
.faq-tabs__inner {
  display: flex; gap: var(--space-2); flex-wrap: wrap;
  align-items: center; justify-content: center;
  padding: var(--space-3) 0;
  position: relative;
}
.faq-tabs__tab {
  font-family: var(--font-heading); font-weight: 600;
  font-size: var(--text-sm);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: transparent; color: var(--color-text-muted);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.faq-tabs__tab:hover { color: var(--color-primary); }
.faq-tabs__tab.is-active {
  color: #fff; background: var(--color-primary); border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(77,201,230,0.32);
}
.faq-tabs__tab:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.faq-section.faq-section--cine { display: flex; flex-direction: column; gap: 0; }
.faq-section--cine .faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-section--cine .faq-item[open] {
  border-left-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(13,27,42,0.06);
}
.faq-section--cine .faq-question {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-heading); font-weight: 600;
  color: #0D1B2A; font-size: var(--text-base);
}
.faq-section--cine .faq-question::-webkit-details-marker { display: none; }
.faq-section--cine .faq-question .chevron {
  flex-shrink: 0;
  transition: transform .35s ease;
  color: var(--color-primary);
}
.faq-section--cine .faq-item[open] .faq-question .chevron { transform: rotate(180deg); }
.faq-section--cine .faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-base); line-height: 1.7;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .38s ease, opacity .25s ease;
}
.faq-section--cine .faq-item[open] .faq-answer { opacity: 1; }

/* FAQ CTA grid */
.faq-cta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.faq-cta-card {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
  height: 100%;
  text-decoration: none; color: inherit;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.faq-cta-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 14px 30px rgba(13,27,42,0.08);
}
.faq-cta-card__icon {
  width: 56px; height: 56px; margin: 0 0 var(--space-4);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(77,201,230,0.12);
  color: var(--color-primary);
  flex-shrink: 0;
}
.faq-cta-card h3 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-lg);
  color: #0D1B2A; margin: 0 0 var(--space-2);
}
.faq-cta-card p {
  color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}
.faq-cta-card__hint {
  display: inline-block; margin-top: auto; padding-top: var(--space-3);
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-sm); color: var(--color-primary);
}

@media (max-width: 1024px) {
  .faq-cta-grid { grid-template-columns: 1fr; }
  .faq-tabs { top: 64px; }
}

/* ==========================================================================
   TRADE ACCOUNT PAGE — cinematic rebuild
   ========================================================================== */

/* Hero variant — deeper navy for B2B */
.cine-hero--trade { background: radial-gradient(ellipse at 20% 0%, #142a3f 0%, #0A1420 60%, #060d17 100%); }
.cine-hero--trade .cine-hero__copy .hero__title { color: #fff; }
.cine-hero--trade .cine-hero__copy .hero__body { color: rgba(255,255,255,0.78); }
.cine-hero--trade .cine-hero__overline { color: var(--color-primary); }
.cine-hero--trade .ta-hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid rgba(77,201,230,0.15); }
.cine-hero--trade .ta-hero-trust__item { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: rgba(255,255,255,0.72); font-weight: 500; }
.cine-hero--trade .ta-hero-trust__item::before { content: '✓'; width: 18px; height: 18px; border-radius: 50%; background: var(--color-primary); color: #0A1420; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; }
.cine-hero--trade .ta-hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.cine-hero--trade .ta-hero-ctas .btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.25); color: #fff; }
.cine-hero--trade .ta-hero-ctas .btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Floating particles */
.cine-hero--trade .ta-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cine-hero--trade .ta-particles span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--color-primary); opacity: 0.5;
  animation: taParticleFloat linear infinite;
}
@keyframes taParticleFloat {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120vh) scale(0.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-hero--trade .ta-particles span { animation: none; opacity: 0.25; }
}

/* ── Savings Calculator ── */
.ta-calc { padding: var(--space-16) 0; background: var(--color-bg); }
.ta-calc__shell { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.ta-calc__head { text-align: center; margin-bottom: var(--space-10); }
.ta-calc__head .overline { color: var(--color-primary); display: inline-block; margin-bottom: var(--space-2); }
.ta-calc__head h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); color: var(--color-secondary); margin: 0; }
.ta-calc__body {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-12);
  background: linear-gradient(135deg, #fff 0%, #f5fbfd 100%);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: 0 12px 40px rgba(13,27,42,0.06);
}
.ta-calc__slider-area { display: flex; flex-direction: column; justify-content: center; }
.ta-calc__label { font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-3); }
.ta-calc__amount { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--color-secondary); line-height: 1; margin-bottom: var(--space-6); }
.ta-calc__amount::before { content: '$'; color: var(--color-primary); }
#ta-calc-input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--color-primary) 0%, var(--color-primary) var(--ta-pct, 25%), #d8e4ec var(--ta-pct, 25%), #d8e4ec 100%); outline: none; }
#ta-calc-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--color-primary); cursor: pointer; box-shadow: 0 4px 12px rgba(77,201,230,0.4); transition: transform 0.15s; }
#ta-calc-input::-webkit-slider-thumb:hover { transform: scale(1.12); }
#ta-calc-input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--color-primary); cursor: pointer; box-shadow: 0 4px 12px rgba(77,201,230,0.4); }
.ta-calc__scale { display: flex; justify-content: space-between; margin-top: var(--space-3); font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; }
.ta-calc__tiers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.ta-calc__tier {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-5);
  background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}
.ta-calc__tier:hover { border-color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(77,201,230,0.15); }
.ta-calc__tier-name { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-base); color: var(--color-secondary); }
.ta-calc__tier-pct { font-family: var(--font-heading); font-weight: 800; font-size: var(--text-2xl); color: var(--color-primary); line-height: 1; }
.ta-calc__tier-saving { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.ta-calc__tier[data-tier="pro"] { border-color: var(--color-primary); position: relative; }
.ta-calc__tier[data-tier="pro"]::after { content: 'POPULAR'; position: absolute; top: -10px; right: 12px; background: var(--color-primary); color: #0A1420; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 4px; }

@media (max-width: 900px) {
  .ta-calc__body { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-6); }
}
@media (max-width: 480px) {
  .ta-calc__tiers { grid-template-columns: 1fr; }
}

/* ── Trade Benefits 4-up ── */
.ta-benefits-4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5); margin-top: var(--space-10);
}
@media (max-width: 1024px) { .ta-benefits-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ta-benefits-4 { grid-template-columns: 1fr; } }
.ta-benefit-card {
  padding: var(--space-6);
  background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg);
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.ta-benefit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #7DDDF2);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.ta-benefit-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,27,42,0.08); border-color: var(--color-primary); }
.ta-benefit-card:hover::before { transform: scaleX(1); }
.ta-benefit-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--color-primary-ghost); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.ta-benefit-card__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); color: var(--color-secondary); margin: 0 0 var(--space-2); }
.ta-benefit-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* ── Tier cards 4-up ── */
.ta-tiers { padding: var(--space-16) 0; background: var(--color-bg-subtle); }
.ta-tiers__head { text-align: center; max-width: 720px; margin: 0 auto var(--space-12); }
.ta-tiers__head .overline { color: var(--color-primary); display: inline-block; margin-bottom: var(--space-2); }
.ta-tiers__head h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); color: var(--color-secondary); margin: 0 0 var(--space-3); }
.ta-tiers__head .lede { color: var(--color-text-muted); font-size: var(--text-base); line-height: 1.6; margin: 0; }
.ta-tiers__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5); max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6);
}
@media (max-width: 1024px) { .ta-tiers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ta-tiers__grid { grid-template-columns: 1fr; } }
.ta-tier-card {
  background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-xl);
  overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column;
}
.ta-tier-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13,27,42,0.1); border-color: var(--color-primary); }
.ta-tier-card__head {
  padding: var(--space-6); text-align: center;
  background: linear-gradient(180deg, var(--color-bg-subtle) 0%, #fff 100%);
  border-bottom: 1px solid var(--color-border);
}
.ta-tier-card__head h3 { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-xl); color: var(--color-secondary); margin: 0 0 var(--space-2); }
.ta-tier-card__pct { font-family: var(--font-heading); font-weight: 800; font-size: 2.5rem; color: var(--color-primary); line-height: 1; margin-bottom: var(--space-2); }
.ta-tier-card__min { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.ta-tier-card__body { padding: var(--space-6); flex: 1; }
.ta-tier-card__body ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.ta-tier-card__body li {
  font-size: var(--text-sm); color: var(--color-text); line-height: 1.5;
  padding-left: 26px; position: relative;
}
.ta-tier-card__body li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-primary-ghost); color: var(--color-primary);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.ta-tier-card--featured { border-color: var(--color-primary); border-width: 2px; transform: translateY(-6px); position: relative; box-shadow: 0 18px 36px rgba(77,201,230,0.18); }
.ta-tier-card--featured::before {
  content: 'MOST POPULAR'; position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-primary); color: #0A1420;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  padding: 4px 12px; border-radius: 999px; z-index: 2;
}
.ta-tier-card--featured .ta-tier-card__head { background: linear-gradient(180deg, rgba(77,201,230,0.12) 0%, #fff 100%); }
@media (prefers-reduced-motion: no-preference) {
  .ta-tier-card--featured { animation: tierPulse 3.5s ease-in-out infinite; }
}
@keyframes tierPulse {
  0%, 100% { box-shadow: 0 18px 36px rgba(77,201,230,0.18); }
  50%      { box-shadow: 0 18px 48px rgba(77,201,230,0.32); }
}

/* ── Portal showcase ── */
.ta-portal { padding: var(--space-16) 0; background: var(--color-bg); }
.ta-portal__head { text-align: center; max-width: 720px; margin: 0 auto var(--space-10); }
.ta-portal__head .overline { color: var(--color-primary); }
.ta-portal__head h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); color: var(--color-secondary); margin: 0; }
.ta-portal__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-5);
  max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6);
}
@media (max-width: 1024px) { .ta-portal__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ta-portal__grid { grid-template-columns: 1fr; } }
.ta-portal-card {
  background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ta-portal-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(13,27,42,0.1); }
.ta-portal-card__shot {
  height: 110px; display: flex; align-items: flex-end; padding: var(--space-4);
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
}
.ta-portal-card[data-tile="2"] .ta-portal-card__shot { background: linear-gradient(135deg, #1A3040 0%, #4DC9E6 100%); }
.ta-portal-card[data-tile="3"] .ta-portal-card__shot { background: linear-gradient(135deg, #0D1B2A 0%, #FF4D00 100%); }
.ta-portal-card[data-tile="4"] .ta-portal-card__shot { background: linear-gradient(135deg, #4DC9E6 0%, #1B8FBE 100%); }
.ta-portal-card[data-tile="5"] .ta-portal-card__shot { background: linear-gradient(135deg, #1B8FBE 0%, #0A1420 100%); }
.ta-portal-card__shot .overline { color: rgba(255,255,255,0.95); font-size: 10px; }
.ta-portal-card__body { padding: var(--space-5); }
.ta-portal-card__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-base); color: var(--color-secondary); margin: 0 0 var(--space-2); }
.ta-portal-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; margin: 0; }

/* ── Brand strip ── */
.ta-brand-strip { padding: var(--space-12) 0; background: var(--color-bg-subtle); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.ta-brand-strip__head { text-align: center; margin-bottom: var(--space-8); }
.ta-brand-strip__head h3 { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-base); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin: 0; }
.ta-brand-tile {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; height: 56px; padding: 0 var(--space-5);
  background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm);
  color: var(--color-text-muted); letter-spacing: 0.05em;
  margin-right: var(--space-4); flex-shrink: 0;
}

/* ── How it works 3-step ── */
.ta-steps { padding: var(--space-16) 0; }
.ta-steps__head { text-align: center; max-width: 720px; margin: 0 auto var(--space-10); }
.ta-steps__head .overline { color: var(--color-primary); }
.ta-steps__head h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); color: var(--color-secondary); margin: 0; }
.ta-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); max-width: 1100px; margin: 0 auto; padding: 0 var(--space-6); }
@media (max-width: 768px) { .ta-steps__grid { grid-template-columns: 1fr; } }
.ta-step-card { text-align: center; padding: var(--space-6); }
.ta-step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-primary); color: #0A1420;
  font-family: var(--font-heading); font-weight: 800; font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}
.ta-step-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); color: var(--color-secondary); margin: 0 0 var(--space-2); }
.ta-step-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* ── Application form (deeper navy band) ── */
.ta-form-band {
  position: relative; overflow: hidden;
  padding: var(--space-16) 0;
  background: radial-gradient(ellipse at top, #14273e 0%, #0A1420 70%);
}
.ta-form-band::before {
  content: ''; position: absolute; inset: -20% -10% auto auto;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(77,201,230,0.18) 0%, transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.ta-form-band__head { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto var(--space-10); padding: 0 var(--space-6); }
.ta-form-band__head .overline { color: var(--color-primary); }
.ta-form-band__head h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); color: #fff; margin: 0 0 var(--space-3); }
.ta-form-band__head p { color: rgba(255,255,255,0.72); font-size: var(--text-base); margin: 0; }

.ta-form-shell {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}

.ta-form-progress { padding: var(--space-6) var(--space-8) var(--space-4); border-bottom: 1px solid var(--color-border); background: var(--color-bg-subtle); }
.ta-form-progress__bar { height: 6px; border-radius: 999px; background: #e3eaef; overflow: hidden; margin-bottom: var(--space-4); }
.ta-form-progress__fill { height: 100%; background: linear-gradient(90deg, var(--color-primary), #7DDDF2); width: 33.33%; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 999px; }
.ta-form-progress__steps { display: flex; justify-content: space-between; gap: var(--space-3); }
.ta-form-progress__step {
  flex: 1; display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.ta-form-progress__step .num {
  width: 24px; height: 24px; border-radius: 50%;
  background: #d8e4ec; color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.ta-form-progress__step.is-active { color: var(--color-secondary); }
.ta-form-progress__step.is-active .num { background: var(--color-primary); color: #0A1420; }
.ta-form-progress__step.is-done .num { background: var(--color-primary); color: #0A1420; }
.ta-form-progress__step.is-done .num::before { content: '✓'; }
.ta-form-progress__step.is-done .num span { display: none; }

.ta-form-stage { position: relative; padding: var(--space-8); overflow: hidden; }
.ta-form-step { display: none; }
.ta-form-step.is-active { display: block; }

.ta-form-field { margin-bottom: var(--space-5); }
.ta-form-field label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-2); }
.ta-form-field label .ta-req { color: var(--color-primary); margin-left: 2px; }
.ta-form-field label .ta-opt { font-weight: 400; color: var(--color-text-muted); font-size: var(--text-xs); margin-left: var(--space-1); }

.ta-form-actions { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); }
.ta-form-actions .btn--ghost {
  background: transparent; color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
}
.ta-form-actions .btn--ghost:hover { border-color: var(--color-text); color: var(--color-text); }

@media (max-width: 600px) {
  .ta-form-stage { padding: var(--space-6); }
  .ta-form-progress__step { font-size: 0; }
  .ta-form-progress__step .num { font-size: 11px; }
}

/* User-state hero swap */
.ta-state-banner {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(77,201,230,0.14); color: var(--color-primary);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.ta-state-banner::before { content: '●'; color: var(--color-primary); }

/* ============================================================
   PHASE 5 — Contact / Cart / Checkout / Order / Legal polish
   ============================================================ */

/* Contact page */
.contact-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-4); }
.contact-quick-actions .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-family: var(--font-heading); font-weight: 600;
  font-size: var(--text-sm); text-decoration: none;
  transition: background .2s, transform .2s, border-color .2s;
}
.contact-quick-actions .pill:hover { background: rgba(77,201,230,0.18); border-color: var(--color-primary); transform: translateY(-1px); }

.contact-method-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-method-card:hover { transform: translateY(-3px); border-color: var(--color-primary); box-shadow: 0 12px 32px rgba(13,27,42,0.08); }
.contact-method-card__icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(77,201,230,0.14); color: var(--color-primary);
  border-radius: var(--radius-md); margin-bottom: var(--space-4);
}
.contact-method-card__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-lg); color: var(--color-secondary); margin: 0 0 var(--space-2); }
.contact-method-card__body { color: var(--color-text-muted); flex: 1 1 auto; font-size: var(--text-sm); margin: 0 0 var(--space-4); }
.contact-method-card__hint { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm); color: var(--color-primary); text-decoration: none; margin-top: auto; }
.contact-method-card__hint:hover { color: #2BA8C4; }

.contact-form-shell {
  background: #fff; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8);
  box-shadow: 0 4px 24px rgba(13,27,42,0.04);
}
.contact-form-shell .wpcf7-form input[type="text"],
.contact-form-shell .wpcf7-form input[type="email"],
.contact-form-shell .wpcf7-form input[type="tel"],
.contact-form-shell .wpcf7-form textarea,
.contact-form-shell .wpcf7-form select {
  width: 100%; box-sizing: border-box;
  font-family: var(--font-body); font-size: 16px;
  padding: 12px 14px; border-radius: 6px;
  border: 1.5px solid var(--color-border); color: var(--color-text);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form-shell .wpcf7-form input:focus,
.contact-form-shell .wpcf7-form textarea:focus,
.contact-form-shell .wpcf7-form select:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(77,201,230,0.15);
}
.contact-form-shell .wpcf7-form label {
  display: block; font-family: var(--font-heading); font-weight: 600;
  font-size: 14px; color: var(--color-secondary); margin-bottom: 6px;
}
.contact-form-shell .wpcf7-form .wpcf7-submit {
  background: var(--color-primary); color: var(--color-secondary);
  font-family: var(--font-heading); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  border: none; padding: 14px 28px; border-radius: 6px;
  cursor: pointer; box-shadow: 0 2px 8px rgba(77,201,230,0.3);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.contact-form-shell .wpcf7-form .wpcf7-submit:hover {
  background: #3bb8d5; transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(77,201,230,0.4);
}
.contact-form-shell .wpcf7-response-output { border-radius: 6px; padding: 14px 18px; margin-top: var(--space-4); font-family: var(--font-body); }

/* Cart trust ribbon */
.ifc-trust-ribbon {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: center;
  margin-top: 20px; padding: 14px 18px;
  border: 1px solid rgba(77,201,230,0.25);
  background: rgba(77,201,230,0.06);
  border-radius: 8px;
}
.ifc-trust-ribbon__item { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--color-secondary); white-space: nowrap; }

/* Cart empty state */
.ifc-empty-cart {
  text-align: center; padding: 48px 24px;
  background: #fff; border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
}
.ifc-empty-cart h2 { font-family: var(--font-heading); font-weight: 800; color: var(--color-secondary); font-size: 28px; margin: 0 0 8px; }
.ifc-empty-cart p { color: var(--color-text-muted); margin: 0 0 24px; }
.mode-pills.mode-pills--cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mode-pill.mode-pill--primary {
  display: inline-flex; align-items: center;
  padding: 12px 22px; border-radius: 999px;
  background: var(--color-primary); color: var(--color-secondary);
  font-family: var(--font-heading); font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(77,201,230,0.3);
}
.mode-pill.mode-pill--primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(77,201,230,0.4); }

/* Cart tier savings */
.ifc-cart-savings {
  margin: 16px 0; padding: 14px 18px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,77,0,0.08), rgba(77,201,230,0.08));
  border-left: 4px solid #FF4D00;
  font-family: var(--font-body); font-size: 15px; color: var(--color-secondary);
}
.ifc-cart-savings strong { font-family: var(--font-heading); }

/* Mobile collapsible order summary */
.ifc-mobile-order-toggle { display: none; }
@media (max-width: 1024px) {
  .ifc-mobile-order-toggle {
    display: block; position: sticky; top: 0; z-index: 50;
    margin: 0 0 16px; background: #fff;
    border: 1px solid #e5e7eb; border-radius: 8px;
    box-shadow: 0 2px 6px rgba(13,27,42,0.06);
  }
  .ifc-mobile-order-toggle__btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 14px 16px;
    background: #fff; border: none; cursor: pointer;
    font-family: 'Montserrat', sans-serif; font-weight: 700;
    color: #0D1B2A; font-size: 15px;
  }
  .ifc-mobile-order-toggle__total { color: #FF4D00; font-weight: 800; margin-left: auto; }
  .ifc-mobile-order-toggle__btn .chevron { width: 16px; height: 16px; transition: transform .2s; }
  .ifc-mobile-order-toggle__btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }
  .ifc-mobile-order-toggle__panel { padding: 12px 16px 16px; border-top: 1px solid #f3f4f6; }
}

/* Sticky place order mobile */
@media (max-width: 768px) {
  .woocommerce-checkout #place_order {
    position: fixed !important;
    bottom: 16px; left: 16px; right: 16px;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(13,27,42,0.2) !important;
  }
  body.woocommerce-checkout { padding-bottom: 90px; }
}

/* Order progress bar */
.ifc-order-progress { display: flex; align-items: center; gap: 0; margin: 0 0 24px; }
.ifc-order-progress__step { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ifc-order-progress__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: #e5e7eb; color: #6b7280;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 14px;
  transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}
.ifc-order-progress__label {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 13px; color: #6b7280;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: color .3s;
}
.ifc-order-progress__connector {
  flex: 1 1 auto; height: 2px; background: #e5e7eb;
  margin: 0 12px; position: relative; overflow: hidden;
}
.ifc-order-progress__connector::after {
  content: ''; position: absolute; inset: 0;
  background: #4DC9E6; transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.ifc-order-progress__step.is-active .ifc-order-progress__num {
  background: #4DC9E6; color: #0D1B2A; transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(77,201,230,0.2);
}
.ifc-order-progress__step.is-active .ifc-order-progress__label { color: #0D1B2A; }
.ifc-order-progress__step.is-complete .ifc-order-progress__num { background: #4DC9E6; color: #0D1B2A; }
.ifc-order-progress__step.is-complete + .ifc-order-progress__connector::after { transform: scaleX(1); }
@media (max-width: 600px) {
  .ifc-order-progress__label { display: none; }
  .ifc-order-progress__connector { margin: 0 8px; }
}

/* Guest contact trust block */
.ifc-guest-contact-trust {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 0 16px; padding: 10px 14px;
  background: rgba(77,201,230,0.08);
  border-left: 3px solid #4DC9E6;
  border-radius: 6px;
  font-family: 'Barlow', sans-serif; font-size: 13px; color: #0D1B2A;
}
.ifc-guest-contact-trust__icon { font-size: 16px; }

/* Legal pages enhancements */
.legal-content h2 { border-left: 4px solid var(--color-primary); padding-left: var(--space-4); border-top: none !important; }
.legal-content h2:first-child { border-left: 4px solid var(--color-primary) !important; }

.legal-page__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  font-family: 'Barlow', sans-serif;
}
.legal-toc__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4DC9E6;
  margin-bottom: 16px;
}
.legal-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid #e5e7eb;
}
.legal-toc__item { margin: 0; }
.legal-toc__link {
  display: block;
  padding: 8px 16px;
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: all 0.2s ease;
}
.legal-toc__link:hover {
  color: #0D1B2A;
  border-left-color: rgba(77, 201, 230, 0.4);
}
.legal-toc__link.is-active {
  color: #4DC9E6;
  border-left-color: #4DC9E6;
  font-weight: 600;
}
.legal-page__content { max-width: 800px; }
@media (max-width: 1024px) {
  .legal-page__layout { grid-template-columns: 1fr; padding: 32px 16px; }
  .legal-toc { display: none; }
}
.legal-cta-mini {
  margin-top: var(--space-12);
  padding: var(--space-6) var(--space-8);
  background: linear-gradient(135deg, rgba(77,201,230,0.08), rgba(13,27,42,0.04));
  border: 1.5px solid rgba(77,201,230,0.25);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); flex-wrap: wrap;
}
.legal-cta-mini__text { flex: 1 1 auto; }
.legal-cta-mini__title { font-family: var(--font-heading); font-weight: 700; color: var(--color-secondary); margin: 0 0 4px; font-size: var(--text-base); }
.legal-cta-mini__sub { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .ifc-order-progress__num,
  .ifc-order-progress__connector::after,
  .contact-method-card,
  .mode-pill.mode-pill--primary { transition: none !important; }
}

/* === SMART ACCOUNT BUTTON === */
.site-account { position: relative; display: flex; align-items: center; }

.site-account__signin {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #0D1B2A;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.site-account__signin:hover { color: #4DC9E6; background: rgba(77, 201, 230, 0.08); }

.site-account--user .site-account__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: #0D1B2A;
  transition: all 0.2s;
}
.site-account__btn:hover {
  border-color: #4DC9E6;
  box-shadow: 0 2px 8px rgba(77, 201, 230, 0.12);
}

.site-account__avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #4DC9E6, #1A3040);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
}

.site-account__greeting {
  font-weight: 600;
  white-space: nowrap;
}

.site-account__pill {
  position: absolute;
  top: -6px;
  right: 8px;
  background: #4DC9E6;
  color: #0D1B2A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.site-account__pill[data-pending] { background: #FF4D00; color: #fff; }

.site-account__chev {
  transition: transform 0.2s;
  color: #6b7280;
}
.site-account__btn[aria-expanded="true"] .site-account__chev { transform: rotate(180deg); }

.site-account__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(13, 27, 42, 0.12);
  padding: 8px 0;
  z-index: 100;
}
.site-account__menu a {
  display: block;
  padding: 8px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s;
}
.site-account__menu a:hover { background: rgba(77, 201, 230, 0.08); color: #4DC9E6; }
.site-account__menu hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 4px 0;
}

.site-account--mobile { width: 100%; margin-bottom: 12px; }
.site-account--mobile > a { width: 100%; }

@media (max-width: 768px) {
  .site-account__greeting { display: none; }
  .site-account__menu { right: -8px; }
}

/* === UNIFIED SIGNUP PAGE === */
.signup-page { background: #f9fafb; min-height: 100vh; }

.signup-page__hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A3040 100%);
  padding: 48px 24px;
  text-align: center;
  color: #fff;
}
.signup-page__hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 36px;
  margin: 0 0 8px;
}
.signup-page__hero p {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.signup-page__body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px;
}

.signup-chooser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.signup-chooser__card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}
.signup-chooser__card:hover {
  transform: translateY(-4px);
  border-color: #4DC9E6;
  box-shadow: 0 12px 32px rgba(77, 201, 230, 0.15);
}

.signup-chooser__card--trade {
  background: linear-gradient(135deg, #0D1B2A 0%, #0A1420 100%);
  color: #fff;
  border-color: rgba(77, 201, 230, 0.3);
}
.signup-chooser__card--trade:hover { border-color: #4DC9E6; }
.signup-chooser__card--trade h3 { color: #fff; }
.signup-chooser__card--trade li { color: #fff; }
.signup-chooser__card--trade .signup-chooser__icon { filter: brightness(1.2); }

.signup-chooser__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #FF4D00;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
}

.signup-chooser__icon { font-size: 40px; margin-bottom: 16px; }

.signup-chooser__card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 16px;
}

.signup-chooser__card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}
.signup-chooser__card li {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  margin-bottom: 8px;
  color: inherit;
  opacity: 0.9;
}

.signup-chooser__cta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #4DC9E6;
  margin-top: auto;
}

.signup-chooser__login-link {
  text-align: center;
  margin-top: 32px;
  font-family: 'Barlow', sans-serif;
  color: #6b7280;
}
.signup-chooser__login-link a { color: #4DC9E6; font-weight: 600; }

.signup-form {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(13, 27, 42, 0.06);
}

.signup-form h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #0D1B2A;
  margin: 0 0 24px;
}

.signup-form .form-row { margin-bottom: 16px; }
.signup-form .form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.signup-form label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #0D1B2A;
  display: block;
  margin-bottom: 6px;
}
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"],
.signup-form input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Barlow', sans-serif;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-form input:focus {
  outline: none;
  border-color: #4DC9E6;
  box-shadow: 0 0 0 3px rgba(77, 201, 230, 0.1);
}

.signup-form__terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #4b5563;
  margin: 16px 0 24px;
  line-height: 1.5;
}
.signup-form__terms input[type="checkbox"] { margin-top: 4px; }
.signup-form__terms a { color: #4DC9E6; font-weight: 600; }

.signup-form__submit {
  width: 100%;
  background: #4DC9E6;
  color: #0D1B2A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.signup-form__submit:hover {
  background: #3bb8d5;
  transform: translateY(-1px);
}

.signup-form__error {
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid #ef4444;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  color: #991b1b;
  margin-bottom: 20px;
}
.signup-form__error a { color: #991b1b; font-weight: 700; }

.signup-form__alt-link {
  text-align: center;
  margin-top: 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #6b7280;
}
.signup-form__alt-link a { color: #4DC9E6; font-weight: 600; }

@media (max-width: 768px) {
  .signup-chooser { grid-template-columns: 1fr; }
  .signup-form { padding: 24px; }
  .signup-form .form-row--two { grid-template-columns: 1fr; }
  .signup-page__hero h1 { font-size: 28px; }
}

/* ── Trade application wizard inside signup-form ───────────────────────── */
.signup-form--trade { max-width: 640px; }
.signup-form--trade select.ta-input,
.signup-form--trade textarea.ta-input,
.signup-form--trade input.ta-input {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Barlow', sans-serif;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.signup-form--trade .ta-input:focus {
  outline: none;
  border-color: #4DC9E6;
  box-shadow: 0 0 0 3px rgba(77,201,230,0.12);
}
.signup-form--trade .ta-input.is-error,
.signup-form--trade input.is-error { border-color: #ef4444; }
.signup-form--trade .ta-input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
.signup-form--trade .ta-form-step { display: none; }
.signup-form--trade .ta-form-step.is-active { display: block; }
.signup-form--trade .ta-form-progress { margin-bottom: 24px; }
.signup-form--trade .ta-form-progress__bar {
  height: 4px; background: #E5EEF3; border-radius: 2px; overflow: hidden; margin-bottom: 12px;
}
.signup-form--trade .ta-form-progress__fill {
  height: 100%; width: 33%; background: #4DC9E6; transition: width 0.3s ease;
}
.signup-form--trade .ta-form-progress__steps {
  display: flex; justify-content: space-between; font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600; color: #9ca3af;
}
.signup-form--trade .ta-form-progress__step { display: flex; align-items: center; gap: 6px; }
.signup-form--trade .ta-form-progress__step .num {
  width: 22px; height: 22px; border-radius: 50%; background: #E5EEF3;
  display: inline-flex; align-items: center; justify-content: center;
  color: #6b7280; font-size: 11px; font-weight: 700;
}
.signup-form--trade .ta-form-progress__step.is-active { color: #0D1B2A; }
.signup-form--trade .ta-form-progress__step.is-active .num { background: #4DC9E6; color: #0D1B2A; }
.signup-form--trade .ta-form-progress__step.is-done .num { background: #4DC9E6; color: #fff; }
.signup-form--trade .ta-form-actions {
  display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 12px;
}
.signup-form--trade .ta-options { display: flex; flex-direction: column; gap: 8px; }
.signup-form--trade .ta-options--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 480px) {
  .signup-form--trade .ta-options--grid { grid-template-columns: 1fr; }
}
.signup-form--trade .ta-option-label {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0D1B2A;
  transition: all 0.2s;
}
.signup-form--trade .ta-option-label:hover {
  border-color: #4DC9E6; background: rgba(77,201,230,0.06);
}
.signup-form--trade .ta-option-label input { accent-color: #4DC9E6; width: 16px; height: 16px; }
.signup-form--trade .ta-req { color: #ef4444; }
.signup-form--trade .ta-opt { color: #9ca3af; font-weight: 400; font-size: 11px; }
.signup-form .form-hint {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  color: #6b7280;
  margin: 4px 0 0;
}
.signup-form__error-inline {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  color: #ef4444;
  margin: 4px 0 0;
  display: none;
}
.signup-form__error-inline.is-visible { display: block; }

/* ── UPGRADE TO TRADE PANEL (dashboard, regular customers only) ── */
.ifd-upgrade-trade {
  background: linear-gradient(135deg, #0A1420 0%, #1A3040 100%);
  border-radius: 12px;
  padding: 32px;
  margin: 24px 0;
  color: #fff;
}
.ifd-upgrade-trade__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: 1200px;
}
.ifd-upgrade-trade .overline {
  color: #4DC9E6;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}
.ifd-upgrade-trade h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 12px;
  color: #fff;
}
.ifd-upgrade-trade p {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
  line-height: 1.5;
}
.ifd-upgrade-trade__benefits {
  display: flex;
  gap: 16px;
}
.ifd-upgrade-benefit {
  background: rgba(77, 201, 230, 0.1);
  border: 1px solid rgba(77, 201, 230, 0.3);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
  min-width: 80px;
}
.ifd-upgrade-benefit__pct {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #4DC9E6;
  line-height: 1;
}
.ifd-upgrade-benefit__label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}
@media (max-width: 768px) {
  .ifd-upgrade-trade__inner {
    grid-template-columns: 1fr;
  }
  .ifd-upgrade-trade__benefits {
    justify-content: stretch;
  }
  .ifd-upgrade-benefit {
    flex: 1;
    padding: 12px 8px;
  }
}
