/* ==========================================================================
   Infivex — "Infinite Possibilities"
   Design system: brand indigo #1b1464 + blue #0071bd + cyan #29aae1,
   sampled from the logo artwork. Rubik headings / Roboto body.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  /* Brand — sampled directly from the Infivex logo artwork.
     indigo #1b1464 · blue #0071bd · cyan #29aae1 · purple #652d90 · magenta #93268f
     The original navy and gold variable names are kept so the whole system
     stays one search away. */
  --navy-900: #0d0a2b;   /* deepest indigo — footer, dark grounds        */
  --navy-800: #171242;   /* dark indigo                                  */
  --navy-700: #2a2196;   /* mid indigo — gradient partner                */
  --navy: #1b1464;       /* brand indigo — primary                       */
  --navy-light: #0071bd; /* brand blue — links, hover                    */
  --gold: #29aae1;       /* brand cyan — accent fills, CTA, stat figures */
  --gold-dark: #0071bd;  /* brand blue — accent text on light grounds    */
  --gold-soft: #e4f4fc;  /* pale cyan — icon chips                       */

  /* Secondary brand accents, used sparingly */
  --purple: #652d90;
  --magenta: #93268f;

  /* Neutrals */
  --gray-900: #1c2230;
  --gray-700: #454b57;
  --gray-500: #656970;
  --gray-300: #a7afba;
  --gray-200: #e7eaf0;
  --gray-100: #f2f5fa;
  --gray-50: #f7fbff;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --text: var(--gray-900);
  --text-muted: var(--gray-500);
  --border: var(--gray-200);

  /* Type */
  --font-head: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(16, 21, 35, .06), 0 1px 2px rgba(16, 21, 35, .04);
  --shadow: 0 4px 16px rgba(16, 21, 35, .08);
  --shadow-lg: 0 16px 48px rgba(16, 21, 35, .14);
  --nav-h: 76px;
}

/* --------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

/* ----------------------------------------------------------- Utilities -- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }

.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.75; }
.section-navy .lead { color: rgba(255,255,255,.78); }
.measure { max-width: 760px; }
.measure-center { max-width: 760px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .9em;
}
.section-navy .eyebrow { color: var(--gold); }

.section-head { max-width: 760px; margin: 0 0 52px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-size: .97rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-gold { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--gray-50); }

.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-group.text-center { justify-content: center; }

/* ----------------------------------------------------------------- Nav -- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}
/* Logo lockup: the triangular-lattice mark + the Infivex wordmark.
   The wordmark is set in Roboto 900 to match the original artwork. */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--navy);
}
.logo:hover { color: var(--navy); }
.logo-mark { width: 46px; height: auto; display: block; flex-shrink: 0; }
.logo-wm {
  font-family: var(--font-body);
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: -.022em;
  line-height: 1;
  color: inherit;
}
.logo-wm small {
  display: block;
  font-size: .5rem;
  font-weight: 400;
  letter-spacing: .155em;
  color: var(--gray-300);
  margin-top: 4px;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; margin: 0; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 10px 14px;
  border-radius: 8px;
}
.nav-links > li > a:hover { color: var(--navy); background: var(--gray-100); }
.nav-links > li > a.active { color: var(--navy); }
.nav-links > li > a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.caret { width: 9px; height: 9px; flex-shrink: 0; opacity: .55; transition: transform .2s ease; }
.has-dropdown:hover .caret, .has-dropdown.open .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 268px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 400;
  color: var(--gray-700);
  line-height: 1.4;
}
.dropdown a strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy);
}
.dropdown a em { font-style: normal; font-size: .8rem; color: var(--gray-500); }
.dropdown a:hover { background: var(--gray-100); }
.dropdown a:hover strong { color: var(--navy-light); }

.mobile-menu {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--navy);
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------------------------------------------------------------- Hero -- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-700) 55%, var(--navy-900) 100%);
  color: rgba(255,255,255,.85);
  padding: 104px 0 96px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -140px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(41,170,225,.26) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.8); max-width: 62ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-page { padding: 76px 0 68px; }
.hero-page h1 { max-width: 20ch; }
.hero-page .hero-sub { margin-bottom: 0; }
.hero-page .hero-actions { margin-top: 2em; }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.4em; }
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 .5em; opacity: .5; }

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--border); background: var(--white); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 44px; }
.trust-label {
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gray-300);
}
.trust-logo {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: .01em;
}

