/* Insurance Corner — theme from logo: deep blue + crimson */
:root {
  --blue: #283080;
  --blue-dark: #1a2058;
  --blue-mid: #3a4499;
  --blue-light: #4a54b0;
  --red: #981c28;
  --red-dark: #7a1620;
  --red-light: #b82432;
  --text: #1e2340;
  --text-muted: #5c6178;
  --border: #e4e7f0;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --bg-alt: #eef0f8;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(40, 48, 128, 0.1);
  --shadow-sm: 0 4px 20px rgba(40, 48, 128, 0.08);
  --radius: 8px;
  --container: 1200px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

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

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.section-label {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title span {
  font-weight: 800;
  color: var(--red);
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-desc {
  margin-inline: auto;
}

/* ========== TOP BAR ========== */
.topbar {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 10px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--white);
  font-weight: 600;
}

.topbar a:hover {
  color: #ffb3bb;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-badge {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(40, 48, 128, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  min-height: 80px;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.nav > li > a:hover,
.nav > li > a.active {
  color: var(--red);
}

.nav .plus {
  font-size: 12px;
  opacity: 0.5;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.dropdown a:hover {
  color: var(--red);
  background: var(--bg-soft);
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: #f8f9fc;
  padding: 60px 0 100px;
  overflow: hidden;
}

/* Themed geometric banner background */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-geo-bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

/* Soft wash so text stays readable over the pattern */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 249, 252, 0.35) 0%,
    rgba(248, 249, 252, 0.12) 42%,
    rgba(248, 249, 252, 0.2) 100%
  );
}

/* Keep secondary pattern light so main geo bg leads */
.hero-pattern-right {
  position: absolute;
  right: -20px;
  top: -20px;
  transform: none;
  width: min(300px, 28vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  user-select: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 3px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue);
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--red);
}

.hero-text {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.stars {
  color: #e8a317;
  letter-spacing: 2px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 420px;
  margin-bottom: -100px;
  align-self: end;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-inline: auto;
}

.hero-image-wrap img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 40px rgba(40, 48, 128, 0.18));
}

.hero-badge {
  position: absolute;
  bottom: 18%;
  left: -10px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 180px;
  z-index: 2;
}

.hero-badge strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
}

.hero-badge span {
  font-size: 13px;
  opacity: 0.85;
}

/* Shared hex pattern behind cover cards + about + services */
.after-banner {
  position: relative;
  background-color: var(--white);
  background-image: url("../images/section-hex-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.after-banner > .feature-cards,
.after-banner > .about,
.after-banner > .services {
  background: transparent;
}

/* Feature cards — stable flex expand (no height jump / no wrap) */
.feature-cards {
  margin-top: -60px;
  position: relative;
  z-index: 2;
  padding: 0 0 72px;
  /* reserve space so About below never shifts */
  min-height: 328px;
}

.feature-cards-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  height: 280px;
}

.feature-card {
  flex: 1 1 0;
  flex-grow: 1;
  min-width: 0;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 0 43px rgba(0, 0, 0, 0.18);
  transition: flex-grow 0.4s cubic-bezier(0.24, 0.74, 0.58, 1);
}

.feature-card.active {
  flex-grow: 2.1;
}

.feature-card-inner {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  border: 8px solid var(--white);
  background-color: var(--blue-dark);
  overflow: hidden;
  box-sizing: border-box;
}

.feature-card-media {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.feature-card.active .feature-card-media {
  flex: 1 1 0;
}

.feature-card-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  transition: bottom 0.4s cubic-bezier(0.24, 0.74, 0.58, 1),
    transform 0.4s cubic-bezier(0.24, 0.74, 0.58, 1);
}

.feature-card-icon::before,
.feature-card-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity 0.4s cubic-bezier(0.24, 0.74, 0.58, 1);
}

.feature-card-icon::before {
  background-color: var(--blue);
}

.feature-card-icon::after {
  background-color: var(--red);
  opacity: 0;
}

.feature-card.active .feature-card-icon {
  bottom: 50%;
  transform: translateY(50%);
}

.feature-card.active .feature-card-icon::before {
  opacity: 0;
}

.feature-card.active .feature-card-icon::after {
  opacity: 1;
}

