:root {
  --background: #ffffff;
  --foreground: #23233f;
  --muted: #55607a;
  --muted-surface: rgba(35, 35, 63, 0.04);
  --green: #00a79e;
  --green-hover: #06968e;
  --navy: #23233f;
  --navy-soft: #2c2c52;
  --border: rgba(35, 35, 63, 0.12);
  --section: 7rem;
  --container: 1280px;
  --header-height: 104px;
  --radius-sm: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--foreground);
  background: var(--background);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 82px;
  width: auto;
  display: block;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

.lang-btn.is-active {
  background: var(--navy);
  color: #fff;
}

.flag {
  font-size: 1.1rem;
  line-height: 1;
}

.desktop-nav a:not(.button),
.mobile-nav a:not(.button) {
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.desktop-nav a:not(.button):hover,
.mobile-nav a:not(.button):hover {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

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

.button-primary {
  padding: 14px 24px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 167, 158, 0.18);
}

.button-primary:hover {
  background: var(--green-hover);
}

.button-light {
  padding: 16px 40px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
}

.button-large {
  padding: 16px 32px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s 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);
}

.mobile-nav {
  display: none;
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mobile-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-language-switcher {
  margin-bottom: 4px;
  width: fit-content;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-media video,
.contact-background,
.contact-background img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-media img,
.hero-media video,
.contact-background img,
.media-frame img {
  width: 100%;
  object-fit: cover;
}

.hero-video {
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(35, 35, 63, 0.92), rgba(35, 35, 63, 0.7), rgba(0, 167, 158, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.eyebrow {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  color: #fff;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 1.08;
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 600;
}

p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-copy {
  max-width: 720px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

.section,
.contact-section {
  padding: var(--section) 0;
}

.section-muted {
  background: var(--muted-surface);
}

.section-soft {
  background: rgba(0, 167, 158, 0.05);
}

.section-intro {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 64px;
}

.text-stack,
.split-grid div > p + p,
.border-panel p + .bullet-list {
  margin-top: 24px;
}

.panel-media {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.panel-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.text-stack p + p {
  margin-top: 24px;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 64px;
}

.media-frame img {
  height: 500px;
  border-radius: var(--radius-sm);
}

.founder-image img {
  height: 620px;
  object-position: center top;
}

.section-lead {
  max-width: 960px;
  margin-bottom: 48px;
}

.section-sublead,
.panel-sublead,
.founder-label {
  color: var(--foreground);
  font-weight: 600;
}

.section-sublead {
  margin-top: -20px;
}

.narrow {
  max-width: 880px;
  margin-bottom: 0;
}

.services-grid,
.pill-grid,
.differentials-grid {
  display: grid;
  gap: 32px;
}

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

.service-card {
  border-left: 2px solid var(--green);
  padding: 16px 0 16px 24px;
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card p {
  margin-top: 8px;
}

.pill-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
}

.pill-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--foreground);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(0, 167, 158, 0.03));
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pill-card:hover {
  border-color: var(--green);
  transform: scale(1.02);
  box-shadow: 0 18px 40px rgba(35, 35, 63, 0.08);
}

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

.border-panel {
  border-left: 4px solid var(--green);
  padding-left: 32px;
}

.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

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

.differential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.125rem;
  line-height: 1.7;
}

.differential-item::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 12px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.differential-item:hover::before {
  transform: scale(1.45);
}

.contact-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
}

.founder-section {
  background: linear-gradient(180deg, rgba(0, 167, 158, 0.05), rgba(35, 35, 63, 0.03));
}

.founder-grid {
  align-items: stretch;
}

.founder-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-name {
  margin-bottom: 20px;
}

.contact-background {
  opacity: 0.1;
}

.founder-card,
.media-frame img,
.pill-card,
.service-card,
.border-panel {
  position: relative;
}

.founder-card::before {
  content: "";
  width: 84px;
  height: 4px;
  margin-bottom: 28px;
  background: var(--green);
  display: block;
  border-radius: 999px;
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-inner h2,
.contact-inner p {
  color: #fff;
}

.contact-inner p {
  max-width: 860px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

.contact-form {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.contact-field span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--foreground);
  font: inherit;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(85, 96, 122, 0.9);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(0, 167, 158, 0.35);
  outline-offset: 2px;
}

.contact-field-message {
  margin-bottom: 20px;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-submit {
  min-width: 240px;
}

.contact-form-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78) !important;
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

.site-footer p {
  font-size: 0.95rem;
}

.footer-copy {
  max-width: 840px;
  text-align: right;
}

.footer-copy p {
  margin: 0;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--foreground);
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-contact-link:hover {
  color: var(--green);
  transform: translateY(-1px);
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(0, 167, 158, 0.1);
  color: var(--green);
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-legal {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-logo {
  height: 74px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1100px) {
  .services-grid,
  .differentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  :root {
    --section: 5.5rem;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .language-switcher {
    display: none;
  }

  .section-intro,
  .split-grid,
  .columns-2,
  .services-grid,
  .differentials-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .reverse-mobile .media-frame {
    order: -1;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(35, 35, 63, 0.9), rgba(35, 35, 63, 0.62));
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-contacts {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .pill-grid {
    grid-template-columns: 1fr;
  }

  .media-frame img {
    height: 340px;
  }

  .founder-image img {
    height: 520px;
  }

  .brand-logo,
  .footer-logo {
    height: 64px;
  }

  p,
  .hero-copy,
  .contact-inner p {
    font-size: 1rem;
  }

  .button-primary,
  .button-light,
  .button-large {
    width: 100%;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .footer-contact-link {
    width: 100%;
    justify-content: center;
  }
}
