/* ==========================================================================
   GIIB — style.css 
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brand: #087cc6;
  --brand-600: #0870b4;
  --brand-700: #06619a;
  --brand-50: #eaf4fb;
  --brand-10: #eef6fe;
  --brand-100: #d5e8f5;

  --ink: #0d1117;
  --ink-2: #1b2430;
  --muted: #55606e;
  --muted-2: #8a95a3;
  --line: #e7eaef;
  --line-2: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --bg-soft-2: #eef1f5;

  --footer-bg: #000000;

  --font-sans: "Google Sans Text", "Google Sans", "Inter", system-ui,
    -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Google Sans", "Google Sans Text", "Inter", system-ui,
    sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(13, 17, 23, 0.04);
  --shadow-sm: 0 4px 14px -6px rgba(13, 17, 23, 0.08);
  --shadow-md: 0 12px 32px -12px rgba(13, 17, 23, 0.12);
  --shadow-lg: 0 30px 60px -20px rgba(13, 17, 23, 0.18);

  --section-y: clamp(80px, 9vw, 96px);
  --container: 1380px;
}

[data-theme="dark"] {
  --ink: #f5f7fb;
  --ink-2: #e1e6ef;
  --muted: #a3acba;
  --muted-2: #7a8492;
  --line: #232934;
  --line-2: #1b2029;
  --bg: #0b0e13;
  --bg-soft: #10141b;
  --bg-soft-2: #151a23;
  --shadow-md: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img,
svg,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--brand);
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 1.05;
  font-weight: 500;
}
h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.1;
  font-weight: 500;
}
h3 {
  font-size: clamp(1.3rem, 1.6vw, 1.5rem);
  line-height: 1.25;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
  color: var(--muted);
  text-wrap: pretty;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted);  
  /*max-width: 62ch;*/
}
.lead.half {
  max-width: 62ch;
}

