/* GradosABC — Design System v1.0 */
/* Fuentes: Syne (display) + Inter (body) */

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

:root {
  --blue:     #2563eb;
  --blue-h:   #1d4ed8;
  --blue-l:   #eff6ff;
  --blue-m:   #dbeafe;
  --blue-d:   rgba(37,99,235,0.10);
  --blue-b:   rgba(37,99,235,0.20);
  --amber:    #f59e0b;
  --amber-h:  #d97706;
  --amber-l:  #fffbeb;
  --amber-d:  rgba(245,158,11,0.12);
  --green:    #10b981;
  --green-d:  rgba(16,185,129,0.1);
  --white:    #ffffff;
  --off:      #f8fafc;
  --off2:     #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.07),0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 28px rgba(0,0,0,.09),0 4px 8px rgba(0,0,0,.04);
  --shadow-blue: 0 8px 24px rgba(37,99,235,.22);
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family:'Inter',sans-serif;
  background:var(--white);
  color:var(--gray-900);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

::selection { background:var(--blue); color:#fff; }

/* ── NAV ── */
.site-nav {
  position:sticky; top:0; z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--gray-200);
  box-shadow:var(--shadow-sm);
  height:64px;
}

.nav-inner {
  max-width:1200px; margin:0 auto;
  padding:0 32px; height:64px;
  display:flex; align-items:center;
  justify-content:space-between; gap:20px;
}

.nav-logo {
  display:flex; align-items:center;
  gap:10px; text-decoration:none; flex-shrink:0;
}

.nav-logo-icon {
  width:30px; height:30px;
  background:var(--blue); border-radius:7px;
  display:flex; align-items:center; justify-content:center;
}

.nav-logo-name {
  font-family:'Syne',sans-serif;
  font-size:17px; font-weight:600;
  letter-spacing:-.5px; color:var(--gray-900);
}

.nav-logo-name span { color:var(--blue); }

.nav-links {
  display:flex; align-items:center;
  gap:4px; list-style:none;
}

.nav-links a {
  font-size:13px; font-weight:500;
  color:var(--gray-500); text-decoration:none;
  padding:6px 12px; border-radius:6px;
  transition:all .2s;
}

.nav-links a:hover { color:var(--gray-900); background:var(--off); }
.nav-links a.active { color:var(--blue); }

.nav-cta {
  font-family:'Syne',sans-serif;
  font-size:13px; font-weight:600;
  background:var(--blue); color:#fff;
  padding:9px 20px; border-radius:8px;
  text-decoration:none; transition:all .2s;
  white-space:nowrap; flex-shrink:0;
}

.nav-cta:hover { background:var(--blue-h); transform:translateY(-1px); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background:var(--off);
  border-bottom:1px solid var(--gray-200);
  padding:10px 0;
}

.breadcrumb-inner {
  max-width:1200px; margin:0 auto; padding:0 32px;
  display:flex; align-items:center; gap:8px;
  font-size:12px; color:var(--gray-500); flex-wrap:wrap;
}

.breadcrumb a { color:var(--blue); text-decoration:none; }
.breadcrumb a:hover { text-decoration:underline; }
.breadcrumb span { color:var(--gray-400); }

/* ── HERO DE CERTIFICADO ── */
.cert-hero {
  background:linear-gradient(180deg, var(--blue-l) 0%, var(--white) 100%);
  border-bottom:1px solid var(--blue-m);
  padding:48px 0 40px;
}

.cert-hero-inner {
  max-width:1200px; margin:0 auto;
  padding:0 32px;
  display:grid; grid-template-columns:1fr 340px;
  gap:48px; align-items:start;
}

.cert-hero-tag {
  font-size:11px; font-weight:600;
  letter-spacing:2px; text-transform:uppercase;
  color:var(--blue); margin-bottom:12px;
  display:flex; align-items:center; gap:10px;
}

.cert-hero-tag::before {
  content:''; width:20px; height:1px;
  background:var(--blue);
}

.cert-hero h1 {
  font-family:'Syne',sans-serif;
  font-size:clamp(28px,4vw,44px);
  font-weight:600; letter-spacing:-1.5px;
  line-height:1.1; color:var(--gray-900);
  margin-bottom:16px;
}

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

.cert-hero-desc {
  font-size:16px; font-weight:400;
  color:var(--gray-600); line-height:1.75;
  max-width:560px;
}

.cert-pills {
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:20px;
}

.pill {
  font-size:11px; font-weight:600;
  padding:5px 12px; border-radius:100px;
  display:inline-flex; align-items:center; gap:5px;
}

.pill-blue { background:var(--blue-d); color:var(--blue); border:1px solid var(--blue-b); }
.pill-amber { background:var(--amber-d); color:var(--amber-h); }
.pill-gray { background:var(--off2); color:var(--gray-600); }
.pill-green { background:var(--green-d); color:var(--green); }

/* LEAD FORM en hero */
.lead-form-box {
  background:var(--white);
  border:1.5px solid var(--gray-200);
  border-radius:14px; padding:24px;
  box-shadow:var(--shadow-lg);
}

.lead-form-title {
  font-family:'Syne',sans-serif;
  font-size:17px; font-weight:600;
  letter-spacing:-.5px; color:var(--gray-900);
  margin-bottom:6px;
}

.lead-form-sub {
  font-size:12px; color:var(--gray-500);
  margin-bottom:20px; padding-bottom:16px;
  border-bottom:1px solid var(--gray-200);
}

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

.form-label {
  display:block; font-size:10px; font-weight:600;
  letter-spacing:1.5px; text-transform:uppercase;
  color:var(--gray-500); margin-bottom:6px;
}

.form-input, .form-select {
  width:100%; background:var(--off);
  border:1.5px solid var(--gray-200);
  color:var(--gray-900); padding:10px 12px;
  font-family:'Inter',sans-serif; font-size:14px;
  border-radius:8px; outline:none;
  transition:all .2s; -webkit-appearance:none;
}

.form-input:focus, .form-select:focus {
  border-color:var(--blue);
  background:var(--white);
  box-shadow:0 0 0 3px var(--blue-d);
}

.form-input::placeholder { color:var(--gray-400); }

.form-btn {
  width:100%;
  font-family:'Syne',sans-serif;
  font-size:14px; font-weight:600;
  background:var(--blue); color:#fff;
  border:none; padding:13px;
  border-radius:8px; cursor:pointer;
  transition:all .2s; margin-top:4px;
}

.form-btn:hover {
  background:var(--blue-h);
  transform:translateY(-1px);
  box-shadow:var(--shadow-blue);
}

.form-note {
  font-size:10px; color:var(--gray-400);
  text-align:center; margin-top:8px; line-height:1.5;
}

/* ── MAIN CONTENT ── */
.main-content {
  max-width:1200px; margin:0 auto;
  padding:48px 32px;
  display:grid;
  grid-template-columns:1fr 340px;
  gap:48px; align-items:start;
}

.content-area {}

/* Sections */
.content-section {
  margin-bottom:44px;
  padding-bottom:44px;
  border-bottom:1px solid var(--gray-200);
}

.content-section:last-child { border-bottom:none; }

.section-label {
  font-size:10px; font-weight:600;
  letter-spacing:2px; text-transform:uppercase;
  color:var(--blue); margin-bottom:8px;
  display:flex; align-items:center; gap:10px;
}

.section-label::before {
  content:''; width:18px; height:1px; background:var(--blue);
}

.content-section h2 {
  font-family:'Syne',sans-serif;
  font-size:clamp(20px,2.5vw,26px);
  font-weight:600; letter-spacing:-1px;
  color:var(--gray-900); margin-bottom:16px;
}

.content-section p {
  font-size:15px; color:var(--gray-600);
  line-height:1.8; margin-bottom:14px;
}

.content-section p strong { color:var(--gray-900); font-weight:600; }

/* Modulos table */
.modulos-table {
  width:100%; border-collapse:collapse;
  margin-top:8px;
}

.modulos-table th {
  background:var(--blue);
  color:#fff; font-family:'Syne',sans-serif;
  font-size:11px; font-weight:600;
  letter-spacing:.5px; text-align:left;
  padding:10px 14px;
}

.modulos-table th:first-child { border-radius:8px 0 0 0; }
.modulos-table th:last-child { border-radius:0 8px 0 0; }

.modulos-table td {
  padding:10px 14px;
  font-size:13px; color:var(--gray-700);
  border-bottom:1px solid var(--gray-200);
}

.modulos-table tr:nth-child(even) td { background:var(--off); }
.modulos-table tr:last-child td { border-bottom:none; }

.modulos-table td:first-child {
  font-family:'Syne',sans-serif; font-weight:600;
  font-size:10px; letter-spacing:1px; color:var(--blue);
}

.modulos-table td:last-child {
  font-weight:600; text-align:right;
  color:var(--gray-500); white-space:nowrap;
}

/* Salidas */
.salidas-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:8px; margin-top:8px;
}

