:root {
  --main-bg: #faf8f5;
  --card: #ffffff;
  --primary-brown: #5a321e;
  --dark-brown: #321b12;
  --light-brown: #b89b87;
  --beige: #f4eee7;
  --text: #2b211d;
  --secondary-text: #766b64;
  --borders: #e5ddd5;
  --white: #ffffff;
  --shadow-sm: 0 12px 28px rgba(76, 43, 25, 0.08);
  --shadow-md: 0 22px 48px rgba(76, 43, 25, 0.12);
  --radius: 18px;
  --header-height: 76px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--main-bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  width: 0;
  height: 2px;
  background: var(--primary-brown);
  pointer-events: none;
  transform-origin: left center;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: var(--primary-brown);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-120%);
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--dark-brown);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(234, 223, 212, 0.9);
  backdrop-filter: blur(16px);
  transition: min-height 260ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  border-color: rgba(167, 123, 90, 0.32);
  box-shadow: 0 12px 32px rgba(50, 31, 22, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-height);
  transition: min-height 260ms ease;
}

.site-header.scrolled .header-inner {
  min-height: 68px;
}

.site-header.scrolled .brand-logo {
  transform: scale(0.9);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  overflow: hidden;
  /* border: 1px solid rgba(18, 60, 105, 0.14); */
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 260ms ease;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy,
.footer-brand span {
  display: grid;
  gap: 1px;
}

.brand-copy strong,
.footer-brand strong {
  color: var(--dark-brown);
  font-size: 1rem;
  line-height: 1.15;
  font-weight: 800;
}

.brand-copy small,
.footer-brand small {
  color: var(--secondary-text);
  font-size: 0.74rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 8px;
  flex: 1 1 auto;
}

.primary-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--dark-brown);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active {
  color: var(--primary-brown);
  background: rgba(237, 227, 216, 0.7);
}

.header-cta,
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  flex: 0 0 auto;
  padding: 0 18px;
  color: var(--white) !important;
  background: linear-gradient(180deg, var(--primary-brown), var(--dark-brown));
  box-shadow: 0 14px 30px rgba(90, 56, 37, 0.2);
  font-size: 0.92rem;
}

.header-cta:hover,
.header-cta:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(180deg, var(--primary-brown), var(--dark-brown)) !important;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(90, 56, 37, 0.16);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--dark-brown);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250, 248, 244, 0.96) 0%, rgba(250, 248, 244, 0.9) 52%, rgba(237, 227, 216, 0.45) 100%),
    radial-gradient(circle at 82% 18%, rgba(167, 123, 90, 0.2), transparent 30%),
    var(--main-bg);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image: linear-gradient(rgba(90, 50, 30, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 50, 30, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(229, 217, 206, 0.9);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: 70px;
  min-height: 580px;
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--primary-brown);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--light-brown);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  color: var(--dark-brown);
  font-size: 3.68rem;
  line-height: 1.05;
  font-weight: 800;
}

h2 {
  color: var(--dark-brown);
  font-size: 2.34rem;
  line-height: 1.16;
  font-weight: 800;
}

h3 {
  color: var(--dark-brown);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 800;
}

#hero-title {
  padding-left: 4%;
}

.hero-subtitle {
  max-width: 670px;
  margin-top: 22px;
  padding: 0px 0px 0px 4%;
  color: var(--secondary-text);
  font-size: 1.2rem;
  font-weight: 700;
}

.typing-line {
  display: block;
  min-height: 1.1em;
  margin-top: 8px;
  color: var(--primary-brown);
}

.typing-line [data-typewriter] {
  display: inline-block;
}

.typing-caret {
  display: inline-block;
  width: 3px;
  height: 0.88em;
  margin-left: 5px;
  transform: translateY(0.08em);
  border-radius: 999px;
  background: var(--light-brown);
  animation: caretPulse 1100ms ease-in-out infinite;
}

@keyframes caretPulse {

  0%,
  42% {
    opacity: 1;
  }

  60%,
  100% {
    opacity: 0.18;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-width: 162px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 0.96rem;
}

.btn::after,
.header-cta::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 45%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transition: left 620ms ease;
}

