:root {
  --ink: #17313c;
  --muted: #5f747d;
  --blue: #2d718e;
  --blue-dark: #1d536a;
  --blue-soft: #dcecf3;
  --blue-pale: #f0f7fa;
  --line: #d7e3e8;
  --white: #ffffff;
  --warm: #f7f5f1;
  --shadow: 0 24px 70px rgba(31, 72, 88, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfdfe;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding: 112px 0;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  padding: 22px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(45, 113, 142, 0.2);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #f7fbfd;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark svg path:last-child {
  stroke: #b8d9e7;
}

.brand-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.17em;
}

.brand-name small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

nav a {
  color: #3c5661;
  font-size: 14px;
  font-weight: 560;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(45, 113, 142, 0.28);
  border-radius: 100px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue);
  color: white;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 840px;
  padding-top: 150px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 250, 0.84)),
    #f4f9fb;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cadde5, transparent);
  content: "";
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  top: -180px;
  right: -140px;
  width: 580px;
  height: 580px;
  background: rgba(191, 223, 235, 0.4);
}

.hero-orb-two {
  bottom: -230px;
  left: 32%;
  width: 430px;
  height: 430px;
  background: rgba(224, 238, 243, 0.55);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: 78px;
}

.hero-copy {
  padding-bottom: 28px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(62px, 7vw, 96px);
  line-height: 0.98;
}

h1 span {
  display: block;
  color: var(--blue);
  font-style: italic;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 680;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(45, 113, 142, 0.22);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
  box-shadow: 0 16px 34px rgba(45, 113, 142, 0.28);
}

.text-link {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 650;
}

.text-link span {
  display: inline-block;
  padding-left: 5px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(2px, 2px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 640px;
  margin-top: 62px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  padding: 20px 20px 0 0;
}

.hero-proof div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
}

.hero-proof span {
  color: #75868d;
  font-size: 11px;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.hero-card-main {
  position: absolute;
  top: 12px;
  right: 0;
  width: 78%;
  height: 520px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.75);
  border-radius: 220px 220px 30px 30px;
  background: white;
  box-shadow: var(--shadow);
}

.hero-card-main::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(18, 44, 54, 0.28));
  content: "";
}

.hero-card-main img,
.hero-card-small img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-tag {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: white;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-small {
  position: absolute;
  bottom: 5px;
  left: 0;
  z-index: 3;
  width: 190px;
  height: 235px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  background: white;
  box-shadow: 0 22px 52px rgba(31, 72, 88, 0.18);
}

.hero-seal {
  position: absolute;
  z-index: 5;
  right: -18px;
  bottom: 30px;
  display: grid;
  width: 98px;
  height: 98px;
  place-content: center;
  border: 1px solid rgba(45, 113, 142, 0.28);
  border-radius: 50%;
  background: rgba(247, 252, 253, 0.92);
  box-shadow: 0 15px 30px rgba(24, 65, 80, 0.12);
  color: var(--blue-dark);
  text-align: center;
  backdrop-filter: blur(12px);
}

.hero-seal span,
.hero-seal small {
  display: block;
}

.hero-seal span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.hero-seal small {
  margin-top: 2px;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.24em;
}

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 100px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.08;
}

.about-copy {
  padding-top: 34px;
}

.about-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.about-copy p:last-child {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
}

.expertise {
  background: var(--blue-pale);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 60px;
}

.section-heading > p {
  max-width: 430px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

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

.service-grid article {
  min-height: 330px;
  padding: 34px;
  border: 1px solid #d5e5eb;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-grid article:hover {
  border-color: #b6d5e1;
  box-shadow: 0 18px 46px rgba(37, 84, 101, 0.08);
  transform: translateY(-4px);
}

.service-grid article > span {
  color: #8cb7c9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.service-grid h3 {
  margin: 100px 0 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.portfolio {
  background: white;
}

.portfolio-heading {
  margin-bottom: 52px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 260px 260px;
  gap: 18px;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #edf2f4;
}

.gallery-grid figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 34, 41, 0.5));
  content: "";
}

.gallery-grid .gallery-large {
  grid-row: 1 / span 2;
}