.salida-item {
  display:flex; align-items:center; gap:10px;
  background:var(--off); border:1px solid var(--gray-200);
  border-radius:8px; padding:10px 14px;
  font-size:13px; font-weight:500; color:var(--gray-700);
  transition:all .2s;
}

.salida-item:hover { border-color:var(--blue); color:var(--blue); background:var(--blue-l); }

.salida-item::before {
  content:''; width:6px; height:6px;
  border-radius:50%; background:var(--blue); flex-shrink:0;
}

/* Comparativa subvencionado vs privado */
.comp-table {
  width:100%; border-radius:12px; overflow:hidden;
  border:1.5px solid var(--gray-200); margin-top:8px;
}

.comp-header {
  display:grid; grid-template-columns:1fr 1fr 1fr;
  background:var(--gray-900); padding:12px 16px;
}

.comp-header span {
  font-family:'Syne',sans-serif;
  font-size:11px; font-weight:600;
  letter-spacing:1px; text-transform:uppercase; color:#fff;
}

.comp-header span:not(:first-child) { text-align:center; }

.comp-row {
  display:grid; grid-template-columns:1fr 1fr 1fr;
  padding:12px 16px; border-bottom:1px solid var(--gray-200);
  transition:background .2s;
}

.comp-row:last-child { border-bottom:none; }
.comp-row:hover { background:var(--off); }