/* --------------------------------------------------------------- Cards -- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--text-muted); font-size: .97rem; margin-bottom: 0; }
a.card { display: block; color: inherit; }
a.card:hover, .card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-300); }
a.card:hover h3 { color: var(--navy-light); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: 1.2em;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy-light);
}
a.card:hover .card-link { gap: .7em; color: var(--gold-dark); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 18px;
}

/* Product cards */
.product-card { display: flex; flex-direction: column; }
.product-card .card-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 16px;
}
.product-card ul { list-style: none; padding: 0; margin: 1.2em 0 0; }
.product-card ul li {
  position: relative;
  padding-left: 24px;
  font-size: .93rem;
  color: var(--text-muted);
  margin-bottom: .5em;
}
.product-card ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.product-card .card-link { margin-top: auto; padding-top: 1.4em; }

/* Feature list with checks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: .85em;
  color: var(--text-muted);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .38em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1.5px solid var(--gold);
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 6.5px; top: .68em;
  width: 5px; height: 9px;
  border: solid var(--gold-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-list strong { color: var(--text); font-weight: 500; }
.section-navy .check-list li { color: rgba(255,255,255,.78); }
.section-navy .check-list strong { color: var(--white); }

/* --------------------------------------------------------------- Split -- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-700) 100%);
  padding: 40px;
  color: rgba(255,255,255,.85);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.split-media h3, .split-media h4 { color: var(--white); }

/* Stat panel inside media block */
.stat-rows { display: grid; gap: 18px; }
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.stat-row:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-row dt { font-size: .95rem; color: rgba(255,255,255,.72); }
.stat-row dd {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* -------------------------------------------------------------- Media -- */
/* Product artwork. The SVGs already carry their own frame and border,
   so this only handles sizing, elevation and captions. */
.media { margin: 0; }
.media img, .media-frame {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.media figcaption {
  margin-top: 14px;
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.section-navy .media figcaption { color: rgba(255,255,255,.62); }
.media-tilt img { transform: perspective(1400px) rotateY(-4deg); transition: transform .4s ease; }
.media-tilt:hover img { transform: perspective(1400px) rotateY(0deg); }

/* Full-bleed showcase strip */
.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.showcase .media img { box-shadow: var(--shadow); }

/* Photography. Fixed aspect ratios keep rows aligned regardless of source crop. */
/* margin:0 matters — <figure> carries a UA default of `1em 40px` */
.photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 0; box-shadow: none; }
.photo-4x3 { aspect-ratio: 4 / 3; }
.photo-16x9 { aspect-ratio: 16 / 9; }
.photo-3x2 { aspect-ratio: 3 / 2; }
/* Brand wash so stock photography sits inside the palette instead of fighting it */
.photo-tint::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(27,20,100,.42) 0%, rgba(0,113,189,.22) 55%, rgba(147,38,143,.28) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.photo-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 42px 26px 20px;
  background: linear-gradient(to top, rgba(13,10,43,.9) 0%, transparent 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
}

/* Embedded video. The wrapper holds the 16:9 box so the iframe can fill it —
   iframes ignore aspect-ratio reliably only when absolutely positioned. */
.video {
  position: relative;
  margin: 0 auto;          /* auto keeps it centred at max-width */
  max-width: 920px;        /* wider than .measure — video reads better large */
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-caption {
  margin: 14px auto 0;
  max-width: 920px;
  font-size: .88rem;
  color: var(--text-muted);
}
.section-navy .video-caption { color: rgba(255,255,255,.6); }
.photo-label span { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 400; color: rgba(255,255,255,.72); margin-top: 3px; }

/* Card with a photo across the top */
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo .photo { border-radius: 0; box-shadow: none; }
.card-photo .card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-photo .card-body p { margin-bottom: 0; }
.card-photo .card-link { margin-top: auto; padding-top: 1.2em; }
.card-photo h3 { margin-bottom: .45em; }

/* --------------------------------------------------------------- Stats -- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: .1em;
}
.stat-label { font-size: .93rem; color: rgba(255,255,255,.72); }

/* ------------------------------------------------------------- Pricing -- */
.pricing-group { margin-bottom: 64px; }
.pricing-group:last-child { margin-bottom: 0; }
.pricing-group > h3 {
  font-size: 1.4rem;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  margin-bottom: 1.4em;
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--gold); border-width: 2px; box-shadow: var(--shadow); }
.price-badge {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy-900);
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 14px;
}
.price-card h4 { font-size: 1.15rem; margin-bottom: .3em; }
.price-tag {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin: .2em 0 .1em;
}
.price-tag small { font-family: var(--font-body); font-size: .92rem; font-weight: 400; color: var(--text-muted); }
.price-note { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.4em; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.6em; }
.price-card ul li {
  position: relative;
  padding-left: 25px;
  font-size: .93rem;
  color: var(--text-muted);
  margin-bottom: .5em;
}
.price-card ul li::before {
  content: '';
  position: absolute;
  left: 3px; top: .48em;
  width: 5px; height: 9px;
  border: solid var(--gold-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.price-card ul li.inherit { font-weight: 500; color: var(--text); }
.price-card ul li.inherit::before { border-color: var(--navy); }
.price-card .btn { margin-top: auto; justify-content: center; }

/* ----------------------------------------------------------- Timeline -- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline-item {
  position: relative;
  padding: 0 0 36px 62px;
  border-left: 2px solid var(--border);
  margin-left: 20px;
}
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: -21px; top: -4px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 4px solid var(--bg-alt);
}
.timeline-item h3 { margin-bottom: .35em; }
.timeline-item p { color: var(--text-muted); margin-bottom: 0; }
.section:not(.section-alt) .timeline-item::before { border-color: var(--white); }

/* ------------------------------------------------------------- Modules -- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy);
  transition: all .2s ease;
}
.pill:hover { border-color: var(--gold); background: var(--gold-soft); color: var(--navy); }
.section-navy .pill { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: var(--white); }
.section-navy .pill:hover { background: rgba(255,255,255,.13); border-color: var(--gold); }

/* ----------------------------------------------------------------- FAQ -- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}
.faq-q:hover { color: var(--navy-light); }
.faq-icon { position: relative; flex-shrink: 0; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold-dark);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.faq-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: none; padding: 0 0 22px; color: var(--text-muted); max-width: 68ch; }
.faq-item.open .faq-a { display: block; }

/* --------------------------------------------------------------- Forms -- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: .89rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--gold-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(0, 68, 136, .12);
}
.form-note { font-size: .85rem; color: var(--text-muted); margin-top: 1.2em; }
.form-card .btn { width: 100%; justify-content: center; }

/* Contact info block */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 22px; }
.info-list .info-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 1.1rem;
}
.info-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: .89rem;
  font-weight: 500;
  color: var(--navy);
}
.info-list span, .info-list a { font-size: .96rem; color: var(--text-muted); }
.info-list a:hover { color: var(--gold-dark); }