.feature-card-body {
  flex: 0 0 0px;
  flex-grow: 0;
  width: 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: flex-grow 0.4s cubic-bezier(0.24, 0.74, 0.58, 1),
    flex-basis 0.4s cubic-bezier(0.24, 0.74, 0.58, 1);
}

.feature-card.active .feature-card-body {
  flex: 1 1 0;
  flex-grow: 1;
  width: auto;
}

.feature-card-body-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* fixed content width prevents text reflow jerk while panel opens */
  min-width: 220px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #a5a5a5;
  font-size: 15px;
  line-height: 24px;
  box-sizing: border-box;
}

.feature-card-body h4 {
  margin-bottom: 10px;
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.3;
  color: var(--white);
  font-weight: 700;
}

.feature-card-body p {
  font-size: 14px;
  line-height: 1.55;
  color: #a5a5a5;
  margin-bottom: 0;
}

.feature-card-body a {
  margin-top: 14px;
  font-size: 14px;
  line-height: 24px;
  color: var(--white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.feature-card-body a i {
  color: var(--red);
  font-size: 14px;
}

.feature-card-body a:hover {
  color: #ff8a95;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}

.about-ring {
  position: absolute;
  inset: -18px;
  border: 4px solid var(--blue);
  border-radius: 55% 45% 48% 52% / 42% 55% 45% 58%;
  opacity: 0.35;
  pointer-events: none;
}

.about-exp {
  position: absolute;
  top: 8%;
  left: -10px;
  background: var(--blue-dark);
  color: var(--white);
  padding: 20px 18px;
  border-radius: 16px;
  max-width: 130px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-exp strong {
  display: block;
  font-size: 2rem;
  color: #ff8a95;
  line-height: 1;
}

.about-exp span {
  font-size: 13px;
  line-height: 1.3;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.about-feature {
  text-align: left;
}

.about-feature .icon {
  width: 52px;
  height: 52px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 22px;
}

.about-feature h5 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--blue-dark);
}

.about-feature p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== SERVICES — vertical tabs ========== */
.services {
  padding: 80px 0 100px;
  background: var(--bg-soft);
}

.service-tabs {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.35fr;
  gap: 0;
  align-items: stretch;
  /* fixed height prevents panel switch jump */
  height: 420px;
  box-shadow: var(--shadow);
  border-radius: 4px;
  overflow: hidden;
}

.service-tabs-nav {
  display: flex;
  flex-direction: column;
  background: var(--blue-dark);
  height: 100%;
  min-height: 0;
}

.service-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  /* equal-height tabs fill the column — no empty navy gap */
  flex: 1 1 0;
  min-height: 0;
  text-align: left;
  border: none;
  cursor: pointer;
  padding: 20px 26px;
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.88);
  font-family: inherit;
  transition: background 0.25s ease, color 0.25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-tab:last-child {
  border-bottom: none;
}

.service-tab:hover {
  background: #222a66;
}

.service-tab.active {
  background: var(--white);
  color: var(--text);
  z-index: 2;
}

/* Arrow pointing into the panel */
.service-tab.active::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 14px solid var(--white);
  filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.06));
}

.service-tab-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.1);
  color: #ff8a95;
  transition: background 0.25s ease, color 0.25s ease;
}

.service-tab.active .service-tab-icon {
  background: rgba(40, 48, 128, 0.08);
  color: var(--blue);
}

.service-tab-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.service-tab-text strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

.service-tab.active .service-tab-text strong {
  color: var(--blue-dark);
}

.service-tab-text small {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.service-tab.active .service-tab-text small {
  color: var(--text-muted);
}

.service-tabs-panels {
  position: relative;
  height: 100%;
  min-height: 0;
  background: var(--blue-dark);
  overflow: hidden;
}

.service-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 40px 36px;
  background-image: linear-gradient(105deg, rgba(18, 22, 58, 0.55) 0%, rgba(18, 22, 58, 0.25) 45%, transparent 70%),
    var(--panel-image);
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  /* stay absolute always — switching to relative caused the jump */
}

.service-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-panel-card {
  background: var(--white);
  padding: 36px 32px;
  max-width: 360px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  position: relative;
  z-index: 1;
}