.comp-row span {
  font-size:13px; color:var(--gray-700);
}

.comp-row span:first-child { font-weight:600; color:var(--gray-800); }
.comp-row span:not(:first-child) { text-align:center; }

.comp-row .good { color:var(--green); font-weight:600; }
.comp-row .bad { color:#ef4444; }
.comp-row .ok { color:var(--amber-h); }

/* FAQ */
.faq-item {
  border:1.5px solid var(--gray-200);
  border-radius:10px; margin-bottom:10px;
  overflow:hidden; transition:border-color .2s;
}

.faq-item:hover { border-color:var(--blue); }

.faq-q {
  padding:16px 18px;
  font-family:'Syne',sans-serif;
  font-size:15px; font-weight:600;
  letter-spacing:-.2px; color:var(--gray-900);
  cursor:pointer;
  display:flex; justify-content:space-between;
  align-items:center; gap:12px;
  background:var(--white); border:none;
  width:100%; text-align:left;
}

.faq-q::after {
  content:'↓'; color:var(--blue); flex-shrink:0;
  font-size:14px; transition:transform .2s;
}

.faq-q.open::after { transform:rotate(180deg); }

.faq-a {
  padding:0 18px; max-height:0;
  overflow:hidden; transition:all .3s;
  font-size:14px; color:var(--gray-600);
  line-height:1.8;
}

.faq-a.open {
  padding:0 18px 16px;
  max-height:300px;
}

/* ── SIDEBAR ── */
.sidebar { display:flex; flex-direction:column; gap:20px; }

/* Ficha lateral */
.sidebar-card {
  background:var(--white);
  border:1.5px solid var(--gray-200);
  border-radius:14px; overflow:hidden;
  box-shadow:var(--shadow-sm);
}

.sidebar-card-head {
  background:var(--gray-900);
  padding:16px 18px;
  font-family:'Syne',sans-serif;
  font-size:13px; font-weight:600;
  color:#fff; letter-spacing:.3px;
}

.sidebar-card-body { padding:16px 18px; }

.ficha-row {
  display:flex; justify-content:space-between;
  align-items:baseline; padding:8px 0;
  border-bottom:1px solid var(--gray-200);
  font-size:13px;
}

.ficha-row:last-child { border-bottom:none; }

.ficha-label { color:var(--gray-500); }

.ficha-value {
  font-weight:600; color:var(--gray-900);
  text-align:right;
}

.ficha-value.blue { color:var(--blue); }
.ficha-value.amber { color:var(--amber-h); }

/* CTA sidebar */
.sidebar-cta {
  background:var(--blue);
  border-radius:14px; padding:24px;
  text-align:center;
}

.sidebar-cta h3 {
  font-family:'Syne',sans-serif;
  font-size:17px; font-weight:600;
  letter-spacing:-.5px; color:#fff;
  margin-bottom:8px;
}

.sidebar-cta p {
  font-size:13px; color:rgba(255,255,255,.7);
  margin-bottom:18px; line-height:1.65;
}

.sidebar-cta-btn {
  display:block; width:100%;
  font-family:'Syne',sans-serif;
  font-size:13px; font-weight:600;
  background:#fff; color:var(--blue);
  padding:12px; border-radius:8px;
  text-decoration:none; transition:all .2s;
  border:none; cursor:pointer;
}

.sidebar-cta-btn:hover { background:var(--blue-l); transform:translateY(-1px); }

/* Provincias relacionadas */
.prov-grid {
  display:flex; flex-wrap:wrap; gap:6px;
  padding:16px 18px;
}

.prov-tag {
  font-size:12px; font-weight:500;
  padding:5px 11px; border-radius:100px;
  background:var(--blue-d); color:var(--blue);
  border:1px solid var(--blue-b);
  text-decoration:none; transition:all .2s;
}

.prov-tag:hover { background:var(--blue); color:#fff; }

/* ── CERTIFICADOS RELACIONADOS ── */
.related-section {
  background:var(--off);
  border-top:1px solid var(--gray-200);
  padding:56px 0;
}

.related-inner { max-width:1200px; margin:0 auto; padding:0 32px; }

.related-inner h2 {
  font-family:'Syne',sans-serif;
  font-size:22px; font-weight:600;
  letter-spacing:-1px; margin-bottom:28px;
}

.related-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.related-card {
  background:var(--white);
  border:1.5px solid var(--gray-200);
  border-radius:12px; padding:18px;
  text-decoration:none; color:inherit;
  display:block; transition:all .25s;
  position:relative; overflow:hidden;
}

.related-card::before {
  content:''; position:absolute;
  top:0; left:0; right:0; height:3px;
  background:var(--blue); transform:scaleX(0);
  transform-origin:left; transition:transform .25s;
}

.related-card:hover {
  border-color:var(--blue);
  box-shadow:var(--shadow-md);
  transform:translateY(-2px);
}

.related-card:hover::before { transform:scaleX(1); }

.rc-code {
  font-size:10px; font-weight:600;
  letter-spacing:1.5px; color:var(--blue);
  margin-bottom:7px; display:block;
}

.rc-name {
  font-family:'Syne',sans-serif;
  font-size:13px; font-weight:600;
  letter-spacing:-.2px; line-height:1.3;
  color:var(--gray-900); margin-bottom:8px;
}

.rc-meta {
  font-size:11px; color:var(--gray-500);
  margin-bottom:10px;
}

.rc-count {
  font-size:12px; font-weight:600;
  color:var(--blue); border-top:1px solid var(--gray-200);
  padding-top:8px;
}

/* ── FOOTER ── */
.site-footer {
  background:var(--gray-900);
  border-top:1px solid rgba(255,255,255,.07);
}

.footer-top {
  max-width:1200px; margin:0 auto;
  padding:44px 32px 32px;
  display:grid; grid-template-columns:220px 1fr 1fr 1fr;
  gap:40px;
}

.footer-brand {}

.footer-logo {
  display:flex; align-items:center; gap:10px;
  margin-bottom:12px; text-decoration:none;
}

.footer-logo-name {
  font-family:'Syne',sans-serif;
  font-size:16px; font-weight:600;
  letter-spacing:-.5px; color:#fff;
}

.footer-logo-name span { color:var(--blue); }

.footer-desc {
  font-size:13px; color:rgba(255,255,255,.35);
  line-height:1.7;
}

.footer-col-title {
  font-size:10px; font-weight:600;
  letter-spacing:2px; text-transform:uppercase;
  color:rgba(255,255,255,.2); margin-bottom:14px;
}

.footer-links { list-style:none; display:flex; flex-direction:column; gap:8px; }

.footer-links a {
  font-size:13px; color:rgba(255,255,255,.4);
  text-decoration:none; transition:color .2s;
}

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

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.07);
  padding:18px 32px;
  max-width:1200px; margin:0 auto;
  display:flex; justify-content:space-between;
  align-items:center; flex-wrap:wrap; gap:10px;
}