/* ----------------------------------------------------------------- CTA -- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%);
  color: rgba(255,255,255,.85);
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  bottom: -220px; left: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(147,38,143,.28) 0%, transparent 68%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.78); font-size: 1.1rem; max-width: 62ch; margin-left: auto; margin-right: auto; }

/* -------------------------------------------------------------- Footer -- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.62); padding: 70px 0 0; font-size: .94rem; }
.footer h4 {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.3em;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .65em; }
.footer a { color: rgba(255,255,255,.62); }
.footer a:hover { color: var(--gold); }
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo:hover { color: var(--white); }
.footer-brand .logo-wm small { color: rgba(255,255,255,.42); }
.footer-brand p { max-width: 40ch; line-height: 1.65; }
.footer-addr { font-style: normal; line-height: 1.75; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .87rem;
}
.footer-bottom p { margin: 0; }
.footer-note { color: rgba(255,255,255,.4); }

/* ---------------------------------------------------------- Responsive -- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { gap: 44px; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 14px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 14px; }
  .nav-links > li > a.active::after { display: none; }
  .mobile-menu { display: block; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin: 0 0 8px 16px;
    padding: 0 0 0 8px;
    display: none;
    min-width: 0;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
  .has-dropdown:not(.open):hover .dropdown { display: none; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .showcase { grid-template-columns: 1fr; }
  .media-tilt img { transform: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 72px 0 64px; }
  .hero-page { padding: 56px 0 52px; }
  .form-card { padding: 28px; }
  .card { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { padding-left: 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn { width: 100%; justify-content: center; }
  .btn-group { flex-direction: column; }
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
