:root {
  color-scheme: light;
  --bg: #f4f8f7;
  --bg-strong: #e5f2ef;
  --ink: #132326;
  --muted: #607174;
  --primary: #11434e;
  --primary-strong: #0a2e36;
  --secondary: #2fd0aa;
  --accent: #72e6c8;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.78);
  --line: rgba(17, 67, 78, 0.15);
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(47, 208, 170, 0.2), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(114, 230, 200, 0.2), transparent 28rem),
    linear-gradient(180deg, #f8fcfb 0%, var(--bg) 42%, #ffffff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  overflow: hidden;
}

.section-pad {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 45px rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(18px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 16px 55px rgba(16, 32, 51, 0.14);
}

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

.brand img {
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span {
  min-width: 0;
}

.brand strong {
  display: block;
  max-width: 260px;
  font-size: 0.92rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 9px 14px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.05);
  padding: 4px;
}

.language-switch button,
.nav-toggle {
  border: 0;
  cursor: pointer;
}

.language-switch button {
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 10px;
}

.language-switch button.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.25);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100svh - 86px);
  padding-top: 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.05em;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-lede,
.section-heading p:last-child,
.contact-panel p {
  color: var(--muted);
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  padding: 13px 20px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--primary), #1678bf);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(15, 76, 129, 0.26);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 24px 44px rgba(15, 76, 129, 0.34);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 13px;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 18px;
  min-height: 560px;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.8;
}

.orb-one {
  top: 8%;
  right: 10%;
  width: 190px;
  height: 190px;
  background: linear-gradient(135deg, rgba(11, 179, 166, 0.85), rgba(15, 76, 129, 0.35));
  animation: float 7s ease-in-out infinite;
}

.orb-two {
  bottom: 10%;
  left: 4%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.82), rgba(255, 255, 255, 0.2));
  animation: float 8s ease-in-out infinite reverse;
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-image-frame figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(10, 46, 54, 0.78);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.profile-card {
  position: relative;
  z-index: 3;
  width: min(100%, 460px);
  margin-top: -74px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    url("/assets/logo.svg") right -24px top -26px / 190px no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 36px;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--primary));
}

.card-label {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(11, 179, 166, 0.12);
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.profile-card h2 {
  max-width: 360px;
  margin-bottom: 56px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  padding: 16px 12px;
}

.metric-grid strong {
  display: block;
  color: var(--primary);
  font-size: 2rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 8px;
  text-transform: uppercase;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.about-grid,
.service-grid,
.values-grid,
.portfolio-grid {
  display: grid;
  gap: 18px;
}

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

.glass-card,
.service-card,
.portfolio-card,
.value-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--glass);
  box-shadow: 0 18px 50px rgba(16, 32, 51, 0.08);
  backdrop-filter: blur(16px);
}

.glass-card,
.service-card,
.portfolio-card,
.value-card {
  padding: 28px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.glass-card:hover,
.service-card:hover,
.portfolio-card:hover,
.value-card:hover {
  border-color: rgba(11, 179, 166, 0.42);
  box-shadow: 0 24px 60px rgba(16, 32, 51, 0.12);
  transform: translateY(-6px);
}

.glass-card p,
.service-card p,
.portfolio-card p,
.value-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.accent-card {
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.92), rgba(11, 179, 166, 0.86)),
    var(--primary);
  color: var(--white);
}

.accent-card p {
  color: rgba(255, 255, 255, 0.82);
}

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

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(11, 179, 166, 0.14));
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 22px;
}

.service-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.service-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.service-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58));
  padding: 28px;
}

.timeline-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-bar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
  padding: 10px 15px;
}

.filter-bar button.active {
  background: var(--primary);
  color: var(--white);
}

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

.portfolio-card {
  display: grid;
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.94)),
    var(--card-bg, var(--bg-strong));
  overflow: hidden;
  padding: 0;
}

.portfolio-media {
  position: relative;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
}

.portfolio-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 35, 38, 0.02), rgba(19, 35, 38, 0.12));
  pointer-events: none;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.04);
}

.portfolio-content {
  padding: 24px 26px 28px;
}

.portfolio-content .tag {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(17, 67, 78, 0.09);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  margin-bottom: 18px;
  padding: 8px 11px;
  text-transform: uppercase;
}

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

.value-card strong {
  display: block;
  color: var(--accent);
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: 18px;
}

.contact {
  padding-bottom: 56px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 183, 3, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(15, 76, 129, 0.96), rgba(7, 41, 74, 0.94));
  color: var(--white);
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
}

.contact-panel .eyebrow,
.contact-panel h2,
.contact-panel a {
  color: var(--white);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  padding: 10px 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  padding: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.18);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 0 40px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--primary);
  font-weight: 900;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .language-switch {
    justify-self: end;
  }

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

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

  .site-nav a {
    padding: 12px 16px;
  }

  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 20px;
    min-height: auto;
  }

  .hero-card {
    min-height: auto;
  }

  .about-grid,
  .service-grid,
  .timeline,
  .portfolio-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .section-pad {
    width: min(100% - 24px, var(--max-width));
    padding: 64px 0;
  }

  .site-header {
    top: 10px;
    width: min(100% - 20px, var(--max-width));
    gap: 10px;
    padding: 10px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: 168px;
    font-size: 0.78rem;
  }

  .language-switch button {
    padding: 7px 9px;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.8rem);
  }

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

  .hero {
    padding-top: 54px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .profile-card {
    margin-top: -38px;
    padding: 24px;
  }

  .profile-card h2 {
    margin-bottom: 34px;
  }

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

  .about-grid,
  .service-grid,
  .timeline,
  .portfolio-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
