/* =========================================
   PAGE-LEVEL ADDITIONS
   Layered on top of styles.css
   ========================================= */

/* Page hero (used on all interior pages) */
.page-hero {
  position: relative;
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(64px, 8vw, 96px);
  background: linear-gradient(180deg, #F8FAFC 0%, #ffffff 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(0,168,150,.08), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(10,31,68,.04), transparent 70%);
  pointer-events: none;
}
.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 64px);
  margin-top: 16px;
}
.page-hero .lead { margin-top: 22px; }
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--ink-3);
  font-family: var(--ff-head); font-weight: 500;
  letter-spacing: 0.02em;
}
.crumbs a { color: var(--ink-3); transition: color .2s; }
.crumbs a:hover { color: var(--teal); }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: var(--navy); }
.page-hero-aside { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; display: flex; gap: 14px; align-items: center;
}
.aside-card .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,168,150,.12); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.aside-card .v { font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: 22px; line-height: 1.15; }
.aside-card .l { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

@media (max-width: 800px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-aside { flex-direction: row; flex-wrap: wrap; }
  .aside-card { flex: 1 1 220px; }
}

/* Active nav state */
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-links a.active::after { width: 100%; }

/* =========================================
   SERVICE DETAIL ROWS
   ========================================= */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(64px, 7vw, 100px);
  border-top: 1px solid var(--line);
}
.service-row:first-of-type { border-top: 0; }
.service-row.reverse .sr-copy { order: 2; }
.service-row.reverse .sr-visual { order: 1; }
.sr-copy .num {
  font-family: var(--ff-head); font-weight: 700; font-size: 13px;
  color: var(--teal); letter-spacing: 0.16em; margin-bottom: 14px; display: inline-block;
}
.sr-copy h2 { margin-bottom: 16px; }
.sr-copy .lead { margin-bottom: 28px; }
.sr-features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.sr-features li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.sr-features .check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,168,150,.12); color: var(--teal); display: grid; place-items: center; margin-top: 1px; }
.sr-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.sr-meta .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-family: var(--ff-head); font-weight: 600; }
.sr-meta .v { font-family: var(--ff-head); font-weight: 600; color: var(--navy); font-size: 15px; margin-top: 6px; }

.sr-visual {
  aspect-ratio: 5/4;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, #0A1F44, #1a3a73 55%, #00A896);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sr-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 30%, rgba(244,180,0,.18), transparent 60%),
    radial-gradient(40% 50% at 20% 80%, rgba(0,168,150,.35), transparent 60%);
}
.sr-visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sr-tag {
  position: absolute; top: 22px; left: 22px;
  background: rgba(255,255,255,.95); padding: 8px 14px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: 12px; color: var(--navy);
  letter-spacing: 0.06em;
}
.sr-overlay {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: rgba(255,255,255,.95); border-radius: var(--r-md);
  padding: 18px 22px; display: flex; align-items: center; gap: 16px;
}
.sr-overlay .v { font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: 28px; line-height: 1; }
.sr-overlay .l { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.sr-overlay .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(0,168,150,.12); color: var(--teal); display: grid; place-items: center; }

@media (max-width: 980px) {
  .service-row { grid-template-columns: 1fr; gap: 32px; }
  .service-row.reverse .sr-copy { order: 1; }
  .service-row.reverse .sr-visual { order: 2; }
}

/* =========================================
   COMPARISON TABLE
   ========================================= */
.compare-table {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.compare-table table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; font-size: 15px; }
.compare-table thead th { background: var(--bg-alt); font-family: var(--ff-head); font-weight: 600; color: var(--navy); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-table tbody tr { border-top: 1px solid var(--line); }
.compare-table tbody td:first-child { font-family: var(--ff-head); font-weight: 600; color: var(--navy); }
.compare-table .pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-teal { background: rgba(0,168,150,.12); color: var(--teal-600); }
.pill-navy { background: rgba(10,31,68,.08); color: var(--navy); }
.pill-gold { background: rgba(244,180,0,.15); color: #8a6500; }
@media (max-width: 700px) {
  .compare-table { overflow-x: auto; }
  .compare-table table { min-width: 640px; }
}

/* =========================================
   INTERACTIVE COMPARE
   ========================================= */
.compare {
  --cmp-accent: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--shadow-md);
}
.cmp-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 6px;
  background: var(--bg-alt);
  border-radius: 999px;
  margin-bottom: 24px;
}
.cmp-tab {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 10px;
  border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600;
  color: var(--ink-2);
  transition: color .25s ease;
  text-align: center;
  white-space: nowrap;
}
.cmp-tab:hover { color: var(--navy); }
.cmp-tab.active { color: #fff; }
.cmp-tab .cmp-num { font-size: 10px; letter-spacing: 0.16em; opacity: 0.7; }
.cmp-tab .cmp-name { font-size: 13.5px; }
.cmp-indicator {
  position: absolute; z-index: 1; top: 6px; bottom: 6px; left: 0; width: 0;
  background: var(--navy);
  border-radius: 999px;
  transition: left .45s cubic-bezier(.6,.05,.28,1), width .45s cubic-bezier(.6,.05,.28,1), background .35s ease;
}
.compare:has(.cmp-tab:nth-child(2).active) .cmp-indicator { background: var(--teal); }
.compare:has(.cmp-tab:nth-child(3).active) .cmp-indicator { background: #1E6A8E; }
.compare:has(.cmp-tab:nth-child(4).active) .cmp-indicator { background: var(--teal-600); }
.compare:has(.cmp-tab:nth-child(5).active) .cmp-indicator { background: #b88500; }

.cmp-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  min-height: 460px;
}
.cmp-card-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 70% at 90% 0%, color-mix(in oklch, var(--cmp-accent), transparent 80%) 0%, transparent 70%),
    radial-gradient(40% 60% at 0% 100%, color-mix(in oklch, var(--cmp-accent), transparent 88%) 0%, transparent 70%),
    var(--bg-alt);
  transition: background .55s ease;
}
.cmp-card-inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(20px, 2.5vw, 28px);
}

