:root {
  --emerald: #063f35;
  --emerald-2: #0c5a4b;
  --emerald-3: #0f6b59;
  --gold: #d99a2b;
  --gold-2: #f2bd55;
  --charcoal: #17211f;
  --ink: #26312f;
  --muted: #64716e;
  --soft: #f4f7f4;
  --line: #dde5e0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 63, 53, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

p {
  color: var(--muted);
  line-height: 1.75;
}

h1,
h2,
h3 {
  color: var(--charcoal);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1200;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-navbar {
  min-height: 82px;
  border-bottom: 1px solid rgba(221, 229, 224, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  transition: min-height 0.25s ease, box-shadow 0.25s ease;
}

.site-navbar.is-scrolled {
  min-height: 70px;
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.08);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--emerald);
}

.navbar-brand:hover,
.footer-brand:hover {
  color: var(--emerald);
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-2));
  color: var(--gold-2);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
}

.navbar-brand strong {
  display: block;
  color: var(--emerald);
  font-size: 1rem;
  line-height: 1.1;
}

.navbar-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.site-navbar .nav-link {
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--emerald-2);
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%286, 63, 53, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-inline: 1.2rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.btn-sm {
  min-height: 40px;
}

.btn-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: #111816;
}

.btn-gold:hover {
  border-color: var(--gold-2);
  background: var(--gold-2);
  color: #111816;
  transform: translateY(-1px);
}

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

.home-hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade,
.page-hero::before,
.page-hero::after {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background-image: url("../images/eloba-hero-building-trust.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 35, 30, 0.95) 0%, rgba(4, 35, 30, 0.82) 42%, rgba(4, 35, 30, 0.24) 100%),
    linear-gradient(0deg, rgba(4, 35, 30, 0.46), rgba(4, 35, 30, 0.12));
}

.hero-content {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.hero-brand {
  max-width: 9ch;
  margin-bottom: 0.7rem;
  color: var(--gold-2);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.7rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.94;
}

.home-hero h1 {
  max-width: 860px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 5rem);
}

.home-hero p:not(.hero-brand) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-trust-strip {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-trust-strip span {
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 800;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--emerald);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.36;
}

.page-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 63, 53, 0.96), rgba(6, 63, 53, 0.68));
}

.page-hero h1 {
  max-width: 1020px;
  color: var(--white);
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
}

.page-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.section-pad {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.3rem;
}

.section-heading h2,
.intro-block h2,
.final-cta h2 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-heading a,
.text-link,
.portfolio-card a,
.mini-service a {
  color: var(--emerald);
  font-weight: 900;
}

.lead-copy {
  font-size: 1.1rem;
}

.surface-muted {
  background: var(--soft);
}

.surface-dark,
.process-band {
  background: var(--charcoal);
  color: var(--white);
}

.surface-dark h2,
.surface-dark h3,
.process-band h2,
.process-band h3 {
  color: var(--white);
}

.surface-dark p,
.process-band p {
  color: rgba(255, 255, 255, 0.74);
}

