:root {
  --accent: #67a799;
  --text: #212529;
  --muted: #6c757d;
  --heading-section: #7a7a7a;
  --about-body: #666666;
  --divider-muted: #4a6060;
  --white: #ffffff;
  --header-bg: rgba(80, 80, 80, 0.18);
  --max-width: 1140px;
  --font-heading: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--white);
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 9999;
  background: var(--header-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background-color 0.3s ease;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.custom-logo {
  height: 52px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.site-nav a {
  color: var(--white) !important;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #e8e8e8 !important;
}

body.inner-page .site-nav a {
  color: var(--text) !important;
}

body.inner-page .site-nav a:hover {
  color: var(--accent) !important;
}

body.inner-page .nav-toggle-bar {
  background: var(--text);
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 320px;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.25rem 2rem;
}

.hero-content img {
  margin: 0 auto;
  max-width: min(800px, 92vw);
}

/* Sections */
.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 1.5rem;
}

.section-title--lg {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--heading-section);
  letter-spacing: 0.06em;
}

.section-title--about {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--heading-section);
  letter-spacing: 0.06em;
  margin-bottom: 0;
}

.section-title--sm {
  font-size: 1.125rem;
  color: var(--accent);
  text-align: center;
}

.section-divider {
  width: 72px;
  height: 2px;
  background: var(--divider-muted);
  margin-bottom: 1.25rem;
}

.about-prose {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--about-body);
}

.about-prose p {
  margin: 0 0 1rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-values {
  text-align: center;
  margin-top: 2rem;
}

.about-values {
  font-family: var(--font-heading);
}

.about-values .values-heading {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 0.04em;
}

.about-values .values-tagline {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.text-accent {
  color: var(--accent);
  font-weight: 700;
}

/* Services cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  text-align: center;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 1rem 0 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--accent);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

/* Partners & projects */
.text-center {
  text-align: center;
}

.partners-block {
  overflow: hidden;
  max-width: 100%;
}

.partners-block a {
  display: block;
  max-width: 778px;
  margin: 0 auto;
}

.partner-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.section-projects {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.section-inner--projects {
  max-width: min(1100px, 92vw);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.projects-title {
  text-align: center;
  margin-bottom: 1.25rem;
}

.projects-map-wrap {
  width: 100%;
  max-width: 100%;
  min-height: 380px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  background: #fff;
}

@media (max-width: 767px) {
  .section-inner,
  .section-inner--projects {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-projects {
    padding-left: 0;
    padding-right: 0;
  }

  .projects-map-wrap svg,
  .projects-map-wrap > div {
    max-width: 100% !important;
    overflow: hidden;
  }
}

.projects-map-wrap > div {
  margin: 0 auto;
}

.projects-map-wrap svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Clients grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.client-logo {
  margin: 0 auto;
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

/* Contact */
.contact-section {
  background: #2c3e50;
  color: var(--white);
}

.contact-section .section-title {
  color: var(--white);
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block h3 {
  color: var(--accent);
  font-family: var(--font-heading);
}

.contact-block--right {
  text-align: right;
}

@media (max-width: 900px) {
  .contact-block--right {
    text-align: left;
  }
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.form-message--success {
  color: #7bdcb5;
}

.form-message--error {
  color: #f78da7;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Inner pages */
.page-main {
  padding-top: 5.5rem;
  min-height: 60vh;
}

.page-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin: 2rem 0 1.5rem;
}

.exploration-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.exploration-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 768px) {
  .exploration-row,
  .exploration-pair {
    grid-template-columns: 1fr;
  }
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.method-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.prose {
  text-align: justify;
}

.prose h3 {
  font-family: var(--font-heading);
  color: var(--accent);
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 2rem 1.25rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-inner .custom-logo {
  margin: 0 auto 0.75rem;
  height: 48px;
}

.site-description {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.copyright {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
