/*
  Maney Builders — 3-page website
  Replace contact placeholders in the HTML files before publishing.
*/

:root {
  --charcoal: #20262b;
  --graphite: #343b41;
  --slate: #56616a;
  --gold: #d6a313;
  --gold-light: #f2be22;
  --warm-white: #f7f6f2;
  --soft-gray: #eceef0;
  --white: #ffffff;
  --text: #30363b;
  --muted: #67727b;
  --border: rgba(32, 38, 43, 0.12);
  --shadow-sm: 0 10px 30px rgba(18, 24, 28, 0.08);
  --shadow-lg: 0 24px 70px rgba(18, 24, 28, 0.17);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 86px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, Manrope, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(214, 163, 19, 0.28);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section--compact {
  padding: 72px 0;
}

.section--light {
  background: var(--warm-white);
}

.section--soft {
  background: var(--soft-gray);
}

.section--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 190, 34, 0.12), transparent 30%),
    linear-gradient(135deg, #20262b 0%, #151a1e 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--charcoal);
  font-family: Manrope, Inter, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section--dark .section-title {
  color: var(--white);
}

.section-intro {
  max-width: 730px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--dark .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--charcoal);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  color: var(--gold);
  transition: transform var(--transition);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(5px);
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

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

.btn--primary {
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 28px rgba(214, 163, 19, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 16px 34px rgba(214, 163, 19, 0.34);
}

.btn--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.btn--dark {
  color: var(--white);
  background: var(--charcoal);
}

.btn--outline {
  color: var(--charcoal);
  border-color: var(--border);
  background: var(--white);
}

.btn--block {
  width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--charcoal);
  background: var(--gold-light);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(32, 38, 43, 0.08);
  backdrop-filter: blur(14px);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 35px rgba(18, 24, 28, 0.08);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 190px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a:not(.btn) {
  position: relative;
  padding: 8px 0;
  color: var(--graphite);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav-links a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--charcoal);
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 50%;
}

.mobile-toggle svg {
  width: 23px;
  height: 23px;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #151a1e;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 20, 23, 0.96) 0%, rgba(16, 20, 23, 0.84) 44%, rgba(16, 20, 23, 0.25) 78%, rgba(16, 20, 23, 0.15) 100%),
    url("assets/images/hero-house.webp") center / cover no-repeat;
  transform: scale(1.01);
}

.hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  content: "";
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(242, 190, 34, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 190, 34, 0.15) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to left, black, transparent);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
  padding: 92px 0 110px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 13px;
  color: var(--gold-light);
  border: 1px solid rgba(242, 190, 34, 0.38);
  background: rgba(14, 18, 21, 0.5);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-title {
  max-width: 820px;
  margin: 0;
  font-family: Manrope, Inter, "Segoe UI", sans-serif;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-title span {
  color: var(--gold-light);
}

.hero-copy {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 86px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 190, 34, 0.16), transparent 28%),
    linear-gradient(135deg, #20262b 0%, #111518 100%);
}

.page-hero::after {
  position: absolute;
  right: -100px;
  bottom: -210px;
  width: 560px;
  height: 560px;
  content: "";
  border: 1px solid rgba(242, 190, 34, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(242, 190, 34, 0.025), 0 0 0 140px rgba(242, 190, 34, 0.02);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.86rem;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--gold-light);
}

.page-title {
  max-width: 860px;
  margin: 0;
  font-family: Manrope, Inter, "Segoe UI", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.page-subtitle {
  max-width: 750px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -44px;
}

.trust-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.trust-item {
  min-height: 142px;
  padding: 28px;
  border-right: 1px solid var(--border);
}

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

.trust-icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--charcoal);
  background: rgba(214, 163, 19, 0.16);
  border-radius: 10px;
}

.trust-icon svg {
  width: 21px;
  height: 21px;
}

.trust-item h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.3;
}

.trust-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Two-column media sections */
.split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: var(--soft-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  right: -24px;
  bottom: 34px;
  max-width: 230px;
  padding: 22px;
  color: var(--white);
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.media-badge strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.08rem;
}

.media-badge span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.split-copy p {
  color: var(--muted);
}

.split-copy .lead {
  margin-top: 24px;
  color: var(--graphite);
  font-size: 1.12rem;
  font-weight: 600;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--graphite);
  font-weight: 650;
}

.check-list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--gold);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.service-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--card-image) center / cover no-repeat;
  transition: transform 500ms ease;
}

.service-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(18, 23, 26, 0.08) 12%, rgba(18, 23, 26, 0.92) 88%);
}

.service-card:hover::before {
  transform: scale(1.045);
}

.service-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
}

