:root {
  --primary: #8b0000;       /* dark red */
  --primary-light: #b52a2a;
  --primary-soft: #f9eaea;
  --text: #222222;
  --muted: #666666;
  --bg: #f7f7f7;
  --white: #ffffff;
  --border: #e2e2e2;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  gap: 1rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile toggle button (hamburger) */
.nav-toggle {
  display: none; /* shown only on small screens */
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

/* Animate to X when active */
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.logo-text span:last-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a:not(.btn-primary) {
  position: relative;
  padding-bottom: 4px;
  color: var(--muted);
}

.nav-links a:not(.btn-primary):hover {
  color: var(--primary);
}

.nav-links a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-links a:not(.btn-primary):hover::after {
  width: 100%;
}

/* Active menu item */
.nav-links a.active:not(.btn-primary) {
  color: var(--primary);
}

.nav-links a.active:not(.btn-primary)::after {
  width: 100%;
}

/* Buttons */
.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(139, 0, 0, 0.35);
  background: var(--primary-light);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(139,0,0,0.35);
}

.btn-outline:hover {
  background: var(--primary-soft);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 3rem 1.5rem 3.5rem;
  background: radial-gradient(circle at top left, #ffe6e6 0, #ffffff 40%, #f8f8f8 100%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-title span.accent {
  color: var(--primary);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.hero-card-title {
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.kpi {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-lg);
  background: #fafafa;
  border: 1px dashed #e4e4e4;
}

.kpi-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.kpi-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
}

/* Sections */
section {
  padding: 3rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 600;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 28rem;
}

/* Cards grid */
.grid {
  display: grid;
  gap: 1.4rem;
}

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

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

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-soft);
  margin-bottom: 0.2rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.9rem;
  color: var(--muted);
  flex-grow: 1;
}

.card-meta {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.card-footer-link {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
}

.card-image {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f4f4;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-download {
  text-align: center;
  margin: 2.5rem 0 1rem;
}

.catalog-btn {
  display: inline-block;
  background: #7a0b15;
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.catalog-btn:hover {
  background: #5c080f;
  transform: translateY(-2px);
}

/* Services section */
.services {
  background: #ffffff;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-item {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.service-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.service-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* About section */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}

.about-highlight {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.3rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.about-highlight ul {
  list-style: none;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.about-highlight li::before {
  content: "• ";
  color: var(--primary);
  font-weight: 700;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.about-stat {
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-lg);
  border: 1px dashed #e0e0e0;
  background: #fafafa;
  font-size: 0.9rem;
}

.about-stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
}

/* Contact */
.contact {
  background: #ffffff;
  border-top: 1px solid #eeeeee;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

form {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.4rem;
  border: 1px solid var(--border);
}

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

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
  background: #ffffff;
}

.field textarea {
  border-radius: 14px;
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 1px rgba(139,0,0,0.15);
}

.contact-info {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-info h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info strong {
  color: var(--text);
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.tag {
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  background: var(--primary-soft);
  color: var(--primary);
}

/* ----- CONTACT PAGE (NO FORM VERSION) ----- */

.contact-hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.contact-hero h1 {
  font-size: 2.4rem;
  color: #8b0c1a;
  margin-bottom: 10px;
}

.contact-hero p {
  font-size: 1.1rem;
  color: #333;
}

.contact-direct {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.contact-card {
  max-width: 600px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
}

.contact-card h2 {
  margin-bottom: 10px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
}

.btn-primary {
  background: #8b0c1a;
  color: #fff;
}

.btn-primary:hover {
  background: #700a15;
}

.btn-secondary {
  background: #f5f5f5;
  border: 1px solid #ccc;
  color: #333;
}

.btn-secondary:hover {
  background: #e8e8e8;
}

/* Contact details */
.contact-details {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-details a {
  color: #8b0c1a;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Optional map */
.contact-map {
  padding: 40px 20px;
  text-align: center;
}

.contact-map h2 {
  margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 600px) {
  .contact-buttons {
    flex-direction: column;
  }
}

/* Footer */
footer {
  border-top: 1px solid #e4e4e4;
  background: #f0f0f0;
  padding: 1.3rem 1.5rem;
  font-size: 0.8rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .nav {
    padding: 0.6rem 1rem;
  }

  /* Show hamburger, hide nav-links by default */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: #ffffff;
    padding: 0.75rem 1.2rem 1rem;
    gap: 0.6rem;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
  }

  .nav-links a {
    padding-bottom: 0.2rem;
  }

  .nav-links .btn-primary {
    align-self: flex-start;
    margin-top: 0.4rem;
  }

  /* When menu is open */
  .nav-links.mobile-open {
    display: flex;
  }

  .hero {
    padding-top: 2rem;
  }

  section {
    padding: 2.3rem 1.1rem;
  }

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

@media (max-width: 600px) {
  .grid-3,
  .grid-2,
  .services-list,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    gap: 2rem;
  }
}
