:root {
  --bs-primary: #0f766e;
  --bs-primary-rgb: 15, 118, 110;
  --bs-body-font-family: 'Inter', Arial, sans-serif;
  --site-ink: #18312f;
  --site-deep: #123c3a;
  --site-accent: #d97706;
  --site-accent-soft: #fff2df;
  --site-surface: #fffdf8;
  --site-soft: #f5f1e8;
  --site-soft-2: #ecf7f5;
  --site-border: rgba(24, 49, 47, 0.10);
  --site-shadow: 0 20px 50px rgba(34, 56, 52, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, .10), transparent 25%),
    linear-gradient(180deg, #fffaf3 0%, #f7f2e8 48%, #eef7f5 100%);
  color: var(--site-ink);
  padding-top: 86px;
}

a {
  text-decoration: none;
}

.site-navbar {
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(24, 49, 47, 0.08);
}

.navbar-brand {
  max-width: 430px;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--site-deep) !important;
}

.nav-link {
  color: rgba(24, 49, 47, .76) !important;
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  color: var(--site-deep) !important;
}

.navbar-toggler {
  border-color: rgba(24, 49, 47, .15) !important;
}

.btn-primary {
  --bs-btn-bg: var(--site-deep);
  --bs-btn-border-color: var(--site-deep);
  --bs-btn-hover-bg: #0f2f2d;
  --bs-btn-hover-border-color: #0f2f2d;
  --bs-btn-active-bg: #0f2f2d;
  --bs-btn-active-border-color: #0f2f2d;
}

.btn-outline-light {
  --bs-btn-color: var(--site-deep);
  --bs-btn-border-color: rgba(18, 60, 58, .18);
  --bs-btn-hover-bg: var(--site-accent-soft);
  --bs-btn-hover-color: var(--site-deep);
  --bs-btn-hover-border-color: rgba(18, 60, 58, .18);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 60, 58, .97) 0%, rgba(21, 76, 73, .94) 52%, rgba(217, 119, 6, .85) 100%);
  color: #fff;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  filter: blur(2px);
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  left: -70px;
  top: 40px;
  width: 180px;
  height: 180px;
  border-radius: 2rem;
  transform: rotate(24deg);
  background: rgba(255, 255, 255, .08);
}

.hero-section .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero-outline {
  border-color: rgba(255, 255, 255, .35);
  color: #fff !important;
}

.hero-card,
.content-card,
.service-panel,
.team-panel,
.quote-panel,
.faq-panel,
.legal-panel,
.page-hero-card {
  border-radius: 1.75rem;
}

.hero-card {
  transform: translateY(36px);
  box-shadow: 0 28px 70px rgba(13, 24, 23, 0.28);
}

.hero-image {
  min-height: 420px;
  object-fit: cover;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 60, 58, .95), rgba(217, 119, 6, .78)),
    linear-gradient(180deg, #e9f7f4 0%, #fffaf3 100%);
  color: #fff;
}

.page-hero .text-secondary,
.hero-section .text-secondary {
  color: rgba(255, 255, 255, .82) !important;
}

.page-hero-card {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  backdrop-filter: blur(6px);
}

.page-hero-card .text-secondary,
.page-hero-card .text-primary {
  color: rgba(255, 255, 255, .85) !important;
}

.metric-card,
.info-box,
.mini-tile,
.detail-item {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--site-border);
  border-radius: 1.35rem;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--site-shadow);
}

.metric-card {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}

.metric-card .text-secondary {
  color: rgba(255, 255, 255, .72) !important;
}

.bg-section {
  background:
    linear-gradient(180deg, rgba(236, 247, 245, .85), rgba(255, 250, 243, .85));
}

.section-label {
  display: inline-block;
  margin-bottom: .9rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: var(--site-accent);
  border: 1px solid rgba(217, 119, 6, .14);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bg-section .section-label,
.py-5 .section-label,
.content-card .section-label {
  background: var(--site-accent-soft);
  color: var(--site-accent);
  border-color: rgba(217, 119, 6, .10);
}

.feature-panel,
.service-panel,
.team-panel,
.quote-panel,
.faq-panel,
.content-card,
.legal-panel {
  border: 1px solid var(--site-border);
  box-shadow: var(--site-shadow);
  background: rgba(255, 255, 255, .94);
}

.feature-panel .card-body,
.service-panel .card-body,
.team-panel .card-body,
.quote-panel .card-body,
.content-card .card-body {
  padding: 1.65rem;
}

.feature-number,
.service-icon {
  width: 3.15rem;
  height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--site-accent), #f59e0b);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: 0 12px 24px rgba(217, 119, 6, .24);
}

.quote-panel {
  position: relative;
  overflow: hidden;
}

.quote-panel::after {
  content: "“";
  position: absolute;
  right: 18px;
  top: 6px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(15, 118, 110, .10);
  font-weight: 800;
}

.quote-panel blockquote {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.cta-panel {
  background: linear-gradient(135deg, #0f766e, #d97706 115%);
  border-radius: 2rem;
  box-shadow: 0 26px 60px rgba(33, 79, 70, 0.20);
}

.site-footer {
  background: linear-gradient(180deg, #173634 0%, #102927 100%);
  color: #fff;
}

.footer-links li {
  margin-bottom: .65rem;
}

.footer-links a,
.footer-muted {
  color: rgba(255, 255, 255, .72);
}

.footer-links a:hover {
  color: #fff;
}

.form-control,
.form-select {
  border-radius: 1rem;
  border-color: rgba(24, 49, 47, .14);
  padding: .85rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(15, 118, 110, .34);
  box-shadow: 0 0 0 .25rem rgba(15, 118, 110, .10);
}

.detail-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--site-accent);
  margin-bottom: .3rem;
}

.cookie-toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 1.25rem;
}

.cookie-toast.is-hidden {
  display: none;
}

@media (min-width: 992px) {
  .home-page .hero-section .row {
    align-items: center !important;
  }

  .home-page .hero-section .col-lg-5 {
    order: 1;
  }

  .home-page .hero-section .col-lg-7 {
    order: 2;
  }

  .page-hero .col-lg-8 {
    order: 2;
  }

  .page-hero .col-lg-4 {
    order: 1;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-top: 78px;
  }

  .hero-card {
    transform: none;
  }
}