:root {
  --ink: #11263f;
  --muted: #5d6c7d;
  --blue: #7ea3cc;
  --blue-deep: #255c99;
  --footer-top: #84a8d8;
  --footer-bottom: #4f6484;
  --shadow: 0 22px 60px rgba(17, 38, 63, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(126, 163, 204, 0.18), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 56%, #ffffff 100%);
}

img {
  display: block;
}

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

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

.shell {
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 38, 63, 0.08);
}

.header-main,
.content_div,
.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.header-main {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 132px;
  padding: 0.35rem 0;
}

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

.brand img {
  width: auto;
  height: 100%;
  max-height: 122px;
}

.main-nav {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 2rem);
  font-size: 1.33rem;
  font-weight: 600;
}

.main-nav a:nth-child(3),
.contact-link {
  color: #8f5264;
}

.main-nav a:hover,
.contact-link:hover,
.services-menu:hover > a,
.services-menu a:hover {
  color: var(--blue-deep);
}

.contact-link {
  font-size: 1.33rem;
  font-weight: 600;
  white-space: nowrap;
}

.services-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.services-dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 0.7rem 0;
  border: 1px solid rgba(17, 38, 63, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(17, 38, 63, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.services-dropdown a {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 0.94rem;
  color: var(--ink);
  white-space: nowrap;
}

.services-dropdown a:hover {
  background: rgba(126, 163, 204, 0.12);
}

.services-menu:hover .services-dropdown,
.services-menu:focus-within .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.content_div {
  padding: 4rem 0 6rem;
}

.content_card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 2rem;
  padding: 2rem;
  border-radius: 32px;
  background: rgba(126, 163, 204, 0.14);
  box-shadow: var(--shadow);
}

#meet-div {
  scroll-margin-top: 140px;
}

.profile {
  width: 100%;
  max-width: 320px;
  border-radius: 50%;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 38, 63, 0.14);
}

.profile-description {
  display: grid;
  gap: 1rem;
}

#meet-header {
  color: var(--blue-deep);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-description h1 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.05;
}

.profile-description p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.06rem;
}

.footer-top {
  height: 88px;
  background: var(--footer-top);
}

.site-footer {
  background: var(--footer-bottom);
  color: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  padding: 1.35rem 0;
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .header-main {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.85rem;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .services-dropdown {
    left: 0;
    transform: none;
  }

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

@media (max-width: 720px) {
  .header-main,
  .content_div,
  .footer-inner {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .header-main {
    min-height: auto;
    padding: 0.75rem 0;
  }

  .brand img {
    max-height: 92px;
  }

  .content_div {
    padding: 3rem 0 5rem;
  }

  .content_card {
    padding: 1.25rem;
  }
}