.btn:hover::after,
.btn:focus-visible::after,
.header-cta:hover::after,
.header-cta:focus-visible::after {
  left: 130%;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--primary-brown), var(--dark-brown));
  box-shadow: 0 16px 32px rgba(90, 56, 37, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 40px rgba(90, 56, 37, 0.28);
}

.btn-secondary {
  color: var(--primary-brown);
  background: var(--white);
  border: 1px solid rgba(90, 56, 37, 0.18);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(90, 56, 37, 0.4);
  box-shadow: var(--shadow-sm);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(90, 56, 37, 0.12);
  border-radius: 999px;
  color: var(--primary-brown);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-list span::before {
  content: "\2713";
  color: var(--light-brown);
  font-weight: 900;
}

.hero-media,
.about-media,
.industry-panel {
  position: relative;
}

.about-media img,
.industry-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.hero-media {
  position: absolute;
  --hero-media-border: rgba(255, 255, 255, 0.58);
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0;
  background: var(--navy);
  box-shadow: none;
  transform: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  border: 0;
}

.hero-media::before {
  position: absolute;
  inset: 0 auto 0 -30%;
  z-index: 11;
  width: 24%;
  content: "";
  pointer-events: none;
  opacity: 0;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 900ms cubic-bezier(.22, .61, .36, 1), opacity 220ms ease;
}

.hero-media:hover::before,
.hero-media:focus-within::before {
  left: 116%;
  opacity: 1;
}

.hero-media:hover,
.hero-media:focus-within {
  --hero-media-border: rgba(201, 162, 39, 0.4);
  box-shadow: none;
}

.hero-media video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  transform: scale(1);
  transition: transform 620ms cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.hero-media:hover video,
.hero-media:focus-within video {
  transform: scale(1.03);
}

.hero-media-overlay,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250, 248, 244, 0.96) 0%, rgba(250, 248, 244, 0.88) 42%, rgba(50, 31, 22, 0.18) 72%, rgba(50, 31, 22, 0.08) 100%),
    linear-gradient(180deg, rgba(250, 248, 244, 0.08) 0%, rgba(50, 31, 22, 0.2) 100%);
}

.hero-media-badges,
.hero-video-badges {
  position: absolute;
  top: 34px;
  right: clamp(24px, 6vw, 78px);
  z-index: 10;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.hero-media-badges span,
.hero-video-badges span {
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(7, 26, 51, 0.5);
  box-shadow: 0 12px 28px rgba(7, 26, 51, 0.18);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 800;
  animation: badgeFloat 6.5s ease-in-out infinite;
}

.hero-media-badges span::before,
.hero-video-badges span::before {
  content: "\2713";
  margin-right: 7px;
  color: var(--light-brown);
  font-weight: 900;
}

.hero-media-badges span:nth-child(2),
.hero-video-badges span:nth-child(2) {
  animation-delay: 900ms;
}

.hero-media-badges span:nth-child(3),
.hero-video-badges span:nth-child(3) {
  animation-delay: 1800ms;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.hero-card {
  position: absolute;
  right: clamp(24px, 6vw, 78px);
  bottom: 34px;
  z-index: 10;
  max-width: 330px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(7, 26, 51, 0.9);
  box-shadow: 0 18px 44px rgba(7, 26, 51, 0.26);
}

.hero-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.proof-bar {
  border-bottom: 1px solid var(--borders);
  background: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--borders);
}

.proof-grid div {
  padding: 24px;
  background: var(--white);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.proof-grid div:hover,
.proof-grid div:focus-within {
  position: relative;
  z-index: 1;
  transform: translateY(-4px);
  background: #fffaf5;
  box-shadow: 0 14px 28px rgba(76, 43, 25, 0.1);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--dark-brown);
  font-size: 1rem;
  font-weight: 800;
}

.proof-grid span {
  margin-top: 4px;
  color: var(--secondary-text);
  font-size: 0.92rem;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
  border-block: 1px solid var(--borders);
}

.section-heading {
  max-width: 750px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--secondary-text);
  font-size: 1.04rem;
}

#services {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfaf7 25%, #f8f1e9 100%);
}

#services::after {
  position: absolute;
  right: 0;
  bottom: 38px;
  z-index: -1;
  width: 116px;
  height: 184px;
  content: "";
  opacity: 0.42;
  background-image: radial-gradient(#c99c78 1.4px, transparent 1.4px);
  background-size: 11px 11px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

#services .container {
  width: min(100% - 48px, 1440px);
}

