:root {
  --color-navy: #07295a;
  --color-deep: #03142c;
  --color-teal: #55bcae;
  --color-sky: #5ba7dc;
  --color-orange: #f7a33c;
  --color-bg: #ffffff;
  --color-soft: #f4f8f8;
  --color-text: #111827;
  --color-muted: #5c6672;
  --color-line: #d9e1e5;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --shadow-soft: 0 1.5rem 3rem rgba(3, 20, 44, 0.14);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

[hidden] {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(3, 20, 44, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  width: min(100% - 2rem, var(--max-width));
  min-height: 4.9rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 4.9rem;
  height: 2.7rem;
  object-fit: cover;
  border-radius: 0.3rem;
}

.brand span {
  max-width: 9rem;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-nav a {
  padding: 0.35rem 0;
  border-bottom: 0.18rem solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  border-color: var(--color-teal);
}

.hero {
  position: relative;
  min-height: clamp(34rem, 76vh, 48rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(3, 20, 44, 0.15) 0%, rgba(3, 20, 44, 0.24) 42%, rgba(3, 20, 44, 0.78) 100%),
    linear-gradient(90deg, rgba(85, 188, 174, 0.34), rgba(91, 167, 220, 0.14));
}

.hero-content {
  position: relative;
  width: min(100% - 2rem, 58rem);
  margin: 0 auto;
  padding: 0 0 clamp(4rem, 9vw, 7rem);
  text-shadow: 0 0.22rem 0.85rem rgba(0, 0, 0, 0.38);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--color-orange);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 700;
}

.contact-tab {
  position: absolute;
  right: 0;
  top: 1.5rem;
  z-index: 2;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--color-deep);
  color: #ffffff;
  padding: 1rem 0.65rem;
  border-left: 0.25rem solid var(--color-teal);
}

.page-hero {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(3, 20, 44, 0.95), rgba(7, 41, 90, 0.86)),
    url("../assets/images/hero-consulting-team.png") center / cover;
}

.page-hero-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 8rem) 0;
}

.page-hero h1 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 43rem;
  margin: 1rem 0 0;
  color: #d7e9ed;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.section-heading {
  max-width: 45rem;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-deep);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-heading p {
  margin: var(--space-sm) 0 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.copy-block {
  max-width: 34rem;
}

.copy-block p {
  margin: 0 0 var(--space-sm);
}

.button,
.inline-form button,
.footer-form button,
.cookie-strip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.button {
  margin-top: var(--space-sm);
  padding: 0.75rem 1rem;
}

.button:hover,
.inline-form button:hover,
.footer-form button:hover,
.cookie-strip button:hover {
  background: var(--color-teal);
  color: var(--color-deep);
}

.image-panel {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.section-divider {
  width: min(16rem, 50vw);
  height: 0.12rem;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(90deg, transparent, var(--color-navy), transparent);
}

.services {
  background: var(--color-bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.2rem);
}

.service-card {
  min-height: 18rem;
  padding: 2rem 1.5rem;
  color: #ffffff;
  background: var(--color-deep);
  border-top: 0.4rem solid var(--color-teal);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.service-card:nth-child(2) {
  border-top-color: var(--color-orange);
}

.service-card:nth-child(3) {
  border-top-color: var(--color-sky);
}

.service-card h3 {
  margin: 1.3rem 0 0.85rem;
  font-size: 1.65rem;
  line-height: 1.02;
}

.service-card p {
  margin: 0;
  color: #d7e9ed;
  font-size: 0.94rem;
}

.section-action {
  margin-top: var(--space-lg);
  text-align: center;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.service-detail-card {
  padding: 2rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  box-shadow: 0 1rem 2rem rgba(3, 20, 44, 0.08);
}

.service-detail-card h3 {
  margin: 1.3rem 0 0.8rem;
  color: var(--color-deep);
  font-size: 1.65rem;
  line-height: 1.05;
}

.service-detail-card h4 {
  margin: 1.3rem 0 0.6rem;
  color: var(--color-navy);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-detail-card p {
  margin: 0;
  color: var(--color-muted);
}

.service-detail-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.2rem;
  color: var(--color-text);
  font-weight: 700;
}

.service-detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.88rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--color-teal);
}

.service-icon {
  position: relative;
  display: block;
  width: 3.2rem;
  height: 2.4rem;
}

.strategy-icon {
  border: 0.22rem solid var(--color-teal);
  border-radius: 0.35rem;
}

.strategy-icon::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 0.95rem;
  width: 1rem;
  height: 0.7rem;
  border: 0.22rem solid var(--color-teal);
  border-bottom: 0;
  border-radius: 0.35rem 0.35rem 0 0;
}

.capacity-icon::before,
.capacity-icon::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 1.2rem;
  border: 0.22rem solid var(--color-orange);
  border-radius: 0.35rem;
  transform: rotate(26deg);
}

.capacity-icon::after {
  left: 1.2rem;
  border-color: var(--color-teal);
  transform: rotate(-26deg);
}

.informing-icon {
  border: 0.22rem solid var(--color-sky);
  border-radius: 0.3rem;
}

.informing-icon::before,
.informing-icon::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 0.18rem;
  background: var(--color-sky);
}

.informing-icon::before {
  top: 0.65rem;
}

