:root {
  --navy: #101f49;
  --blue: #0078d7;
  --blue-deep: #005bb2;
  --blue-soft: #eaf7ff;
  --orange: #ff7108;
  --orange-dark: #ed5f00;
  --white: #ffffff;
  --ink: #24304a;
  --muted: #5d6370;
  --radius: 12px;
  --shadow: 0 22px 46px rgba(6, 34, 74, 0.16);
  --card-shadow: 0 16px 32px rgba(18, 80, 137, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: #f5fbff;
  color: var(--navy);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  min-height: 100vh;
  padding: 22px clamp(18px, 2.1vw, 34px) 0;
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.98), rgba(232, 248, 255, 0.96) 48%, rgba(245, 251, 255, 1) 100%),
    linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(175px, 260px) 1fr minmax(142px, 160px);
  align-items: center;
  gap: 24px;
  max-width: 1234px;
  min-height: 108px;
  margin: 0 auto;
  padding: 16px 48px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  width: 186px;
  max-width: 100%;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 40px);
  font-size: 15px;
  font-weight: 900;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  padding: 10px 0 16px;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: #02a7e7;
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  width: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  padding: 14px 24px;
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 12px 24px rgba(7, 39, 87, 0.16);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(7, 39, 87, 0.22);
}

.btn-orange {
  background: linear-gradient(180deg, #ff7f18 0%, var(--orange) 100%);
}

.btn-orange:hover,
.btn-orange:focus-visible {
  background: var(--orange-dark);
}

.btn-blue {
  background: linear-gradient(180deg, #0795e7 0%, var(--blue) 100%);
}

.btn-blue:hover,
.btn-blue:focus-visible {
  background: var(--blue-deep);
}

.header-call {
  justify-self: end;
  min-width: 146px;
}

.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 0 92px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 34px;
}

.hero-copy-card,
.hero-media-card,
.content-card,
.service-detail,
.contact-form,
.blog-card {
  border: 1px solid rgba(22, 109, 173, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--card-shadow);
}

.hero-copy-card {
  padding: clamp(28px, 4vw, 44px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: #1597d3;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.section-label span {
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: #75bce0;
}

h1,
h2,
h3 {
  margin: 0;
  color: #07184c;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.08;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
}

.hero-lead,
.section-lead {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.62;
}

.brand-slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  border-left: 4px solid var(--orange);
  padding: 9px 0 9px 13px;
  color: #101f49;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.brand-slogan::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #0078d7;
  box-shadow: 13px 0 0 rgba(16, 31, 73, 0.14);
}

.hero-actions,
.cta-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-media-card {
  overflow: hidden;
}

.hero-media-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-media-caption {
  padding: 20px 22px 22px;
}

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

.hero-media-caption strong {
  font-size: 20px;
  font-weight: 900;
}

.hero-media-caption span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.section {
  padding-top: 54px;
}

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

.about-owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  grid-template-areas:
    "owner photo"
    "company photo";
  align-items: stretch;
  gap: 22px 26px;
}

.about-owner-grid .content-card:first-child {
  grid-area: owner;
}

.about-owner-grid .val-photo-frame {
  grid-area: photo;
}

.about-owner-grid .content-card:last-child {
  grid-area: company;
}

.about-owner-grid .content-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.content-card,
.service-detail,
.blog-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.content-card::before,
.service-detail::before,
.blog-card::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #101f49;
  opacity: 0.14;
}

.content-card p,
.service-detail p,
.blog-card p {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.58;
}

.card-list,
.check-list,
.city-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.card-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
}

.card-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #0b98df;
}

.service-card-modern {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  border: 1px solid rgba(22, 109, 173, 0.12);
  border-bottom: 4px solid #079ee2;
  border-radius: var(--radius);
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.service-icon-pill {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #ecf8ff;
  color: #0b98df;
  font-size: 30px;
  font-weight: 900;
}

.service-card-modern p {
  margin: 14px 0 22px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.52;
}

.service-card-modern a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: auto;
  color: #0c8ed0;
  font-size: 13px;
  font-weight: 900;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.image-panel {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  border-radius: 16px;
  padding: clamp(28px, 4vw, 42px);
  background: linear-gradient(135deg, #0078d7 0%, #004697 100%);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.cta-band p {
  margin: 12px 0 0;
  max-width: 680px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.55;
}

.cta-band p strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-weight: 900;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.cert-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 109, 173, 0.11);
  border-radius: var(--radius);
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.cert-card img {
  width: auto;
  max-width: 158px;
  height: 84px;
  object-fit: contain;
}

.cert-card strong {
  display: block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 900;
}

.val-photo-placeholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  border: 1px dashed rgba(16, 31, 73, 0.28);
  border-radius: 14px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(16, 31, 73, 0.05), rgba(0, 120, 215, 0.08)),
    #ffffff;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.val-photo-placeholder span {
  display: block;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border: 2px solid rgba(0, 120, 215, 0.32);
  border-radius: 999px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #101f49, #0078d7) border-box;
}

