:root {
  --bg: #f8f3ee;
  --surface: #ffffff;
  --text: #2c2c2c;
  --muted: #6c6c6c;
  --primary: #d1271f;
  --primary-dark: #a51d18;
  --secondary: #f4a000;
  --border: rgba(44, 44, 44, 0.08);
  --shadow: 0 18px 45px rgba(44, 44, 44, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #de5a40);
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-mark img[alt="Dio Asalsuvai logo"] {
  width: 100%;
  height: 100%;
}

.brand h1 {
  margin: 0;
  font-size: 1.1rem;
}

.brand p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary);
}

.hero {
  padding: 0;
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffd700;
}

.hero-copy h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.05;
  color: #fff;
}

.hero-copy p {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.75rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(209, 39, 31, 0.18);
}

.button.button-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}

.hero-highlights {
  list-style: disc;
  margin: 1.5rem 0 0 1.5rem;
  padding-left: 1.5rem;
}

.hero-highlights li {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.value-strip {
  padding: 2.5rem 0;
}

.value-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card {
  background: #fff;
  border: 1px solid rgba(209, 39, 31, 0.12);
  border-radius: 1.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.value-card strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.section-description {
  margin: 0.9rem 0 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.8;
}

.featured-products,
.about,
.page-content {
  padding: 3rem 0;
}

.featured-grid,
.product-grid,
.contact-grid,
.about-grid {
  display: grid;
  gap: 1.5rem;
}

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

.feature-card,
.product-card,
.card {
  background: var(--surface);
  border-radius: 1.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.product-card-body h3 {
  margin: 0 0 0.75rem;
}

.feature-card p,
.product-card-body p,
.card p {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.about-list {
  list-style: disc;
  margin: 1.25rem 0 0 1.4rem;
  padding: 0;
  color: var(--muted);
}

.about-list li {
  margin-bottom: 0.8rem;
}

.about-image {
  overflow: hidden;
  border-radius: 1.75rem;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-image figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero-copy {
  max-width: 720px;
}

.page-hero-copy h1 {
  margin: 0.8rem 0 0;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
}

.product-card-body {
  padding: 0.25rem 0;
}

.contact-grid {
  grid-template-columns: 1.2fr 0.9fr;
}

.card h2,
.contact-details h2 {
  margin-top: 0;
}

.contact-details {
  padding: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  font: inherit;
}

.form-control:focus {
  outline: 2px solid rgba(209, 39, 31, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.footer-title {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.footer-copy {
  margin: 1.5rem 0 0;
  text-align: center;
  color: var(--muted);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
}

@media (max-width: 860px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .featured-products,
  .about,
  .product-list,
  .contact-grid,
  .value-strip {
    padding: 2rem 0;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

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