.informing-icon::after {
  top: 1.25rem;
}

.insights {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-soft) 100%);
}

.support-section {
  background: var(--color-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.feature-card {
  min-height: 14rem;
  padding: 1.7rem;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-top: 0.35rem solid var(--color-teal);
  border-radius: var(--radius-sm);
  box-shadow: 0 1rem 2rem rgba(3, 20, 44, 0.08);
}

.feature-card:nth-child(2) {
  border-top-color: var(--color-sky);
}

.feature-card:nth-child(3) {
  border-top-color: var(--color-orange);
}

.feature-card h3 {
  margin: 0 0 0.85rem;
  color: var(--color-deep);
  font-size: 1.35rem;
}

.feature-card p {
  margin: 0;
  color: var(--color-muted);
}

.project-list-section {
  padding-top: 0;
}

.project-list {
  width: min(100%, 46rem);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  list-style: none;
}

.project-list li {
  padding: 1rem 1rem 1rem 2.6rem;
  color: var(--color-deep);
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-weight: 800;
  position: relative;
}

.project-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--color-teal);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(20rem, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-intro {
  padding: 2rem;
  color: #ffffff;
  background: var(--color-deep);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.contact-intro h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.contact-intro p {
  margin: 0 0 var(--space-sm);
  color: #d7e9ed;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: 0 1rem 2rem rgba(3, 20, 44, 0.08);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--color-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  color: var(--color-text);
  background: #ffffff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.message-field {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
  min-height: 2.75rem;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0 1.2rem;
  background: var(--color-navy);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--color-teal);
  color: var(--color-deep);
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.65rem;
  margin-top: var(--space-md);
}

.inline-form label {
  display: grid;
}

.inline-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.inline-form input,
.footer-form input {
  width: 100%;
  min-height: 2.4rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 0 0.75rem;
  font: inherit;
}

.email-field {
  grid-column: span 2;
}

.inline-form button {
  grid-row: span 2;
  align-self: stretch;
  padding: 0 1rem;
}

.form-note {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.form-success {
  margin: var(--space-sm) 0 0;
  padding: 0.85rem 1rem;
  color: var(--color-deep);
  background: #dff5ef;
  border-left: 0.28rem solid var(--color-teal);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-layout > .form-success {
  min-height: 12rem;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 2rem;
  background: #dff5ef;
  box-shadow: 0 1rem 2rem rgba(3, 20, 44, 0.08);
}

.site-footer .form-success {
  color: #ffffff;
  background: rgba(85, 188, 174, 0.18);
  border-left-color: var(--color-orange);
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(7, 41, 90, 0.96), rgba(3, 20, 44, 1)),
    var(--color-deep);
  color: #ffffff;
}

.footer-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(16rem, 1.15fr) minmax(10rem, 0.55fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.site-footer h2 {
  margin: 0 0 0.85rem;
  color: #ffffff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand-block p {
  max-width: 24rem;
  margin: var(--space-sm) 0;
  color: #d7e9ed;
}

.footer-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.55rem;
}

.footer-form input {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.footer-form input[type="email"] {
  grid-column: span 2;
}

.footer-form button {
  background: var(--color-teal);
  color: var(--color-deep);
  padding: 0 0.9rem;
}

.newsletter p {
  max-width: 25rem;
  margin: var(--space-sm) 0 0;
  color: #c4d5dc;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links a {
  color: #d7e9ed;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-bottom a:hover,
.footer-bottom a:focus {
  color: var(--color-teal);
}

.footer-logo {
  width: 10rem;
  height: 6rem;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.45rem;
}

.footer-bottom {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c4d5dc;
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
}

.cookie-strip {
  position: sticky;
  bottom: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1rem;
  color: var(--color-deep);
  background: #8adf9a;
  font-size: 0.78rem;
  text-align: center;
}

.cookie-strip p {
  margin: 0;
}

.cookie-strip button {
  min-height: 2rem;
  padding: 0 0.8rem;
  background: var(--color-deep);
}

.privacy-content {
  max-width: 48rem;
}

.privacy-content h2 {
  margin: var(--space-lg) 0 var(--space-xs);
  color: var(--color-deep);
  font-size: 1.45rem;
  line-height: 1.1;
}

.privacy-content p {
  margin: 0 0 var(--space-sm);
  color: var(--color-muted);
}

.privacy-content a {
  color: var(--color-navy);
  font-weight: 800;
  border-bottom: 0.12rem solid var(--color-teal);
}

@media (max-width: 880px) {
  .header-inner {
    min-height: auto;
    padding: var(--space-sm) 0;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem 1rem;
    font-size: 0.7rem;
  }

  .split,
  .contact-layout,
  .service-grid,
  .service-detail-grid,
  .feature-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .copy-block {
    max-width: none;
  }

  .footer-logo {
    justify-self: start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 36rem;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .contact-tab {
    display: none;
  }

  .section {
    padding: 3rem 0;
  }

  .inline-form,
  .contact-form,
  .footer-form,
  .project-list {
    grid-template-columns: 1fr;
  }

  .email-field,
  .message-field,
  .footer-form input[type="email"],
  .inline-form button {
    grid-column: auto;
    grid-row: auto;
  }

  .cookie-strip {
    align-items: stretch;
    flex-direction: column;
  }
}
