:root {
  --ink: #173a73;
  --green: #129ed0;
  --green-deep: #173a73;
  --mint: #eef8fc;
  --cream: #f8fbfd;
  --gold: #8cc63f;
  --white: #ffffff;
  --muted: #66758c;
  --border: #dce7ef;
  --shadow: 0 20px 55px rgba(23, 58, 115, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 245, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23,58,115,.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; gap: 12px; align-items: center; }

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  border-radius: 8px;
}
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: white;
  font-family: "Playfair Display", serif; font-size: 24px;
}
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-size: 17px; }
.brand small { font-size: 12px; margin-top: 5px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--green); }

.menu-btn {
  display: none; border: 0; background: transparent; font-size: 28px; color: var(--ink); cursor: pointer;
}

.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(140,198,63,.16), transparent 25%),
    linear-gradient(135deg, #f8fbfd 55%, #eef8fc 100%);
}

.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 68px; align-items: center; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--green);
  margin-bottom: 16px;
}

.hero h1, .section h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
  margin: 0;
}

.hero h1 { font-size: clamp(48px, 7vw, 78px); max-width: 760px; }
.hero-text { font-size: 19px; color: #4f5f58; max-width: 690px; margin: 25px 0 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: white;
  font-weight: 700;
  border: 1px solid var(--green);
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); background: linear-gradient(145deg, #173a73, #129ed0); }
.btn-small { padding: 10px 17px; }
.btn-ghost { background: transparent; color: var(--green-deep); border-color: var(--green-deep); }
.btn-ghost:hover { color: white; }
.btn-full { width: 100%; border-radius: 12px; }

.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; font-weight: 600; color: #516058; }

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: 30px;
  background: var(--green-deep);
  color: white;
  box-shadow: var(--shadow);
}
.hero-card::after {
  content:"";
  position:absolute; width:240px; height:240px; border:1px solid rgba(255,255,255,.12);
  border-radius:50%; right:-90px; top:-75px;
}
.shine { position:absolute; inset:0; background:linear-gradient(120deg, transparent 40%, rgba(255,255,255,.04), transparent 60%); }
.hero-card-kicker { color: #cfe1d7; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-card h2 { font-family: "Playfair Display", Georgia, serif; font-size: 34px; line-height: 1.15; margin: 12px 0 30px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; z-index: 2; }
.mini-grid div { padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
.mini-grid strong, .mini-grid span { display:block; }
.mini-grid span { font-size: 13px; margin-top: 5px; color:#c9dbd2; }

.stats { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display:grid; grid-template-columns: repeat(4,1fr); }
.stats-grid div { padding: 30px 20px; text-align:center; border-right:1px solid var(--border); }
.stats-grid div:last-child { border-right:0; }
.stats-grid strong { display:block; font-family:"Playfair Display",serif; font-size:27px; color:var(--green); }
.stats-grid span { font-size:13px; color:var(--muted); }

.section { padding: 100px 0; }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section h2 { font-size: clamp(38px, 5vw, 55px); }
.section-heading p, .area-box p { color: var(--muted); font-size: 18px; }

.cards { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.service-card {
  background:white; border:1px solid var(--border); padding:30px; border-radius:22px;
  transition:.25s ease;
}
.service-card:hover { transform:translateY(-4px); box-shadow:0 18px 40px rgba(19,38,31,.09); }
.service-card .icon {
  width:48px; height:48px; display:grid; place-items:center; border-radius:14px;
  background:var(--mint); color:var(--green); font-size:24px;
}
.service-card h3 { font-size:21px; margin:20px 0 8px; }
.service-card p { color:var(--muted); margin:0; }

.section-soft { background:var(--mint); }
.split { display:grid; grid-template-columns: .9fr 1.1fr; gap:70px; align-items:start; }
.about-copy { font-size:18px; color:#485951; }
.about-copy p:first-child { margin-top:0; }

.area-box {
  display:flex; justify-content:space-between; gap:50px; align-items:center;
  background:white; padding:48px; border-radius:28px; border:1px solid var(--border);
  box-shadow:0 16px 40px rgba(19,38,31,.06);
}
.area-box h2 { max-width:720px; }

.section-dark { background:var(--ink); color:white; }
.eyebrow.light { color:#9ed1bc; }
.contact-grid { display:grid; grid-template-columns: .85fr 1.15fr; gap:75px; align-items:start; }
.contact-grid > div > p { color:#c9d2ce; font-size:18px; max-width:470px; }
.contact-info { margin-top:30px; display:grid; gap:13px; }
.contact-info a, .contact-info span { color:#e7efeb; }

.quote-form {
  background:white; color:var(--ink); padding:30px; border-radius:24px;
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
label { display:block; font-size:14px; font-weight:700; margin-bottom:16px; }
input, select, textarea {
  width:100%; margin-top:7px; padding:14px 15px; border:1px solid #cfd9d4;
  border-radius:11px; background:white; font:inherit; color:var(--ink); outline:none;
}
input:focus, select:focus, textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(31,90,69,.09); }
textarea { resize:vertical; }
.form-note { font-size:12px; color:#738078; text-align:center; margin:12px 0 0; }

footer { padding:32px 0; background:#0d1d17; color:#dfe8e3; }
.footer-wrap { display:flex; justify-content:space-between; gap:30px; align-items:center; }
.footer-wrap p { margin:5px 0 0; color:#94a69d; font-size:13px; }

@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns:1fr; gap:40px; }
  .cards { grid-template-columns:1fr 1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stats-grid div:nth-child(2) { border-right:0; }
  .stats-grid div:nth-child(-n+2) { border-bottom:1px solid var(--border); }
  .area-box { align-items:flex-start; flex-direction:column; }
}

@media (max-width: 700px) {
  .container { width:min(100% - 26px, 1120px); }
  .site-header { position:sticky; }
  .menu-btn { display:block; }
  .nav {
    display:none; position:absolute; top:78px; left:13px; right:13px; flex-direction:column;
    align-items:stretch; gap:0; padding:14px; background:white; border:1px solid var(--border);
    border-radius:18px; box-shadow:var(--shadow);
  }
  .nav.open { display:flex; }
  .nav a { padding:13px 12px; }
  .nav .btn { margin-top:6px; }
  .hero { padding:62px 0 58px; }
  .hero h1 { font-size:46px; }
  .hero-card { padding:28px; border-radius:24px; }
  .hero-card h2 { font-size:29px; }
  .mini-grid { grid-template-columns:1fr; }
  .section { padding:74px 0; }
  .cards { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .area-box { padding:30px; }
  .footer-wrap { flex-direction:column; align-items:flex-start; }
}

/* V3 enhancements */
.brand-logo { height: 74px; max-width: 190px; object-fit: contain; }
.pm-section { background: #eef8fc; }
.pm-grid { display:grid; grid-template-columns: .95fr 1.05fr; gap:60px; align-items:center; }
.pm-grid p { color:var(--muted); font-size:18px; margin:20px 0 28px; }
.pm-list { display:grid; gap:14px; }
.pm-list div { background:white; border:1px solid var(--border); padding:22px; border-radius:18px; }
.pm-list strong, .pm-list span { display:block; }
.pm-list span { color:var(--muted); margin-top:5px; }

.results-section { background:white; }
.results-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.result-card { border:1px solid var(--border); border-radius:24px; padding:22px; background:#f8fbfd; }
.result-card h3 { margin:0 0 16px; font-size:21px; }
.before-after { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.before-after figure { margin:0; position:relative; overflow:hidden; border-radius:16px; background:#e7edf1; }
.before-after img { width:100%; aspect-ratio:4/5; object-fit:cover; display:block; }
.before-after figcaption {
  position:absolute; left:10px; bottom:10px; padding:6px 10px;
  border-radius:999px; background:rgba(255,255,255,.92); color:#173a73;
  font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em;
}
@media (max-width:900px) {
  .pm-grid { grid-template-columns:1fr; gap:32px; }
}
@media (max-width:700px) {
  .brand-logo { height:82px; max-width:210px; }
  .nav-wrap { min-height:96px; }
  .nav { top:96px; }
  .results-grid { grid-template-columns:1fr; }
  .result-card { padding:16px; }
  .before-after { gap:8px; }
}

/* Final polish */
.brand {
  padding: 6px 0;
}
.brand-logo {
  height: 86px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain;
  border-radius: 0 !important;
  background: transparent;
}

.results-showcase {
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(23, 58, 115, .08);
}
.results-showcase img {
  width: 100%;
  display: block;
  height: auto;
}

@media (max-width: 700px) {
  .brand-logo {
    height: 92px !important;
    max-width: 250px !important;
  }
  .nav-wrap {
    min-height: 110px;
  }
  .nav {
    top: 110px;
  }
  .hero {
    padding-top: 50px;
  }
  .results-showcase {
    border-radius: 20px;
  }
}

/* Final mobile polish */
@media (max-width: 700px) {
  .brand-logo {
    height: 76px !important;
    max-width: 205px !important;
  }

  .nav-wrap {
    min-height: 94px !important;
  }

  .nav {
    top: 94px !important;
  }

  .hero-card {
    padding: 24px !important;
  }

  .hero-card h2 {
    font-size: 34px !important;
    margin-bottom: 22px !important;
  }

  .mini-grid {
    gap: 10px !important;
  }

  .mini-grid div {
    padding: 15px 16px !important;
    border-radius: 15px !important;
  }

  .mini-grid strong {
    font-size: 17px !important;
  }

  .mini-grid span {
    font-size: 12px !important;
  }
}

/* FINAL mobile service-card layout: compact 2 x 2 */
@media (max-width: 700px) {
  .hero-card {
    padding: 22px 18px 24px !important;
    border-radius: 22px !important;
  }

  .hero-card .eyebrow {
    margin-bottom: 12px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .hero-card h2 {
    font-size: 31px !important;
    line-height: 1.05 !important;
    margin: 0 0 20px !important;
  }

  .mini-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .mini-grid div {
    min-width: 0 !important;
    min-height: 104px !important;
    padding: 15px 13px !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .mini-grid strong {
    font-size: 16px !important;
    line-height: 1.15 !important;
    margin-bottom: 7px !important;
  }

  .mini-grid span {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
}