#services .section-heading {
  max-width: 900px;
  margin: 0 auto 54px;
  text-align: center;
}

#services .section-heading h2 {
  max-width: 860px;
  color: var(--dark-brown);
  font-size: 2.72rem;
  margin-inline: auto;
}

#services .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--secondary-text);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-inline: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  max-width: 980px;
  margin-inline: auto;
}

.service-card,
.benefit-card {
  position: relative;
  min-height: 130px;
  padding: 26px;
  border: 1px solid var(--borders);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 8px 24px rgba(50, 31, 22, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-card {
  isolation: isolate;
  min-height: 0;
  padding: 28px 2%;
  border: 0;
  border-bottom: 1px solid rgba(112, 73, 48, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform-style: preserve-3d;
  transition:
    transform 260ms cubic-bezier(.22, .61, .36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
  will-change: transform;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 2px;
  content: "";
  opacity: 0;
  transform: scaleX(0.25);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary-brown), var(--light-brown), transparent);
  transition: opacity 220ms ease, transform 420ms cubic-bezier(.22, .61, .36, 1);
}

.service-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  transform: scaleX(var(--divider-scale, 1));
  transform-origin: left;
  background: rgba(112, 73, 48, 0.18);
}

.service-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  /* border-bottom: 1px solid rgba(112, 73, 48, 0.12); */
}

.service-card-heading>div {
  min-width: 0;
}

.service-kicker {
  margin: 0 0 4px;
  color: #9b6747;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-summary {
  min-height: 52px;
  margin: 20px 0 0;
  color: var(--dark-brown);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.service-card:hover,
.service-card:focus-within,
.benefit-card:hover,
.benefit-card:focus-within {
  transform: translateY(-2px);
  background: rgba(255, 250, 245, 0.55);
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-image {
  position: relative;
  height: 184px;
  overflow: hidden;
  border-radius: 24px;
  background: #f3f5f7;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 520ms cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.service-card:hover .service-image img,
.service-card:focus-within .service-image img {
  transform: scale(1.08);
}

.service-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary-brown);
  box-shadow: 0 10px 24px rgba(90, 50, 30, 0.16);
  font-size: 1rem;
  font-weight: 800;
}

.service-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-top: 22px;
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.08);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0;
  color: var(--dark-brown);
  font-size: 1.62rem;
  line-height: 1.14;
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.service-list li::before {
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  content: "";
  background: #b88866;
}

.service-card p,
.benefit-card p,
.about-copy p,
.consultation-copy p,
.site-footer p {
  color: var(--muted);
}

.service-card p,
.benefit-card p {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.72;
}

.service-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: #52677f;
}

.service-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 20px;
  color: #0e223d;
  font-size: 1rem;
  font-weight: 800;
  transition: padding-left 220ms ease, color 220ms ease;
}

.service-link:hover,
.service-link:focus-visible {
  padding-left: 10px;
  color: #d4af37;
}

.split-grid,
.about-grid,
.consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  align-items: center;
  gap: 64px;
}

.industry-panel img {
  height: 305px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 22px;
}

.industry-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(18, 60, 105, 0.1);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(7, 26, 51, 0.05);
  font-size: 0.93rem;
  font-weight: 750;
}

.about-grid {
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1fr);
}

.about-media img {
  height: 520px;
  will-change: transform;
}