.service-panel-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.3;
  color: var(--blue-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.service-panel-tag {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-panel-card > p:not(.service-panel-tag) {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}

/* Promo banners */
.promo-banners {
  padding: 40px 0 80px;
  background: var(--bg-soft);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 32, 88, 0.88), rgba(152, 28, 40, 0.65));
}

.promo-card > * {
  position: relative;
  z-index: 1;
}

.promo-card .tag {
  font-size: 12px;
  color: #ffb3bb;
  font-weight: 600;
  margin-bottom: 8px;
}

.promo-card h4 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.promo-card p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 18px;
}

/* ========== PROCESS ========== */
.process {
  padding: 100px 0;
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 48px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 16%;
  right: 16%;
  border-top: 2px dashed var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--bg-soft);
  border: 3px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--red);
}

.process-step h3 {
  font-size: 1.25rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 260px;
  margin-inline: auto;
}

/* ========== PARTNERS WORLDWIDE ========== */
.partners {
  padding: 90px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.partners-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 48px 64px;
  align-items: start;
}

.partners-accent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}

.partners-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.85;
}

.partners-line {
  width: 42px;
  height: 3px;
  background: var(--blue);
}

.partners-heading {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  line-height: 1.25;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 36px;
  max-width: 360px;
}

.partners-heading span {
  font-weight: 800;
  color: var(--red);
}

.partners-stat {
  position: relative;
  padding: 12px 0 8px;
  min-height: 200px;
}

.partners-map {
  position: absolute;
  left: -20px;
  right: -140px;
  top: -50px;
  bottom: -40px;
  background-image: url("../images/partners-map.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.partners-number {
  position: relative;
  z-index: 1;
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--blue-dark);
  letter-spacing: -0.04em;
}

.partners-number span {
  font-size: 0.45em;
  color: var(--red);
  vertical-align: super;
  margin-left: 2px;
}

.partners-stat-label {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.partners-intro {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 140px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.partners-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 16px 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  color: var(--blue-dark);
  transition: background 0.25s ease;
  box-sizing: border-box;
  overflow: hidden;
}

.partners-cell:hover {
  background: var(--bg-soft);
}

.partners-cell i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  font-size: 22px;
  line-height: 1;
  color: var(--blue);
}

.partners-cell span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.partners-cell-cta {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.85);
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 10px;
  padding: 16px 14px;
}

.partners-cell-cta:hover {
  background: #151a42;
}

.partners-cell-cta p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.partners-cell-cta .btn {
  padding: 8px 14px;
  font-size: 12px;
}

/* ========== QUOTE SECTION ========== */
.quote-section {
  position: relative;
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px 56px;
  align-items: start;
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.quote-services {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 10px 28px 10px 0;
  border-right: 1px solid var(--border);
}

.quote-service {
  --qs-bar-h: 72px;
  --qs-icon: 84px;
  position: relative;
  display: grid;
  grid-template-columns: 44px var(--qs-icon) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  width: 100%;
  height: var(--qs-icon);
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.quote-service::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: var(--qs-bar-h);
  background: transparent;
  z-index: 0;
  pointer-events: none;
  transition: background 0.25s ease;
}

.quote-service::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: calc(var(--qs-bar-h) / 2) 0 calc(var(--qs-bar-h) / 2) 14px;
  border-color: transparent transparent transparent transparent;
  z-index: 0;
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.quote-service .num {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--qs-bar-h);
  font-size: 14px;
  font-weight: 700;
  color: #9aa3d4;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.quote-service .qs-icon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--qs-icon);
  height: var(--qs-icon);
  background: #24305a;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(26, 32, 88, 0.18);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}


.quote-service .qs-label {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  height: var(--qs-bar-h);
  padding: 0 28px 0 18px;
  background: #fff;
  color: #2a2f45;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  box-shadow: 0 8px 20px rgba(26, 32, 88, 0.1);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.quote-service .qs-label strong {
  display: block;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.15;
}

.quote-service .qs-label .qs-sub {
  display: block;
  white-space: nowrap;
  line-height: 1.15;
  font-weight: 500;
}

.quote-service:hover .qs-icon {
  background: var(--blue);
}

.quote-service:hover .qs-label {
  color: var(--blue-dark);
}

.quote-service.active::before {
  background: var(--blue-dark);
  right: 0;
}

.quote-service.active::after {
  border-color: transparent transparent transparent var(--blue-dark);
}

.quote-service.active .num {
  color: #fff;
}

.quote-service.active .qs-icon {
  background: #3d4fc4;
  box-shadow: 0 10px 22px rgba(61, 79, 196, 0.35);
}

.quote-service.active .qs-label {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.quote-form-wrap {
  background: transparent;
  border-radius: 0;
  padding: 8px 0 0;
  box-shadow: none;
  border: none;
  position: relative;
  z-index: 1;
}

.quote-visual {
  position: absolute;
  right: -180px;
  top: 48%;
  transform: translateY(-40%);
  width: min(680px, 54vw);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(26, 32, 88, 0.25));
}

@media (max-width: 1200px) {
  .quote-visual {
    right: -200px;
    width: min(560px, 50vw);
  }

  .quote-grid {
    max-width: 680px;
  }
}

.quote-form-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}