/* ---------- Layout helpers ---------- */
/*.container {
  max-width: var(--container);
}*/
.section {
  padding: var(--section-y) 0;
}
.section-soft {
  background: var(--bg-soft);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--brand);
  opacity: 0.6;
}
.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-brand {
  background: var(--brand);
  color: #fff;
}
.btn-brand:hover {
  background: var(--brand-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -12px rgba(8, 124, 198, 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn .i {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.btn-ghost .i,
.btn-light .i {
  background: var(--bg-soft);
  color: var(--ink);
}
.btn-lg {
  padding: 18px 30px;
  font-size: 1rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
/* on top (over dark hero) */
.site-header:not(.scrolled) .nav-main a,
.site-header:not(.scrolled) .nav-main .nav-link {
  color: rgba(255, 255, 255, 0.92);
}
.site-header:not(.scrolled) .nav-main a:hover,
.site-header:not(.scrolled) .nav-main .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.site-header:not(.scrolled) .hamburger {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.site-header:not(.scrolled) .brand-logo .logo-dark {
  display: none;
}
.site-header.scrolled .brand-logo .logo-light {
  display: none;
}
.brand-logo .logo-light {
  display: block;
}
/*.brand-logo .logo-dark { display: none; }*/

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo img {
  height: 40px;
  width: auto;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-main > li {
  position: relative;
  list-style: none;
}
.nav-main ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-main a,
.nav-main .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-2);
  border-radius: 8px;
}
.nav-main a:hover,
.nav-main .nav-link:hover {
  color: var(--brand);
  background: var(--bg-soft);
}
.nav-main .has-dropdown > .nav-link::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  margin-left: 4px;
  opacity: 0.7;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--ink-2) !important;
}
.dropdown a i {
  color: var(--brand);
  width: 18px;
  text-align: center;
}
.dropdown a:hover {
  background: var(--bg-soft) !important;
  color: var(--brand) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0;
  align-items: center;
  justify-content: center;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 88vw);
  background: var(--bg);
  border-left: 1px solid var(--line);
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.45);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.drawer-nav {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer-nav a,
.drawer-nav .accordion-head {
  padding: 14px 12px;
  font-weight: 500;
  border-radius: 10px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-nav a:hover,
.drawer-nav .accordion-head:hover {
  background: var(--bg-soft);
}
.drawer-sub {
  display: none;
  padding-left: 10px;
  flex-direction: column;
}
.drawer-sub.open {
  display: flex;
}
.drawer-foot {
  padding: 20px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

/* ==========================================================================
   Hero — full-bleed background video + overlay
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(820px, 94vh);
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero .bg-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .bg-media.poster {
  filter: brightness(0.9);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(5, 18, 38, 0.82) 0%,
    rgba(8, 30, 60, 0.7) 45%,
    rgba(8, 124, 198, 0.45) 100%
  );
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    1000px 500px at 10% 20%,
    rgba(0, 0, 0, 0.45),
    transparent 70%
  );
}
.hero h1,
.hero h2 {
  color: #fff;
}
.hero p,
.hero .hero-sub {
  color: rgba(255, 255, 255, 0.82);
}

.hero-grid {
  /*display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;*/
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 26px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.hero-kicker b {
  color: #fff;
  font-weight: 600;
}
.hero-kicker .tag {
  background: var(--brand);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero h1 {
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.hero h1 .hl {
  font-weight: 600;
  color: #7ac0ed;
  font-style: italic;
  font-family: var(--font-display);
}
.hero-sub {
  font-size: 1.12rem;
  max-width: 56ch;
  margin-bottom: 34px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
}
.hero-highlights .hh {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hero-highlights .hh i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-highlights .hh b {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}
.hero-highlights .hh span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero-side quote card */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  max-width: 440px;
  margin-left: auto;
}
.hero-card .stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-card .stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-card .stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero-card .cta-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-card .cta-row img.flag {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.hero-card .cta-row .msg b {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-card .cta-row .msg span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero-card .chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-card .chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Hero variants */
.hero[data-variant="centered"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero[data-variant="centered"] .hero-kicker,
.hero[data-variant="centered"] .hero-cta,
.hero[data-variant="centered"] .hero-highlights {
  justify-content: center;
}
.hero[data-variant="centered"] .hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.hero[data-variant="centered"] .hero-card {
  display: none;
}

.hero[data-variant="editorial"] .hero-grid {
  grid-template-columns: 1fr;
}
.hero[data-variant="editorial"] h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero[data-variant="editorial"] .hero-card {
  display: none;
}
.hero[data-variant="editorial"] .hero-highlights {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}

/* ==========================================================================
   Clients / Trusted by
   ========================================================================== */
.clients {
  padding: 60px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.clients-head {
  text-align: center;
  margin-bottom: 32px;
}
.clients-head span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.clients-grid {
  /*display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;*/
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  height: 72px;
  color: var(--muted-2);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: all 0.25s ease;
  filter: grayscale(100%); 
  opacity: .60;

}
.client-logo:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  filter: none; 
  opacity: 1;
}
.client-logo img {
  width: 100%;
  max-height: 48px;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.service-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.service-tabs button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.service-tabs button.active {
  background: var(--ink);
  color: #fff;
}
.service-tabs button:hover:not(.active) {
  color: var(--ink);
}

.services-grid {
  /*display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;*/
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card .ph {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.service-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover .ph img {
  transform: scale(1.06);
}
.service-card .ph .ico {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
}
.service-card .body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card h3 {
  margin-bottom: 10px;
}
.service-card p {
  margin-bottom: 18px;
  font-size: 0.95rem;
  flex: 1;
}
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.service-card .more i {
  transition: transform 0.25s;
}
.service-card:hover .more {
  color: var(--brand);
}
.service-card:hover .more i {
  transform: translateX(4px);
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
  padding: var(--section-y) 0;
}
.about-grid {
  /*display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;*/
}
.about-visual {
  position: relative;
  aspect-ratio: 1;
}
.about-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-visual .badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--ink);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-visual .badge b {
  display: block;
  font-size: 2.2rem;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: #fff;
}
.about-visual .badge span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.about-content .vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.vm-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.25s;
}
.vm-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.vm-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.vm-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-display);
}
.vm-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.section-why {
  background: var(--brand-10);
}
.why-grid {
  /*display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;*/
}
.why-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.25s ease;
  height: 100%;
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}
.why-card .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}
.why-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.why-card p {
  margin: 0;
  font-size: 0.93rem;
}

/* ==========================================================================
   MyPolicyNow
   ========================================================================== */
.mpn {
  padding: var(--section-y) 0;
  background: var(--bg);
  position: relative;
}
.mpn-featured {
  background: linear-gradient(135deg, #061a36 0%, #0a3a78 55%, #087cc6 100%);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mpn-featured::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
}
.mpn-featured::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(122, 192, 237, 0.18) 0%,
    transparent 70%
  );
}
.mpn-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.mpn-copy .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}
.mpn-copy .label .pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7ac0ed;
  box-shadow: 0 0 0 0 rgba(122, 192, 237, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(122, 192, 237, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(122, 192, 237, 0);
  }
}
.mpn-copy h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}
.mpn-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin-bottom: 22px;
  max-width: 46ch;
}
.mpn-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mpn-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}
.mpn-bullets li i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #7ac0ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.mpn-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.mpn-cta .btn-cta-lg {
  padding: 18px 30px;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  transition: all 0.25s;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}
.mpn-cta .btn-cta-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(0, 0, 0, 0.55);
}
.mpn-cta .btn-cta-lg .i {
  width: 34px;
  height: 34px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Portal mock illustration */
.mpn-mock {
  position: relative;
  perspective: 1600px;
}
.mpn-mock .browser {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(4deg);
}
.mpn-mock .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f3f5f8;
  border-bottom: 1px solid var(--line);
}
.mpn-mock .dots {
  display: flex;
  gap: 6px;
}
.mpn-mock .dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d3d7df;
}
.mpn-mock .url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.76rem;
  color: var(--muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mpn-mock .url i {
  color: #22a565;
  font-size: 0.7rem;
}
.mpn-mock .shot {
  padding: 20px 20px 24px;
  background: #fff;
  color: var(--ink);
}
.mpn-mock .heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.mpn-mock .heading .t {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  font-family: var(--font-display);
}
.mpn-mock .heading .f {
  display: flex;
  gap: 4px;
}
.mpn-mock .heading .f span {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-size: 0.65rem;
  color: var(--muted);
}
.mpn-mock .heading .f span.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.mpn-mock .quotes {
  display: grid;
  gap: 10px;
}
.mpn-mock .quote-card {
  display: grid;
  grid-template-columns: 46px 1fr auto auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: center;
}
.mpn-mock .quote-card.featured {
  border-color: var(--brand);
  background: var(--brand-50);
}
.mpn-mock .quote-card .ins {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.mpn-mock .quote-card.featured .ins {
  background: #fff;
  color: var(--brand);
}
.mpn-mock .quote-card .n {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.mpn-mock .quote-card .d {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}
.mpn-mock .quote-card .p {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  font-family: var(--font-display);
}
.mpn-mock .quote-card .b {
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}
.mpn-mock .quote-card.featured .b {
  background: var(--brand);
}

.mpn-mock .float-chip {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 2;
}
.mpn-mock .float-chip.a {
  top: -18px;
  left: -20px;
}
.mpn-mock .float-chip.b {
  bottom: -20px;
  right: -16px;
}
.mpn-mock .float-chip i {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mpn-mock .float-chip.a i {
  background: #e6f6ed;
  color: #22a565;
}

/* ==========================================================================
   Team — circular portraits
   ========================================================================== */
.team-grid {
  /*display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;*/
}
.team-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.team-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.team-card .portrait {
  width: 128px;
  height: 128px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 18px;
  background: var(--bg-soft);
  position: relative;
  box-shadow: 0 0 0 6px var(--bg-soft);
  transition: all 0.25s;
}
.team-card:hover .portrait {
  box-shadow: 0 0 0 6px var(--brand-50);
}
.team-card .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h4 {
  font-size: 1.10rem;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: var(--font-display);
}
.team-card .role {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: .5rem;
}
.team-card .bio {
  font-size: .8rem;
}
.team-card .socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}
.team-card .socials a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.team-card .socials a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Process / How to get
   ========================================================================== */
.steps-grid {
  /*display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;*/
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  padding: 38px 28px;
  border-right: 1px solid var(--line);
  counter-increment: step;
  position: relative;
  transition: background 0.25s;
}
.step:hover {
  background: var(--bg-soft);
}
.step:last-child {
  border-right: none;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3rem;
  color: var(--brand);
  line-height: 1;
  display: block;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}
.step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.step p {
  font-size: 0.93rem;
  margin: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.t-slider {
  position: relative;
  overflow: hidden;
}
.t-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.t-slide {
  flex: 0 0 100%;
  padding: 0 8px;
}
.t-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 60px clamp(32px, 5vw, 72px);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.t-card .quote-mark {
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 1;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 12px;
}
.t-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.t-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.t-meta b {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-display);
}
.t-meta span {
  font-size: 0.85rem;
  color: var(--muted);
}
.t-rating {
  color: var(--brand);
  margin-bottom: 14px;
  letter-spacing: 3px;
  font-size: 0.9rem;
}

.t-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  align-items: center;
}
.t-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.t-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.t-dots {
  display: flex;
  gap: 8px;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  border: 0;
  padding: 0;
  transition: all 0.2s;
}
.t-dot.active {
  background: var(--brand);
  width: 28px;
  border-radius: 999px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.section-faq-bg {
  background: var(--brand-10);
}
.faq-grid {
  /*display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 80px);*/
  align-items: start;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}
.faq-item:hover {
  border-color: var(--brand-100);
}
.faq-item[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  padding: 22px 24px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .ic {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
}
.faq-item[open] summary .ic {
  background: var(--brand);
  color: #fff;
  transform: rotate(45deg);
}
.faq-item .body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid {
  /*display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;*/
}
.blog-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.blog-card .cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.blog-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-card:hover .cover img {
  transform: scale(1.06);
}
.blog-card .cover .cat {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
.blog-card .body {
  padding: 26px;
}
.blog-card .meta {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.blog-card .meta i {
  margin-right: 6px;
  color: var(--brand);
}
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
  font-family: var(--font-display);
  transition: color 0.2s;
}
.blog-card:hover h3 {
  color: var(--brand);
}
.blog-card .read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.blog-card .read i {
  transition: transform 0.25s;
}
.blog-card:hover .read i {
  transform: translateX(5px);
}

/* ==========================================================================
   MISP/POSP
   ========================================================================== */
.misp {
  background: var(--bg-soft);
}
.misp-grid {
  /*display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;*/
}
.misp-list {
  margin-top: 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.misp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.98rem;
}
.misp-list li i {
  color: var(--brand);
  background: var(--brand-50);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 40px;
  padding-bottom: 64px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.form-card .sub {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 15%, transparent);
}
.form-field .err {
  font-size: 0.78rem;
  color: #d43f3f;
  margin-top: 6px;
  min-height: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}
.form-field.error .err {
  opacity: 1;
}
.form-field.error input,
.form-field.error select {
  border-color: #d43f3f;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 20px;
  font-size: 0.88rem;
  color: var(--muted);
}
.form-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
}
.form-success {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #e9f7ee;
  color: #2a7e4d;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-success.show {
  display: block;
}

/* ==========================================================================
   Footer — pure black
   ========================================================================== */
.site-footer {
  /*background: var(--footer-bg);*/
  background: var(--brand-700);
  color: #fff;
  padding: 80px 0 0;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}
.site-footer a:hover {
  color: #fff;
}
.footer-grid {
  /*display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;*/
  padding-bottom: 56px;
}
.footer-col h5 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  font-weight: 600;
  font-family: var(--font-display);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 0.93rem;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 20px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 20px;
  max-width: 38ch;
}
.footer-contact {
  display: flex; 
  flex-direction: column; 
  gap: 14px;
  margin-bottom: 22px;
}
.footer-contact { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.82); font-size: .9rem; }
.footer-contact-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0; font-size: .88rem;
  margin-top: 2px;
}
.footer-contact-text { display: flex; flex-direction: column; }
.footer-contact-text b { display: block; color: #fff; font-weight: 500; font-size: .92rem; margin-bottom: 2px; }
.footer-contact-text span { color: rgba(255,255,255,.6); font-size: .84rem; }
.footer-legal {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 10px 0 0 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.06);
}
.newsletter-form button {
  padding: 0 18px;
  border: 0;
  border-radius: 0 10px 10px 0;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s;
}
.newsletter-form button:hover {
  background: var(--brand-700);
}
.newsletter-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.socials-footer {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.socials-footer a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.socials-footer a:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 22px;
}
.footer-bottom ul a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Tweaks panel
   ========================================================================== */
#tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  width: 280px;
  display: none;
}
#tweaks-panel.show {
  display: block;
}
#tweaks-panel h6 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
#tweaks-panel h6 .close {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
}
.tweak-group {
  margin-bottom: 16px;
}
.tweak-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.color-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-sw {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.color-sw.active {
  border-color: var(--ink);
  transform: scale(1.1);
}
.seg {
  display: flex;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.seg button {
  flex: 1;
  padding: 8px;
  border: 0;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: all 0.15s;
}
.seg button.active {
  background: var(--ink);
  color: #fff;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   Additional Styles for New Pages
   ========================================================================== */

/* Active navigation state */
.nav-main a.active {
  color: var(--brand) !important;
  /*background: var(--bg-soft);*/
  background: rgba(255, 255, 255, 0.92);
}

/* Blog content styling */
.blog-content {
  color: var(--ink);
  line-height: 1.8;
}

.blog-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.blog-content p {
  margin-bottom: 20px;
  color: var(--muted);
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.blog-content li {
  margin-bottom: 8px;
  color: var(--muted);
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 20px 0;
}

/* Sidebar widgets */
.sidebar-widget {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.sidebar-widget ul li a:hover {
  color: var(--brand);
}

.sidebar-widget ul li a span:first-child {
  transition: color 0.2s ease;
}

/* Contact page specific */
.contact-info .footer-contact-row {
  margin-bottom: 20px;
}

.contact-info .footer-contact-icon {
  background: var(--brand-50);
  color: var(--brand);
  border: none;
}

/* Form input group for search */
.input-group .form-control {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  padding: 12px 16px;
}

.input-group .form-control:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 124, 198, 0.1);
}

/* Blog card hover improvements */
.blog-card .body p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: var(--muted);
}

/* Category tag on blog detail */
.cat {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Post navigation buttons */
.post-navigation .btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 24px;
}

.post-navigation .btn-ghost:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Legal pages styling */
.privacy-content h3,
.terms-content h3,
.cookie-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.privacy-content ul,
.terms-content ul,
.cookie-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.privacy-content li,
.terms-content li,
.cookie-content li {
  margin-bottom: 8px;
  color: var(--muted);
}

/* Service pages image styling */
.service-page-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Responsive improvements for new pages */
@media (max-width: 768px) {
  .post-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .post-navigation .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  
  .sidebar-widget {
    margin-bottom: 20px;
  }
  
  .blog-content h3 {
    font-size: 1.3rem;
  }
}

/* Form success message styling */
.form-success {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #e9f7ee;
  color: #2a7e4d;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-success.show {
  display: block;
}

.form-error {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fee;
  color: #d43f3f;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-error.show {
  display: block;
}

/* Dark mode adjustments for new elements */
[data-theme="dark"] .sidebar-widget {
  background: var(--bg-soft);
}

[data-theme="dark"] .contact-info .footer-contact-icon {
  background: rgba(8, 124, 198, 0.2);
}

[data-theme="dark"] .form-success {
  background: #1a3a2a;
  color: #7bc47e;
}

[data-theme="dark"] .post-navigation .btn-ghost {
  border-color: var(--line-2);
}

[data-theme="dark"] .post-navigation .btn-ghost:hover {
  background: var(--brand);
  border-color: var(--brand);
}


/* Inner page header styles */
.site-header.inner-page {
  background: var(--bg);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header.inner-page .nav-main a,
.site-header.inner-page .nav-main .nav-link {
  color: var(--ink-2);
}

.site-header.inner-page .nav-main a:hover,
.site-header.inner-page .nav-main .nav-link:hover {
  color: var(--brand);
}

.site-header.inner-page .brand-logo .logo-dark {
  display: block;
}

.site-header.inner-page .brand-logo .logo-light {
  display: none;
}

.site-header.inner-page .hamburger {
  color: var(--ink);
  border-color: var(--line);
}

/* Inner page hero section */
.inner-hero {
  position: relative;
  background: var(--brand);
  padding: 140px 0 80px;
  color: #fff;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*opacity: 0.15;*/
  pointer-events: none;
  opacity: 1;
  background: linear-gradient(
    135deg,
    rgba(5, 18, 38, 0.82) 0%,
    rgba(8, 30, 60, 0.7) 45%,
    rgba(8, 124, 198, 0.45) 100%
  );
}

.inner-hero h1,
.inner-hero p {
  color: #fff;
}

.inner-hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.inner-hero .eyebrow::before {
  background: #fff;
}

/* Contact page text color fix */
.contact-info .footer-contact-text b,
.contact-info .footer-contact-text span,
.contact-info .footer-contact-text a {
  color: var(--ink);
}

.contact-info .footer-contact-text span {
  color: var(--muted);
}

/* Map container */
.map-container {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
}

/* Responsive map */
@media (max-width: 768px) {
  .map-container iframe {
    height: 250px;
  }
  
  .inner-hero {
    padding: 120px 0 60px;
  }
}