:root {
  --color-navy: #143040;
  --color-navy-deep: #081824;
  --color-blue-gray: #49636c;
  --color-cream: #f2eee5;
  --color-sand: #d8bf9e;
  --color-copper: #c9795f;
  --color-rust: #a8634d;
  --color-white: #ffffff;
  --color-ink: #142431;
  --color-muted: #65717a;
  --color-line: rgba(20, 48, 64, 0.14);
  --shadow-soft: 0 24px 80px rgba(8, 24, 36, 0.14);
  --shadow-card: 0 16px 42px rgba(8, 24, 36, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 82px;
  --font-main: "Avenir Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 2000;
  background: var(--color-copper);
  color: var(--color-white);
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }
.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(242, 238, 229, 0.93);
  border-bottom: 1px solid rgba(20, 48, 64, .1);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(calc(100% - 2rem), 1240px);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--color-cream);
  box-shadow: 0 8px 24px rgba(20, 48, 64, .12);
}
.brand-text {
  display: grid;
  line-height: 1.05;
  color: var(--color-navy);
  letter-spacing: -.02em;
}
.brand-text strong { font-size: clamp(1.15rem, 2vw, 1.6rem); }
.brand-text small { font-size: .72rem; max-width: 165px; color: var(--color-blue-gray); }
.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 46px;
  height: 46px;
  place-content: center;
  border: 0;
  border-radius: 14px;
  background: var(--color-navy);
  color: var(--color-white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav {
  position: fixed;
  inset: var(--header-height) 1rem auto 1rem;
  max-height: calc(100dvh - var(--header-height) - 1rem);
  overflow: auto;
  padding: .8rem;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
body.nav-open .main-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
.main-nav ul { list-style: none; padding: 0; margin: 0; }
.main-nav > ul { display: grid; gap: .2rem; }
.main-nav a, .dropdown-toggle {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border: 0;
  border-radius: 14px;
  padding: .75rem .9rem;
  background: transparent;
  color: var(--color-navy);
  font-weight: 750;
  cursor: pointer;
}
.main-nav a:hover, .dropdown-toggle:hover, .main-nav .is-active {
  background: rgba(201, 121, 95, .12);
  color: var(--color-rust);
}
.nav-cta {
  background: var(--color-navy) !important;
  color: var(--color-white) !important;
  justify-content: center !important;
}
.dropdown-menu {
  display: none;
  padding: .25rem 0 .45rem .75rem !important;
}
.has-dropdown.is-open .dropdown-menu { display: grid; }
.dropdown-menu a { font-weight: 650; color: var(--color-blue-gray); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark {
  position: relative;
  isolation: isolate;
  background: var(--color-navy-deep);
  color: var(--color-white);
  overflow: hidden;
}
.hero { min-height: calc(100dvh - var(--header-height)); display: grid; align-items: center; }
.page-hero { min-height: 460px; display: grid; align-items: center; }
.compact-hero { min-height: 420px; }
.no-image { background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy)); }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.03);
}
.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 24, 36, .94) 0%, rgba(8, 24, 36, .78) 46%, rgba(8, 24, 36, .38) 100%),
    radial-gradient(circle at 80% 20%, rgba(201, 121, 95, .26), transparent 36%);
}
.hero-inner { padding: clamp(4rem, 8vw, 8rem) 0; }
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--color-copper);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .75rem;
}
.section-dark .eyebrow, .dark-card .eyebrow, .cta-panel .eyebrow { color: var(--color-sand); }
h1, h2, h3 { line-height: 1.05; margin: 0; color: inherit; letter-spacing: -.04em; }
h1 { font-size: clamp(2.45rem, 5.1vw, 4rem); max-width: 920px; }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 1rem 0 0; }
.hero-copy p:not(.eyebrow) { font-size: clamp(1.12rem, 2vw, 1.45rem); max-width: 680px; color: rgba(255,255,255,.88); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-copper);
  color: var(--color-white);
  font-weight: 850;
  box-shadow: 0 14px 28px rgba(168, 99, 77, .24);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--color-rust); box-shadow: 0 18px 32px rgba(168, 99, 77, .32); }