.service-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  color: var(--charcoal);
  background: var(--gold-light);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.service-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.feature-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  border-color: rgba(214, 163, 19, 0.45);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.feature-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  color: var(--charcoal);
  background: linear-gradient(135deg, rgba(242, 190, 34, 0.28), rgba(214, 163, 19, 0.08));
  border-radius: 14px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.15rem;
  line-height: 1.3;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Process */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.process-grid::before {
  position: absolute;
  top: 27px;
  right: 9%;
  left: 9%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(242, 190, 34, 0.55), transparent);
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--charcoal);
  background: var(--gold-light);
  border: 6px solid #252b30;
  border-radius: 50%;
  font-weight: 900;
}

.process-step h3 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

.process-step p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.88rem;
}

/* Gallery */
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 235px;
  gap: 18px;
}

.project-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
  border-radius: var(--radius-md);
  isolation: isolate;
}

.project-card:nth-child(1),
.project-card:nth-child(4) {
  grid-column: span 7;
}

.project-card:nth-child(2),
.project-card:nth-child(3) {
  grid-column: span 5;
}

.project-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--project-image) center / cover no-repeat;
  transition: transform 520ms ease;
}

.project-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(17, 22, 25, 0.9) 100%);
}

.project-card:hover::before {
  transform: scale(1.055);
}

.project-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
}

.project-info span {
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-info h3 {
  margin: 7px 0 0;
  font-size: 1.18rem;
}

/* CTA */
.cta-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 34px;
  padding: 54px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(25, 30, 34, 0.98), rgba(25, 30, 34, 0.78)),
    url("assets/images/planning.webp") center 38% / cover no-repeat;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-panel::after {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 250px;
  height: 250px;
  content: "";
  border: 1px solid rgba(242, 190, 34, 0.35);
  border-radius: 50%;
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 670px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 12px;
}

/* Service detail page */
.service-detail-list {
  display: grid;
  gap: 28px;
}

.service-detail {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 470px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.service-detail:nth-child(even) {
  grid-template-columns: 1.18fr 0.82fr;
}

.service-detail:nth-child(even) .service-detail-media {
  order: 2;
}

.service-detail-media {
  min-height: 100%;
  background: var(--soft-gray);
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 52px;
}

.service-detail-copy .service-index {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-detail-copy h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.service-detail-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--graphite);
  font-size: 0.89rem;
  font-weight: 650;
}

.scope-list li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.service-detail-copy .text-link {
  margin-top: 24px;
}

/* Contact */
.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
}

.contact-info-panel,
.contact-form-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-info-panel {
  overflow: hidden;
}

.contact-panel-head {
  padding: 38px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 37, 41, 0.96), rgba(31, 37, 41, 0.78)),
    url("assets/images/hero-house.webp") center / cover;
}

.contact-panel-head h2 {
  margin: 0;
  font-size: 1.6rem;
}

.contact-panel-head p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  margin: 0;
  padding: 12px 32px 30px;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--charcoal);
  background: rgba(214, 163, 19, 0.14);
  border-radius: 12px;
}

.contact-list-icon svg {
  width: 21px;
  height: 21px;
}

.contact-list strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.86rem;
}

.contact-list span,
.contact-list a {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--gold);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 32px 34px;
}

.contact-form-panel {
  padding: 42px;
}

.contact-form-panel h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.75rem;
}

