:root {
  --ink: #15171c;
  --muted: #69707c;
  --paper: #f3f5f7;
  --white: #ffffff;
  --navy: #071a33;
  --steel: #496171;
  --blue: #1256a3;
  --teal: #006c67;
  --red: #c71f2d;
  --gold: #f6b21a;
  --line: rgba(21, 23, 28, 0.12);
  --shadow: 0 24px 70px rgba(7, 26, 51, 0.17);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 86px;
  height: 58px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--white);
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 34%, transparent 35%),
    linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.04;
}

.brand strong {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
}

.brand small {
  margin-top: 4px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 0.2s ease;
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 21px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(0, 108, 103, 0.22);
}

.wa-icon {
  width: 24px;
  height: 24px;
  color: currentColor;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 16px 40px rgba(7, 26, 51, 0.16);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.94), rgba(7, 26, 51, 0.68) 48%, rgba(7, 26, 51, 0.16)),
    url("assets/work-hero.jpg") center/cover;
  transform: scale(1.02);
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 88px);
  padding: clamp(58px, 8vw, 96px) 0 190px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.catalog-copy .eyebrow {
  color: #89ded8;
}

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

h1,
h2,
h3 {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.35rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.1;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.65vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  position: absolute;
  right: clamp(18px, 6vw, 88px);
  bottom: 32px;
  left: clamp(18px, 6vw, 88px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.hero-proof article {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-proof article:last-child {
  border-right: 0;
}

.hero-proof span,
.hero-proof small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.hero-proof strong {
  display: block;
  margin: 4px 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-band span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-weight: 850;
  text-align: center;
}

.section,
.services-grid,
.local-seo-section,
.catalog-section,
.reviews-section,
.payment-section,
.faq-section,
.contact-section,
.site-footer {
  padding-right: clamp(18px, 5vw, 72px);
  padding-left: clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 6vw, 84px);
  padding-top: clamp(64px, 9vw, 118px);
  padding-bottom: 32px;
}

.intro,
.services-grid,
.local-seo-section,
.catalog-section,
.projects,
.reviews-section,
.payment-section,
.faq-section,
.contact-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.intro > *,
.local-seo-section > *,
.catalog-section > *,
.reviews-section > *,
.payment-section > *,
.faq-section > *,
.contact-section > *,
.site-footer > * {
  min-width: 0;
}

.intro p:last-child,
.catalog-copy p,
.contact-info p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: clamp(64px, 9vw, 112px);
}

.local-seo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(58px, 8vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.local-copy {
  display: grid;
  gap: 16px;
}

.local-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.area-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span {
  border: 1px solid rgba(18, 86, 163, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(18, 86, 163, 0.06);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 850;
}

.service-card,
.project-card,
.review-card,
.payment-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(7, 26, 51, 0.06);
}

.service-card {
  padding: 28px;
}

.service-card svg,
.payment-grid svg {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--red);
  stroke-width: 1.7;
}

.service-card p,
.project-card p,
.review-card p,
.payment-grid p,
.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.62;
}

.catalog-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.2fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding-top: clamp(68px, 9vw, 116px);
  padding-bottom: clamp(72px, 9vw, 122px);
  background:
    linear-gradient(135deg, rgba(7, 26, 51, 0.96), rgba(18, 86, 163, 0.78)),
    url("assets/work-bg.jpg") center/cover;
  color: var(--white);
}

.catalog-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.catalog-book {
  position: relative;
  display: grid;
  grid-template-columns: 28px repeat(3, minmax(0, 1fr));
  min-height: 460px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.book-spine {
  border-radius: 6px 0 0 6px;
  background:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0 10px, transparent 10px 28px),
    var(--red);
}

.book-page {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  border-right: 1px solid rgba(7, 26, 51, 0.12);
  background: #f9fafb;
  color: var(--ink);
}

.book-page:last-child {
  border-right: 0;
}

.book-page img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.page-kicker,
.product-page span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.book-page h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.book-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.projects,
.payment-section {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

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

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card div,
.payment-grid article {
  padding: 24px;
}

.reviews-section {
  padding-top: clamp(60px, 9vw, 108px);
  padding-bottom: clamp(60px, 9vw, 108px);
  background: var(--white);
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.review-status {
  border: 1px solid rgba(0, 108, 103, 0.22);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.review-filter-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

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

.review-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.stars {
  color: var(--gold);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.payment-section {
  background:
    linear-gradient(180deg, rgba(243, 245, 247, 0.96), rgba(243, 245, 247, 1)),
    radial-gradient(circle at 20% 10%, rgba(18, 86, 163, 0.12), transparent 34%);
}

.faq-section {
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(58px, 8vw, 96px);
  background: var(--navy);
  color: var(--white);
}

.faq-section .eyebrow {
  color: #89ded8;
}

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

.faq-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.faq-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: clamp(64px, 9vw, 116px);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-list svg {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 23, 28, 0.18);
  border-radius: 6px;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 86, 163, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.quick-actions {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 25;
  display: grid;
  gap: 10px;
}

.quick-actions a {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(7, 26, 51, 0.22);
}

.quick-actions a:nth-child(3) {
  background: var(--teal);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) repeat(2, minmax(160px, 0.7fr));
  gap: 28px;
  padding-top: 46px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-brand {
  margin-bottom: 12px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }

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

  .catalog-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 76px;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 0.96rem;
  }

  .brand-logo {
    width: 68px;
    height: 48px;
  }

  .brand strong {
    max-width: 150px;
  }

  .header-cta {
    min-width: 48px;
    padding: 0 13px;
    font-size: 0;
  }

  .header-cta svg {
    width: 24px;
    height: 24px;
  }

  .hero {
    min-height: 800px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(7, 26, 51, 0.9), rgba(7, 26, 51, 0.7)),
      url("assets/work-hero.jpg") center/cover;
  }

  .hero-panel {
    width: auto;
    margin: 0;
    padding: 64px 18px 270px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .hero-proof {
    grid-template-columns: 1fr;
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .hero-proof article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 18px;
  }

  .hero-proof article:last-child {
    border-bottom: 0;
  }

  .trust-band,
  .intro,
  .local-seo-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-band span {
    min-height: 72px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-book {
    grid-template-columns: 22px 1fr;
  }

  .book-page {
    min-height: 360px;
  }

  .book-page:not(.cover-page) {
    display: none;
  }

  .reviews-header {
    display: grid;
  }

  .review-status {
    width: max-content;
    white-space: normal;
  }

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

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

@media (max-width: 560px) {
  .services-grid,
  .project-grid,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .catalog-section {
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .catalog-book {
    min-height: auto;
    padding: 12px;
  }

  .quick-actions {
    right: 12px;
    bottom: 14px;
  }

  .quick-actions a {
    width: 50px;
    height: 50px;
  }
}