.cmp-head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.cmp-pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: 12px;
  letter-spacing: 0.04em;
  transition: opacity .25s ease, background .35s ease, color .35s ease;
}
.cmp-pill.pill-teal { background: rgba(0,168,150,.14); color: var(--teal-600); }
.cmp-pill.pill-navy { background: rgba(10,31,68,.10); color: var(--navy); }
.cmp-pill.pill-gold { background: rgba(244,180,0,.18); color: #8a6500; }

.cmp-title {
  margin-top: 12px; margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 38px);
  transition: opacity .25s ease;
}
.cmp-tag {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  max-width: 60ch;
  transition: opacity .25s ease;
}
.cmp-cta { white-space: nowrap; align-self: end; }

.cmp-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  padding: 20px 24px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  border: 1px solid rgba(10,31,68,.06);
}
.cmp-stat-label {
  font-family: var(--ff-head); font-weight: 600; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.cmp-stat-value {
  font-family: var(--ff-head); font-weight: 600; font-size: 15px;
  color: var(--navy); margin-top: 6px;
  transition: color .3s ease, opacity .25s ease;
}

.cmp-bars { display: grid; gap: 16px; }
.cmp-bar-row { display: grid; gap: 8px; }
.cmp-bar-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-2);
}
.cmp-bar-label span:first-child { font-family: var(--ff-head); font-weight: 500; color: var(--navy); }
.cmp-bar-val { font-family: var(--ff-head); font-weight: 700; color: var(--cmp-accent, var(--navy)); transition: color .35s ease; }
.cmp-bar {
  height: 8px; border-radius: 999px;
  background: rgba(10,31,68,.06);
  overflow: hidden;
}
.cmp-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cmp-accent, var(--navy)), color-mix(in oklch, var(--cmp-accent), white 30%));
  border-radius: 999px;
  transition: width .9s cubic-bezier(.6,.05,.28,1), background .35s ease;
  position: relative;
}
.cmp-bar-fill::after {
  content: ""; position: absolute; right: 0; top: -2px; bottom: -2px;
  width: 12px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5));
  border-radius: 999px;
}

