@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #f4f1ea;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --surface-dark: #102334;
  --line: rgba(16, 35, 52, 0.12);
  --text: #193043;
  --muted: #587185;
  --accent: #d97a27;
  --accent-soft: rgba(217, 122, 39, 0.12);
  --highlight: #2a6f97;
  --shadow: 0 24px 60px rgba(16, 35, 52, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --wrap: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(42, 111, 151, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(217, 122, 39, 0.16), transparent 26%),
    linear-gradient(180deg, #f8f6f0 0%, var(--bg) 48%, #eef3f7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 35, 52, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 52, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
}

body[data-page="home"] {
  background:
    radial-gradient(circle at top left, rgba(64, 140, 188, 0.26), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 162, 79, 0.18), transparent 24%),
    linear-gradient(180deg, #112639 0%, #0a1724 100%);
}

body[data-page="home"]::before {
  background-image: none;
}

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

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

.site-shell {
  position: relative;
  min-height: 100vh;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--wrap);
  margin: 0 auto;
  margin-top: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(16, 35, 52, 0.08);
}

body[data-page="home"] .site-header {
  background: rgba(7, 15, 24, 0.56);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.brand {
  display: grid;
  gap: 4px;
  flex: 1 1 auto;
}

.brand-kicker {
  font-family: "Space Grotesk", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.83rem;
}

body[data-page="home"] .brand-kicker {
  color: #fff;
}

body[data-page="home"] .brand-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(16, 35, 52, 0.08);
  border: 1px solid rgba(16, 35, 52, 0.08);
}

body[data-page="home"] .language-switcher {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.lang-button {
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-button:hover,
.lang-button.is-active {
  background: var(--surface-dark);
  color: #fff;
}

body[data-page="home"] .lang-button {
  color: rgba(255, 255, 255, 0.76);
}

body[data-page="home"] .lang-button:hover,
body[data-page="home"] .lang-button.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--surface-dark);
  color: #fff;
  transform: translateY(-1px);
}

body[data-page="home"] .site-nav a {
  color: rgba(255, 255, 255, 0.76);
}

body[data-page="home"] .site-nav a:hover,
body[data-page="home"] .site-nav a.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-dark);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.hero,
.page-hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: 120px 0 56px;
}

.landing-main {
  min-height: 100vh;
  padding: 106px 0 18px;
}

.landing-stage {
  width: var(--wrap);
  margin: 0 auto;
}

.landing-photo-frame {
  position: relative;
  min-height: calc(100vh - 142px);
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, #17324a 0%, #0d1f2f 100%);
}

.landing-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 20, 0.16) 0%, transparent 28%),
    linear-gradient(180deg, transparent 58%, rgba(6, 13, 20, 0.18) 100%);
  pointer-events: none;
}

.landing-photo-image {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 142px);
  object-fit: cover;
  object-position: 50% 58%;
  display: block;
  transform: scale(1.03);
}

.landing-brand-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start center;
  padding-top: clamp(26px, 5vw, 64px);
  pointer-events: none;
  z-index: 2;
}

.landing-brand-haze {
  display: none;
}

.landing-brand-lockup {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  padding: 0 1rem;
}

.landing-brand-name {
  font-family: "Space Grotesk", "Arial Narrow", sans-serif;
  font-size: clamp(1.12rem, 2.5vw, 2.05rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 6px 20px rgba(12, 25, 38, 0.26);
}

.landing-brand-tagline {
  font-family: "Manrope", "Avenir Next", sans-serif;
  font-size: clamp(0.7rem, 0.92vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 4px 14px rgba(12, 25, 38, 0.2);
}

.hero-grid,
.page-hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-panel,
.info-panel,
.card,
.page-card,
.metric-card,
.contact-card,
.process-card,
.brand-card,
.project-card,
.manufacturer-card,
.cta-panel,
.note-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel,
.page-card,
.cta-panel {
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 35, 52, 0.08);
  color: var(--highlight);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", "Arial Narrow", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  margin-top: 18px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0;
  line-height: 1.7;
}

.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button {
  background: linear-gradient(135deg, var(--accent), #eea65c);
  color: #fff;
  box-shadow: 0 16px 32px rgba(217, 122, 39, 0.25);
}

.button-secondary {
  background: rgba(16, 35, 52, 0.08);
  color: var(--text);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.hero-meta,
.badge-row,
.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(16, 35, 52, 0.06);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.info-panel,
.metric-card,
.brand-card,
.project-card,
.manufacturer-card,
.contact-card,
.process-card,
.note-panel {
  padding: 24px;
}

.metric-card strong,
.hero-number {
  display: block;
  font-family: "Space Grotesk", "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
}

.muted {
  color: var(--muted);
}

.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 24px 0 64px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 58ch;
  color: var(--muted);
}

.grid-3,
.grid-4,
.grid-2,
.manufacturer-grid,
.project-grid,
.contact-grid,
.process-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card h3,
.brand-card h3,
.project-card h3,
.manufacturer-card h3,
.contact-card h3,
.process-card h3 {
  margin-bottom: 12px;
}

.card p,
.brand-card p,
.project-card p,
.manufacturer-card p,
.contact-card p,
.process-card p {
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 12px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.accent-strip {
  position: relative;
  overflow: hidden;
}

.accent-strip::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(217, 122, 39, 0.28), transparent 70%);
}

.page-card {
  display: grid;
  gap: 16px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-step {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-dark);
  color: #fff;
  font-weight: 800;
}

.info-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 700;
}

