:root {
  --bg: #eef6fd;
  --bg-strong: #dbeeff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #123250;
  --muted: #55728d;
  --line: rgba(30, 119, 199, 0.16);
  --accent: #1f7dcb;
  --accent-dark: #1463a3;
  --accent-soft: #86bce9;
  --shadow: 0 18px 45px rgba(31, 97, 154, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #eaf4fd 45%, #e3f0fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 125, 203, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 125, 203, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto;
}

.hero,
.section,
.trust-band,
.footer {
  position: relative;
}

.hero {
  padding: 24px clamp(20px, 4vw, 42px) 42px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(217, 235, 250, 0.88)),
    var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 125, 203, 0.24), transparent 70%);
}

.brand-logo {
  width: 230px;
  max-width: 52vw;
  height: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-top: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  max-width: 14ch;
}

.hero-text,
.section-heading p:last-child,
.info-card p,
.project-card p,
.step-card p,
.quote-card p,
.cta-section p,
.form-note,
.showcase-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 12px 25px rgba(31, 125, 203, 0.22);
}

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

.button-secondary,
.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  border: 1px solid var(--line);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
}

.hero-card {
  display: grid;
  gap: 18px;
}

.section-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(224, 240, 252, 0.92));
  box-shadow: var(--shadow);
}

.section-visual img,
.card-image,
.project-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.showcase-card,
.metric-card,
.info-card,
.project-card,
.step-card,
.quote-card,
.contact-card,
.trust-band,
.footer {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.card-large {
  min-height: 340px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(16, 48, 74, 0.12), rgba(16, 48, 74, 0.74)),
    linear-gradient(135deg, #88bee7, #1b77c3);
  color: #fff;
}

.showcase-label {
  width: fit-content;
  margin-bottom: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.card-large p {
  color: rgba(255, 248, 240, 0.88);
}

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

.metric-card {
  padding: 22px;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
}

.trust-band,
.section,
.footer {
  margin-top: 24px;
}

.image-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.image-ribbon img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.trust-band,
.section {
  padding: clamp(24px, 3.2vw, 40px);
}

.seo-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
  padding: clamp(24px, 3.2vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.seo-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.seo-intro p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.trust-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.trust-band p {
  margin: 0;
  max-width: 28ch;
  font-size: 1.15rem;
  font-weight: 700;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-items span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.services-grid,
.project-grid,
.steps-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.step-card,
.quote-card {
  padding: 24px;
}

.card-image {
  margin: -24px -24px 18px;
  width: calc(100% + 48px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(224, 240, 252, 0.92));
}

.section-alt {
  background:
    linear-gradient(135deg, rgba(232, 244, 254, 0.96), rgba(255, 255, 255, 0.82)),
    var(--surface);
}

.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.project-image {
  margin: -24px -24px 20px;
  width: calc(100% + 48px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-top-left-radius: calc(var(--radius-xl) - 2px);
  border-top-right-radius: calc(var(--radius-xl) - 2px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
}

.project-card span {
  margin-bottom: auto;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.project-card h3,
.project-card p {
  max-width: 20ch;
}

.project-card p {
  color: rgba(255, 248, 240, 0.85);
}

.project-card-warm {
  background: linear-gradient(180deg, rgba(16, 48, 74, 0.08), rgba(16, 48, 74, 0.78)), linear-gradient(135deg, #9dd0f4, #1e7bc8);
}

.project-card-olive {
  background: linear-gradient(180deg, rgba(14, 46, 73, 0.12), rgba(14, 46, 73, 0.8)), linear-gradient(135deg, #6eb0e5, #125f9f);
}

.project-card-stone {
  background: linear-gradient(180deg, rgba(16, 48, 74, 0.08), rgba(16, 48, 74, 0.78)), linear-gradient(135deg, #cbe6fa, #4b97d5);
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.method-layout,
.testimonial-layout {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.method-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.testimonial-layout {
  grid-template-columns: 1.05fr 0.95fr;
}

.method-visual img,
.testimonial-visual img,
.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.step-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 1.4rem;
}

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

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

.faq-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quote-card footer {
  margin-top: 16px;
  color: var(--text);
  font-weight: 700;
}

.cta-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: start;
}

.contact-visual {
  margin-top: 22px;
}

.contact-card {
  padding: 24px;
}

.contact-card label {
  display: block;
  margin-bottom: 14px;
  font-weight: 700;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(70, 54, 38, 0.15);
  border: 1px solid rgba(31, 125, 203, 0.18);
  border-radius: 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: 2px solid rgba(181, 106, 59, 0.35);
  border-color: transparent;
}

.form-note {
  margin: 14px 0 0;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 700;
}

.form-status.is-success {
  color: #1d7a42;
}

.form-status.is-error {
  color: #bf2f45;
}

.footer {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav,
  .trust-band,
  .cta-section,
  .hero-grid,
  .services-grid,
  .project-grid,
  .steps-grid,
  .testimonial-grid,
  .faq-grid,
  .seo-intro,
  .image-ribbon,
  .method-layout,
  .testimonial-layout {
    grid-template-columns: 1fr;
  }

  .nav {
    display: grid;
  }

  .brand {
    justify-content: start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .trust-band {
    display: grid;
  }

  .metric-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin: 10px auto 18px;
  }

  .hero {
    border-radius: 28px;
    padding-inline: 18px;
  }

  .brand-logo {
    width: 180px;
  }

  .card-image,
  .project-image,
  .hero-visual img {
    aspect-ratio: 4 / 3;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .metric-row,
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .metric-row {
    display: grid;
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