.cmp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 8px;
}
.cmp-foot-meter { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.cmp-foot-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cmp-accent, var(--navy));
  box-shadow: 0 0 0 0 currentColor;
  animation: cmpPulse 1.8s ease-out infinite;
}
@keyframes cmpPulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--cmp-accent, var(--navy)), transparent 40%); }
  100% { box-shadow: 0 0 0 12px transparent; }
}
.cmp-progress {
  flex: 1;
  max-width: 360px;
  height: 3px;
  background: rgba(10,31,68,.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.cmp-progress span {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--cmp-accent, var(--navy));
  transition: background .35s ease;
}

@media (max-width: 800px) {
  .cmp-tabs { grid-template-columns: repeat(5, auto); overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp-tab { padding: 10px 14px; }
  .cmp-tab .cmp-name { font-size: 12px; }
  .cmp-head { grid-template-columns: 1fr; }
  .cmp-meta { grid-template-columns: 1fr; gap: 14px; padding: 16px 18px; }
  .cmp-foot { flex-direction: column; align-items: stretch; }
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero-img {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-xl);
  overflow: hidden; background: linear-gradient(135deg, #0A1F44, #1a3a73 60%, #00A896);
  box-shadow: var(--shadow-lg);
  margin-top: clamp(40px, 5vw, 64px);
}
.about-hero-img > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; transition: all .2s ease;
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.value .num {
  font-family: var(--ff-head); font-weight: 700; font-size: 14px; letter-spacing: 0.16em;
  color: var(--teal); margin-bottom: 18px; display: block;
}
.value h3 { margin-bottom: 12px; font-size: 22px; }
.value p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); transition: all .2s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #0A1F44, #1a3a73 60%, #00A896);
  position: relative; overflow: hidden;
}
.team-photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 30%, rgba(244,180,0,.2), transparent 60%);
}
.team-photo .initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 700; color: #fff;
  font-size: clamp(40px, 4vw, 56px); letter-spacing: 0.04em;
}
.team-body { padding: 22px; }
.team-body h4 { margin-bottom: 4px; font-size: 18px; }
.team-body .role { color: var(--teal-600); font-size: 13px; font-weight: 500; font-family: var(--ff-head); }
.team-body p { color: var(--ink-2); font-size: 14px; margin-top: 12px; line-height: 1.55; }
.team-socials { display: flex; gap: 8px; margin-top: 14px; }
.team-socials a {
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg-alt);
  display: grid; place-items: center; color: var(--ink-2); transition: all .2s ease;
}
.team-socials a:hover { background: var(--teal); color: #fff; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line-2);
}
.tl-item { position: relative; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 8px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3px solid var(--teal);
}
.tl-year { font-family: var(--ff-head); font-weight: 700; font-size: 14px; color: var(--teal); letter-spacing: 0.06em; }
.tl-item h4 { margin-top: 6px; margin-bottom: 6px; font-size: 19px; }
.tl-item p { color: var(--ink-2); font-size: 15px; }

/* =========================================
   PROCESS PAGE — expanded stages
   ========================================= */
.stage {
  display: grid; grid-template-columns: 0.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.stage:first-of-type { border-top: 0; padding-top: 24px; }
.stage-num {
  font-family: var(--ff-head); font-weight: 800;
  font-size: clamp(72px, 8vw, 120px); line-height: 0.85;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em;
}
.stage-copy h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.stage-copy p { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.stage-details {
  background: var(--bg-alt); border-radius: var(--r-lg); padding: 28px;
}
.stage-details h4 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.stage-details ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.stage-details li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.stage-details li::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); margin-top: 8px;
}
.stage-details .duration {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 8px 14px; border-radius: 999px; background: #fff;
  font-family: var(--ff-head); font-weight: 600; font-size: 13px; color: var(--navy);
}
@media (max-width: 980px) {
  .stage { grid-template-columns: 1fr; gap: 20px; }
}

/* SLA cards */
.sla-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sla {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; text-align: left;
}
.sla .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(0,168,150,.12); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.sla h4 { margin-bottom: 6px; font-size: 16px; }
.sla p { color: var(--ink-2); font-size: 14px; }
@media (max-width: 800px) { .sla-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sla-grid { grid-template-columns: 1fr; } }

/* =========================================
   INDUSTRIES PAGE
   ========================================= */
