/* ============================================
   HOME CSS - Saint-Malo Débloqué
   Blog High Tech / Réparation Électronique
   © 2026
   ============================================ */

/* ---- HERO SECTION ---- */
.hero {
  background-color: #0a0f1a;
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
}

/* Circuit board background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #1a2a3a;,
    linear-gradient(90deg, #1a2a3a 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

/* Override: gradient only for pattern, not decoration */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: transparent;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 120, 212, 0.15);
  border: 1px solid rgba(0, 120, 212, 0.35);
  color: #50e6ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  background-color: #50e6ff;
  border-radius: 50%;
  animation: blink-dot 1.5s ease-in-out infinite;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: #50e6ff;
}

.hero h1 .accent-yellow {
  color: #ffb900;
}

.hero-description {
  font-size: 1.1rem;
  color: #8ca0b4;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

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

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid #1a2a3a;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #50e6ff;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  display: block;
  font-size: 0.78rem;
  color: #5a7080;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero image area */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1e2d3d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Corner accents */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-top: 3px solid #0078d4;
  border-left: 3px solid #0078d4;
  z-index: 3;
  border-radius: 12px 0 0 0;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-bottom: 3px solid #ffb900;
  border-right: 3px solid #ffb900;
  z-index: 3;
  border-radius: 0 0 12px 0;
}

/* Floating badge on hero image */
.hero-floating-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background-color: #0d1421;
  border: 1px solid #0078d4;
  border-radius: 8px;
  padding: 12px 16px;
  z-index: 4;
  min-width: 180px;
}

.hero-floating-badge .badge-title {
  display: block;
  font-size: 0.72rem;
  color: #50e6ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}

.hero-floating-badge .badge-text {
  display: block;
  font-size: 0.82rem;
  color: #c8d8e8;
  font-weight: 500;
}

/* ---- CATEGORIES GRID ---- */
.categories-section {
  background-color: #0d1421;
  padding: 64px 0;
}

.categories-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 40px;
}

.categories-header .section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0078d4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.categories-header h2 {
  font-size: 1.75rem;
  color: #fff;
  margin: 0 0 8px;
}

.categories-header p {
  color: #7a90a4;
  margin: 0;
  font-size: 0.95rem;
}

.categories-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-card {
  background-color: #111827;
  border: 1px solid #1e2d3d;
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--cat-color, #0078d4);
}

.cat-card:hover {
  border-color: var(--cat-color, #0078d4);
  transform: translateY(-4px);
  background-color: #131f2e;
}

.cat-card:focus-visible {
  outline: 2px solid #50e6ff;
  outline-offset: 2px;
}

.cat-card-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(0, 120, 212, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--cat-color, #0078d4);
}

.cat-card-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e4f0fa;
  margin-bottom: 6px;
}

.cat-card-count {
  font-size: 0.8rem;
  color: #5a7080;
}

/* ---- ARTICLES SECTION ---- */
.articles-section {
  background-color: #0a0f1a;
  padding: 64px 0;
}

.articles-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.articles-header-text .section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0078d4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.articles-header-text h2 {
  font-size: 1.75rem;
  color: #fff;
  margin: 0;
}

.articles-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #50e6ff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.articles-view-all:hover {
  color: #0078d4;
}

/* Featured + grid */
.articles-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Featured Article */
.article-featured {
  background-color: #111827;
  border: 1px solid #1e2d3d;
  border-radius: 12px;
  overflow: hidden;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}

.article-featured:hover {
  border-color: #0078d4;
}

.article-featured-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.article-featured-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.article-featured-body h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-featured-body h2 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.article-featured-body h2 a:hover {
  color: #50e6ff;
}