.footer {
  width: var(--wrap);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.footer-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(16, 35, 52, 0.95);
  color: rgba(255, 255, 255, 0.78);
}

.footer-title {
  color: #fff;
  font-family: "Space Grotesk", "Arial Narrow", sans-serif;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.cta-panel {
  display: grid;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(16, 35, 52, 0.96), rgba(42, 111, 151, 0.9)),
    linear-gradient(90deg, rgba(217, 122, 39, 0.15), transparent);
  color: #fff;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-panel .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.manufacturer-card .tag,
.project-tag,
.mini-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(42, 111, 151, 0.1);
  color: var(--highlight);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.placeholder-box {
  display: grid;
  place-items: center;
  min-height: 80px;
  border-radius: 16px;
  border: 1px dashed rgba(16, 35, 52, 0.22);
  background: rgba(16, 35, 52, 0.03);
  color: var(--muted);
  font-weight: 700;
}

.contact-line {
  display: grid;
  gap: 6px;
}

.contact-summary {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.contact-line span:first-child {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.contact-line a,
.contact-line p {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.spacer-top {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100vw - 1rem);
    padding: 12px 14px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-kicker {
    font-size: 0.8rem;
    line-height: 1.05;
    letter-spacing: 0.075em;
  }

  .brand-subtitle {
    font-size: 0.72rem;
    line-height: 1.18;
    max-width: 18ch;
  }

  .hero,
  .page-hero,
  .section,
  .footer,
  .landing-stage {
    width: calc(100vw - 1rem);
  }

  .landing-main {
    padding-top: 94px;
    padding-bottom: 12px;
  }

  .landing-photo-frame {
    min-height: auto;
    aspect-ratio: 1 / 1.22;
    background: linear-gradient(180deg, #13283a 0%, #0d1d2b 100%);
  }

  .landing-photo-image {
    min-height: 100%;
    height: 100%;
  }

  body[data-page="home"] .landing-photo-image {
    object-fit: cover;
    object-position: 34% 58%;
    transform: scale(1.01);
  }

  body[data-page="home"] .landing-photo-frame::after {
    background:
      linear-gradient(180deg, rgba(6, 13, 20, 0.18) 0%, transparent 20%),
      linear-gradient(180deg, transparent 76%, rgba(6, 13, 20, 0.2) 100%);
  }

  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .manufacturer-grid,
  .project-grid,
  .contact-grid,
  .process-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  body[data-page="home"] .site-nav {
    background: rgba(7, 15, 24, 0.94);
  }

  .header-controls {
    gap: 6px;
  }

  .language-switcher {
    padding: 2px;
  }

  .lang-button {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    font-size: 0.68rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .nav-toggle {
    display: grid;
  }

  .landing-brand-overlay {
    padding-top: 18px;
  }

  body[data-page="home"] .landing-brand-overlay {
    padding-top: 14px;
  }

  body[data-page="home"] .landing-brand-lockup {
    gap: 4px;
    padding: 0 0.75rem;
  }

  .landing-brand-haze {
    width: calc(100% - 0.8rem);
    height: 164px;
  }

  body[data-page="home"] .landing-brand-name {
    font-size: clamp(0.86rem, 3.4vw, 1rem);
    letter-spacing: 0.11em;
  }

  body[data-page="home"] .landing-brand-tagline {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

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