.industry-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: all .2s ease; display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.industry-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.industry-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0A1F44, #1a3a73 60%, #00A896);
  position: relative; overflow: hidden;
}
.industry-visual .ico {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(255,255,255,.92);
}
.industry-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 30%, rgba(244,180,0,.18), transparent 60%);
}
.industry-visual .label {
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,.95); padding: 6px 12px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: 11px; color: var(--navy);
  letter-spacing: 0.06em;
}
.industry-body { padding: 28px; }
.industry-body h3 { margin-bottom: 10px; }
.industry-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.industry-tag { font-family: var(--ff-head); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); letter-spacing: 0.04em; }
.industry-stat { display: flex; gap: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.industry-stat .it { font-family: var(--ff-head); font-weight: 700; color: var(--navy); font-size: 18px; }
.industry-stat .ib { font-size: 12px; color: var(--ink-3); }
.industries-stack { display: grid; gap: 20px; }
@media (max-width: 700px) { .industry-card { grid-template-columns: 1fr; } }

/* =========================================
   INSIGHTS PAGE (blog)
   ========================================= */
.featured-article {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 56px); align-items: center;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.fa-cover {
  aspect-ratio: 16/11; border-radius: var(--r-xl);
  background: linear-gradient(135deg, #0A1F44, #1a3a73 60%, #00A896);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.fa-cover > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fa-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(0,168,150,.10); color: var(--teal-600); font-family: var(--ff-head); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; }
.fa-copy h2 { font-size: clamp(28px, 3vw, 42px); margin-top: 16px; margin-bottom: 16px; line-height: 1.15; }
.fa-copy p { color: var(--ink-2); font-size: 16px; line-height: 1.65; margin-bottom: 22px; }
.fa-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.fa-meta .author-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#00A896,#4fd1c5); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 13px; }
.fa-meta .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
@media (max-width: 980px) { .featured-article { grid-template-columns: 1fr; } }

.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}
.filter-chip {
  padding: 8px 16px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 500; font-size: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  cursor: pointer; transition: all .2s ease;
}
.filter-chip:hover { border-color: var(--teal); color: var(--navy); }
.filter-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: all .2s ease; display: flex; flex-direction: column;
}
.article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.article-cover {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0A1F44, #1a3a73);
  position: relative; overflow: hidden;
}
.article-cover.v1 { background: linear-gradient(135deg, #0A1F44, #1a3a73 60%, #00A896); }
.article-cover.v2 { background: linear-gradient(135deg, #1a3a73, #00A896); }
.article-cover.v3 { background: linear-gradient(135deg, #0A1F44, #00A896); }
.article-cover.v4 { background: linear-gradient(135deg, #122d5c, #F4B400); }
.article-cover.v5 { background: linear-gradient(135deg, #00A896, #4fd1c5); }
.article-cover.v6 { background: linear-gradient(135deg, #0A1F44, #1a3a73 70%, #F4B400); }
.article-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 70% 30%, rgba(255,255,255,.18), transparent 60%);
}
.article-cover .pattern {
  position: absolute; inset: 0; opacity: .25;
}
.article-category {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.95); padding: 5px 10px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: 11px; color: var(--navy);
  letter-spacing: 0.04em;
}
.article-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-body .date { font-size: 12px; color: var(--ink-3); font-family: var(--ff-head); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.article-body h3 { margin-top: 8px; margin-bottom: 10px; font-size: 19px; line-height: 1.3; }
.article-body p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.article-body .read {
  font-family: var(--ff-head); font-weight: 600; font-size: 13px; color: var(--teal-600);
  display: inline-flex; align-items: center; gap: 6px;
}
.article-body .read .arrow { transition: transform .2s; }
.article:hover .article-body .read .arrow { transform: translateX(3px); }
@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } }

.newsletter-block {
  margin-top: clamp(56px, 7vw, 88px);
  background: linear-gradient(135deg, var(--navy), #122d5c);
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 64px);
  position: relative; overflow: hidden;
  text-align: center;
}
.newsletter-block::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 60% at 50% 0%, rgba(0,168,150,.25), transparent 60%);
}
.newsletter-block h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); position: relative; }
.newsletter-block p { color: rgba(255,255,255,.75); margin: 14px auto 28px; max-width: 50ch; position: relative; }
.newsletter-block form { position: relative; display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.newsletter-block input { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; padding: 14px 18px; border-radius: 999px; font: inherit; }
.newsletter-block input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-block input:focus { outline: 0; border-color: var(--teal-300); background: rgba(255,255,255,.12); }
.newsletter-block button {
  background: var(--teal); color: #fff; padding: 14px 28px; border-radius: 999px;
  font-family: var(--ff-head); font-weight: 600; font-size: 15px;
  transition: background .2s, transform .2s;
}
.newsletter-block button:hover { background: var(--teal-600); transform: translateY(-1px); }
@media (max-width: 540px) {
  .newsletter-block form { flex-direction: column; }
  .newsletter-block button { width: 100%; }
}

/* =========================================
   CONTACT PAGE — channels grid + map
   ========================================= */
.channels-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.channel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: all .2s ease;
}
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.channel .ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,168,150,.12); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.channel h3 { font-size: 19px; margin-bottom: 8px; }
.channel p { color: var(--ink-2); font-size: 14.5px; margin-bottom: 14px; }
.channel a { font-family: var(--ff-head); font-weight: 600; color: var(--navy); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.channel a:hover { color: var(--teal); }
@media (max-width: 800px) { .channels-grid { grid-template-columns: 1fr; } }

.map-card {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1.4fr;
}
.map-info { padding: clamp(28px, 4vw, 40px); }
.map-info h3 { margin-bottom: 14px; }
.map-info .contact-row { padding: 12px 0; }
.map-art {
  background: linear-gradient(135deg, #e9eef5 0%, #d4dce8 100%);
  position: relative; min-height: 360px; overflow: hidden;
}
.map-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%);
  background: var(--navy); color: #fff;
  padding: 10px 14px 10px 12px; border-radius: 999px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 600; font-size: 13px;
  box-shadow: 0 8px 20px -6px rgba(10,31,68,.4);
}
.map-pin::after {
  content: ""; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-top: 7px solid var(--navy);
}
.map-pin .pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--teal-300);
  position: relative;
}
.map-pin .pulse::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(60,201,192,.5); animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (max-width: 800px) { .map-card { grid-template-columns: 1fr; } }

.contact-faq {
  margin-top: clamp(56px, 7vw, 88px);
}
