/* ============================================================
   Enigma — Enterprise IT Solutions & Strategic Advisory
   Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --light-gray: #eef0f4;
  --mid-gray:   #9aa3b2;
  --dark-gray:  #4a5568;
  --charcoal:   #1e2535;
  --navy:       #0f1c38;
  --accent:     #2dd4bf;
  --accent-dim: #1aad9b;
  --link:       #1a56db;
  --border:     #dde2ec;
  --shadow-sm:  0 2px 8px rgba(15,28,56,.06);
  --shadow-md:  0 6px 24px rgba(15,28,56,.10);
  --shadow-lg:  0 16px 48px rgba(15,28,56,.14);
  --radius:     6px;
  --radius-lg:  12px;
  --transition: .22s ease;
  --max-w:      1200px;
  --font-body:  'Inter', sans-serif;
  --font-head:  'Playfair Display', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dim); }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem,4.5vw,3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem,3vw,2.4rem);  font-weight: 700; }
h3 { font-size: clamp(1.2rem,2vw,1.6rem);  font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem;    font-weight: 600; }
p  { color: var(--dark-gray); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead        { font-size: 1.15rem; color: var(--dark-gray); line-height: 1.8; }
.small       { font-size: .85rem;  color: var(--mid-gray); }
.text-accent { color: var(--accent-dim); }
.text-navy   { color: var(--navy); }
.text-center { text-align: center; }

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section        { padding-block: 5rem; }
.section--gray  { background: var(--off-white); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,.75); }

.grid-2  { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3  { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4  { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }  .gap-2 { gap: 1rem; }  .gap-3 { gap: 1.5rem; }  .gap-4 { gap: 2rem; }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }  .mt-3 { margin-top: 1.5rem; }  .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }  .mb-2 { margin-bottom: 1rem; }  .mb-3 { margin-bottom: 1.5rem; }  .mb-4 { margin-bottom: 2rem; }
.shadow { box-shadow: var(--shadow-md); }

/* ── Section Labels ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: .75rem;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-block: 1.25rem;
}
.divider--center { margin-inline: auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary   { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); color: var(--white); box-shadow: 0 4px 16px rgba(45,212,191,.35); }
.btn-outline   { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-accent    { background: var(--accent); color: var(--navy); border-color: var(--accent); font-weight: 700; }
.btn-accent:hover { background: var(--accent-dim); border-color: var(--accent-dim); color: var(--white); }
.btn-ghost     { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.btn-sm  { font-size: .8rem;  padding: .5rem 1.2rem; }
.btn-lg  { font-size: 1rem;   padding: .95rem 2.25rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card--flush { padding: 0; overflow: hidden; }
.card--dark  {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  color: var(--white);
}

/* ── Icon Box ─────────────────────────────────────────────── */
.icon-box {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(45,212,191,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; stroke: var(--accent-dim); fill: none; }

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat-item .stat-label {
  font-size: .8rem;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .35rem;
  display: block;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--accent);
  position: absolute;
  top: .5rem; left: 1.5rem;
  line-height: 1;
  opacity: .3;
}
.testimonial-card blockquote {
  font-size: .95rem;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  padding-top: .75rem;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-author .name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.testimonial-author .role { font-size: .78rem; color: var(--mid-gray); }

/* ── Image Ratio Boxes ────────────────────────────────────── */
.img-ratio        { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.img-ratio img    { width: 100%; height: 100%; object-fit: cover; }
.img-ratio--16x9  { aspect-ratio: 16/9; }
.img-ratio--4x3   { aspect-ratio: 4/3; }
.img-ratio--3x2   { aspect-ratio: 3/2; }
.img-ratio--1x1   { aspect-ratio: 1/1; }
.rounded { border-radius: var(--radius-lg); overflow: hidden; }

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.nav-logo span { color: var(--accent-dim); }
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--navy);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; }