.contact-form-panel > p {
  margin: 9px 0 28px;
  color: var(--muted);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 750;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(32, 38, 43, 0.16);
  outline: 0;
  background: #fbfbfa;
  border-radius: 11px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-field input,
.form-field select {
  min-height: 50px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 130px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(214, 163, 19, 0.12);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.form-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 14px;
  color: #164f35;
  background: #e7f5ed;
  border: 1px solid #b7dfc7;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-status.is-visible {
  display: block;
}

.map-placeholder {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(247, 246, 242, 0.88), rgba(247, 246, 242, 0.88)),
    repeating-linear-gradient(35deg, #d8dce0 0 1px, transparent 1px 42px),
    repeating-linear-gradient(145deg, #d8dce0 0 1px, transparent 1px 54px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.map-placeholder::before,
.map-placeholder::after {
  position: absolute;
  content: "";
  background: rgba(214, 163, 19, 0.13);
}

.map-placeholder::before {
  width: 100%;
  height: 80px;
  transform: rotate(-11deg);
}

.map-placeholder::after {
  width: 70px;
  height: 100%;
  transform: rotate(16deg);
}

.map-card {
  position: relative;
  z-index: 2;
  max-width: 390px;
  padding: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.map-pin {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--charcoal);
  background: var(--gold-light);
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
}

.map-pin svg {
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
}

.map-card h3 {
  margin: 0;
  color: var(--charcoal);
}

.map-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Notice / info band */
.info-band {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 28px 30px;
  background: rgba(214, 163, 19, 0.1);
  border: 1px solid rgba(214, 163, 19, 0.27);
  border-radius: var(--radius-md);
}

.info-band-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--charcoal);
  background: var(--gold-light);
  border-radius: 14px;
}

.info-band-icon svg {
  width: 25px;
  height: 25px;
}

.info-band h3 {
  margin: 0;
  color: var(--charcoal);
}

.info-band p {
  margin: 6px 0 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 76px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  background: #161b1f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.9fr 1fr;
  gap: 44px;
}

.footer-brand-box {
  display: inline-block;
  width: 190px;
  padding: 10px;
  background: var(--white);
  border-radius: 12px;
}

.footer-brand-box img {
  width: 100%;
}

.footer-about {
  max-width: 350px;
  margin: 20px 0 0;
  font-size: 0.9rem;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.94rem;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-contact strong {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 54px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

/* Floating mobile actions */
.mobile-actions {
  position: fixed;
  z-index: 900;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(18, 24, 28, 0.2);
}

.mobile-actions a {
  display: flex;
  flex: 1;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--charcoal);
  border-right: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 850;
}

.mobile-actions a:last-child {
  color: var(--charcoal);
  border-right: 0;
  background: var(--gold-light);
}

.mobile-actions svg {
  width: 18px;
  height: 18px;
}

/* Reveal animations: subtle and disabled for reduced motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 1020px) {
  :root {
    --header-height: 78px;
  }

  .section {
    padding: 80px 0;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand img {
    width: 170px;
    height: 62px;
  }

  .site-nav {
    gap: 20px;
  }

  .nav-links {
    gap: 19px;
  }

  .header-cta {
    display: none;
  }

  .trust-grid {
    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(--border);
  }

  .split {
    gap: 42px;
  }

  .media-badge {
    right: 18px;
  }

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

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

  .process-grid::before {
    display: none;
  }

  .project-card:nth-child(n) {
    grid-column: span 6;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    align-items: flex-start;
    flex-direction: row;
  }

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .service-detail-copy {
    padding: 38px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid > :last-child {
    grid-column: span 3;
  }
}

/* Mobile navigation and layout */
@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-bottom: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section,
  .section--compact {
    padding: 66px 0;
  }

  .section-heading-row {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading-row .text-link {
    margin-top: 18px;
  }

  .brand img {
    width: 148px;
    height: 55px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    backdrop-filter: blur(14px);
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 17px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 22px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(16, 20, 23, 0.82) 0%, rgba(16, 20, 23, 0.94) 74%, rgba(16, 20, 23, 1) 100%),
      url("assets/images/hero-house.webp") 62% center / cover no-repeat;
  }

  .hero::after {
    width: 65%;
  }

  .hero-content {
    padding: 82px 0 92px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4.25rem);
  }

  .hero-copy {
    margin-top: 24px;
  }

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

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

  .hero-note {
    display: grid;
    gap: 10px;
  }

  .page-hero {
    padding: 80px 0 62px;
  }

  .trust-strip {
    margin-top: -24px;
  }

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

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

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

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .media-frame {
    min-height: 400px;
  }

  .media-badge {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .card-grid,
  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 390px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .process-number {
    grid-row: span 2;
    margin: 0;
  }

  .process-step p {
    margin-top: 2px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .project-card:nth-child(n) {
    grid-column: 1;
  }

  .cta-panel {
    padding: 34px 24px;
  }

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

  .cta-actions .btn {
    width: 100%;
  }

  .service-detail,
  .service-detail:nth-child(even) {
    display: block;
    min-height: 0;
  }

  .service-detail:nth-child(even) .service-detail-media {
    order: 0;
  }

  .service-detail-media {
    height: 280px;
  }

  .service-detail-copy {
    padding: 30px 24px 34px;
  }

  .scope-list {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 28px 20px;
  }

  .contact-panel-head {
    padding: 30px 24px;
  }

  .contact-list {
    padding-right: 22px;
    padding-left: 22px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    padding-right: 22px;
    padding-left: 22px;
  }

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

  .form-field--full {
    grid-column: auto;
  }

  .map-placeholder {
    min-height: 430px;
  }

  .map-card {
    margin: 20px;
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }

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

  .mobile-actions {
    display: flex;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 2.65rem;
  }

  .hero-kicker {
    letter-spacing: 0.08em;
  }

  .service-card-content {
    padding: 24px;
  }
}
