:root {
  --ofve-navy: #0f2747;
  --ofve-navy-deep: #08192f;
  --ofve-anthracite: #1f2937;
  --ofve-ink: #142235;
  --ofve-slate: #5b6b7f;
  --ofve-slate-soft: #708196;
  --ofve-green: #1fa971;
  --ofve-green-dark: #167a53;
  --ofve-green-soft: #e8f7f0;
  --ofve-sun: #f5c451;
  --ofve-mist: #eef4f7;
  --ofve-white: #ffffff;
  --ofve-border: rgba(15, 39, 71, 0.1);
  --ofve-border-strong: rgba(15, 39, 71, 0.16);
  --ofve-shadow: 0 18px 40px rgba(8, 25, 47, 0.12);
  --ofve-shadow-hover: 0 22px 50px rgba(8, 25, 47, 0.16);
  --ofve-radius-lg: 1.5rem;
  --ofve-radius-md: 1.1rem;
  --bs-primary: #0f2747;
  --bs-success: #1fa971;
  --bs-warning: #f5c451;
  --bs-body-color: #223047;
  --bs-body-bg: #ffffff;
  --bs-border-color: rgba(15, 39, 71, 0.1);
  --bs-font-sans-serif: "Manrope", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--bs-body-color);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(245, 196, 81, 0.18), transparent 26%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 18%, #ffffff 100%);
}

main {
  overflow: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ofve-ink);
  line-height: 1.15;
}

p,
li {
  color: var(--bs-body-color);
}

a {
  color: var(--ofve-green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ofve-green);
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.accordion-button:focus-visible,
.nav-link:focus-visible,
.form-check-input:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(31, 169, 113, 0.22);
}

.navbar {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 39, 71, 0.08);
  padding: 0.8rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.03em;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
}

.navbar .nav-link {
  position: relative;
  font-weight: 600;
  color: var(--ofve-anthracite);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--ofve-green-dark);
  background: rgba(31, 169, 113, 0.08);
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.3rem;
  height: 0.18rem;
  border-radius: 999px;
  background: var(--ofve-green);
}

.navbar-toggler {
  border: 1px solid rgba(15, 39, 71, 0.12);
  border-radius: 0.9rem;
  padding: 0.55rem 0.7rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(31, 169, 113, 0.18);
}

.navbar-collapse {
  align-items: center;
}

.sticky-top {
  top: 0;
  z-index: 1030;
}

.page-hero,
.hero-home {
  position: relative;
  overflow: hidden;
}

.hero-home {
  padding: 8rem 0 5rem;
}

.page-hero {
  padding: 7rem 0 4rem;
}

.hero-home::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.95), rgba(15, 39, 71, 0.72)),
    url("../images/hero-energy.svg") center/cover no-repeat;
  z-index: -2;
}

.hero-home::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -6rem -5rem auto;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(245, 196, 81, 0.55), rgba(245, 196, 81, 0));
  z-index: -1;
}

.text-soft {
  color: rgba(255, 255, 255, 0.88);
}

.hero-card,
.info-card,
.reference-card,
.process-card,
.metric-card,
.blog-card,
.faq-card,
.contact-card,
.cta-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ofve-border);
  border-radius: var(--ofve-radius-md);
  box-shadow: var(--ofve-shadow);
}

.hero-card {
  padding: 1.75rem;
}

.surface-panel {
  background: linear-gradient(180deg, #ffffff, #f3f7fa);
  border: 1px solid var(--ofve-border);
  border-radius: var(--ofve-radius-lg);
  box-shadow: var(--ofve-shadow);
}

.section-padding {
  padding: 5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(238, 244, 247, 0.55), rgba(255, 255, 255, 0.8));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(31, 169, 113, 0.12);
  color: var(--ofve-green-dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-home .eyebrow,
.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.96);
}

.hero-home h1,
.hero-home h2,
.hero-home h3,
.hero-home p,
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero p {
  color: rgba(255, 255, 255, 0.98);
}

