:root {
  --bg: #f4efe7;
  --bg-soft: #fbf8f3;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #ffffff;
  --text: #fffaf4;
  --text-dark: #3b1b18;
  --text-on-dark: #fff8f1;
  --text-on-dark-muted: rgba(255, 245, 236, 0.84);
  --muted: #7b655d;
  --line: rgba(93, 35, 29, 0.14);
  --accent: #5c221d;
  --accent-dark: #471914;
  --surface: #f7f2ec;
  --surface-dark: #eadfd2;
  --shadow: 0 24px 60px rgba(58, 24, 19, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(92, 34, 29, 0.08), transparent 26%),
    linear-gradient(180deg, #fcfaf7 0%, #f5eee6 100%);
}

h1,
h2,
h3,
.navbar-brand,
.btn {
  font-family: "Barlow", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(252, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: var(--accent);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 75px;
}

.brand-logo {
  width: auto;
  height: 108px;
  object-fit: contain;
}

.navbar-toggler {
  border-color: rgba(92, 34, 29, 0.25);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: none;
}

.nav-link {
  color: var(--accent);
  font-weight: 600;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.nav-link:hover,
.nav-link:focus,
.site-footer a:hover,
.site-footer a:focus,
.contact-item a:hover,
.contact-item a:focus {
  color: var(--accent);
}

.nav-btn {
  border-radius: 999px;
  padding-inline: 1rem;
}

.btn {
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #74413a);
  border: none;
}

.btn-accent:hover,
.btn-accent:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), #64302a);
}

.hero-section,
.inner-hero {
  padding: 7rem 0 5rem;
  color: var(--text);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(58, 24, 19, 0.88) 0%, rgba(58, 24, 19, 0.62) 38%, rgba(58, 24, 19, 0.16) 100%),
    url("../img/bckgrd.jpg") center center / cover no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(244, 239, 231, 0), rgba(244, 239, 231, 1));
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.inner-hero {
  color: var(--text-dark);
}

.hero-section h1,
.inner-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.hero-copy,
.inner-hero-copy p {
  max-width: 42rem;
  margin-top: 1.4rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-copy {
  color: var(--text-on-dark-muted);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-card,
.info-card,
.service-panel,
.feature-list,
.contact-panel,
.utility-panel,
.form-shell,
.manual-card {
  border: 1px solid rgba(92, 34, 29, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
  background: linear-gradient(160deg, rgba(255, 248, 240, 0.96), rgba(255, 255, 255, 0.84));
  color: var(--text-dark);
}

@media (min-width: 992px) {
  .hero-section h1 {
    max-width: none;
    font-size: clamp(3rem, 4vw, 4.35rem);
    white-space: nowrap;
  }

  .hero-card {
    max-width: 22rem;
    margin-left: auto;
    padding: 1.6rem;
  }

  .hero-card h2 {
    font-size: 1.55rem;
  }
}

.hero-card-label,
.manual-label,
.contact-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-card h2 {
  margin-bottom: 0.6rem;
  font-size: 2rem;
}

.hero-card p {
  color: #5f4a43;
}

.contact-stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact-stack a,
.contact-stack span {
  color: var(--accent);
  font-weight: 600;
}

.stats-section,
.content-section,
.contact-section {
  padding: 1.25rem 0 5rem;
}

.info-card,
.service-panel,
.contact-panel,
.utility-panel {
  height: 100%;
  background: var(--panel-strong);
  padding: 2rem;
}

.info-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
}

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

.section-heading h2,
.contact-panel h2,
.utility-panel h2,
.manual-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading p,
.service-panel p,
.info-card p,
.feature-item p,
.contact-panel p,
.utility-panel p,
.manual-card p {
  color: var(--muted);
  line-height: 1.8;
}

.section-dark {
  position: relative;
  padding-block: 4.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(244, 235, 226, 0.92));
  border-top: 1px solid rgba(92, 34, 29, 0.08);
  border-bottom: 1px solid rgba(92, 34, 29, 0.08);
}

.section-dark .section-heading h2,
.section-dark .section-heading p,
.section-dark .feature-item h3,
.section-dark .feature-item p {
  color: var(--text-dark);
}

.section-dark .section-heading p,
.section-dark .feature-item p {
  color: #654f48;
}

.section-dark .feature-list {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 240, 233, 0.98));
  padding: 1rem;
}

.feature-item {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(92, 34, 29, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.feature-item h3,
.service-panel h3,
.info-card h3,
.contact-panel h2,
.utility-panel h2,
.manual-card h2 {
  color: var(--text-dark);
}

.btn-outline-light {
  color: #fffaf4;
  border-color: rgba(255, 248, 241, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--accent);
  background: #fff7ef;
  border-color: #fff7ef;
}

.feature-item + .feature-item {
  margin-top: 0.85rem;
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-grid p {
  margin: 0;
}

.contact-item {
  height: 100%;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.utility-panel {
  background: linear-gradient(180deg, #ffffff, #f4f7fa);
}

.site-footer {
  padding: 1.4rem 0 2.2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.inner-page-body {
  min-height: 100vh;
}

.inner-page-main {
  padding-bottom: 3rem;
}

.inner-page-header {
  position: relative;
}

.inner-hero-copy {
  text-align: center;
  margin-bottom: 2rem;
}

.inner-hero-copy h1 {
  max-width: 14ch;
  margin-inline: auto;
}

.inner-hero-copy p {
  margin-inline: auto;
}

.inner-page-main .inner-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 242, 236, 0.96)),
    url("../img/bckgrd.jpg") center center / cover no-repeat;
}

.form-shell,
.manual-card {
  background: #fff;
  padding: 2rem;
}

.form-label {
  font-weight: 700;
  color: var(--text-dark);
}

.form-control {
  border: 1px solid #d5dde6;
  border-radius: 1rem;
  padding: 0.9rem 1rem;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(243, 178, 58, 0.2);
  border-color: var(--accent);
}

.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #0f5132;
  background: #d1e7dd;
}

.form-status.is-error {
  color: #842029;
  background: #f8d7da;
}

.manual-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .nav-link {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section,
  .inner-hero {
    padding-top: 5rem;
  }

  .brand-logo {
    height: 84px;
  }

  .hero-actions .btn,
  .manual-card .btn {
    width: 100%;
  }

  .site-footer {
    text-align: center;
  }
}