.about-copy p {
  margin-top: 18px;
  font-size: 1.02rem;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about-points span {
  display: grid;
  min-height: 68px;
  place-items: center;
  border: 1px solid rgba(90, 56, 37, 0.12);
  border-radius: var(--radius);
  color: var(--dark-brown);
  background: var(--beige);
  font-weight: 800;
}

.our-goal {
  border: 1px solid rgba(90, 56, 37, 0.12);
  background-color: rgba(237, 227, 216, 0.6);
  padding: 1.2rem 1.5rem;
  width: min(100% - 40px, 800px);
  margin: 2% auto 0;
  border-radius: 20px;
  justify-self: center;
  color: var(--dark-brown);
  font-weight: 600;
}

.section-navy {
  color: var(--text);
  background:
    radial-gradient(circle at 90% 18%, rgba(178, 125, 88, 0.12), transparent 26%),
    linear-gradient(180deg, #fffdfb, #f8f0e8);
}

.section-navy .section-heading h2 {
  color: var(--dark-brown);
}

.section-navy .section-heading p:not(.eyebrow) {
  color: var(--secondary-text);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.8fr);
  gap: 26px;
  align-items: start;
}

.why-aside {
  position: sticky;
  top: 110px;
  /* min-height: 100%; */
  padding: 28px;
  /* border: 1px solid rgba(77, 42, 24, 0.12); */
  border-radius: 22px;
  /* background: linear-gradient(145deg, #4b2919, #2d180f); */
  /* box-shadow: 0 18px 40px rgba(76, 43, 25, 0.14); */
}

.why-mark {
  display: inline-grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.why-aside>p {
  max-width: 190px;
  margin: 24px 0 42px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.why-stats {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.why-stats strong {
  color: #e5bf71;
  font-size: 1.65rem;
  line-height: 1;
}

@media(max-width: 768px) {
  .why-image {
    border-radius: 20px;
 }

 picture img { 
    border-radius: 20px !important; 
  } 
}

.why-stats span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.35;
}

.benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.benefit-card {
  min-height: 140px;
  /* padding: 26px 0; */
  border: 0;
  border-bottom: 1px solid rgba(112, 73, 48, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.benefit-card h3::before {
  content: "";
  position: absolute;
  height: 5px;
  width: 5px;
  margin: 32px 0 0 5px;
  inset: 0;
  /* z-index: -1; */
  /* transform: translate(10px, 10px); */
  border-radius: var(--radius);
  background: rgb(17 11 5);
  /* transform: scale(1); */
  /* transition: transform 220ms ease; */
}

.benefit-number {
  display: block;
  margin-bottom: 26px;
  color: #a87958;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.benefit-card p {
  color: var(--secondary-text);
}

.consultation {
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(237, 227, 216, 0.94));
}

.consultation-grid {
  align-items: start;
}

.consultation-copy,
.consultation-copy h2 {
  color: var(--dark-brown);
}

.consultation-copy p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--secondary-text);
  font-size: 1.05rem;
}

.consultation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 430px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(90, 56, 37, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.contact-card strong {
  color: var(--dark-brown);
}

.contact-card a,
.contact-card span {
  color: var(--secondary-text);
}

.consultation-summary {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: 34px;
  border: 1px solid rgba(90, 56, 37, 0.12);
  border-radius: 28px;
  color: var(--dark-brown);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(237, 227, 216, 0.72));
  box-shadow: 0 24px 60px rgba(50, 31, 22, 0.08);
}

.consultation-summary span {
  color: var(--primary-brown);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consultation-summary h3 {
  max-width: 520px;
  margin-top: 14px;
  color: var(--dark-brown);
  font-size: 1.72rem;
  line-height: 1.25;
}

.consultation-summary p {
  max-width: 520px;
  margin-top: 16px;
  color: var(--secondary-text);
}

.consultation-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.consultation-form.is-hidden {
  display: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.consultation-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-brown);
  font-size: 0.92rem;
  font-weight: 800;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  border: 1px solid var(--borders);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  font-size: 0.96rem;
}

.consultation-form input,
.consultation-form select {
  min-height: 52px;
  padding: 0 14px;
}

.consultation-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 14px;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.64);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.consultation-form .is-invalid {
  border-color: #b91c1c;
  background: #fff7f7;
}

.consultation-form .btn {
  width: 100%;
}

.consultation-form .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.88rem;
}

.form-note {
  color: var(--secondary-text);
}

.form-status {
  min-height: 22px;
  color: var(--primary-brown);
  font-weight: 800;
}

.form-status.error {
  color: #b91c1c;
}

.consultation-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.consultation-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 37, 0.76);
  backdrop-filter: blur(16px);
}

.modal-dialog {
  position: relative;
  width: min(100%, 1060px);
  max-height: min(900px, calc(100vh - 56px));
  overflow-y: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.985);
  transition: transform 260ms ease;
}

.consultation-modal:not([hidden]) .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(18, 60, 105, 0.12);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.modal-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--dark-brown);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-intro {
  max-width: 720px;
  padding-right: 54px;
  margin-bottom: 26px;
}

