:root {
  --bg: #e7f0ef;
  --bg-deep: #cfdee2;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-tinted: rgba(11, 79, 86, 0.06);
  --line: rgba(10, 50, 56, 0.12);
  --line-strong: rgba(10, 50, 56, 0.2);
  --ink: #102e34;
  --muted: #536c72;
  --sea: #0b8db0;
  --sea-deep: #0b4f56;
  --forest: #0f675b;
  --moss: #6f9971;
  --sand: #f3ebdb;
  --accent: #d38638;
  --shadow: 0 28px 72px rgba(16, 46, 52, 0.14);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(11, 141, 176, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 103, 91, 0.1), transparent 28%),
    linear-gradient(180deg, #f0f7f7 0%, #dde9ea 100%);
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

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

ul {
  padding-left: 1.2rem;
}

.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;
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(239, 247, 247, 0.88);
  border-bottom: 1px solid rgba(16, 46, 52, 0.08);
}

.site-header__inner {
  width: var(--content-width);
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: clamp(180px, 22vw, 260px);
  height: auto;
}

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

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

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--sea-deep);
  background: rgba(11, 141, 176, 0.12);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--sea-deep);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
}

main {
  width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 88px;
}

.section {
  padding: 72px 0;
}

.section--compact {
  padding-top: 24px;
}

.section--tinted {
  margin: 24px 0;
  padding: 64px clamp(20px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(240, 247, 244, 0.96)),
    var(--surface-tinted);
  border: 1px solid rgba(10, 50, 56, 0.08);
  box-shadow: var(--shadow);
}

.section--cta-band {
  padding-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--sea-deep);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(11, 79, 86, 0.4);
}

.section-header {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-header h2,
.hero__content h1,
.page-hero__content h1,
.split-panel__copy h2,
.cta-band h2,
.detail-card h2,
.news-card h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
}

.section-header h2,
.split-panel__copy h2,
.cta-band h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.03em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  min-height: calc(100vh - 88px);
}

.hero--home {
  padding-top: 52px;
}

.hero__content h1,
.page-hero__content h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.05em;
}

.lead {
  margin-top: 20px;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.65vw, 1.22rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--sea-deep), var(--sea));
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(11, 79, 86, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(11, 79, 86, 0.22);
}

.button:disabled {
  cursor: wait;
  opacity: 0.8;
  transform: none;
  box-shadow: 0 14px 32px rgba(11, 79, 86, 0.18);
}

.button--ghost,
.button--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--sea-deep);
  border-color: rgba(11, 79, 86, 0.18);
  box-shadow: none;
}

.hero__visual,
.page-hero__media,
.split-panel__media {
  position: relative;
  align-self: start;
}

.hero-figure,
.page-hero__media,
.split-panel__media {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 50, 56, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.hero-figure img,
.page-hero__media img,
.split-panel__media img,
.project-card img {
  width: 100%;
  height: auto;
}

.hero-note {
  position: absolute;
  right: -132px;
  bottom: 12px;
  width: min(214px, 40%);
  padding: 14px 16px 16px;
  border-radius: var(--radius-lg);
  background: rgba(11, 79, 86, 0.92);
  color: #edf8f7;
  box-shadow: 0 18px 40px rgba(11, 79, 86, 0.3);
}

.hero-note__title {
  margin-bottom: 6px;
  color: rgba(237, 248, 247, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-note > p:last-child {
  font-size: 0.88rem;
  line-height: 1.4;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(10, 50, 56, 0.08);
  box-shadow: 0 18px 32px rgba(16, 46, 52, 0.06);
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.4rem;
  color: var(--sea-deep);
}

.stat-card span {
  font-size: 0.94rem;
  color: var(--muted);
}

.card-grid,
.service-grid,
.team-grid,
.news-grid,
.detail-grid,
.project-grid {
  display: grid;
  gap: 22px;
}

.card-grid--three,
.service-grid,
.team-grid,
.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.service-card,
.detail-card,
.team-card,
.news-card,
.contact-panel,
.contact-form,
.comparison-card,
.quote-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(10, 50, 56, 0.08);
  box-shadow: 0 18px 34px rgba(16, 46, 52, 0.06);
}

.info-card h3,
.service-card h3,
.team-card h3,
.comparison-card h3,
.contact-box h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.info-card p,
.service-card p,
.team-card p,
.comparison-card li,
.detail-card p,
.detail-card li,
.news-card p,
.contact-panel p,
.contact-box li,
.contact-form label,
.quote-panel p,
.client-cloud span {
  color: var(--muted);
}

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

.detail-card h2 {
  font-size: clamp(1.42rem, 2vw, 1.8rem);
  margin-bottom: 10px;
}

.detail-card p {
  margin-bottom: 14px;
}

.detail-card ul,
.comparison-card ul,
.contact-box ul {
  display: grid;
  gap: 8px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.split-panel__copy {
  display: grid;
  gap: 18px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-step {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(10, 50, 56, 0.1);
}

.process-step:first-child {
  border-top: 0;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 141, 176, 0.12);
  color: var(--sea-deep);
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 6px;
  font-size: 1.04rem;
}

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

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

.project-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(10, 50, 56, 0.08);
  box-shadow: 0 18px 34px rgba(16, 46, 52, 0.06);
}

.project-card img {
  display: block;
  height: auto;
}

.project-card__content {
  padding: 20px 20px 22px;
}

.project-card__content h2,
.project-card__content h3 {
  margin-bottom: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1.14;
}

.project-card__content p {
  color: var(--muted);
}

.quote-panel {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(11, 79, 86, 0.94), rgba(11, 141, 176, 0.9)),
    rgba(11, 79, 86, 0.9);
  color: #eef9fa;
  box-shadow: 0 26px 48px rgba(11, 79, 86, 0.2);
}

.quote-panel .eyebrow {
  color: rgba(238, 249, 250, 0.82);
}

.quote-panel .eyebrow::before {
  background: rgba(238, 249, 250, 0.45);
}

.client-cloud,
.badge-list,
.client-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.client-cloud span,
.badge-list span,
.client-columns span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 0.94rem;
}