.footer-copy {
  font-size:11px; color:rgba(255,255,255,.2);
}

.footer-legal { display:flex; gap:20px; list-style:none; }

.footer-legal a {
  font-size:11px; color:rgba(255,255,255,.2);
  text-decoration:none; transition:color .2s;
}

.footer-legal a:hover { color:rgba(255,255,255,.6); }

/* ── HOMEPAGE ── */
.hero-home {
  background:linear-gradient(180deg, var(--blue-l) 0%, var(--white) 100%);
  border-bottom:1px solid var(--blue-m);
  padding:80px 32px 72px; text-align:center;
}

.hero-home-tag {
  font-size:11px; font-weight:600;
  letter-spacing:2px; text-transform:uppercase;
  color:var(--blue); margin-bottom:16px;
  display:flex; align-items:center; justify-content:center; gap:10px;
}

.hero-home-tag::before,.hero-home-tag::after {
  content:''; width:20px; height:1px; background:var(--blue); opacity:.5;
}

.hero-home h1 {
  font-family:'Syne',sans-serif;
  font-size:clamp(36px,6vw,64px);
  font-weight:600; letter-spacing:-1px;
  line-height:1.05; color:var(--gray-900);
  margin-bottom:16px;
}

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

.hero-home-sub {
  font-size:18px; font-weight:300;
  color:var(--gray-600); max-width:560px;
  margin:0 auto 36px; line-height:1.75;
}