.display-title {
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.icon-badge {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(15, 39, 71, 0.08);
  color: var(--ofve-navy);
  font-size: 1.35rem;
}

.metric-card h3,
.process-card h3,
.info-card h3,
.blog-card h3 {
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.04rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.75;
}

.display-6,
.article-body h2 {
  text-wrap: balance;
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.85rem;
}

.check-list li::before {
  content: "\f26e";
  font-family: bootstrap-icons !important;
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--ofve-green);
}

.stat-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.stat-line strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--ofve-navy);
}

.photo-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ofve-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.photo-frame img,
.article-cover img,
.article-card-image {
  width: 100%;
  height: auto;
  display: block;
}

.photo-frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.kpi-item {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(8, 25, 47, 0.28);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
}

.kpi-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--ofve-sun);
}

.kpi-item span {
  color: rgba(255, 255, 255, 0.88);
}

.cta-strip {
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.96), rgba(31, 169, 113, 0.9)),
    var(--ofve-navy);
  color: var(--ofve-white);
  border-radius: calc(var(--ofve-radius-lg) + 0.1rem);
  overflow: hidden;
  box-shadow: var(--ofve-shadow);
}

.cta-strip .btn-light {
  color: var(--ofve-navy);
}

.cta-strip h2,
.cta-strip h3,
.cta-strip p,
.cta-strip a:not(.btn) {
  color: rgba(255, 255, 255, 0.96);
}

.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.breadcrumb .active {
  color: rgba(255, 255, 255, 0.72);
}

.accordion-button:not(.collapsed) {
  color: var(--ofve-navy);
  background-color: rgba(31, 169, 113, 0.08);
}

.accordion-item {
  border-color: var(--ofve-border);
}

.accordion-button {
  color: var(--ofve-ink);
  font-weight: 700;
  padding: 1.15rem 1.3rem;
}

.accordion-body {
  color: var(--bs-body-color);
  line-height: 1.7;
}

.form-control,
.form-select {
  min-height: 3.3rem;
  color: var(--ofve-ink);
  background-color: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--ofve-border-strong);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  box-shadow: none;
}

.form-control::placeholder,
.form-select,
textarea.form-control::placeholder,
input.form-control::placeholder {
  color: var(--ofve-slate-soft);
  opacity: 1;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(31, 169, 113, 0.58);
  box-shadow: 0 0 0 0.25rem rgba(31, 169, 113, 0.16);
}

.form-check-input {
  border-color: var(--ofve-border-strong);
}

.form-check-label {
  color: var(--bs-body-color);
}

.form-label {
  margin-bottom: 0.45rem;
  color: var(--ofve-ink);
  font-weight: 700;
}

.form-text {
  color: var(--ofve-slate);
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  min-height: 3.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--ofve-green);
  border-color: var(--ofve-green);
  box-shadow: 0 12px 24px rgba(31, 169, 113, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--ofve-green-dark);
  border-color: var(--ofve-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(22, 122, 83, 0.28);
}

.btn-outline-light {
  border-width: 1.5px;
}

.btn-outline-light:hover {
  color: var(--ofve-navy);
}

.btn-outline-primary {
  color: var(--ofve-green-dark);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(31, 169, 113, 0.5);
  border-width: 1.5px;
}

.btn-outline-primary:hover {
  background: rgba(31, 169, 113, 0.08);
  color: var(--ofve-green-dark);
  border-color: rgba(31, 169, 113, 0.7);
  transform: translateY(-1px);
}

.article-meta,
.small-muted {
  color: var(--ofve-slate);
}

.hero-card p,
.info-card p,
.metric-card p,
.process-card p,
.contact-card p,
.surface-panel p,
.blog-card p {
  color: var(--bs-body-color);
}

.info-card,
.metric-card,
.process-card,
.blog-card,
.contact-card,
.surface-panel {
  height: 100%;
}

.info-card,
.blog-card,
.process-card,
.metric-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.blog-card .p-4 {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card .article-meta {
  margin-bottom: 0.85rem;
}

.blog-card .btn {
  margin-top: auto;
}

.info-card:hover,
.blog-card:hover,
.process-card:hover,
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ofve-shadow-hover);
  border-color: rgba(31, 169, 113, 0.18);
}