.article-featured-body p {
  color: #7a90a4;
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

/* Side articles grid */
.articles-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-side-card {
  background-color: #111827;
  border: 1px solid #1e2d3d;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  gap: 0;
  transition: border-color 0.25s, transform 0.2s;
}

.article-side-card:hover {
  border-color: #0078d4;
  transform: translateX(4px);
}

.article-side-img {
  width: 120px;
  min-width: 120px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-side-body {
  padding: 16px;
  flex: 1;
  min-width: 0;
}

.article-side-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.article-side-body h3 {
  font-size: 0.9rem;
  color: #e4f0fa;
  margin-bottom: 6px;
  line-height: 1.35;
}

.article-side-body h3 a {
  color: #e4f0fa;
  text-decoration: none;
  transition: color 0.2s;
}

.article-side-body h3 a:hover {
  color: #50e6ff;
}

.article-side-body p {
  font-size: 0.8rem;
  color: #5a7080;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* More articles row */
.articles-more-grid {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- TIMELINE SECTION ---- */
.timeline-section {
  background-color: #0d1421;
  padding: 64px 0;
}

.timeline-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 48px;
  text-align: center;
}

.timeline-header .section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffb900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-header h2 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 8px;
}

.timeline-header p {
  color: #7a90a4;
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

.timeline-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #1e2d3d;
  transform: translateX(-50%);
}

.timeline-line-fill {
  width: 100%;
  height: 0;
  background-color: #0078d4;
  transition: height 0.5s ease;
}

.timeline-items {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item.item-right {
  flex-direction: row-reverse;
}

.timeline-item-content {
  width: calc(50% - 32px);
  background-color: #111827;
  border: 1px solid #1e2d3d;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  transition: border-color 0.2s;
}

.timeline-item:hover .timeline-item-content {
  border-color: #0078d4;
}

.timeline-item-content::after {
  content: '';
  position: absolute;
  top: 18px;
  width: 16px;
  height: 2px;
  background-color: #1e2d3d;
}

.timeline-item:not(.item-right) .timeline-item-content::after {
  right: -16px;
}

.timeline-item.item-right .timeline-item-content::after {
  left: -16px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 18px;
  width: 14px;
  height: 14px;
  background-color: #0078d4;
  border: 2px solid #0d1421;
  border-radius: 50%;
  z-index: 2;
  transition: background-color 0.2s, transform 0.2s;
}

.timeline-item:hover .timeline-dot {
  background-color: #50e6ff;
  transform: translateX(-50%) scale(1.3);
}

.timeline-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffb900;
  background-color: rgba(255, 185, 0, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.timeline-item-content .tl-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e4f0fa;
  margin-bottom: 6px;
}

.timeline-item-content .tl-desc {
  font-size: 0.82rem;
  color: #7a90a4;
  line-height: 1.55;
  margin: 0;
}

.timeline-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  margin-top: 8px;
  background-color: rgba(0, 120, 212, 0.15);
  color: #50e6ff;
  border: 1px solid rgba(0, 120, 212, 0.3);
}

/* ---- TABS SECTION ---- */
.tabs-section {
  background-color: #0a0f1a;
  padding: 64px 0;
}

.tabs-section-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 40px;
  text-align: center;
}

.tabs-section-header .section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #50e6ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.tabs-section-header h2 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 8px;
}

.tabs-section-header p {
  color: #7a90a4;
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

.tabs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.tabs-nav {
  display: flex;
  gap: 4px;
  background-color: #111827;
  border: 1px solid #1e2d3d;
  border-radius: 10px;
  padding: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: none;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #7a90a4;
  transition: color 0.2s, background-color 0.2s;
  flex: 1;
  justify-content: center;
  min-width: 120px;
}

.tab-btn:hover {
  color: #c8d8e8;
  background-color: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background-color: #0078d4;
  color: #fff;
}

.tab-btn:focus-visible {
  outline: 2px solid #50e6ff;
  outline-offset: 2px;
}

.tab-btn svg {
  flex-shrink: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.tab-content-text h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.tab-content-text p {
  color: #8ca0b4;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.tab-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #c8d8e8;
}

.tab-checklist-icon {
  width: 18px;
  height: 18px;
  background-color: rgba(0, 120, 212, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: #50e6ff;
}

.tab-content-visual img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #1e2d3d;
  display: block;
}

/* Tab specs table */
.tab-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.tab-specs-table tr {
  border-bottom: 1px solid #1a2a3a;
}

.tab-specs-table tr:last-child {
  border-bottom: none;
}

.tab-specs-table td {
  padding: 10px 0;
  font-size: 0.875rem;
  vertical-align: top;
}

.tab-specs-table td:first-child {
  color: #5a7080;
  width: 45%;
  font-size: 0.82rem;
}

.tab-specs-table td:last-child {
  color: #c8d8e8;
  font-weight: 500;
}

/* ---- CALCULATOR SECTION ---- */
.calc-section {
  background-color: #0d1421;
  padding: 64px 0;
}

.calc-section-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 40px;
  text-align: center;
}

.calc-section-header .section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffb900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.calc-section-header h2 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 8px;
}