.nav-menu { display: flex; align-items: center; gap: 0; }
.nav-item  { position: relative; }
.nav-link  {
  display: block;
  padding: .5rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent-dim); }

/* Dropdown */
.nav-item.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .5rem 0;
  z-index: 300;
}
.dropdown a {
  display: block;
  padding: .6rem 1.25rem;
  font-size: .85rem;
  color: var(--dark-gray);
  transition: background var(--transition), color var(--transition);
}
.dropdown a:hover { background: var(--off-white); color: var(--navy); }
.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding-block: 7rem 5rem;
}
.hero-bg-image { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,28,56,.92) 0%, rgba(15,28,56,.7) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero .lead { color: rgba(255,255,255,.8); margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding-block: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero h1   { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,.7); max-width: 640px; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.breadcrumb a   { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ── Tags / Pills ─────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: .25rem .75rem;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 50px;
  background: rgba(45,212,191,.12);
  color: var(--accent-dim);
}
.tag--navy { background: rgba(15,28,56,.08); color: var(--navy); }

/* ── Insight / Article Cards ──────────────────────────────── */
.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.insight-card .card-img { aspect-ratio: 16/9; overflow: hidden; }
.insight-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.insight-card:hover .card-img img { transform: scale(1.04); }
.insight-card .card-body { padding: 1.5rem; }
.insight-card .card-meta {
  display: flex; align-items: center; gap: .75rem;
  font-size: .78rem; color: var(--mid-gray);
  margin-bottom: .75rem;
}
.insight-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.insight-card h3 a { color: var(--navy); text-decoration: none; }
.insight-card h3 a:hover { color: var(--accent-dim); }
.insight-card p { font-size: .88rem; }

/* ── Case Cards ───────────────────────────────────────────── */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-img { aspect-ratio: 16/9; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-img img { transform: scale(1.04); }
.case-body { padding: 1.5rem; }
.case-sector {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-dim); margin-bottom: .5rem;
}
.case-body h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.case-result {
  display: flex; gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.result-num   { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.result-label { font-size: .75rem; color: var(--mid-gray); margin-top: .2rem; }

/* ── Forms ────────────────────────────────────────────────── */
.form-group  { margin-bottom: 1.25rem; }
.form-label  {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .45rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(45,212,191,.18);
}
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239aa3b2' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .8rem; color: var(--mid-gray); margin-top: .35rem; }

/* ── Check List ───────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: .6rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .93rem; color: var(--dark-gray);
}
.check-list li::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  min-width: 18px;
  margin-top: .15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231aad9b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.75; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .88rem; margin-bottom: .6rem;
}
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; flex-shrink: 0; margin-top: .15rem; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ── Accordion / FAQ ──────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: none; border: none;
  cursor: pointer; text-align: left;
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--accent-dim); }
.accordion-trigger svg {
  width: 20px; height: 20px;
  stroke: var(--mid-gray); fill: none;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.accordion-item.open .accordion-body { max-height: 800px; }
.accordion-body-inner { padding-bottom: 1.25rem; }
.accordion-body-inner p { font-size: .93rem; }

/* ── Timeline ─────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute; left: .5rem; top: .5rem; bottom: .5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--navy));
  border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.25rem; top: .35rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item .tl-date {
  font-size: .78rem; font-weight: 700;
  color: var(--accent-dim);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .35rem;
}
.timeline-item h4 { margin-bottom: .35rem; }

/* ── Team Cards ───────────────────────────────────────────── */
.team-card { text-align: center; }
.team-card .team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  border: 3px solid var(--border);
}
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .team-name  { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.team-card .team-role  { font-size: .82rem; color: var(--mid-gray); }
.team-card .team-linkedin { margin-top: .6rem; font-size: .78rem; color: var(--accent-dim); }

/* ── Process Steps ────────────────────────────────────────── */
.process-step { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; }
.step-number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: .2rem;
}
.step-content h4 { margin-bottom: .4rem; }

/* ── Service Icon Items ───────────────────────────────────── */
.service-icon-item {
  display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: box-shadow var(--transition), border-color var(--transition);
  color: inherit;
}
.service-icon-item:hover { box-shadow: var(--shadow-md); border-color: rgba(45,212,191,.4); }
.service-icon-item h4 { margin-bottom: .4rem; color: var(--navy); }
.service-icon-item p  { font-size: .88rem; margin: 0; }
.service-icon-item .icon-box { margin-bottom: 0; }

/* ── Policy / Legal Pages ─────────────────────────────────── */
.policy-body {
  max-width: 780px;
  margin-inline: auto;
}
.policy-body h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.policy-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.policy-body p, .policy-body li { font-size: .95rem; line-height: 1.85; }
.policy-body ul { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.policy-body a  { color: var(--link); text-decoration: underline; }
.policy-meta { font-size: .82rem; color: var(--mid-gray); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

/* ── Article / Insight Detail ─────────────────────────────── */
.article-body { max-width: 760px; }
.article-body h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: .75rem; }
.article-body h3 { font-size: 1.2rem; margin-top: 2rem; margin-bottom: .6rem; }
.article-body p  { font-size: 1rem; line-height: 1.85; margin-bottom: 1.25rem; }
.article-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body ul li { font-size: .97rem; line-height: 1.75; margin-bottom: .4rem; color: var(--dark-gray); }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin-block: 1.75rem;
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body blockquote p { font-size: 1.05rem; font-style: italic; color: var(--charcoal); margin: 0; }


/* ── Pricing Section ──────────────────────────────────────── */
.pricing-card-custom {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pricing-card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 212, 191, .45);
}

.pricing-card-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .7rem;
  border-radius: 999px;
}

.pricing-top {
  margin-bottom: 1.5rem;
}

.pricing-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(45, 212, 191, .12);
  color: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pricing-icon svg {
  width: 26px;
  height: 26px;
  fill: none !important;
  stroke: currentColor !important;
  display: block;
}

.pricing-icon svg path,
.pricing-icon svg polyline,
.pricing-icon svg line,
.pricing-icon svg circle {
  fill: none !important;
  stroke: currentColor !important;
}

.pricing-top h3 {
  margin-bottom: .65rem;
}

.pricing-top p {
  color: var(--dark-gray);
  font-size: .95rem;
  margin-bottom: 0;
}

.pricing-price {
  font-size: 2.65rem;
  line-height: 1;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -.03em;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-gray);
  letter-spacing: 0;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.pricing-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: .85rem;
  color: var(--dark-gray);
  font-size: .95rem;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dim);
  font-weight: 800;
}