.val-photo-placeholder small {
  display: inline-flex;
  margin-bottom: 10px;
  color: #0b82c8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.val-photo-placeholder strong,
.slogan-card > strong {
  color: #101f49;
  font-size: 20px;
  font-weight: 900;
}

.val-photo-placeholder p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.val-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(22, 109, 173, 0.14);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

.val-photo-frame::before,
.val-photo-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-radius: 2px;
  background: #101f49;
}

.val-photo-frame::before {
  right: 22px;
  top: 22px;
  width: 11px;
  height: 11px;
}

.val-photo-frame::after {
  right: 40px;
  top: 40px;
  width: 8px;
  height: 8px;
  background: #ff7108;
}

.val-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.val-photo-frame > div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  border-left: 4px solid #ff7108;
  border-radius: 10px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(6, 34, 74, 0.18);
}

.val-photo-frame small,
.val-photo-frame strong,
.val-photo-frame p {
  display: block;
}

.val-photo-frame small {
  color: #0b82c8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.val-photo-frame strong {
  margin-top: 6px;
  color: #101f49;
  font-size: 22px;
  font-weight: 900;
}

.val-photo-frame p {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.slogan-card > strong {
  display: inline-flex;
  margin-top: 18px;
  border-left: 4px solid #ff7108;
  padding-left: 12px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-methods a,
.contact-methods div {
  border-radius: 12px;
  padding: 18px;
  background: #edf8ff;
}

.contact-methods span,
.contact-methods strong {
  display: block;
}

.contact-methods span {
  color: #0b82c8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-methods strong {
  margin-top: 6px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: #07184c;
  font-size: 14px;
  font-weight: 900;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(22, 109, 173, 0.18);
  border-radius: 10px;
  background: #f8fcff;
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  padding: 13px 14px;
}

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

.lead-honeypot {
  position: absolute;
  left: -9999px;
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

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

.city-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ebf7ff;
  color: #0b5eaa;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.faq-section {
  text-align: center;
}

.services-overview-section {
  text-align: center;
}

.services-overview-section h2,
.services-overview-section .section-lead {
  max-width: 980px;
  margin-inline: auto;
}

.services-overview-section .cards-grid {
  text-align: left;
}

.faq-section .section-lead {
  max-width: 980px;
  margin-inline: auto;
}

.faq-section .category-filter-placeholder {
  justify-content: center;
}

.faq-section .blog-grid {
  text-align: left;
}

.category-filter-placeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.category-filter-placeholder button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(0, 120, 215, 0.18);
  border-radius: 999px;
  background: #ebf7ff;
  color: #0b5eaa;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.category-filter-placeholder button:hover,
.category-filter-placeholder button:focus-visible,
.category-filter-placeholder button.active {
  border-color: rgba(16, 31, 73, 0.22);
  background: #101f49;
  color: #ffffff;
  outline: none;
}

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

.blog-card {
  min-height: 210px;
}

.blog-card[hidden] {
  display: none;
}

.blog-meta {
  display: block;
  margin-bottom: 14px;
  color: #0b82c8;
  font-size: 13px;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid rgba(22, 109, 173, 0.14);
  padding: 26px clamp(18px, 3vw, 42px);
  background: #07184c;
  color: #ffffff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 18px 24px 22px;
  }

  .main-nav {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .header-call {
    justify-self: center;
  }

  .page-hero,
  .about-owner-grid,
  .split-grid,
  .contact-grid,
  .media-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .about-owner-grid {
    grid-template-areas:
      "photo"
      "owner"
      "company";
  }

  .cards-grid,
  .blog-grid,
  .certification-grid,
  .city-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media-card img {
    height: 340px;
  }
}

@media (max-width: 680px) {
  html {
    min-width: 0;
  }

  .page-shell {
    padding: 14px 14px 0;
  }

  .contact-methods a,
  .contact-methods div,
  .contact-methods strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .site-header {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    padding: 16px 14px 20px;
    overflow: hidden;
  }

  .brand {
    width: 172px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(126px, max-content));
    max-width: 100%;
    justify-content: center;
    gap: 8px 10px;
    font-size: 12px;
  }

  .main-nav a {
    justify-content: center;
    padding: 8px 8px 12px;
  }

  .page-main {
    padding: 30px 0 64px;
  }

  .hero-copy-card,
  .content-card,
  .service-detail,
  .contact-form,
  .blog-card {
    padding: 22px;
  }

  .hero-media-card img {
    height: 270px;
  }

  .cards-grid,
  .blog-grid,
  .certification-grid,
  .city-list {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .button-row .btn,
  .contact-form .btn {
    width: 100%;
  }

  .cta-band {
    margin-top: 42px;
  }

  .image-panel img {
    min-height: 260px;
  }

  .val-photo-frame,
  .val-photo-frame img {
    min-height: 420px;
  }
}

@media (max-width: 410px) {
  .main-nav {
    grid-template-columns: repeat(2, minmax(118px, max-content));
    gap: 8px;
  }
}