.modal-intro h2 {
  font-size: 2.22rem;
}

.modal-intro p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--secondary-text);
  font-size: 1rem;
}

.modal-dialog .consultation-form {
  border-color: rgba(18, 60, 105, 0.1);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(7, 26, 51, 0.08);
}

.success-screen {
  display: grid;
  min-height: 430px;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 40px;
  text-align: center;
}

.success-screen[hidden] {
  display: none;
}

.success-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(180deg, var(--primary-brown), var(--dark-brown));
  box-shadow: 0 18px 42px rgba(90, 56, 37, 0.2);
}

.success-mark::before,
.success-badge::before {
  content: "\2713";
  font-weight: 900;
}

.success-mark::before {
  font-size: 2rem;
}

.success-screen p {
  max-width: 520px;
  color: var(--secondary-text);
  font-size: 1.05rem;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(90, 56, 37, 0.18);
  border-radius: 999px;
  color: var(--primary-brown);
  background: rgba(237, 227, 216, 0.8);
  font-size: 0.92rem;
}

.success-screen .btn {
  margin-top: 14px;
}

.site-footer {
  padding: 58px 0 28px;
  color: rgba(255, 255, 255, 0.75);
  background: linear-gradient(180deg, var(--dark-brown), #1d130f);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(160px, 0.5fr));
  gap: 50px;
}

.footer-brand img {
  width: 70px;
  height: 70px;
  padding: 4px 0;
  margin-bottom: 8px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
  corner-shape: squircle;
}

.footer-brand strong {
  color: var(--white);
}

.site-footer p {
  max-width: 430px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-gsap-hidden] {
  visibility: hidden;
}

.hero-media.reveal {
  opacity: 1;
  transform: none;
}

.hero-media.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    gap: 14px;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    justify-content: center;
  }

  .primary-nav a {
    min-height: 48px;
    padding: 0 14px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .about-grid,
  .consultation-grid,
  .why-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .why-aside {
    position: static;
  }

  .about-media img {
    min-height: 0;
    height: 430px;
  }

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

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

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy small {
    font-size: 0.68rem;
  }

  /* .hero {
    padding: 56px 0 48px;
  } */

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 2.04rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
    min-height: 54px;
  }

  .trust-list {
    display: grid;
  }

  .about-media img,
  .industry-panel img {
    height: 300px;
  }

  .hero-grid {
    min-height: 720px;
  }

  .hero-media-badges,
  .hero-video-badges {
    top: auto;
    right: 14px;
    bottom: 168px;
    gap: 8px;
  }

  .hero-media-badges span,
  .hero-video-badges span {
    padding: 8px 11px;
    font-size: 0.72rem;
  }

  .hero-card {
    position: static;
    margin-top: -74px;
    margin-inline: 14px;
  }

  .hero-media .hero-card {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
    margin: 0;
    padding: 16px;
  }

  .section,
  .consultation {
    padding: 62px 0;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .service-grid,
  .benefit-grid,
  .about-points {
    grid-template-columns: 1fr;
  }

  .service-card,
  .benefit-card {
    min-height: auto;
    padding: 22px;
  }

  /* .service-card-heading {
    align-items: flex-start;
  } */

  .service-card h3 {
    font-size: 1.64rem;
  }

  .service-card p {
    font-size: 1rem;
  }

  .industry-list {
    gap: 10px;
  }

  .industry-list span {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .consultation-form {
    padding: 22px;
  }

  .consultation-actions {
    display: grid;
  }

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

  .consultation-modal {
    padding: 0;
  }

  .modal-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    border-radius: 0;
    padding: 72px 18px 28px;
  }

  .modal-close {
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .modal-intro {
    padding-right: 0;
  }

  .modal-intro h2 {
    font-size: 1.9rem;
  }

  .modal-dialog .consultation-form {
    padding: 18px;
  }

  .consultation-form input,
  .consultation-form select {
    min-height: 58px;
  }

  .success-screen {
    min-height: calc(100vh - 120px);
    padding: 24px;
  }

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

@media (max-width: 440px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-copy small {
    display: none;
  }

  h1 {
    font-size: 2.34rem;
  }

  h2 {
    font-size: 1.78rem;
  }
}

/* Bootstrap overrides */

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}