.quote-form-title span {
  color: var(--blue);
}

.quote-form-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  background: var(--bg-soft);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}

.quote-form-wrap .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px dashed var(--border);
  border-radius: 50%;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card .quote-icon {
  color: var(--red);
  font-size: 28px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.testimonial-author h4 {
  font-size: 16px;
  color: var(--blue-dark);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ========== BLOG ========== */
.blog {
  padding: 80px 0 100px;
  background: var(--bg-soft);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card-image {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-meta .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.blog-card h3 {
  font-size: 1.15rem;
  color: var(--blue-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card h3 a:hover {
  color: var(--red);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ========== CONTACT CTA ========== */
.contact-cta {
  padding: 0 0 80px;
  background: var(--bg-soft);
}

.contact-cta-inner {
  background: var(--blue-dark);
  border-radius: 16px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-inner::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 40px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  right: -60px;
  top: -80px;
}

.contact-cta-content h3 {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 24px;
}

.contact-cta-content h3 span {
  font-weight: 800;
  color: #ff8a95;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.contact-method .cm-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-method small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

.contact-method strong {
  font-size: 16px;
}

.contact-or {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
}

.contact-cta-image {
  position: relative;
  justify-self: end;
}

.contact-cta-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 4px solid rgba(255, 255, 255, 0.15);
}

/* ========== FOOTER ========== */
.footer {
  background: #12163a;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo img {
  height: 64px;
  margin-bottom: 20px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
}

.social-links a:hover {
  background: var(--red);
}

.footer h5 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
  color: #ff8a95;
}

.footer-info li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-info .fi-icon {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-info a {
  color: inherit;
}

.footer-info a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a:hover {
  color: #ff8a95;
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-sm);
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--red);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 22, 58, 0.95);
  z-index: 2000;
  padding: 80px 32px 40px;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .close-nav {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .promo-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-tabs {
    grid-template-columns: 1fr 1.1fr;
  }

  .service-tab {
    padding: 22px 18px;
  }

  .service-tab-text small {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .quote-grid,
  .partners-layout,
  .contact-cta-inner,
  .service-tabs {
    grid-template-columns: 1fr;
  }

  .quote-grid {
    max-width: none;
  }

  .quote-services {
    padding-right: 0;
    border-right: none;
    padding-bottom: 8px;
    overflow: hidden;
  }

  .quote-service.active::after {
    display: none;
  }

  .quote-visual {
    display: none;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-heading {
    max-width: none;
  }

  .service-tabs {
    height: auto;
  }

  .service-tabs-nav {
    height: auto;
  }

  .service-tab {
    flex: none;
    padding: 22px 20px;
  }

  .service-tabs-panels {
    height: 320px;
  }

  .service-tab.active::after {
    display: none;
  }

  .service-panel-card {
    max-width: 100%;
  }

  .hero-pattern-right {
    width: min(240px, 48vw);
    right: -40px;
    top: -10px;
    opacity: 0.55;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 0;
    min-height: 0;
  }

  .hero-image-wrap {
    max-width: 360px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .contact-cta-image {
    justify-self: center;
  }

  .feature-cards {
    margin-top: 40px;
  }
}

/* Cover boxes — tablet/mobile: no expand animation, stacked content */
@media screen and (max-width: 1199px) {
  .feature-cards {
    min-height: 0;
  }

  .feature-cards-grid {
    height: auto;
    flex-wrap: wrap;
    gap: 20px;
  }

  .feature-card,
  .feature-card.active {
    flex: 1 1 calc(33.333% - 14px);
    height: auto;
    min-height: 0;
    box-shadow: none;
  }

  .feature-card-inner {
    display: block;
    height: auto;
    box-shadow: 0 0 43px rgba(0, 0, 0, 0.18);
  }

  .feature-card-media,
  .feature-card.active .feature-card-media {
    flex: none;
    width: 100%;
    max-width: none;
    height: 220px;
  }

  .feature-card-body,
  .feature-card.active .feature-card-body {
    flex: none;
    width: 100%;
    max-width: none;
    height: auto;
    overflow: visible;
  }

  .feature-card-body-inner {
    position: static;
    min-width: 0;
    height: auto;
  }

  .feature-card-icon,
  .feature-card.active .feature-card-icon {
    bottom: 0;
    transform: none;
  }

  .feature-card.active .feature-card-icon::before {
    opacity: 0;
  }

  .feature-card.active .feature-card-icon::after {
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .feature-card,
  .feature-card.active {
    flex: 1 1 100%;
  }

  .feature-card-media,
  .feature-card.active .feature-card-media {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .hero-pattern-right {
    display: none;
  }

  .hero-bg {
    background-position: left top;
    background-size: auto 100%;
  }

  .promo-grid,
  .testimonial-grid,
  .blog-grid,
  .process-steps,
  .footer-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .service-panel {
    padding: 24px 18px;
  }

  .service-panel-card {
    padding: 24px 20px;
  }

  .header-cta .btn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero {
    padding: 40px 0 0;
  }

  .hero-visual {
    margin-bottom: 0;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .about,
  .process,
  .quote-section,
  .testimonials {
    padding: 70px 0;
  }

  .contact-cta-inner {
    padding: 36px 24px;
  }

  .quote-form-wrap {
    padding: 28px 20px;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ========== INNER PAGES (WP-ready templates) ========== */
.page-hero {
  position: relative;
  padding: 72px 0 64px;
  background: #f5f6fb;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-geo-bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  opacity: 0.35;
  pointer-events: none;
}

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

.page-breadcrumb {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.page-breadcrumb a {
  color: var(--blue);
}

.page-breadcrumb a:hover {
  color: var(--red);
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 720px;
}

.page-title span {
  font-weight: 800;
  color: var(--red);
}

.page-lead {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
}

.page-section {
  padding: 80px 0;
}

.page-section.alt {
  background: var(--bg-soft);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.content-card h3 {
  color: var(--blue-dark);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.content-card p,
.content-card li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.content-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.content-card li {
  margin-bottom: 8px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-list-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-list-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-list-item .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.service-list-item h3 {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.service-list-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.service-list-item a {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.resource-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.resource-card-body .meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.resource-card-body h3 {
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.resource-card-body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.contact-info-list .fi-icon {
  color: var(--red);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  color: var(--blue-dark);
  font-size: 1.35rem;
  margin: 28px 0 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .content-grid,
  .contact-page-grid,
  .service-list,
  .resource-grid,
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}


.contact-socials a {
  background: var(--bg-alt);
  color: var(--blue);
}

.contact-socials a:hover {
  background: var(--blue);
  color: var(--white);
}

/* Resource article detail */
.article-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 36px;
  align-items: start;
}

.article-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 22px;
  display: block;
}

.article-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.article-meta span {
  color: var(--red);
}

.article-content h2 {
  color: var(--blue-dark);
  font-size: 1.35rem;
  margin: 28px 0 12px;
}

.article-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.article-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.article-content li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-cta {
  margin-top: 32px;
  padding: 24px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.article-cta h3 {
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.article-cta p {
  margin-bottom: 0;
}

.article-related {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.article-related li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.article-related a {
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
}

.article-related a:hover {
  color: var(--red);
}

.resource-card-body h3 a {
  color: inherit;
}

.resource-card-body h3 a:hover {
  color: var(--red);
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}