.hero-home-sub strong { color:var(--gray-900); font-weight:600; }

/* Homepage search */
.home-search {
  background:var(--white);
  border:1.5px solid var(--gray-200);
  border-radius:14px; padding:6px 6px 6px 20px;
  display:flex; align-items:center; gap:10px;
  max-width:640px; margin:0 auto;
  box-shadow:0 12px 40px rgba(37,99,235,.12);
}

.hs-field { flex:1; display:flex; flex-direction:column; min-width:0; padding:4px 0; }
.hs-label { font-size:9px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--gray-400); margin-bottom:2px; }
.hs-input { font-family:'Inter',sans-serif; font-size:14px; color:var(--gray-900); border:none; outline:none; background:transparent; }
.hs-input::placeholder { color:var(--gray-400); }
.hs-divider { width:1px; height:32px; background:var(--gray-200); flex-shrink:0; }
.hs-btn { font-family:'Syne',sans-serif; font-size:14px; font-weight:600; color:#fff; background:var(--blue); border:none; padding:13px 24px; border-radius:10px; cursor:pointer; transition:all .2s; white-space:nowrap; flex-shrink:0; }
.hs-btn:hover { background:var(--blue-h); transform:translateY(-1px); }

.quick-tags { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:14px; }
.quick-tag { font-size:12px; font-weight:500; color:var(--blue); background:var(--blue-d); border:1px solid var(--blue-b); padding:5px 13px; border-radius:100px; text-decoration:none; transition:all .2s; }
.quick-tag:hover { background:var(--blue); color:#fff; }

/* Stats */
.stats-bar { background:var(--white); border-bottom:1px solid var(--gray-200); }
.stats-inner { max-width:1200px; margin:0 auto; padding:0 32px; display:flex; flex-wrap:wrap; }
.stat-item { flex:1; min-width:140px; display:flex; align-items:center; gap:12px; padding:18px 20px; border-right:1px solid var(--gray-200); }
.stat-item:last-child { border-right:none; }
.stat-icon { width:34px; height:34px; background:var(--blue-d); border:1px solid var(--blue-b); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.stat-num { font-family:'Syne',sans-serif; font-size:20px; font-weight:600; letter-spacing:-1px; color:var(--gray-900); line-height:1; margin-bottom:2px; }
.stat-lbl { font-size:11px; color:var(--gray-500); }

/* Certs grid homepage */
.certs-home { max-width:1200px; margin:0 auto; padding:48px 32px; }
.certs-home-head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:24px; flex-wrap:wrap; gap:10px; }
.certs-home-title { font-family:'Syne',sans-serif; font-size:20px; font-weight:600; letter-spacing:-.5px; }
.certs-home-link { font-size:13px; font-weight:500; color:var(--blue); text-decoration:none; }
.certs-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

.anim { animation:fadeUp .5s ease both; }
.anim-1 { animation-delay:.06s; }
.anim-2 { animation-delay:.12s; }
.anim-3 { animation-delay:.18s; }
.anim-4 { animation-delay:.24s; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .cert-hero-inner,.main-content { grid-template-columns:1fr; }
  .cert-hero-inner .lead-form-box { display:none; }
  .related-grid,.certs-grid { grid-template-columns:repeat(2,1fr); }
  .footer-top { grid-template-columns:1fr 1fr; }
  .salidas-grid { grid-template-columns:1fr; }
  .sidebar { display:none; }
}

@media (max-width:768px) {
  .nav-inner { padding:0 18px; }
  .nav-links { display:none; }
  .cert-hero,.hero-home { padding:40px 0 36px; }
  .cert-hero-inner { padding:0 18px; }
  .main-content,.certs-home,.related-section,.related-inner { padding-left:18px; padding-right:18px; }
  .stats-inner { flex-direction:column; }
  .stat-item { border-right:none; border-bottom:1px solid var(--gray-200); padding:14px 0; }
  .related-grid,.certs-grid { grid-template-columns:1fr 1fr; }
  .footer-top { grid-template-columns:1fr; padding:32px 18px; }
  .footer-bottom { padding:16px 18px; flex-direction:column; text-align:center; }
  .home-search { flex-direction:column; padding:14px; }
  .hs-divider { display:none; }
  .hs-btn { width:100%; }
  .comp-header,.comp-row { grid-template-columns:1fr 1fr; }
  .comp-header span:first-child,.comp-row span:first-child { grid-column:1/-1; font-size:11px; }
}

/* ── WIDTH FIX — consistent max-width throughout ── */
.hero-home .hero-home-inner,
.hero-home form,
.hero-home .quick-tags,
.hero-home .hero-home-tag,
.hero-home h1,
.hero-home .hero-home-sub { max-width:1200px; margin-left:auto; margin-right:auto; }

.hero-home { padding-left:0; padding-right:0; }
.hero-home > * { padding-left:32px; padding-right:32px; }

.stats-bar .stats-inner,
.certs-home,
.related-inner,
.site-footer .footer-top,
.site-footer .footer-bottom { max-width:1200px; }

/* ── NAV HAMBURGER ── */
.nav-hamburger {
  display:none; background:transparent;
  border:1px solid var(--gray-200);
  border-radius:6px; padding:6px;
  cursor:pointer; color:var(--gray-700);
}

@media (max-width:900px) {
  .nav-links { display:none; flex-direction:column; position:absolute; top:64px; left:0; right:0; background:#fff; border-bottom:1px solid var(--gray-200); padding:16px; gap:4px; z-index:99; }
  .nav-links.open { display:flex; }
  .nav-hamburger { display:flex; }
  .nav-inner > div:last-of-type { display:none; }
}

/* ── LANDING PAGES ── */
.landing-hero {
  background:linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  padding:80px 32px 72px; text-align:center; position:relative; overflow:hidden;
}
.landing-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 600px 400px at 30% 50%, rgba(37,99,235,.15) 0%, transparent 65%),
             radial-gradient(ellipse 400px 400px at 80% 20%, rgba(245,158,11,.08) 0%, transparent 65%);
  pointer-events:none;
}
.landing-hero-inner { position:relative; z-index:1; max-width:760px; margin:0 auto; }
.landing-hero h1 { font-family:'Syne',sans-serif; font-size:clamp(32px,5vw,54px); font-weight:600; letter-spacing:-2px; line-height:1.05; color:#fff; margin-bottom:18px; }
.landing-hero h1 span { color:var(--blue); }
.landing-hero p { font-size:18px; font-weight:300; color:rgba(255,255,255,.65); line-height:1.75; margin-bottom:36px; }
.landing-hero p strong { color:rgba(255,255,255,.9); font-weight:500; }

.landing-section { padding:64px 0; }
.landing-inner { max-width:1200px; margin:0 auto; padding:0 32px; }

.benefits-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:32px; }
.benefit-card { background:#fff; border:1.5px solid var(--gray-200); border-radius:12px; padding:28px; transition:all .25s; }
.benefit-card:hover { border-color:var(--blue); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.benefit-icon { width:48px; height:48px; background:var(--blue-d); border:1px solid var(--blue-b); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px; }
.benefit-title { font-family:'Syne',sans-serif; font-size:16px; font-weight:600; letter-spacing:-.2px; margin-bottom:8px; }
.benefit-desc { font-size:14px; color:var(--gray-500); line-height:1.75; }

.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:32px; }
.pricing-card { border:1.5px solid var(--gray-200); border-radius:14px; overflow:hidden; transition:all .25s; }
.pricing-card:hover { box-shadow:var(--shadow-lg); }
.pricing-card.featured { border-color:var(--blue); }
.pricing-head { padding:24px 24px 20px; background:var(--off); }
.pricing-card.featured .pricing-head { background:var(--blue); }
.pricing-name { font-family:'Syne',sans-serif; font-size:14px; font-weight:600; letter-spacing:.5px; text-transform:uppercase; color:var(--gray-600); margin-bottom:12px; }
.pricing-card.featured .pricing-name { color:rgba(255,255,255,.7); }
.pricing-price { font-family:'Syne',sans-serif; font-size:40px; font-weight:900; letter-spacing:-2px; color:var(--gray-900); line-height:1; }
.pricing-card.featured .pricing-price { color:#fff; }
.pricing-period { font-size:13px; color:var(--gray-500); margin-top:4px; }
.pricing-card.featured .pricing-period { color:rgba(255,255,255,.6); }
.pricing-body { padding:20px 24px 24px; }
.pricing-features { list-style:none; display:flex; flex-direction:column; gap:10px; margin-bottom:24px; }
.pricing-features li { font-size:13px; color:var(--gray-600); display:flex; align-items:center; gap:10px; }
.pricing-features li::before { content:'✓'; color:var(--green); font-weight:600; flex-shrink:0; }
.pricing-btn { display:block; text-align:center; font-family:'Syne',sans-serif; font-size:13px; font-weight:600; padding:12px; border-radius:8px; text-decoration:none; transition:all .2s; }
.pricing-btn-primary { background:var(--blue); color:#fff; }
.pricing-btn-primary:hover { background:var(--blue-h); }
.pricing-btn-secondary { background:var(--off); color:var(--gray-900); border:1.5px solid var(--gray-200); }
.pricing-btn-secondary:hover { border-color:var(--blue); color:var(--blue); }

/* ── JOB BOARD ── */
.job-filters { background:#fff; border:1.5px solid var(--gray-200); border-radius:12px; padding:20px; margin-bottom:24px; display:flex; gap:12px; flex-wrap:wrap; align-items:flex-end; }
.filter-group { display:flex; flex-direction:column; gap:6px; flex:1; min-width:160px; }
.filter-group label { font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--gray-500); }
.filter-group select, .filter-group input { font-family:'Inter',sans-serif; font-size:13px; padding:9px 12px; border:1.5px solid var(--gray-200); border-radius:8px; color:var(--gray-900); outline:none; background:#fff; -webkit-appearance:none; }
.filter-group select:focus, .filter-group input:focus { border-color:var(--blue); }
.filter-btn { font-family:'Syne',sans-serif; font-size:13px; font-weight:600; background:var(--blue); color:#fff; border:none; padding:11px 24px; border-radius:8px; cursor:pointer; white-space:nowrap; }

.jobs-list { display:flex; flex-direction:column; gap:14px; }
.job-card { background:#fff; border:1.5px solid var(--gray-200); border-radius:12px; padding:22px 24px; display:flex; align-items:flex-start; gap:18px; transition:all .25s; text-decoration:none; color:inherit; }
.job-card:hover { border-color:var(--blue); box-shadow:var(--shadow-md); transform:translateY(-1px); }
.job-card.featured { border-color:var(--amber); background:linear-gradient(135deg, var(--amber-l) 0%, #fff 40%); }
.job-logo { width:52px; height:52px; background:var(--off); border:1px solid var(--gray-200); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:'Syne',sans-serif; font-size:14px; font-weight:600; color:var(--blue); flex-shrink:0; }
.job-info { flex:1; }
.job-title { font-family:'Syne',sans-serif; font-size:16px; font-weight:600; letter-spacing:-.2px; color:var(--gray-900); margin-bottom:5px; }
.job-company { font-size:13px; color:var(--gray-600); margin-bottom:10px; }
.job-tags { display:flex; flex-wrap:wrap; gap:6px; }
.job-tag { font-size:11px; font-weight:500; padding:4px 10px; border-radius:100px; background:var(--off); border:1px solid var(--gray-200); color:var(--gray-600); }
.job-tag.blue { background:var(--blue-d); color:var(--blue); border-color:var(--blue-b); }
.job-tag.green { background:var(--green-d); color:var(--green); }
.job-meta { text-align:right; flex-shrink:0; display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.job-salary { font-family:'Syne',sans-serif; font-size:15px; font-weight:600; letter-spacing:-1px; color:var(--gray-900); }
.job-date { font-size:11px; color:var(--gray-400); }
.job-badge { font-size:10px; font-weight:600; letter-spacing:1px; text-transform:uppercase; padding:4px 10px; border-radius:100px; }
.job-badge.amber { background:var(--amber); color:var(--gray-900); }
.job-badge.blue { background:var(--blue); color:#fff; }

/* ── BLOG ── */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card { background:#fff; border:1.5px solid var(--gray-200); border-radius:12px; overflow:hidden; transition:all .25s; text-decoration:none; color:inherit; display:block; }
.blog-card:hover { border-color:var(--blue); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.blog-card-img { height:180px; background:linear-gradient(135deg, var(--blue-l), var(--blue-m)); display:flex; align-items:center; justify-content:center; font-size:40px; }
.blog-card-body { padding:20px; }
.blog-card-cat { font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--blue); margin-bottom:8px; display:block; }
.blog-card-title { font-family:'Syne',sans-serif; font-size:16px; font-weight:600; letter-spacing:-.2px; color:var(--gray-900); line-height:1.3; margin-bottom:10px; }
.blog-card-desc { font-size:13px; color:var(--gray-500); line-height:1.7; margin-bottom:14px; }
.blog-card-meta { font-size:11px; color:var(--gray-400); display:flex; align-items:center; gap:8px; }
.blog-card-meta::before { content:''; width:16px; height:1px; background:var(--gray-300); }

/* ── ARTICLE PAGE ── */
.article-hero { background:linear-gradient(180deg,var(--blue-l) 0%,var(--white) 100%); border-bottom:1px solid var(--blue-m); padding:48px 0 40px; }
.article-inner { max-width:760px; margin:0 auto; }
.article-cat { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--blue); margin-bottom:12px; display:block; }
.article-title { font-family:'Syne',sans-serif; font-size:clamp(28px,4vw,44px); font-weight:600; letter-spacing:-1.5px; line-height:1.1; margin-bottom:16px; }
.article-meta { font-size:13px; color:var(--gray-500); display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.article-content { max-width:760px; margin:0 auto; padding:48px 32px; }
.article-content h2 { font-family:'Syne',sans-serif; font-size:24px; font-weight:600; letter-spacing:-1px; margin:36px 0 14px; }
.article-content h3 { font-family:'Syne',sans-serif; font-size:18px; font-weight:600; margin:28px 0 10px; }
.article-content p { font-size:16px; color:var(--gray-700); line-height:1.85; margin-bottom:18px; }
.article-content ul { padding-left:20px; margin-bottom:18px; }
.article-content ul li { font-size:16px; color:var(--gray-700); line-height:1.8; margin-bottom:8px; }
.article-content strong { color:var(--gray-900); font-weight:600; }
.article-content a { color:var(--blue); }
.article-content .callout { background:var(--blue-l); border:1px solid var(--blue-m); border-left:4px solid var(--blue); border-radius:8px; padding:20px 24px; margin:24px 0; font-size:15px; color:var(--gray-700); line-height:1.8; }
.article-content .data-table { width:100%; border-collapse:collapse; margin:20px 0; font-size:14px; }
.article-content .data-table th { background:var(--blue); color:#fff; padding:10px 14px; text-align:left; font-family:'Syne',sans-serif; font-size:12px; }
.article-content .data-table td { padding:10px 14px; border-bottom:1px solid var(--gray-200); color:var(--gray-700); }
.article-content .data-table tr:nth-child(even) td { background:var(--off); }

/* ── CONTACT FORM ── */
.contact-form-wrap { background:#fff; border:1.5px solid var(--gray-200); border-radius:14px; padding:36px; box-shadow:var(--shadow-sm); }
.contact-form-wrap h3 { font-family:'Syne',sans-serif; font-size:22px; font-weight:600; letter-spacing:-1px; margin-bottom:6px; }
.contact-form-wrap .form-sub { font-size:13px; color:var(--gray-500); margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--gray-200); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.success-msg { display:none; background:var(--green-d); border:1px solid var(--green); border-radius:8px; padding:16px; font-size:14px; color:var(--green); font-weight:500; margin-top:14px; }

@media (max-width:768px) {
  .benefits-grid, .pricing-grid { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr 1fr; }
  .job-card { flex-direction:column; }
  .job-meta { flex-direction:row; align-items:center; }
  .form-row { grid-template-columns:1fr; }
  .landing-hero { padding:52px 20px 44px; }
  .landing-section { padding:44px 20px; }
  .article-content { padding:36px 20px; }
  .article-hero { padding:36px 20px 28px; }
  .blog-grid { grid-template-columns:1fr; }
}
