:root {
  --bg: #f3efe8;
  --bg-strong: #e7dfd2;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #102632;
  --muted: #5f717c;
  --brand: #14394a;
  --brand-2: #1d5368;
  --accent: #c89b5d;
  --accent-2: #e0c190;
  --line: rgba(16, 38, 50, 0.1);
  --shadow: 0 18px 60px rgba(16, 38, 50, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 2rem));
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 155, 93, 0.2), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(20, 57, 74, 0.14), transparent 26%),
    linear-gradient(180deg, #f6f1e8 0%, #ede5d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  opacity: 0.28;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 232, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(246, 241, 232, 0.94);
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(16, 38, 50, 0.05);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 134px;
  height: 54px;
  padding: 0.5rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--brand), #0e2833);
  box-shadow: var(--shadow);
}

.brand-logo {
  width: 100%;
  max-width: 108px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 57, 74, 0.14);
  background: rgba(255, 255, 255, 0.55);
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links li {
  position: relative;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-parent i {
  font-size: 0.72rem;
  color: var(--accent);
}

.submenu {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 0;
  min-width: 190px;
  margin: 0;
  padding: 0.7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 38, 50, 0.08);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.submenu li {
  width: 100%;
}

.submenu a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

.submenu a::after {
  display: none;
}

.submenu a:hover,
.submenu a.active {
  background: rgba(20, 57, 74, 0.08);
}

.nav-item-has-submenu:hover .submenu,
.nav-item-has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero {
  padding: 4rem 0 2.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-title,
.section-title,
.cta-copy h2,
.footer-brand h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.hero-text,
.section-text,
.stat-label,
.feature-card p,
.metric-list p,
.contact-list li,
.footer-brand p,
.footer-links a,
.sector-card p,
.product-tags span,
.timeline-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 28px rgba(20, 57, 74, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(16, 38, 50, 0.08);
}

.hero-panel,
.content-panel,
.feature-card,
.stat-card,
.sector-card,
.timeline-card,
.contact-card,
.project-card,
.footer-shell {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
}

.hero-image {
  position: relative;
  min-height: 540px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 32, 0.06), rgba(8, 24, 32, 0.7));
}

.hero-float {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  color: var(--brand);
}

.stat-label {
  font-size: 0.84rem;
  line-height: 1.5;
}

.section {
  padding: 2.6rem 0 5rem;
}

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

.section-title {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.section-text {
  max-width: 34rem;
  line-height: 1.75;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.content-panel {
  padding: 1.8rem;
}

.metric-list {
  display: grid;
  gap: 1rem;
}

.metric-list h3,
.feature-card h3,
.sector-card h3,
.timeline-card h3,
.contact-card h3,
.project-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.feature-card,
.sector-card,
.timeline-card,
.contact-card,
.project-card {
  overflow: hidden;
}

.feature-card img,
.sector-card img,
.page-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card .card-body,
.sector-card .card-body,
.timeline-card .card-body,
.contact-card .card-body,
.project-card .card-body {
  padding: 1.4rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.product-tags span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 57, 74, 0.08);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 700;
}

.page-banner {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.page-banner img {
  height: 100%;
  min-height: 420px;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 27, 36, 0.82), rgba(10, 27, 36, 0.28));
}

.page-banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: end;
  padding: 2rem;
  color: #fff;
}

.page-banner-content p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.highlight-band {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(20, 57, 74, 0.98), rgba(29, 83, 104, 0.92));
  color: #fff;
  box-shadow: var(--shadow);
}

.highlight-band p {
  color: rgba(255, 255, 255, 0.8);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.84);
}

.timeline-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(200, 155, 93, 0.18);
  color: var(--accent);
  font-weight: 800;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  line-height: 1.7;
}

.contact-list i,
.feature-card i,
.project-card i {
  color: var(--accent);
}

.cta-box {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(20, 57, 74, 0.96), rgba(16, 72, 94, 0.92));
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.78);
}

.pdf-panel {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.pdf-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.pdf-frame-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #dfe4e8;
}

.pdf-frame {
  display: block;
  width: 100%;
  height: min(78vh, 980px);
  border: 0;
  background: #fff;
}

.footer {
  padding: 0 0 2rem;
}

.footer-shell {
  padding: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.5rem;
}

.footer-brand h3 {
  font-size: 2.2rem;
}

.footer-links {
  display: grid;
  gap: 0.85rem;
}

.footer-links strong {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}

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

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

  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    order: -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 82px;
  }

  .menu-toggle {
    display: inline-block;
    position: relative;
    z-index: 41;
  }

  .brand-logo-wrap {
    min-width: 112px;
    height: 48px;
    padding: 0.45rem 0.75rem;
  }

  .brand-logo {
    max-width: 92px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% - 0.25rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(16, 38, 50, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav-links li,
  .submenu {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 0.2rem;
  }

  .nav-parent {
    justify-content: space-between;
  }

  .submenu {
    position: static;
    min-width: 0;
    margin-top: 0.35rem;
    padding: 0.45rem 0 0 0.7rem;
    border: 0;
    border-left: 1px solid rgba(16, 38, 50, 0.1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu a {
    padding: 0.7rem 0.2rem;
    border-radius: 0;
  }

  .hero,
  .section {
    padding-top: 2.4rem;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .hero-float {
    grid-template-columns: 1fr;
  }

  .section-header,
  .pdf-panel-header,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-image {
    min-height: 460px;
  }

  .page-banner,
  .page-banner img {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .button,
  .button-row a,
  .hero-actions a {
    width: 100%;
  }

  .content-panel,
  .cta-box,
  .footer-shell,
  .page-banner-content,
  .feature-card .card-body,
  .sector-card .card-body,
  .timeline-card .card-body,
  .contact-card .card-body,
  .project-card .card-body {
    padding: 1.3rem;
  }

  .hero-title,
  .section-title {
    line-height: 1;
  }
}
