.hero {
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 10, 5, 0.62);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f0c8a0;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: var(--line-height, 1.7);
}

.hero-content h1 em {
  font-style: italic;
  color: #f0c8a0;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-sub em {
  font-style: italic;
  color: #f0c8a0;
}

.btn-cta {
  display: inline-block;
  background-color: #32bae7;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  background-color: #1a9fcf;
  box-shadow: 0 4px 12px rgba(50, 186, 231, 0.35);
  text-decoration: none;
}

.btn-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.stats-section {
  background-color: #9a3412;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  text-align: center;
}

.stat-item {
  padding: 20px 16px;
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.7;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: #1a0a05;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 16px;
  color: #777;
  margin: 0;
}

.featured-section {
  padding: 72px 0;
  background-color: #fff;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.featured-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.featured-card:hover {
  box-shadow: 0 6px 20px rgba(154, 52, 18, 0.12);
  border-color: #9a3412;
}

.featured-card-img {
  overflow: hidden;
  height: 240px;
}

.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.featured-card:hover .featured-card-img img {
  transform: translateY(-4px);
}

.featured-card-body {
  padding: 24px;
}

.featured-card-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 12px;
  line-height: 1.7;
}

.featured-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a0a05;
  margin-bottom: 12px;
  line-height: 1.7;
}

.featured-card-body h3 a {
  color: #1a0a05;
  text-decoration: none;
  transition: color 0.2s;
}

.featured-card-body h3 a:hover {
  color: #9a3412;
}

.card-excerpt {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.categories-section {
  padding: 72px 0;
  background-color: #f9f3f0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  background-color: #fff;
  border: 1px solid #e8ddd8;
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.category-card:hover {
  box-shadow: 0 4px 16px rgba(154, 52, 18, 0.1);
  border-color: #9a3412;
  text-decoration: none;
}

.category-icon {
  width: 56px;
  height: 56px;
  background-color: #f9f3f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-name {
  font-size: 17px;
  font-weight: 700;
  color: #1a0a05;
  line-height: 1.7;
}

.cat-desc {
  font-size: 14px;
  color: #777;
  margin: 0;
  line-height: 1.7;
  text-align: center;
}

.cat-count {
  font-size: 13px;
  color: #9a3412;
  font-weight: 700;
  line-height: 1.7;
}

.articles-section {
  padding: 72px 0;
  background-color: #fff;
}

.articles-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.articles-header > div:first-child h2 {
  margin-bottom: 8px;
}

.articles-header > div:first-child p {
  margin: 0;
  color: #777;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  color: #555;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  border-color: #9a3412;
  color: #9a3412;
}

.filter-btn.active {
  background-color: #9a3412;
  border-color: #9a3412;
  color: #fff;
  font-weight: 700;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #bbb;
}

.article-card.hidden {
  display: none;
}

.article-card-img {
  overflow: hidden;
  height: 188px;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .article-card-img img {
  transform: translateY(-3px);
}

.article-card-body {
  padding: 20px;
}

.article-card-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a0a05;
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-card-body h3 a {
  color: #1a0a05;
  text-decoration: none;
  transition: color 0.2s;
}

.article-card-body h3 a:hover {
  color: #9a3412;
}

.article-card-body .card-excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.calculator-section {
  padding: 72px 0;
  background-color: #f9f3f0;
}

.calculator-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}

.calculator-text h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #1a0a05;
  margin-bottom: 16px;
}

.calculator-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.7;
}

.calculator-tool {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #1a0a05;
  margin-bottom: 6px;
  line-height: 1.7;
}

.calc-field small {
  display: block;
  font-size: 13px;
  color: #888;
  margin-top: 4px;
  line-height: 1.7;
}

.calc-field input[type="number"],
.calc-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: var(--font-main);
  color: #333;
  transition: border-color 0.2s;
  background-color: #fff;
}

.calc-field input[type="number"]:focus,
.calc-field select:focus {
  border-color: #9a3412;
  outline: none;
}

.calc-results {
  background-color: #f9f3f0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.calc-result-item {
  text-align: center;
}

.calc-result-val {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #9a3412;
  line-height: 1.7;
}

.calc-result-label {
  display: block;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.btn-cta-calc {
  display: block;
  width: 100%;
  background-color: #32bae7;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-cta-calc:hover {
  background-color: #1a9fcf;
  box-shadow: 0 4px 12px rgba(50, 186, 231, 0.3);
}

.btn-cta-calc:focus-visible {
  outline: 2px solid #9a3412;
  outline-offset: 2px;
}

.calc-disclaimer {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
  line-height: 1.7;
  text-align: center;
}

.italia-section {
  padding: 72px 0;
  background-color: #fff;
}

.region-table thead th {
  background-color: #9a3412;
  color: #fff;
  border-bottom: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.region-table tbody tr:nth-child(even) {
  background-color: #fdf7f4;
}

.region-table tbody td {
  color: #333;
}

.newsletter-section {
  padding: 72px 0;
  background-color: #9a3412;
}

.newsletter-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.newsletter-icon {
  flex-shrink: 0;
}

.newsletter-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.newsletter-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  line-height: 1.7;
}

.newsletter-form {
  min-width: 280px;
}

.newsletter-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.newsletter-inputs input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  font-family: var(--font-main);
  transition: border-color 0.2s;
}

.newsletter-inputs input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-inputs input[type="email"]:focus {
  outline: none;
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-cta-nl {
  background-color: #32bae7;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  white-space: nowrap;
  transition: background-color 0.2s;
}

.btn-cta-nl:hover {
  background-color: #1a9fcf;
}

.btn-cta-nl:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.nl-legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .newsletter-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .newsletter-icon {
    display: flex;
    justify-content: center;
  }

  .newsletter-inputs {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 32px 16px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .stats-section {
    padding: 28px 0;
  }

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

  .stat-number {
    font-size: 32px;
  }

  .featured-section,
  .categories-section,
  .articles-section,
  .calculator-section,
  .italia-section,
  .newsletter-section {
    padding: 48px 0;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .articles-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .filter-bar {
    justify-content: center;
  }

  .calculator-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calc-result-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .newsletter-inputs input[type="email"],
  .btn-cta-nl {
    width: 100%;
  }

  .section-header {
    margin-bottom: 28px;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

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

  .featured-card-img {
    height: 190px;
  }

  .article-card-img {
    height: 160px;
  }

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

  .filter-btn {
    font-size: 13px;
    padding: 5px 12px;
  }
}