.feature-image {
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.trust-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.trust-counters div,
.statement-panel,
.value-card,
.contact-card,
.legal-wrap,
.timeline-card,
.case-card,
.process-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.trust-counters div {
  padding: 1.3rem;
}

.trust-counters strong {
  display: block;
  color: var(--gold);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
}

.trust-counters span {
  color: var(--charcoal);
  font-weight: 900;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.mini-service,
.portfolio-card,
.team-card,
.service-card,
.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mini-service:hover,
.portfolio-card:hover,
.team-card:hover,
.service-card:hover,
.case-card:hover {
  border-color: rgba(217, 154, 43, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.mini-service img,
.portfolio-card img,
.service-card img,
.case-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.mini-service div,
.portfolio-card div,
.case-card div {
  padding: 1.2rem;
}

.mini-service i,
.service-card-body > i,
.statement-panel > i {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: rgba(217, 154, 43, 0.12);
  color: var(--gold);
  font-size: 1.25rem;
}

.mini-service h3,
.portfolio-card h2,
.case-card h2 {
  font-size: 1.2rem;
}

.mini-service p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

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

.why-list div {
  min-height: 210px;
  padding: 1.3rem;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.why-list span,
.process-card span,
.timeline-card span {
  color: var(--gold-2);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.portfolio-card span,
.case-card span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.25rem 0.8rem;
  margin: 1rem 0;
  font-size: 0.88rem;
}

.portfolio-card dt {
  color: var(--charcoal);
  font-weight: 900;
}

.portfolio-card dd {
  margin: 0;
  color: var(--muted);
}

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

.process-card {
  min-height: 240px;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.content-columns,
.value-grid,
.service-grid,
.portfolio-grid,
.team-grid {
  display: grid;
  gap: 1.2rem;
}

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

.content-columns article {
  padding-top: 1.2rem;
  border-top: 2px solid var(--gold);
}

.statement-panel,
.value-card,
.timeline-card {
  height: 100%;
  padding: 1.5rem;
}

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

.value-card h3 {
  font-size: 1.08rem;
}

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

.service-card-body {
  padding: 1.45rem;
}

.service-card h2 {
  font-size: 1.45rem;
}

.service-card h3,
.team-card h3 {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.service-card ul,
.team-card ul,
.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card li,
.team-card li {
  position: relative;
  margin-bottom: 0.45rem;
  padding-left: 1rem;
  color: var(--muted);
}

.service-card li::before,
.team-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0;
}

.filter-bar button {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font-weight: 900;
}

.filter-bar button.active,
.filter-bar button:hover {
  border-color: var(--gold);
  background: var(--gold);
}

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

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.portfolio-note i {
  color: var(--gold);
  font-size: 1.8rem;
}

.portfolio-note p {
  margin: 0;
  color: var(--charcoal);
  font-weight: 800;
}

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

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-card > div {
  padding: 1.2rem;
}

.team-card > div > p:first-child {
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-card h2 {
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
}

.team-card span {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skill-tags span {
  margin: 0;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--emerald);
}

.testimonial {
  margin: 0;
  padding-left: 2rem;
  border-left: 4px solid var(--gold);
}

.testimonial p {
  color: var(--white);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.22;
}

.testimonial cite {
  color: var(--gold-2);
  font-style: normal;
  font-weight: 800;
}

.premium-accordion .accordion-item {
  overflow: hidden;
  margin-bottom: 0.8rem;
  border-color: var(--line);
  border-radius: var(--radius);
}

.premium-accordion .accordion-button {
  min-height: 66px;
  color: var(--charcoal);
  font-weight: 900;
  box-shadow: none;
}

.premium-accordion .accordion-button:not(.collapsed) {
  background: var(--soft);
  color: var(--emerald);
}

.contact-card {
  margin-top: 1rem;
  padding: 1.2rem;
}

.contact-card h3 {
  font-size: 1.05rem;
}

.contact-card p {
  margin-bottom: 0.25rem;
}

.contact-card a {
  color: var(--emerald);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  margin-bottom: 0.42rem;
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 50px;
  border-color: var(--line);
  border-radius: var(--radius);
}

.contact-form textarea.form-control {
  min-height: 170px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(217, 154, 43, 0.16);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.map-section {
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
}

.office-location-panel {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 63, 53, 0.9), rgba(6, 63, 53, 0.64)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 18px);
  color: var(--white);
}

.office-location-panel i {
  color: var(--gold-2);
  font-size: 3rem;
}

.office-location-panel h2 {
  color: var(--white);
}

.office-location-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.legal-wrap {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.legal-wrap article {
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.legal-wrap h2 {
  font-size: 1.35rem;
}

.final-cta {
  background: var(--soft);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius);
  background: var(--emerald);
  color: var(--white);
}

.cta-panel h2 {
  color: var(--white);
}

.cta-panel p:not(.section-eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-strip {
  padding-block: 1.2rem;
  background: var(--charcoal);
  color: var(--white);
}

.contact-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.contact-strip div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-strip i {
  color: var(--gold);
}

.contact-strip a,
.contact-strip span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.site-footer {
  padding-top: 4rem;
  background: #111a18;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.35fr;
  gap: 2rem;
}

.footer-brand {
  color: var(--white);
  font-weight: 900;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer address,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer li {
  margin-bottom: 0.65rem;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--gold-2);
  font-weight: 900;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: revealUp 0.7s ease both;
}

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

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1%, -0.6%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
