@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Inter:wght@300;400;500;700;800&display=swap");

:root {
  --ink: #1f2723;
  --muted: #64716a;
  --surface: #fbfaf6;
  --panel: #ffffff;
  --concrete: #ece8df;
  --line: #d8d0c2;
  --forest: #183b31;
  --forest-2: #235241;
  --gold: #b9904d;
  --gold-dark: #8b6935;
  --shadow: 0 18px 45px rgba(31, 39, 35, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.96), rgba(251, 250, 246, 0.96)),
    repeating-linear-gradient(135deg, rgba(24, 59, 49, 0.04) 0 1px, transparent 1px 18px);
  font-family: "Inter", "Segoe UI", sans-serif !important;
  line-height: 1.65;
}

body > header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px clamp(20px, 5vw, 56px) !important;
  background: rgba(24, 59, 49, 0.96) !important;
  color: #fff;
  box-shadow: 0 10px 30px rgba(24, 59, 49, 0.18);
  backdrop-filter: blur(10px);
}

header h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

header img {
  width: auto;
  max-width: 78px;
  height: 48px !important;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

nav a {
  margin: 0 !important;
  padding: 9px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  outline: none;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  color: #fff;
  line-height: 1;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif !important;
  letter-spacing: 0.01em !important;
  line-height: 1.12;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  color: var(--muted);
}

a {
  color: var(--forest-2);
}

section,
.projects,
.project {
  width: min(100%, var(--max));
  margin-inline: auto !important;
  padding: clamp(52px, 8vw, 88px) clamp(20px, 5vw, 48px) !important;
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: clamp(520px, 76vh, 760px);
  height: auto !important;
  margin: 0 !important;
  padding: clamp(80px, 12vw, 140px) clamp(22px, 7vw, 96px) !important;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 59, 49, 0.86), rgba(24, 59, 49, 0.5) 48%, rgba(24, 59, 49, 0.18)),
    linear-gradient(180deg, rgba(31, 39, 35, 0.08), rgba(31, 39, 35, 0.38));
}

.hero-box,
.hero h1 {
  width: min(640px, 100%);
  background: rgba(251, 250, 246, 0.92) !important;
  color: var(--ink) !important;
  padding: clamp(28px, 5vw, 48px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-box p,
.hero h1 p {
  color: #455149;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.section-title,
.page-title {
  margin-bottom: clamp(28px, 5vw, 48px) !important;
  text-align: left !important;
}

.section-title::after,
.page-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin-top: 14px;
  background: var(--gold);
}

.services,
.grid,
.projects-grid,
.project-gallery,
.gallery,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
  gap: clamp(18px, 3vw, 30px) !important;
}

.service,
.card,
.project-card,
.trust-item,
.info-box,
.estimate-flow {
  border: 1px solid var(--line) !important;
  border-left: 5px solid var(--gold) !important;
  border-radius: var(--radius) !important;
  background: var(--panel) !important;
  box-shadow: 0 12px 32px rgba(31, 39, 35, 0.08) !important;
}

.service,
.card,
.trust-item,
.info-box {
  padding: 24px !important;
}

.services-page {
  max-width: 1180px;
}

.services-intro {
  max-width: 760px;
  margin: -22px 0 clamp(30px, 5vw, 48px);
  font-size: 1.08rem;
}

.service-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 38px);
  align-items: start;
}

.service-category {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 36px rgba(31, 39, 35, 0.07);
}

.service-category h2 {
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-list .card {
  min-height: 68px;
  display: flex;
  align-items: center;
  margin: 0;
  font-weight: 800;
}

.project-card {
  padding: 12px 12px 18px;
  color: inherit !important;
  text-decoration: none;
}

.project-card:hover {
  transform: translateY(-5px);
}

img {
  max-width: 100%;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr) !important;
  gap: clamp(28px, 5vw, 52px) !important;
}

.about img,
.gallery img,
.project-card img,
.project-gallery img {
  border-radius: var(--radius) !important;
  box-shadow: 0 12px 30px rgba(31, 39, 35, 0.12);
}

.gallery img,
.project-card img,
.project-gallery img {
  height: 250px !important;
  object-fit: cover;
}

.cta,
.trust-section {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  background: var(--forest) !important;
  color: #fff !important;
}

.cta h2,
.trust-section h2,
.cta p,
.trust-section p {
  color: #fff;
}

.trust-container {
  max-width: var(--max);
  margin: auto;
}

.trust-item h3 {
  color: var(--gold) !important;
}

form {
  width: min(100%, 680px);
  margin-inline: auto;
}

label {
  color: var(--ink);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line) !important;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold) !important;
  outline: 3px solid rgba(185, 144, 77, 0.2);
}

.btn,
button,
input[type="submit"],
.sticky-cta a,
body > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px !important;
  border: 0;
  border-radius: 6px !important;
  background: var(--gold) !important;
  color: #1d211f !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.btn:hover,
button:hover,
.sticky-cta a:hover,
body > a:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.btn.secondary {
  border: 1px solid rgba(251, 250, 246, 0.8) !important;
  background: var(--forest) !important;
  color: #fff !important;
}

.progress-fill {
  background: var(--gold) !important;
}

.disclaimer {
  border-left-color: var(--gold) !important;
  background: var(--concrete) !important;
}

.concrete-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.58fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: end;
  margin-top: clamp(42px, 7vw, 72px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-left: 5px solid var(--forest);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(236, 232, 223, 0.82), rgba(255, 255, 255, 0.94)),
    repeating-linear-gradient(45deg, rgba(24, 59, 49, 0.035) 0 1px, transparent 1px 16px);
  box-shadow: 0 14px 34px rgba(31, 39, 35, 0.09);
}

.calculator-copy {
  grid-column: 1 / -1;
}

.calculator-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.calculator-copy p {
  max-width: 620px;
  margin: 0;
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
  margin: 0;
}

.calculator-form label {
  display: block;
  margin: 0 0 7px;
}

.calculator-result {
  min-height: 160px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--forest);
  color: #fff;
}

.calculator-result span,
.calculator-result small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.calculator-result strong {
  display: block;
  margin: 12px 0 14px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.calculator-disclaimer {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  color: #566058;
  font-size: 0.94rem;
}

.sticky-cta {
  z-index: 15;
  box-shadow: 0 -12px 30px rgba(31, 39, 35, 0.14);
}

.sticky-cta a:first-child {
  background: var(--forest) !important;
  color: #fff !important;
}

footer {
  margin-top: 0 !important;
  padding: 28px 20px !important;
  background: #121a17 !important;
  color: rgba(255, 255, 255, 0.76) !important;
  text-align: center;
}

footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

footer a {
  color: #ead6b3;
}

body[style] {
  max-width: none !important;
  padding: 0 clamp(20px, 5vw, 48px) 48px;
  background: var(--surface) !important;
  font-family: "Inter", "Segoe UI", sans-serif !important;
}

body[style] h1 {
  max-width: 820px;
  margin: 56px auto 18px;
}

body[style] p,
body[style] ul {
  max-width: 820px;
  margin-inline: auto;
}

@media (max-width: 820px) {
  body > header {
    align-items: center;
  }

  .menu-toggle {
    display: block !important;
    margin-left: auto;
    cursor: pointer;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--forest) !important;
  }

  nav.active {
    display: flex !important;
  }

  nav a {
    border-radius: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 13px 8px !important;
  }

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

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

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

  .hero {
    min-height: 480px;
  }

  .sticky-cta {
    position: static !important;
  }
}
