:root {
  --primary: #C73E2B;
  --primary-dark: #A32D1C;
  --accent: #D4943B;
  --accent-light: #E8C47C;
  --bg: #FDF8F3;
  --bg-alt: #F5EDE4;
  --text-dark: #2C1810;
  --text-mid: #6B4C3B;
  --text-light: #FEFCF9;
  --border: #D9C8B8;
  --shadow: rgba(44, 24, 16, 0.08);
  --radius: 8px;
  --nav-height: 72px;
  --max-width: 1140px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar .logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.navbar .logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-links .btn-nav {
  padding: 8px 20px;
  background: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links .btn-nav:hover { background: var(--primary-dark); color: var(--text-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--text-light); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover { background: var(--primary); color: var(--text-light); }

.btn-accent {
  background: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

.btn-accent:hover { background: #B87D2E; border-color: #B87D2E; color: var(--text-light); }

/* Hero */
.hero {
  margin-top: var(--nav-height);
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero .cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero band */
.page-hero {
  margin-top: var(--nav-height);
  padding: 80px 0 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: var(--text-light);
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section .subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .subtitle { margin-left: auto; margin-right: auto; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* About strip */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-strip .visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border: 1px solid var(--border);
}

.about-strip h2 { font-size: 2rem; }
.about-strip p { color: var(--text-mid); margin-bottom: 16px; }

/* Credentials strip */
.credentials {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 48px 0;
  text-align: center;
}

.credentials .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.credentials .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.credentials .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}

.credentials .value {
  font-size: 1rem;
  font-weight: 600;
}

/* CTA strip */
.cta-strip {
  background: var(--primary);
  color: var(--text-light);
  text-align: center;
  padding: 64px 0;
}

.cta-strip h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-strip p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-strip .btn-outline { border-color: var(--text-light); color: var(--text-light); }
.cta-strip .btn-outline:hover { background: var(--text-light); color: var(--primary); }

/* Content pages */
.content-page { padding: 60px 0; }

.content-page h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.content-page h2:first-child { margin-top: 0; }

.content-page h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.content-page p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-page ul, .content-page ol {
  color: var(--text-mid);
  margin-bottom: 16px;
  padding-left: 24px;
  line-height: 1.8;
}

.content-page li { margin-bottom: 6px; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-details .detail { margin-bottom: 24px; }
.contact-details .detail h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-details .detail p { color: var(--text-mid); }

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-light);
}

.footer p, .footer a {
  font-size: 0.9rem;
  color: rgba(254, 252, 249, 0.7);
  line-height: 1.8;
}

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

.footer .company-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-light);
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }

.footer .legal-note {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 8px;
}

.footer .copyright {
  border-top: 1px solid rgba(254, 252, 249, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(254, 252, 249, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid var(--border);
  }

  .nav-links.open { display: flex; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

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

  .about-strip { grid-template-columns: 1fr; gap: 32px; }
  .about-strip .visual { aspect-ratio: 16 / 9; }

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

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

  .page-hero h1 { font-size: 1.8rem; }

  .section h2 { font-size: 1.6rem; }

  .credentials .container { gap: 24px; }

  .cta-strip h2 { font-size: 1.4rem; }
}