.calc-section-header p {
  color: #7a90a4;
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

.calc-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.calc-card {
  background-color: #111827;
  border: 1px solid #1e2d3d;
  border-radius: 14px;
  padding: 36px;
}

.calc-intro {
  font-size: 0.875rem;
  color: #7a90a4;
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1a2a3a;
}

.calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.calc-field label {
  display: block;
  font-size: 0.82rem;
  color: #7a90a4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.calc-field select,
.calc-field input[type="range"] {
  width: 100%;
}

.calc-field select {
  background-color: #0d1421;
  border: 1px solid #1e2d3d;
  color: #c8d8e8;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.calc-field select:focus {
  outline: none;
  border-color: #0078d4;
}

.range-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-field input[type="range"] {
  flex: 1;
  accent-color: #0078d4;
  height: 6px;
  cursor: pointer;
}

.range-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #50e6ff;
  min-width: 36px;
  text-align: right;
}

.calc-results {
  background-color: #0d1421;
  border: 1px solid #0078d4;
  border-radius: 10px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.calc-result-item {
  text-align: center;
  padding: 16px 8px;
  border-right: 1px solid #1a2a3a;
}

.calc-result-item:last-child {
  border-right: none;
}

.calc-result-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #50e6ff;
  margin-bottom: 4px;
  line-height: 1;
}

.calc-result-value.yellow {
  color: #ffb900;
}

.calc-result-value.green {
  color: #00c864;
}

.calc-result-label {
  display: block;
  font-size: 0.75rem;
  color: #5a7080;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #5a7080;
  text-align: center;
}

/* ---- NEWSLETTER SECTION ---- */
.newsletter-section {
  background-color: #111827;
  padding: 64px 0;
  border-top: 1px solid #1e2d3d;
  border-bottom: 1px solid #1e2d3d;
}

.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.newsletter-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 120, 212, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #50e6ff;
}

.newsletter-inner h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}

.newsletter-inner p {
  color: #7a90a4;
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background-color: #0d1421;
  border: 1px solid #1e2d3d;
  color: #c8d8e8;
  padding: 13px 16px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 0;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: #0078d4;
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.2);
}

.newsletter-form button {
  background-color: #0078d4;
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background-color: #0063b1;
  transform: translateY(-1px);
}

.newsletter-form button:focus-visible {
  outline: 2px solid #50e6ff;
  outline-offset: 2px;
}

.newsletter-disclaimer {
  font-size: 0.78rem;
  color: #5a7080;
}

.newsletter-success {
  display: none;
  background-color: rgba(0, 200, 100, 0.1);
  border: 1px solid rgba(0, 200, 100, 0.3);
  color: #00c864;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 12px;
}

/* ---- REPAIR TIPS STRIP ---- */
.tips-strip {
  background-color: #0a0f1a;
  border-top: 1px solid #1a2a3a;
  border-bottom: 1px solid #1a2a3a;
  padding: 24px 0;
  overflow: hidden;
}

.tips-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #7a90a4;
  white-space: nowrap;
}

.tip-item svg {
  color: #0078d4;
  flex-shrink: 0;
}

.tip-separator {
  width: 4px;
  height: 4px;
  background-color: #1e2d3d;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

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

  .tab-content-grid {
    grid-template-columns: 1fr;
  }

  .tab-content-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-wrapper img {
    height: 220px;
  }

  .hero-floating-badge {
    bottom: -12px;
    left: -8px;
    min-width: 150px;
    padding: 10px 12px;
  }

  .hero-stats {
    gap: 20px;
  }

  .categories-header,
  .categories-grid {
    padding: 0 16px;
  }

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

  .articles-header,
  .articles-layout,
  .articles-more-grid {
    padding: 0 16px;
  }

  .articles-layout {
    grid-template-columns: 1fr;
  }

  .article-featured {
    grid-row: span 1;
  }

  .articles-more-grid {
    grid-template-columns: 1fr;
  }

  .article-side-card {
    flex-direction: column;
  }

  .article-side-img {
    width: 100%;
    height: 160px;
    min-width: unset;
  }

  .timeline-line {
    display: none;
  }

  .timeline-wrapper {
    padding: 0 16px;
  }

  .timeline-item,
  .timeline-item.item-right {
    flex-direction: column;
    gap: 0;
  }

  .timeline-item-content {
    width: 100%;
  }

  .timeline-item-content::after {
    display: none;
  }

  .timeline-dot {
    display: none;
  }

  .tabs-container,
  .tabs-section-header,
  .calc-wrapper,
  .calc-section-header,
  .timeline-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tabs-nav {
    flex-direction: column;
  }

  .tab-btn {
    min-width: unset;
  }

  .calc-card {
    padding: 24px 20px;
  }

  .calc-fields {
    grid-template-columns: 1fr;
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .calc-result-item {
    border-right: none;
    border-bottom: 1px solid #1a2a3a;
    padding: 12px 0;
  }

  .calc-result-item:last-child {
    border-bottom: none;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }

  .tips-strip-inner {
    gap: 16px;
    padding: 0 16px;
    flex-wrap: wrap;
  }

  .tip-separator {
    display: none;
  }

  .tip-item {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

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

  .hero-stat-value {
    font-size: 1.3rem;
  }
}