.info-card > img,
.surface-panel > img.rounded-4,
img.rounded-4.shadow-soft.w-100 {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(180deg, #f1f6f8, #e7eef3);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card > div:last-child {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.85rem;
}

.blog-card .btn,
.blog-card .fw-semibold {
  margin-top: auto;
}

.article-card-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(180deg, #eff4f7, #dde8ee);
}

.article-body {
  max-width: 860px;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body h2,
.article-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body p,
.article-body li {
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body h2 {
  font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2.1rem);
}

.article-body h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.map-placeholder {
  min-height: 320px;
  border-radius: var(--ofve-radius-md);
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.9), rgba(31, 169, 113, 0.88)),
    var(--ofve-navy);
  color: #fff;
}

.footer {
  background: var(--ofve-navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.footer h2,
.footer h3 {
  color: #ffffff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo {
  display: block;
  width: auto;
  height: 48px;
}

.footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

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

.footer p {
  color: rgba(255, 255, 255, 0.82);
}

.footer .footer-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-contact-link-muted {
  color: rgba(255, 255, 255, 0.78);
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  color: var(--ofve-sun);
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer-powered:hover {
  color: var(--ofve-sun);
}

.footer-powered-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.shadow-soft {
  box-shadow: var(--ofve-shadow);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .info-card,
  .blog-card,
  .process-card,
  .metric-card,
  .btn {
    transition: none !important;
  }
}

@media (max-width: 991.98px) {
  .hero-home,
  .page-hero {
    padding-top: 6.5rem;
  }

  .navbar-collapse {
    margin-top: 0.9rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(15, 39, 71, 0.08);
    box-shadow: 0 16px 36px rgba(8, 25, 47, 0.12);
  }

  .navbar .nav-link {
    border-radius: 0.85rem;
  }

  .navbar .nav-link.active::after {
    display: none;
  }

  .navbar .btn {
    width: 100%;
    margin-top: 1rem;
  }

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

@media (max-width: 767.98px) {
  .brand-logo {
    height: 36px;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .hero-home {
    padding-bottom: 4rem;
  }

  .page-hero {
    padding-bottom: 3.25rem;
  }

  .display-title {
    font-size: clamp(2.1rem, 1.85rem + 3vw, 2.8rem);
  }

  .display-6 {
    font-size: clamp(1.75rem, 1.55rem + 1.8vw, 2.2rem);
  }

  .hero-card,
  .contact-card,
  .info-card,
  .metric-card,
  .process-card,
  .surface-panel,
  .blog-card {
    border-radius: 1.1rem;
  }

  .article-card-image,
  .info-card > img,
  .surface-panel > img.rounded-4,
  img.rounded-4.shadow-soft.w-100,
  .photo-frame img {
    aspect-ratio: 16 / 10;
  }

  .btn {
    width: 100%;
  }

  .cta-strip .btn-light,
  .cta-strip .btn-outline-light,
  .cta-strip .btn-outline-primary {
    width: 100%;
  }

  .d-flex.gap-3,
  .d-flex.flex-wrap.gap-3 {
    width: 100%;
  }
}

.syrax-showcase {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,245,250,0.96));
}

.syrax-showcase-logo {
  width: min(100%, 260px);
  height: auto;
  display: inline-block;
}


.contact-names {
  color: var(--ofve-slate);
  font-weight: 700;
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  max-width: 76rem;
  margin: 0 auto;
}

.cookie-consent-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 39, 71, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(8, 25, 47, 0.18);
}

.cookie-consent-text {
  flex: 1 1 34rem;
}

.cookie-consent-text p {
  margin: 0;
  color: var(--ofve-anthracite);
  font-size: 0.98rem;
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.turnstile-wrap {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--ofve-border);
  background: linear-gradient(180deg, #ffffff, #f6faf8);
}

.error-page-main {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}

.error-panel {
  max-width: 48rem;
  padding: 2rem;
}

.error-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(18rem, 60vw);
  aspect-ratio: 1;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(31, 169, 113, 0.08), rgba(245, 196, 81, 0.18));
  box-shadow: var(--ofve-shadow);
}

.error-visual img {
  width: 72%;
  animation: errorFloat 4.8s ease-in-out infinite;
}

@keyframes errorFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

@media (max-width: 767.98px) {
  .cookie-consent {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .cookie-consent-card {
    padding: 1rem;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn {
    width: 100%;
  }
}