@media (max-width: 768px) {
  .pricing-card-custom {
    padding: 1.5rem;
  }

  .pricing-price {
    font-size: 2.25rem;
  }

  .pricing-badge {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
  }
}


/* ── Cookie Consent Bar ───────────────────────────────────── */
#cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--charcoal);
  color: rgba(255,255,255,.85);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  z-index: 9999;
  border-top: 2px solid var(--accent);
  font-size: .88rem;
}
#cookie-bar a  { color: var(--accent); }
#cookie-bar.hidden { display: none; }

/* ── Thank You Page ───────────────────────────────────────── */
.thankyou-wrap {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-block: 5rem;
}
.thankyou-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(45,212,191,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
}
.thankyou-icon svg { width: 40px; height: 40px; stroke: var(--accent-dim); fill: none; }

/* ── 404 Page ─────────────────────────────────────────────── */
.notfound-wrap {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding-block: 5rem;
}
.notfound-code {
  font-family: var(--font-head);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: .5rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-menu { display: none; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.5rem 1.5rem;
    z-index: 199;
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: .65rem 0; width: 100%; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: .75rem; }
  .nav-toggle { display: flex; }
  .dropdown {
    display: none !important;
  }
  .hero { padding-block: 4.5rem 3rem; }
  .section { padding-block: 3.5rem; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}


