
:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-2: #f0f5fa;
  --ink: #0f172a;
  --muted: #5b6678;
  --line: #d9e2ec;
  --brand: #0b8cc4;
  --brand-dark: #0a3144;
  --brand-soft: #e8f6fc;
  --accent: #1ca7db;
  --success: #0f766e;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 10px 26px rgba(15, 23, 42, 0.06);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbfd 0%, #f5f7fb 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.topbar {
  background: var(--brand-dark);
  color: #dff4fb;
  font-size: .95rem;
}
.topbar-inner {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; align-items: center;
  padding: .7rem 0;
}
.topbar .contact-line { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217,226,236,.9);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1rem 0;
}
.brandmark {
  display: flex; align-items: center; gap: .9rem; font-weight: 800; letter-spacing: -.02em;
}
.brandmark img { width: 132px; height: auto; }
.brandmark span { display: block; }
.brandmark .brand-title { font-size: 1.2rem; }
.brand-sub { font-size: .82rem; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.site-header, .header-inner { overflow: visible; }
.nav { position: relative; }
.services-menu { position: relative; }
.menu-summary {
  list-style: none; cursor: pointer; color: #17202f; font-weight: 600; display: inline-flex;
  align-items: center; gap: .4rem; padding: 0; background: transparent; border: 0;
}
.menu-summary::-webkit-details-marker { display: none; }
.menu-summary::after { content: "▾"; font-size: .78rem; color: var(--brand-dark); }
.services-menu[open] .menu-summary, .menu-summary.active { color: var(--brand); }
.services-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 360px; max-width: min(720px, 92vw);
  background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 1rem; z-index: 120; backdrop-filter: blur(10px);
}
.services-overview {
  display: block; padding: .85rem 1rem; border-radius: 16px; background: var(--brand-soft);
  color: var(--brand-dark); font-weight: 700; margin-bottom: .75rem;
}
.services-dropdown-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem;
}
.services-dropdown-grid a {
  display: block; padding: .8rem .95rem; border-radius: 16px; background: white;
  border: 1px solid var(--line); font-weight: 600;
}
.services-dropdown-grid a:hover, .services-overview:hover { background: var(--brand-soft); color: var(--brand-dark); }
.services-dropdown-grid a { white-space: normal; line-height: 1.35; }
.meta-strip { display:flex; gap:.7rem; flex-wrap:wrap; }
.meta-strip span {
  background: white; color: var(--brand-dark); border: 1px solid rgba(11,140,196,.15);
  border-radius: 999px; padding: .62rem 1rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.form-consent-row { margin-top: -.2rem; }
.checkbox { display:flex; gap:.75rem; align-items:flex-start; }
.checkbox input { width:auto; margin-top:.3rem; }
.hp-field { position:absolute; left:-9999px; opacity:0; }

.nav a { color: #17202f; font-weight: 600; }
.nav a:hover { color: var(--brand); }
.nav > a, .nav > .btn, .nav > details { flex: 0 0 auto; }
.nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--brand); color: #fff; font-weight: 700; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { background: #0879a8; transform: translateY(-1px); }
.btn.secondary {
  background: white; color: var(--brand-dark); border-color: rgba(11,140,196,.18); box-shadow: none;
}
.btn.secondary:hover { background: var(--brand-soft); }
.hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at top left, rgba(11,140,196,.08), transparent 33%),
    radial-gradient(circle at top right, rgba(28,167,219,.08), transparent 28%);
}
.hero-grid, .grid-2 { display: grid; grid-template-columns: 1.08fr .92fr; gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .83rem; font-weight: 800;
  color: var(--brand); background: transparent; padding: 0; border-radius: 0;
  letter-spacing: .08em; text-transform: uppercase;
}
.kicker { margin-bottom: .8rem; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .85rem; }
h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); max-width: 13ch; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
h3 { font-size: 1.28rem; }
.lead { font-size: 1.08rem; color: #354052; max-width: 66ch; }
.hero-actions, .stats { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.stat-pill {
  background: white; color: var(--brand-dark); border: 1px solid rgba(11,140,196,.15);
  border-radius: 999px; padding: .62rem 1rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.badge-card, .card, .service-card, .faq, .quote-card, .process-card, .feature-card, .contact-card {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.badge-card, .card, .feature-card, .process-card, .quote-card, .contact-card { padding: 1.35rem; }
.badge-card strong { display:block; margin-bottom:.2rem; }
.hero-visual { position: relative; }
.hero-image-card, .media-card {
  position: relative; min-height: 540px; overflow: hidden; border-radius: 30px; background: #dceaf2;
  box-shadow: var(--shadow); border: 1px solid rgba(217,226,236,.8);
}
.hero-image-card img, .media-card img { width: 100%; height: 100%; object-fit: cover; }
.image-overlay, .media-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; background: linear-gradient(180deg, rgba(8,17,27,.04) 10%, rgba(8,17,27,.72) 100%);
  color: white;
}
.image-overlay .mini-panel, .media-overlay .mini-panel {
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18);
  padding: 1rem 1.1rem; border-radius: 20px; max-width: 26rem;
}
.image-overlay .mini-panel strong, .media-overlay .mini-panel strong { display:block; font-size:1.1rem; margin-bottom:.35rem; }
.overlay-pills { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1rem; }
.overlay-pills span {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  padding: .5rem .8rem; font-size: .9rem; font-weight: 700;
}
.hero-photo-grid {
  display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem;
}
.hero-photo-grid .photo-chip {
  background: white; border: 1px solid var(--line); border-radius: 20px; padding: .85rem 1rem; box-shadow: var(--shadow-sm);
}
.section { padding: 4.5rem 0; }
.section.alt { background: #f7fafc; border-top: 1px solid rgba(217,226,236,.75); border-bottom: 1px solid rgba(217,226,236,.75); }
.service-card { padding: 0; overflow: hidden; display:flex; flex-direction:column; }
.service-card .service-thumb {
  aspect-ratio: 16 / 10; width: 100%; object-fit: cover;
}
.service-card-body { padding: 1.35rem; display:flex; flex-direction:column; gap:.85rem; height:100%; }
.service-card p, .card p, .feature-card p, .quote-card p, .contact-card p { color: var(--muted); margin: 0; }
.service-list, .tick-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.service-list li, .tick-list li { display: flex; gap: .7rem; margin: .55rem 0; align-items: flex-start; }
.service-list li::before, .tick-list li::before {
  content: '✓'; width: 1.55rem; height: 1.55rem; flex: 0 0 1.55rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; margin-top: .1rem;
}
.small { font-size: .94rem; color: #64748b; }
.page-hero { padding: 3rem 0 2.75rem; }
.breadcrumbs { font-size: .95rem; color: #64748b; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--brand); }
.page-hero .grid-2 { align-items: stretch; }
.page-hero-copy {
  padding: 1.2rem 0;
}
.page-hero-media { display: grid; gap: 1rem; align-content: start; }
.page-hero-media .media-card { min-height: 360px; }
.image-note {
  margin-top: 1rem; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; box-shadow: var(--shadow-sm);
}
.image-note ul { list-style:none; padding:0; margin:.5rem 0 0; }
.image-note li { padding:.35rem 0; border-bottom:1px solid rgba(217,226,236,.7); }
.image-note li:last-child { border-bottom:0; }
.page-hero { position: relative; z-index: 1; }
.page-hero .image-note {
  position: relative; z-index: 2; border-radius: 20px; box-shadow: none; background: #fff; opacity: 1;
}
.page-hero + .section { position: relative; z-index: 0; padding-top: 2.75rem; }
.feature-card, .quote-card, .process-card, .faq, .contact-card {
  box-shadow: none;
}
.feature-card, .quote-card, .process-card, .faq, .contact-card, .image-note {
  border-color: #dce4ee;
}
.cta-band {
  padding: 1.65rem; border-radius: 28px;
  background: linear-gradient(135deg, var(--brand-dark), #0d6f98);
  color: white; display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.faq-wrap { display: grid; gap: 1rem; }
.faq { padding: 1.15rem 1.2rem; }
.faq h3 { font-size: 1.04rem; margin-bottom: .35rem; }
.quote-card strong { display: block; margin-top: .7rem; }
.gallery-grid {
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery-card {
  position: relative; overflow:hidden; border-radius: 22px; min-height: 240px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.gallery-card img { width:100%; height:100%; object-fit:cover; }
.gallery-card .caption {
  position:absolute; left:0; right:0; bottom:0; padding:1rem;
  background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.72) 100%);
  color:white; font-weight:700;
}
footer {
  background: #07131c; color: #dbeafe; padding: 3rem 0 1.5rem; margin-top: 3rem;
}
.footer-grid { display:grid; grid-template-columns: 1.2fr .8fr .8fr .9fr; gap:1.4rem; }
.footer-grid a { color: #dbeafe; opacity: .95; }
.footer-grid a:hover { color:white; opacity:1; }
.footer-brand img { width: 150px; height:auto; }
.footer-brand .brand-sub { color:#bedcf2; }
.contact-grid { display:grid; grid-template-columns: .92fr 1.08fr; gap: 1.6rem; align-items:start; }
.contact-form {
  display:grid; gap:1rem; padding:1.55rem; background:white; border-radius:24px; border:1px solid var(--line); box-shadow:var(--shadow);
}
label { font-weight:700; font-size:.96rem; }
input, textarea, select {
  width:100%; padding:.95rem 1rem; border-radius:16px; border:1px solid #c7d4e1; font:inherit; background:#fff;
}
input:focus, textarea:focus, select:focus {
  outline:none; border-color: rgba(11,140,196,.75); box-shadow: 0 0 0 4px rgba(11,140,196,.12);
}
textarea { min-height: 150px; resize: vertical; }
.notice { font-size:.92rem; color:#64748b; }
.service-nav-list { display:grid; grid-template-columns: repeat(2, 1fr); gap:.8rem; }
.service-nav-list a {
  display:block; padding:.95rem 1rem; border-radius:16px; background:white; border:1px solid var(--line); font-weight:700;
}
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:1rem; }
.form-message { padding:.95rem 1rem; border-radius:16px; font-weight:600; border:1px solid transparent; }
.form-message.success { background:#ecfdf5; color:#065f46; border-color:#a7f3d0; }
.form-message.error { background:#fef2f2; color:#991b1b; border-color:#fecaca; }
.form-consent-row { margin-top: -.1rem; }
.checkbox { display:flex; gap:.8rem; align-items:flex-start; color:var(--muted); font-size:.96rem; }
.checkbox input { width:1.1rem; height:1.1rem; margin-top:.22rem; }
.hp-field { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; }
.meta-strip {
  display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.2rem;
}
.meta-strip span {
  background:#fff; border:1px solid var(--line); border-radius:999px; padding:.52rem .86rem; font-weight:700; color:var(--brand-dark);
}
.clean-panel {
  background: linear-gradient(180deg, #ffffff, #f8fbfd); border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow); padding:1.35rem;
}
@media (max-width: 980px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid, .contact-grid, .gallery-grid { grid-template-columns: 1fr; }
  .trust-strip, .hero-photo-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items:flex-start; }
  .nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }
  .nav > a, .nav > details { width: 100%; }
  .nav > a { display: block; min-height: auto; }
  .nav > .btn { width: fit-content; }
  .services-menu { width: 100%; }
  .menu-summary {
    width: 100%;
    justify-content: flex-start;
    padding: 0;
    min-height: auto;
  }
  .services-dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin-top: .8rem;
    padding: .9rem;
  }
  .services-dropdown-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: .6rem;
    width: 100%;
  }
  .services-dropdown-grid a,
  .services-overview {
    display: block !important;
    width: 100%;
    white-space: normal;
    line-height: 1.4;
    padding: .9rem 1rem;
  }
  .hero-image-card, .media-card { min-height: 380px; }
  .page-hero-media .media-card { min-height: 300px; }
}
@media (max-width: 720px) {
  .form-grid, .service-nav-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { max-width:none; }
  .hero { padding-top: 3.2rem; }
  .brandmark { align-items:flex-start; gap: .8rem; }
  .brandmark img { width: 96px; }
  .brand-title { font-size: 1rem; }
  .brand-sub { font-size: .72rem; }
  .topbar-inner { font-size: .9rem; }
  .header-inner { gap: .9rem; }
  .nav { grid-template-columns: 1fr 1fr; }
  .services-menu, .nav > .btn { grid-column: 1 / -1; }
  .btn { min-height: 46px; }
  .section { padding: 3.5rem 0; }
}



.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.icon-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icon-card {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}
.icon-card strong { display:block; font-size: 1rem; margin-bottom: .2rem; }
.icon-card p { margin:0; color: var(--muted); font-size: .95rem; }
.icon-badge {
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.icon-badge svg { width: 1.35rem; height: 1.35rem; }
.upload-note {
  margin-top: .75rem;
  font-size: .92rem;
  color: var(--muted);
}
.upload-control input[type="file"] {
  padding: .75rem .85rem;
  background: #fff;
}
.upload-control input[type="file"]::file-selector-button {
  margin-right: .85rem;
  border: 0;
  border-radius: 999px;
  padding: .65rem .95rem;
  font: inherit;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-dark);
  cursor: pointer;
}
.card.plain-card, .feature-card.plain-card, .quote-card.plain-card, .process-card.plain-card, .contact-card.plain-card, .image-note.plain-card {
  box-shadow: none;
  background: #fff;
}
@media (max-width: 980px) {
  .icon-grid, .icon-grid.compact { grid-template-columns: 1fr; }
}


/* v6 desktop layout fixes */
.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.icon-grid,
.service-nav-list,
.gallery-grid,
.footer-grid,
.contact-grid,
.form-grid {
  align-items: stretch;
}

.page-hero .grid-2 {
  align-items: start;
}

.page-hero-copy,
.page-hero-media,
.icon-card > div,
.service-card-body,
.feature-card,
.quote-card,
.process-card,
.contact-card {
  min-width: 0;
}

.page-hero-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-hero-media > * {
  width: 100%;
  min-width: 0;
}

.page-hero .media-card,
.page-hero .image-note,
.page-hero + .section .feature-card {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding-bottom: 3.25rem;
}

.page-hero + .section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-hero + .section .container.grid-2 {
  gap: 1.25rem;
}

.page-hero + .section .feature-card {
  min-height: 100%;
  background: #ffffff;
}

.icon-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.icon-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.icon-card {
  min-width: 0;
  overflow: hidden;
}

.icon-card strong,
.icon-card p {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (min-width: 981px) and (max-width: 1220px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 980px) {
  .page-hero {
    padding-bottom: 2.5rem;
  }

  .page-hero + .section {
    padding-top: 0 !important;
  }
}