.client-columns {
  gap: 12px;
}

.client-columns span {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(10, 50, 56, 0.08);
  color: var(--sea-deep);
}

.section-cta {
  margin-top: 28px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at right top, rgba(211, 134, 56, 0.22), transparent 26%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 244, 0.92));
  border: 1px solid rgba(10, 50, 56, 0.08);
  box-shadow: var(--shadow);
}

.cta-band p {
  max-width: 62ch;
  margin-top: 10px;
  color: var(--muted);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 28px;
  align-items: center;
  padding-top: 42px;
}

.page-hero--simple {
  grid-template-columns: minmax(0, 740px);
  justify-content: start;
  min-height: calc(100vh - 88px);
  align-content: center;
}

.page-hero__media {
  justify-self: stretch;
}

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

.comparison-card ul {
  margin-top: 12px;
}

.comparison-card--accent {
  background: linear-gradient(145deg, rgba(11, 79, 86, 0.9), rgba(11, 141, 176, 0.88));
  color: #eef9fa;
}

.comparison-card--accent li {
  color: rgba(238, 249, 250, 0.82);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.contact-list a,
.contact-list span {
  color: var(--sea-deep);
  font-weight: 600;
}

.contact-box {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(10, 50, 56, 0.1);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(11, 141, 176, 0.2);
  border-color: rgba(11, 141, 176, 0.5);
}

.form-status {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(10, 50, 56, 0.12);
  background: rgba(11, 141, 176, 0.08);
  color: var(--sea-deep);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status.is-error {
  border-color: rgba(160, 43, 43, 0.18);
  background: rgba(160, 43, 43, 0.08);
  color: #8d2a2a;
}

.form-status.is-success {
  border-color: rgba(15, 103, 91, 0.18);
  background: rgba(15, 103, 91, 0.08);
  color: var(--forest);
}

.news-card {
  display: grid;
  gap: 12px;
}

.news-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11, 141, 176, 0.12);
  color: var(--sea-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer {
  padding: 24px 0 34px;
}

.site-footer__inner {
  width: var(--content-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 50, 56, 0.1);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__brand {
  display: grid;
  gap: 10px;
}

.site-footer__brand img {
  width: clamp(160px, 18vw, 220px);
}

.site-footer__brand p {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.site-footer__meta a,
.site-footer__meta span {
  color: var(--sea-deep);
  font-size: 0.94rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

@media (max-width: 1120px) {
  .hero,
  .page-hero,
  .split-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 78px;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

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

  .card-grid--three,
  .service-grid,
  .team-grid,
  .news-grid,
  .comparison-grid,
  .project-grid,
  .project-grid--dense,
  .detail-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .hero-note {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .cta-band,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__meta {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  main {
    width: min(100vw - 28px, 100%);
  }

  .site-header__inner,
  .site-footer__inner {
    width: min(100vw - 28px, 100%);
  }

  .section {
    padding: 58px 0;
  }

  .section--tinted {
    padding: 44px 18px;
    border-radius: 26px;
  }

  .hero__content h1,
  .page-hero__content h1 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .brand img {
    width: 170px;
  }

  .button {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
  }

  .info-card,
  .service-card,
  .detail-card,
  .team-card,
  .news-card,
  .contact-panel,
  .contact-form,
  .comparison-card,
  .quote-panel,
  .cta-band {
    padding: 20px;
  }

  .hero-figure,
  .page-hero__media,
  .split-panel__media {
    border-radius: 24px;
  }
}
