:root {
  --navy: #062f52;
  --navy-deep: #031d33;
  --ocean: #2f8cc6;
  --ocean-bright: #53a9da;
  --ice: #eef7fc;
  --white: #ffffff;
  --ink: #10283d;
  --muted: #587085;
  --line: #d8e6ef;
  --shadow: 0 24px 65px rgba(3, 29, 51, 0.14);
  --content: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-deep);
  border-radius: 6px;
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-shell {
  width: var(--content);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.16));
}

.brand-name {
  font-family: "Arial Narrow", "Roboto Condensed", ui-sans-serif, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
}

.brand-name strong {
  font-size: 1.28rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a,
.nav-call {
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #9ed9fa;
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  font-weight: 800;
}

.nav-call:hover,
.nav-call:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.nav-call svg,
.mobile-call svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 730px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("./assets/painting-hero.png") 62% 50% / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 29, 51, 0.95) 0%, rgba(3, 29, 51, 0.86) 37%, rgba(3, 29, 51, 0.25) 70%, rgba(3, 29, 51, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 29, 51, 0.2), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: 76px auto 0;
}

@media (min-width: 901px) {
  .hero-content {
    /* Keep the hero actions clear of the overlapping trust strip. */
    padding-bottom: 80px;
  }
}

.eyebrow {
  margin: 0 0 16px;
  color: #9ed9fa;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--ocean);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Arial Narrow", "Roboto Condensed", ui-sans-serif, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 8vw, 6.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

h1 span {
  color: #75c3ed;
}

.hero-copy {
  max-width: 610px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border-radius: 5px;
  font-size: 0.91rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--navy-deep);
  background: var(--white);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.trust-strip {
  position: relative;
  z-index: 5;
  width: var(--content);
  min-height: 126px;
  margin: -38px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-item {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 24px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 31px;
  flex: 0 0 auto;
  fill: var(--ocean);
}

.trust-number {
  color: var(--ocean);
  font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 50px;
}

h2 {
  margin-bottom: 20px;
  color: var(--navy-deep);
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading > p:last-child,
.about-copy > p,
.contact-copy > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card {
  position: relative;
  min-height: 390px;
  padding: 44px;
  border-radius: 8px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -125px;
  bottom: -140px;
  border: 50px solid currentColor;
  border-radius: 50%;
  opacity: 0.055;
}

.service-card-blue {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, #0d5684 100%);
}

.service-card-white {
  color: var(--navy);
  background: var(--ice);
  border: 1px solid var(--line);
}

.service-icon {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  margin-bottom: 58px;
  background: var(--white);
  border-radius: 50%;
}

.service-icon svg {
  width: 34px;
  fill: none;
  stroke: var(--ocean);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-count {
  margin: 0 0 8px;
  color: var(--ocean-bright);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  text-transform: uppercase;
}

.service-card p:last-child {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin-bottom: 0;
  color: currentColor;
  opacity: 0.82;
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(400px, 1.14fr);
  min-height: 690px;
  color: var(--white);
  background: var(--navy-deep);
}

.about-mark {
  position: relative;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 60px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 28%, rgba(83, 169, 218, 0.58), transparent 28%),
    linear-gradient(145deg, #0f6597, #074169 52%, #062f52);
}

.about-mark::before,
.about-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.about-mark::before {
  width: 520px;
  height: 520px;
}

.about-mark::after {
  width: 670px;
  height: 670px;
}

.about-mark img {
  position: relative;
  z-index: 2;
  width: min(390px, 82%);
  filter: brightness(0) invert(1) drop-shadow(0 22px 38px rgba(0, 0, 0, 0.2));
}

.about-copy {
  align-self: center;
  max-width: 710px;
  padding: 90px clamp(38px, 7vw, 110px);
}

.about-copy h2 {
  color: var(--white);
}

.about-copy > p {
  color: rgba(255, 255, 255, 0.76);
}

.qualification {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 32px;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.qualification svg {
  width: 39px;
  flex: 0 0 auto;
  fill: var(--ocean-bright);
}

.qualification strong,
.qualification span {
  display: block;
}

.qualification strong {
  font-size: 1.02rem;
}

.qualification span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.quote {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr);
  align-items: start;
  gap: clamp(44px, 7vw, 92px);
  padding: 112px 0;
}

.quote-intro {
  position: sticky;
  top: 34px;
}

.quote-intro h2 {
  margin-bottom: 22px;
}

.quote-intro > p:last-of-type {
  color: var(--muted);
  font-size: 1.08rem;
}

.quote-points {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 800;
}

.quote-points span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-points span::before {
  content: "\2713";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--ocean);
  border-radius: 50%;
  font-size: 0.76rem;
}

.quote-form-shell {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 55px rgba(3, 29, 51, 0.1);
}

.form-success {
  display: none;
  margin-bottom: 24px;
  padding: 18px 20px;
  color: #174f38;
  background: #e6f7ed;
  border: 1px solid #b8e2c9;
  border-radius: 7px;
}

.form-success:target,
.form-success.is-visible {
  display: block;
}

.quote-submit-frame {
  display: none;
}

.form-success strong,
.form-success span {
  display: block;
}

.form-success span {
  margin-top: 2px;
  font-size: 0.92rem;
}

.quote-form {
  display: grid;
  gap: 22px;
}

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

.quote-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.quote-form label > span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-form em {
  color: var(--ocean);
  font-style: normal;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c8dbe7;
  border-radius: 5px;
  font: inherit;
  line-height: 1.35;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.quote-form textarea {
  min-height: 134px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 0;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(47, 140, 198, 0.16);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #7d91a1;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-submit {
  width: 100%;
  color: var(--white);
  background: var(--ocean);
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(47, 140, 198, 0.24);
}

.form-submit:hover,
.form-submit:focus-visible {
  background: #247caf;
  box-shadow: 0 15px 28px rgba(47, 140, 198, 0.3);
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.contact {
  border-top: 1px solid var(--line);
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: 70px;
  padding: 112px 0;
}

.contact-copy h2 {
  margin-bottom: 14px;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 25px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--ocean);
  box-shadow: 0 14px 28px rgba(6, 47, 82, 0.1);
}

.contact-card svg {
  width: 30px;
  flex: 0 0 auto;
  fill: var(--ocean);
}

.contact-card span {
  min-width: 0;
}

.contact-card small,
.contact-card strong {
  display: block;
}

.contact-card small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.footer {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px max(24px, calc((100% - 1160px) / 2));
  color: rgba(255, 255, 255, 0.65);
  background: var(--navy-deep);
  font-size: 0.86rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mobile-call {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 32px, 720px);
  }

  .nav-shell {
    min-height: 80px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    background-position: 67% 50%;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(3, 29, 51, 0.95), rgba(3, 29, 51, 0.78) 65%, rgba(3, 29, 51, 0.38));
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 100px 0;
  }

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

  .about-mark {
    min-height: 440px;
  }

  .about-copy {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 32px 90px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 92px 0;
  }

  .quote {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 92px 0;
  }

  .quote-intro {
    position: static;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 70px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 64px;
    height: 64px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    filter: none;
    box-shadow: 0 7px 20px rgba(3, 29, 51, 0.28);
  }

  .brand-name {
    display: block;
    font-size: 0.82rem;
    line-height: 0.95;
    letter-spacing: 0.09em;
    text-shadow: 0 2px 10px rgba(3, 29, 51, 0.4);
  }

  .brand-name strong {
    display: inline-block;
    margin-top: 5px;
    font-size: 1.05rem;
  }

  .nav-call {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero-image {
    background-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 29, 51, 0.96), rgba(3, 29, 51, 0.76)),
      linear-gradient(0deg, rgba(3, 29, 51, 0.42), transparent);
  }

  .hero-content {
    margin-top: 72px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.5vw, 3.25rem);
    letter-spacing: -0.045em;
    line-height: 1.06;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button-secondary {
    display: none;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }

  .trust-item {
    min-height: 86px;
    justify-content: flex-start;
    padding: 20px 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

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

  .section {
    padding: 84px 0;
  }

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

  .service-card {
    min-height: 340px;
    padding: 32px;
  }

  .service-icon {
    margin-bottom: 42px;
  }

  .about-mark {
    min-height: 340px;
    padding: 38px;
  }

  .about-copy {
    padding: 70px 24px 78px;
  }

  .contact {
    padding: 78px 0;
  }

  .quote {
    padding: 78px 0;
  }

  .quote-form-shell {
    padding: 22px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-wide {
    grid-column: auto;
  }

  .contact-card {
    align-items: flex-start;
    padding: 20px;
  }

  .footer {
    min-height: 240px;
    justify-content: center;
  }

  .mobile-call {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    color: var(--white);
    background: var(--ocean);
    font-weight: 900;
    letter-spacing: 0.025em;
    box-shadow: 0 -9px 26px rgba(3, 29, 51, 0.2);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