.button-ghost {
  background: rgba(255,255,255,.1);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: none;
}
.button-light { background: var(--color-white); color: var(--color-navy); }
.text-link {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--color-rust);
  font-weight: 850;
  align-items: center;
}
.text-link::after { content: "→"; margin-left: .4rem; }
.muted { background: rgba(255, 255, 255, .55); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading p:not(.eyebrow) { color: var(--color-muted); font-size: 1.1rem; }
.split-grid {
  display: grid;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.split-grid.compact { align-items: start; }
.image-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: var(--color-sand);
  min-height: 320px;
}
.image-frame.tall { min-height: 420px; }
.section-image { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.image-frame.tall .section-image { min-height: 420px; }
.content-panel {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}
.content-panel p { color: var(--color-blue-gray); font-size: 1.05rem; }
.dark-card {
  background: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.dark-card p { color: rgba(255,255,255,.82); }
.dark-card h3 { margin-top: 1.4rem; color: var(--color-sand); }
.cards-grid { display: grid; gap: 1rem; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.service-card, .info-card, .article-aside {
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}
.service-card h3 { margin-top: .7rem; color: var(--color-navy); }
.service-card p, .info-card p { color: var(--color-muted); }
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-copper), var(--color-navy));
}
.benefits-wrap {
  margin-top: 2rem;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  color: var(--color-white);
  display: grid;
  gap: 1rem;
}
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .8rem;
}
.benefits-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  font-weight: 750;
}
.benefits-list li span { color: var(--color-sand); font-weight: 900; }
.benefits-list.vertical li { background: var(--color-white); color: var(--color-navy); border: 1px solid var(--color-line); }
.projects-grid { display: grid; gap: 1.2rem; }
.project-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-line);
}
.project-card figure { margin: 0; overflow: hidden; background: var(--color-navy); }
.project-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-image { transform: scale(1.04); }
.project-content { padding: 1.25rem; }
.project-number {
  display: inline-flex;
  margin-bottom: .5rem;
  color: var(--color-rust);
  font-weight: 850;
  letter-spacing: .08em;
  font-size: .75rem;
  text-transform: uppercase;
}
.project-content h3 { color: var(--color-navy); }
.project-content p { color: var(--color-muted); }
.check-list {
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
  display: grid;
  gap: .75rem;
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--color-blue-gray);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-rust);
  font-weight: 900;
}
.two-cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); }
.contact-form {
  display: grid;
  gap: .9rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}
.contact-form label {
  display: grid;
  gap: .35rem;
  color: var(--color-navy);
  font-weight: 800;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 48, 64, .18);
  border-radius: 14px;
  padding: .85rem 1rem;
  background: #fbfaf6;
  color: var(--color-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--color-copper);
  box-shadow: 0 0 0 4px rgba(201, 121, 95, .14);
}
.form-message { min-height: 1.2rem; color: var(--color-rust); font-weight: 800; }
.cta-panel {
  background:
    radial-gradient(circle at 80% 0%, rgba(201,121,95,.35), transparent 35%),
    linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
  color: var(--color-white);
}
.cta-grid { display: grid; gap: 1.2rem; align-items: center; }
.cta-grid p:not(.eyebrow) { color: rgba(255,255,255,.82); max-width: 720px; }
.article-layout { display: grid; gap: 2rem; align-items: start; }
.article-layout.single { max-width: 880px; }
.article-content {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-line);
}
.article-content p { color: var(--color-muted); }
.article-content h3 { margin-top: 1.5rem; color: var(--color-navy); }
.article-aside { position: sticky; top: calc(var(--header-height) + 1rem); }
.article-aside h2 { font-size: 1.3rem; }
.article-aside ul { padding-left: 1.1rem; color: var(--color-blue-gray); }
.article-aside li { margin: .65rem 0; }
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(255,255,255,.76);
  padding: 3rem 0 1rem;
}
.footer-grid {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}
.footer-brand {
  display: inline-flex;
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .02em;
}
.site-footer h2 {
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: .75rem;
}
.site-footer nav { display: grid; gap: .45rem; }
.site-footer a { color: rgba(255,255,255,.84); }
.site-footer a:hover { color: var(--color-sand); }
.footer-link { display: inline-flex; margin-top: 1rem; color: var(--color-sand) !important; font-weight: 850; }
.footer-bottom {
  width: min(calc(100% - 2rem), var(--container));
  margin: 2.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .9rem;
}
@media (min-width: 720px) {
  .split-grid { grid-template-columns: .92fr 1.08fr; }
  .split-grid.reverse { grid-template-columns: 1.08fr .92fr; }
  .split-grid.compact { grid-template-columns: .9fr 1.1fr; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-grid.full-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-list { grid-template-columns: repeat(3, 1fr); }
  .benefits-list.vertical { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 1.4fr .8fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .main-nav > ul { display: flex; align-items: center; gap: .25rem; }
  .main-nav a, .dropdown-toggle { width: auto; min-height: 42px; padding: .6rem .85rem; }
  .has-dropdown { position: relative; }
  .dropdown-menu {
    position: absolute;
    top: calc(100% + .55rem);
    left: 0;
    width: min(360px, 90vw);
    padding: .55rem !important;
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-line);
  }
  .has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu, .has-dropdown.is-open .dropdown-menu { display: grid; }
  .project-card:nth-child(1) { grid-column: span 2; display: grid; grid-template-columns: 1.1fr .9fr; }
  .project-card:nth-child(1) .project-image { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 520px) {
  :root { --header-height: 74px; }
  .brand-logo { width: 54px; height: 54px; border-radius: 14px; }
  .brand-text small { display: none; }
  .section { padding: 3.2rem 0; }
  h1 { font-size: clamp(2.15rem, 10.5vw, 3.25rem); }
  .hero-actions .button { width: 100%; }
  .content-panel, .article-content, .contact-form { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