.gallery-grid img {
  transition: transform 600ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.gallery-grid figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 22px;
  left: 28px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.image-note {
  margin: 14px 4px 0;
  color: #83939a;
  font-size: 11px;
  text-align: right;
}

.network {
  background: var(--warm);
}

.network-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.network-panel {
  min-height: 390px;
  padding: 42px;
  border: 1px solid #dedfda;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.65);
}

.network-panel-blue {
  border-color: #ccdee6;
  background: #e6f1f5;
}

.panel-label {
  margin-bottom: 50px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.network-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.network-panel li {
  padding: 19px 0;
  border-bottom: 1px solid rgba(65, 91, 101, 0.15);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.35;
}

.network-panel li:first-child {
  border-top: 1px solid rgba(65, 91, 101, 0.15);
}

.contact {
  background: white;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  overflow: hidden;
  padding: 72px;
  border-radius: 34px;
  background: var(--blue-dark);
  color: white;
  box-shadow: 0 26px 70px rgba(25, 72, 90, 0.18);
}

.contact-card::after {
  position: absolute;
  top: -180px;
  right: -150px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255, 255, 255, 0.03), 0 0 0 118px rgba(255, 255, 255, 0.02);
  content: "";
}

.contact-copy,
.contact-card address {
  position: relative;
  z-index: 2;
}

.eyebrow-light {
  color: #b9dbe8;
}

.contact-card h2 {
  max-width: 620px;
  color: white;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 24px 0 34px;
  color: #c8dce4;
  font-size: 16px;
}

.button-light {
  background: white;
  color: var(--blue-dark);
}

.button-light:hover,
.button-light:focus-visible {
  background: #eef7fa;
}

.phone-link {
  color: #e8f3f7;
  font-size: 14px;
  font-weight: 640;
}

.contact-card address {
  align-self: end;
  padding: 28px 0 4px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: #d5e4e9;
  font-size: 14px;
  font-style: normal;
  line-height: 1.9;
}

.contact-card address span {
  display: block;
  margin-bottom: 14px;
  color: #90c2d4;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

footer {
  padding: 0 0 42px;
  background: white;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.footer-inner p {
  margin: 0;
  color: #768990;
  font-size: 11px;
}

.footer-inner p:last-child {
  margin-left: auto;
}

:focus-visible {
  outline: 3px solid rgba(70, 145, 177, 0.48);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr 0.75fr;
    gap: 42px;
  }

  .hero-card-main {
    width: 88%;
  }

  .about-grid,
  .section-heading,
  .contact-card {
    gap: 52px;
  }

  .contact-card {
    padding: 58px;
  }
}

@media (max-width: 820px) {
  .section-pad {
    padding: 84px 0;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 138px;
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    width: min(560px, 100%);
    min-height: 560px;
    margin: 12px auto 0;
  }

  .about-grid,
  .section-heading,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding-top: 0;
  }

  .section-heading {
    align-items: start;
    gap: 28px;
  }

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

  .service-grid article {
    min-height: 240px;
  }

  .service-grid h3 {
    margin-top: 54px;
  }

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

  .network-panel {
    min-height: auto;
  }

  .contact-card {
    gap: 46px;
  }

  .contact-card address {
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding-top: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 12px;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 12px;
  }

  .hero {
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(51px, 16vw, 72px);
  }

  h2 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-proof {
    margin-top: 48px;
  }

  .hero-proof div {
    padding-right: 8px;
  }

  .hero-proof div + div {
    padding-left: 10px;
  }

  .hero-proof strong {
    font-size: 17px;
  }

  .hero-proof span {
    font-size: 9px;
  }

  .hero-visual {
    min-height: 485px;
  }

  .hero-card-main {
    width: 90%;
    height: 440px;
    border-width: 7px;
  }

  .hero-card-small {
    width: 135px;
    height: 168px;
    border-width: 6px;
    border-radius: 20px;
  }

  .hero-seal {
    right: -4px;
    bottom: 15px;
    width: 80px;
    height: 80px;
  }

  .about-grid {
    gap: 38px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 420px 240px 300px;
  }

  .gallery-grid .gallery-large {
    grid-row: auto;
  }

  .network-panel {
    padding: 30px 24px;
  }

  .panel-label {
    margin-bottom: 32px;
  }

  .network-panel li {
    font-size: 17px;
  }

  .contact {
    padding-right: 0;
    padding-left: 0;
  }

  .contact-card {
    width: min(100% - 20px, 1160px);
    padding: 42px 25px;
    border-radius: 26px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .footer-inner p:last-child {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
