:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #dbe3ee;
  --primary: #1258a8;
  --primary-soft: #e7f0fb;
  --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 34px rgba(15, 23, 42, 0.12);
  --max-width: 1100px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #0f4e96;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-image {
  height: 58px;
  width: auto;
  aspect-ratio: 3 / 1;
  display: block;
  object-fit: contain;
}

.brand h1 {
  font-family: 'Fraunces', 'Georgia', serif;
  font-size: 1.2rem;
  margin: 0;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--border);
  background: #f3f7fd;
}

.site-nav a.is-active {
  background: var(--primary-soft);
  border-color: #b3d0f0;
  color: #0f4e96;
  font-weight: 700;
}

main {
  padding: 2rem 0 2.5rem;
}

.hero,
.card,
.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.hero {
  margin-bottom: 1.5rem;
}

.hero-modern {
  position: relative;
  isolation: isolate;
  color: #f8fafc;
  border: none;
  border-radius: 0;
  padding: 4rem 0 4.5rem;
  margin: 0 0 1.5rem;
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}

.hero-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(12, 20, 32, 0.85), rgba(12, 20, 32, 0.5));
  z-index: 0;
}

.hero-modern .hero-content {
  position: relative;
  z-index: 1;
  font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-modern h2 {
  margin-top: 0.4rem;
  font-family: 'Fraunces', 'Georgia', serif;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-modern .hero-subhead {
  font-size: 1.1rem;
  max-width: 52ch;
}

.hero-modern .service-area {
  color: rgba(248, 250, 252, 0.85);
}

.hero-modern .badge {
  background: rgba(240, 173, 78, 0.18);
  color: #fde6c8;
  border-color: rgba(240, 173, 78, 0.45);
}

.hero-modern .hero-ctas {
  margin-top: 1.35rem;
}

.hero-modern .btn-primary {
  background: #f0a23c;
  color: #2d1a03;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.hero-modern .btn-secondary {
  background: rgba(248, 250, 252, 0.12);
  border-color: rgba(248, 250, 252, 0.35);
  color: #f8fafc;
}

.hero-modern .text-link {
  color: #fbd9a9;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-modern .value-bullets {
  margin-top: 1.25rem;
  color: rgba(248, 250, 252, 0.9);
}

.hero h2 {
  margin-top: 0;
  line-height: 1.3;
}

h2,
h3 {
  font-family: 'Fraunces', 'Georgia', serif;
  letter-spacing: -0.01em;
}

.hero h1 {
  margin-top: 0;
  line-height: 1.25;
  font-size: clamp(1.45rem, 4.8vw, 2.1rem);
  text-wrap: balance;
}

.hero-subhead,
.service-area {
  margin: 0.75rem 0;
}

.badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.65rem;
  background: #ebf7ee;
  color: #156b2b;
  border: 1px solid #bfe3c8;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.2rem 0;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 88, 168, 0.2);
}

.btn-secondary {
  background: #eef4fc;
  border-color: #b5cdee;
  color: #123f72;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-success:hover,
.btn-success:focus-visible {
  color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #123f72;
}

.text-link {
  font-weight: 700;
}

.value-bullets {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.card h3 {
  margin-top: 0;
}

.preview-card p {
  margin-bottom: 0.65rem;
}

.quote-form-section {
  margin-top: 1.5rem;
}

.quote-form-section form {
  display: grid;
  gap: 0.55rem;
}

.quote-form-section label {
  font-weight: 700;
}

.quote-form-section input,
.quote-form-section textarea {
  width: 100%;
  border: 1px solid #bcc9da;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.quote-form-section button {
  margin-top: 0.45rem;
  cursor: pointer;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.contact-layout {
  display: grid;
  gap: 1rem;
}

.contact-blocks {
  display: grid;
  gap: 0.85rem;
}

.contact-block {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.contact-block h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.contact-block p,
.contact-block ul {
  margin: 0;
}

.contact-block ul {
  padding-left: 1.1rem;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.btn-prominent {
  text-align: center;
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  box-shadow: 0 7px 18px rgba(18, 88, 168, 0.2);
  white-space: normal;
  line-height: 1.2;
}

.btn-success {
  background: #156b2b;
  color: #ffffff;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 700;
}

fieldset.form-field,
fieldset.form-field legend {
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset.form-field legend {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.form-field input[type='radio'] {
  width: auto;
  margin-right: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #bcc9da;
  border-radius: 8px;
  padding: 0.6rem 0.65rem;
  font: inherit;
  background: #ffffff;
}

.required-note {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.quote-help {
  margin-top: 1rem;
}

.quote-help ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  padding: 1.25rem 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
}

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



.service-list {
  display: grid;
  gap: 1rem;
}

.service-item {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

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

.service-item:hover,
.service-item:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #b7c9df;
}

.cta-section {
  margin-top: 1rem;
}

@media (min-width: 700px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo-link {
    margin-right: 0.85rem;
  }

  .logo-image {
    height: 64px;
  }

  .hero {
    padding: 1.5rem;
  }

  .hero-modern {
    padding: 5rem 0 5.5rem;
  }

  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

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

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

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.4fr);
    align-items: start;
  }

  .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.photo-item {
  margin: 0;
}

.photo-item img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f1f5fb;
}

.photo-link {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
}

.photo-link:focus-visible {
  outline: 3px solid rgba(18, 88, 168, 0.45);
  outline-offset: 3px;
}

.photo-link img {
  transition: transform 0.35s ease;
}

.photo-link:hover img,
.photo-link:focus-visible img {
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 24, 0.82);
}

.lightbox-content {
  position: relative;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  display: grid;
  gap: 0.6rem;
  z-index: 1;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0b111c;
}

.lightbox-close {
  justify-self: end;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-open {
  overflow: hidden;
}

.before-after {
  margin-top: 1.5rem;
}

.before-after-project {
  margin-top: 1rem;
}

.before-after-project h3 {
  margin-top: 0;
}

.before-after-images {
  display: grid;
  gap: 0.75rem;
}

.before-after-images figcaption {
  text-align: center;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
  padding: 0.35rem 0 0.15rem;
  line-height: 1.25;
}

@media (min-width: 700px) {
  .photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .before-after-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
