/* =============================================
   MAGEN RADON SOLUTIONS — GLOBAL STYLES
   ============================================= */

:root {
  --red:        #8B1C1C;
  --red-dark:   #6B1515;
  --red-light:  #B22222;
  --red-muted:  #FDF2F2;
  --white:      #FFFFFF;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-300:   #D1D5DB;
  --gray-400:   #9CA3AF;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --text:       #1C1C1E;
  --text-muted: #6B7280;
  --border:     #E5E7EB;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
  --radius:     8px;
  --radius-lg:  14px;
  --max-w:      1160px;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--text-muted); }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 2px 8px rgba(139,28,28,.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(139,28,28,.40); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-dark {
  background: transparent; color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline-dark:hover { background: var(--red-muted); }

/* ---- Navigation ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.nav-logo-tagline { font-size: 11px; color: var(--red); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  transition: all .15s;
}
.nav-links a:hover, .nav-links a.active { background: var(--gray-100); color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--red); }
.nav-phone:hover { color: var(--red-dark); }
.nav-sep { width: 1px; height: 20px; background: var(--gray-200); display: block; }
.nav-btn { padding: 9px 20px; font-size: 14px; }
/* ---- Dropdown ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  background: none; cursor: pointer; transition: all .15s;
}
.nav-dropdown-btn:hover { background: var(--gray-100); color: var(--text); }
.nav-dropdown-arrow { font-size: 10px; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 200px; overflow: hidden; z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 11px 16px;
  font-size: 14px; color: var(--gray-700); transition: all .12s;
  border-bottom: 1px solid var(--gray-100);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--gray-50); color: var(--red); }

/* ---- Mobile nav group label ---- */
.nav-mobile-group {
  padding: 10px 24px 6px;
  font-size: 11px; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: .08em;
}
.nav-mobile-sub {
  padding-left: 36px !important;
  font-size: 14px !important;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }
.nav-mobile { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    display: none; flex-direction: column;
    border-top: 1px solid var(--border); padding: 16px 0;
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    padding: 12px 24px; font-size: 15px; font-weight: 500;
    color: var(--gray-700); border-bottom: 1px solid var(--gray-100);
  }
  .nav-mobile a:hover { color: var(--red); background: var(--gray-50); }
  .nav-mobile .nav-mobile-cta {
    padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; margin-top: 4px;
  }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #1a0808 0%, #3d0f0f 40%, #1a0808 100%);
  position: relative; overflow: hidden;
  padding: 100px 0 90px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge span { width: 6px; height: 6px; background: #FF6B6B; border-radius: 50%; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: #FF9090; font-style: normal; }
.hero p { color: rgba(255,255,255,.72); font-size: 18px; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat strong { display: block; font-size: 24px; font-weight: 700; color: var(--white); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .04em; }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 32px;
  backdrop-filter: blur(8px);
}
.hero-card-title { color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.radon-level { margin-bottom: 24px; }
.radon-level-label { display: flex; justify-content: space-between; margin-bottom: 8px; }
.radon-level-label span { font-size: 13px; color: rgba(255,255,255,.6); }
.radon-level-label strong { font-size: 13px; color: var(--white); }
.radon-bar { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.radon-bar-fill { height: 100%; border-radius: 4px; }
.radon-bar-fill.safe  { background: #4ADE80; width: 15%; }
.radon-bar-fill.warn  { background: #FBBF24; width: 55%; }
.radon-bar-fill.danger{ background: #EF4444; width: 100%; }
.radon-bar-fill.after { background: #4ADE80; width: 12%; }
.hero-card-info { display: flex; flex-direction: column; gap: 12px; }
.hero-info-row { display: flex; align-items: center; gap: 12px; }
.hero-info-icon { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px; display: grid; place-items: center; color: #FF9090; font-size: 16px; flex-shrink: 0; }
.hero-info-text strong { display: block; font-size: 13px; color: var(--white); font-weight: 600; }
.hero-info-text span  { font-size: 12px; color: rgba(255,255,255,.5); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 70px 0 60px; }
}

/* ---- Section Headers ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--red); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; color: var(--gray-900); }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 17px; }

/* ---- Cards ---- */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 28px 32px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--red-muted); color: var(--red);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 18px;
}
.card h3 { color: var(--gray-900); margin-bottom: 10px; }
.card p  { font-size: 15px; }

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

@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---- Alert Box ---- */
.alert-box {
  background: var(--red-muted); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.alert-box-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.alert-box strong { color: var(--gray-900); font-size: 15px; display: block; margin-bottom: 4px; }
.alert-box p { font-size: 14px; margin: 0; }

/* ---- Process Steps ---- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 24px; position: relative; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step-left { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: 16px; display: grid; place-items: center;
  flex-shrink: 0; z-index: 1;
}
.step-line { width: 2px; flex: 1; background: var(--gray-200); margin-top: 8px; }
.step:last-child .step-line { display: none; }
.step-content { padding-top: 10px; }
.step-content h3 { color: var(--gray-900); margin-bottom: 6px; }
.step-content p { font-size: 15px; }

/* ---- Trust Bar ---- */
.trust-bar { background: var(--gray-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item-icon { font-size: 20px; color: var(--red); }
.trust-item span { font-size: 13px; font-weight: 600; color: var(--gray-700); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, #1a0808 0%, #3d0f0f 100%);
  padding: 72px 0; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.68); font-size: 17px; max-width: 520px; margin: 0 auto 36px; }
.cta-banner-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.4); }

/* ---- Testimonials ---- */
.testimonial {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.testimonial-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: 15px; color: var(--gray-700); font-style: italic; margin-bottom: 18px; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red-muted); color: var(--red);
  font-weight: 700; font-size: 15px; display: grid; place-items: center;
}
.testimonial-name strong { display: block; font-size: 14px; color: var(--gray-900); }
.testimonial-name span  { font-size: 12px; color: var(--gray-400); }

/* ---- Service Cards ---- */
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-card-header { background: var(--red); padding: 28px; }
.service-card-header h3 { color: var(--white); margin-bottom: 6px; }
.service-card-header p  { color: rgba(255,255,255,.72); font-size: 14px; margin: 0; }
.service-card-body { padding: 24px 28px 28px; }
.service-card-body ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.service-card-body ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray-700); }
.service-card-body ul li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ---- Info Split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split-reverse { direction: ltr; } }
.split-label { font-size: 11px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.split-text h2 { margin-bottom: 16px; }
.split-text p  { margin-bottom: 16px; font-size: 16px; }
.split-text p:last-of-type { margin-bottom: 24px; }
.split-visual {
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}

/* ---- Checklist ---- */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--gray-700); }
.checklist li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ---- Stat Grid ---- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-item { background: var(--white); padding: 28px 20px; text-align: center; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--red); margin-bottom: 4px; }
.stat-item span { font-size: 13px; color: var(--gray-500); }
@media (max-width: 700px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 600; color: var(--gray-900);
  cursor: pointer; transition: color .15s;
}
.faq-question:hover { color: var(--red); }
.faq-icon { font-size: 20px; color: var(--red); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 20px; font-size: 15px; color: var(--gray-500); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #1a0808 0%, #3d0f0f 100%);
  padding: 64px 0 60px; text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p   { color: rgba(255,255,255,.68); font-size: 17px; max-width: 580px; margin: 0 auto; }

/* ---- Breadcrumb ---- */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; justify-content: center; }
.breadcrumb a, .breadcrumb span { font-size: 13px; color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ---- Footer ---- */
.footer {
  background: var(--gray-900); color: rgba(255,255,255,.6);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 14px; transition: color .15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14px; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-red    { color: var(--red); }
.bg-gray     { background: var(--gray-50); }
.bg-white    { background: var(--white); }
.mb-0 { margin-bottom: 0 !important; }
.mt-8 { margin-top: 8px; }
.gap-top { margin-top: 32px; }

/* ---- Diagram ---- */
.diagram {
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; text-align: center;
}
.diagram-house {
  display: inline-block; position: relative;
  width: 260px; height: 260px;
}
.diagram svg { width: 100%; height: 100%; }

/* ---- Contact Form ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 15px; font-family: var(--font); color: var(--text);
  background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139,28,28,.1);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Map Placeholder ---- */
.map-placeholder {
  background: var(--gray-100); border-radius: var(--radius-lg);
  height: 340px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 2px dashed var(--gray-300); gap: 12px;
}
.map-placeholder-icon { font-size: 48px; }
.map-placeholder h3 { color: var(--gray-700); }
.map-placeholder p  { font-size: 14px; text-align: center; max-width: 280px; }

/* ---- Cert Logo Grid ---- */
.cert-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 8px;
}
.cert-logo-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 16px 22px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.cert-logo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cert-logo-img { width: 90px; height: 90px; object-fit: contain; }
.cert-logo-label strong { display: block; font-size: 14px; color: var(--gray-900); margin-bottom: 3px; }
.cert-logo-label span   { font-size: 12px; color: var(--gray-400); }
@media (max-width: 700px) { .cert-logos-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Cert Cards (About page) ---- */
.cert-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 24px;
  transition: box-shadow .2s, transform .2s;
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cert-card-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.cert-card-icon {
  font-size: 24px; width: 48px; height: 48px; flex-shrink: 0;
  background: var(--red-muted); border-radius: 10px;
  display: grid; place-items: center;
}
.cert-card-name   { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.cert-card-issuer { font-size: 12px; color: var(--red); font-weight: 500; }
.cert-card-desc   { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin: 0; }
@media (max-width: 600px) {
  .cert-card { grid-column: span 1; }
}

/* ---- Certification Badges ---- */
.cert-badge {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 20px;
  transition: box-shadow .2s, transform .2s;
}
.cert-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cert-badge-icon {
  font-size: 28px; flex-shrink: 0; width: 48px; height: 48px;
  background: var(--red-muted); border-radius: 10px;
  display: grid; place-items: center;
}
.cert-badge-body { display: flex; flex-direction: column; gap: 4px; }
.cert-badge-body strong { font-size: 14px; color: var(--gray-900); font-weight: 700; }
.cert-badge-body span  { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* ---- Scroll animation ---- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ---- Mobile fixes ---- */
@media (max-width: 600px) {
  /* Trust bar — clean 2-column grid */
  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }
  .trust-item { justify-content: flex-start; }
  .trust-item:last-child { grid-column: 1 / -1; justify-content: center; }

  /* Hero buttons — full width stacked */
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hero stats — tighter spacing */
  .hero-stats { gap: 20px; }
  .hero-stat strong { font-size: 20px; }

  /* General font size reduction */
  .hero h1 { font-size: 28px; }
  .hero p  { font-size: 15px; }
}
