/* ==========================================================================
   Wallpaper Installers Service - Global Stylesheet
   Palette: navy #162235 | slate #243447 | ivory #F6F4EF | gold #C3A46F
   Headings: Manrope | Body: Inter
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1E293B;
  background: #F6F4EF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: #162235; text-decoration: none; transition: color .2s ease; }
a:hover { color: #C3A46F; }

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  color: #162235;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw + .5rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.4vw + .3rem, 2.2rem); margin-top: 1.2em; }
h3 { font-size: clamp(1.2rem, 1.4vw + .3rem, 1.5rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================== HEADER ============================== */
.site-header {
  background: #162235;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.topbar {
  background: #0e1828;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .92rem;
}
.topbar .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 8px; padding-bottom: 8px;
}
.topbar a { color: #F6F4EF; }
.topbar a:hover { color: #C3A46F; }
.topbar .topbar-left,
.topbar .topbar-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar .ic { width: 16px; height: 16px; flex: 0 0 16px; vertical-align: middle; margin-right: 6px; stroke: #C3A46F; }

.header-main {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.header-main .container {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.15rem;
  color: #fff; letter-spacing: -.01em;
}
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: #C3A46F; color: #162235; display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 800;
}
.brand:hover { color: #C3A46F; }

/* ============================== NAV ============================== */
.primary-nav { display: flex; align-items: center; }
.primary-nav > ul {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 0;
}
.primary-nav a {
  color: #fff; padding: 12px 14px; display: inline-flex; align-items: center; gap: 6px;
  border-radius: 6px; font-weight: 500; font-size: .98rem;
}
.primary-nav a:hover { background: rgba(255,255,255,.06); color: #C3A46F; }
.primary-nav .has-dropdown { position: relative; }
.primary-nav .has-dropdown > a::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 4px; margin-top: -3px;
  transition: transform .25s ease;
}
.primary-nav .has-dropdown:hover > a::after,
.primary-nav .has-dropdown:focus-within > a::after { transform: rotate(225deg); margin-top: 3px; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 260px;
  background: #fff; color: #1E293B;
  border-radius: 10px; padding: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  list-style: none; margin: 0;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li {
  opacity: 0; transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.has-dropdown:hover > .dropdown li,
.has-dropdown:focus-within > .dropdown li { opacity: 1; transform: translateY(0); }
.dropdown li:nth-child(1)  { transition-delay: .03s; }
.dropdown li:nth-child(2)  { transition-delay: .06s; }
.dropdown li:nth-child(3)  { transition-delay: .09s; }
.dropdown li:nth-child(4)  { transition-delay: .12s; }
.dropdown li:nth-child(5)  { transition-delay: .15s; }
.dropdown li:nth-child(6)  { transition-delay: .18s; }
.dropdown li:nth-child(7)  { transition-delay: .21s; }
.dropdown li:nth-child(8)  { transition-delay: .24s; }
.dropdown li:nth-child(9)  { transition-delay: .27s; }
.dropdown li:nth-child(10) { transition-delay: .30s; }
.dropdown li:nth-child(11) { transition-delay: .33s; }
.dropdown a {
  display: block; padding: 10px 14px;
  color: #1E293B; border-radius: 6px; font-size: .95rem;
}
.dropdown a:hover { background: #F6F4EF; color: #162235; }

/* Mobile menu button */
.menu-toggle, .menu-close {
  display: none; background: transparent; border: 0; color: #fff;
  width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.menu-toggle svg, .menu-close svg { width: 28px; height: 28px; stroke: #fff; }
.menu-overlay {
  display: none;
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 250; opacity: 0; transition: opacity .3s ease;
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .primary-nav {
    position: fixed;
    top: 0; right: 0;
    width: 50%; max-width: 420px; min-width: 280px;
    height: 100vh;
    background: #162235;
    padding: 70px 22px 30px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 260;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,.35);
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav .menu-close { display: inline-flex; position: absolute; top: 14px; right: 14px; }

  .primary-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .primary-nav > ul > li > a {
    display: block;
    padding: 14px 12px;
    font-size: 1.02rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
  }
  .primary-nav .has-dropdown > a::after { display: none; }

  .dropdown {
    position: static;
    background: transparent;
    box-shadow: none;
    color: #F6F4EF;
    padding: 0 0 8px 12px;
    opacity: 1; visibility: visible; transform: none;
  }
  .dropdown li { opacity: 1; transform: none; }
  .dropdown a { color: #F6F4EF; padding: 10px 12px; font-size: .95rem; }
  .dropdown a:hover { background: rgba(255,255,255,.06); color: #C3A46F; }

  body.menu-open .menu-overlay { display: block; opacity: 1; }
  body.menu-open { overflow: hidden; }
}

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #C3A46F;
  color: #162235;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.btn:hover { background: #AE9160; color: #162235; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-outline {
  background: transparent; color: #fff; border: 2px solid #C3A46F;
}
.btn-outline:hover { background: #C3A46F; color: #162235; }
.btn-ghost {
  background: transparent; color: #162235; border: 2px solid #162235;
}
.btn-ghost:hover { background: #162235; color: #fff; }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  background: #162235;
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 90px;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-img {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  border: 1px solid rgba(195,164,111,.25);
}
.hero-img img { width: 100%; height: 520px; object-fit: cover; }
.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px;
  color: rgba(255,255,255,.85); font-size: .95rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; stroke: #C3A46F; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 56px 0 64px; }
  .hero-img img { height: 320px; }
}

/* Hero with form layout (used on Home) */
.hero.with-form .hero-inner { grid-template-columns: 1.1fr .95fr; }
@media (max-width: 880px){ .hero.with-form .hero-inner { grid-template-columns: 1fr; } }

/* ============================== SECTIONS ============================== */
section { padding: 70px 0; }
.section-light { background: #F6F4EF; }
.section-dark  { background: #162235; color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-slate { background: #243447; color: #fff; }
.section-slate h1, .section-slate h2, .section-slate h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: #C3A46F; font-weight: 600; margin-bottom: 10px;
}

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.split-img {
  border-radius: 14px; overflow: hidden; box-shadow: 0 22px 44px rgba(22,34,53,.18);
}
.split-img img { width: 100%; height: 460px; object-fit: cover; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child { order: 0; }
  .split-img img { height: 320px; }
}

/* Cards */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(22,34,53,.08);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(22,34,53,.16); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: #475569; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; color: #162235; font-weight: 600; margin-top: auto;
}
.card-link::after {
  content: "→"; transition: transform .2s ease;
}
.card-link:hover { color: #C3A46F; }
.card-link:hover::after { transform: translateX(4px); }

/* Steps / process list */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  background: #fff;
  border-radius: 12px; padding: 22px;
  border: 1px solid rgba(22,34,53,.08);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Manrope', sans-serif; font-weight: 800;
  color: #C3A46F; font-size: 1.4rem; display: block; margin-bottom: 6px;
}
.section-dark .steps li, .section-slate .steps li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }

/* Bullet lists with gold tick */
.tick-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C3A46F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}

/* Feature icons grid */
.feature-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: #fff; padding: 26px; border-radius: 12px;
  border: 1px solid rgba(22,34,53,.06);
}
.feature .ic-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: #F6F4EF; color: #C3A46F;
  display: grid; place-items: center; margin-bottom: 14px;
}
.feature svg { width: 24px; height: 24px; stroke: #C3A46F; }
.section-dark .feature, .section-slate .feature {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff;
}
.section-dark .feature .ic-wrap, .section-slate .feature .ic-wrap { background: rgba(195,164,111,.14); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #243447 0%, #162235 100%);
  color: #fff;
  padding: 48px;
  border-radius: 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  border: 1px solid rgba(195,164,111,.2);
}
.cta-banner h3 { color: #fff; margin: 0 0 6px; }
.cta-banner p { color: rgba(255,255,255,.8); margin: 0; }
@media (max-width: 720px) {
  .cta-banner { grid-template-columns: 1fr; padding: 28px; text-align: center; }
}

/* Map embed */
.map-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(22,34,53,.12);
  box-shadow: 0 18px 40px rgba(22,34,53,.12);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ============================== FORM ============================== */
.feedback-form-container {
  background: #fff;
  color: #1E293B;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 22px 50px rgba(0,0,0,.16);
}
.feedback-form-container h3 {
  margin: 0 0 16px; font-size: 1.5rem;
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .form-group { margin-bottom: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d8d8d4;
  background: #fbfaf6;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: #1E293B;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #C3A46F;
  box-shadow: 0 0 0 3px rgba(195,164,111,.18);
  background: #fff;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-submit { display: flex; justify-content: flex-end; }
.submit-btn { /* reuse .btn styling */
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 30px; border-radius: 10px;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1rem;
  background: #C3A46F; color: #162235; border: 0; cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.submit-btn:hover { background: #AE9160; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
#form-success {
  background: #F6F4EF; padding: 20px; border-radius: 10px; text-align: center;
  color: #162235; font-weight: 500; border: 1px solid rgba(195,164,111,.3);
}
@media (max-width: 560px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ============================== STICKY QUOTE BTN + MODAL ============================== */
.sticky-quote-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 180;
  background: #C3A46F;
  color: #162235;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 22px;
  border-radius: 50px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(195,164,111,.45);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s ease, transform .2s ease;
}
.sticky-quote-btn:hover { background: #AE9160; transform: translateY(-2px); }
.sticky-quote-btn svg { width: 18px; height: 18px; stroke: #162235; }
@media (max-width: 720px) {
  .sticky-quote-btn { right: 50%; transform: translateX(50%); bottom: 18px; }
  .sticky-quote-btn:hover { transform: translateX(50%) translateY(-2px); }
}

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8,14,24,.72);
  display: none;
  z-index: 300;
  padding: 24px;
  overflow-y: auto;
  align-items: flex-start; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-window {
  background: #fff; border-radius: 16px; max-width: 640px; width: 100%; margin: 40px auto;
  position: relative; padding: 8px;
  animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 38px; height: 38px;
  background: #F6F4EF; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; z-index: 2;
}
.modal-close svg { width: 18px; height: 18px; stroke: #162235; }

/* ============================== FOOTER ============================== */
.site-footer {
  background: #0e1828; color: #cdd5e0; padding: 60px 0 24px;
}
.site-footer h4 { color: #fff; font-size: 1.05rem; margin: 0 0 14px; }
.footer-grid {
  display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #cdd5e0; }
.site-footer a:hover { color: #C3A46F; }
.footer-brand p { color: #9aa6b4; max-width: 36ch; margin-top: 6px; }
.footer-meta {
  margin-top: 36px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #9aa6b4; font-size: .9rem;
}
.footer-contact-list { display: grid; gap: 10px; }
.footer-contact-list span { display: inline-flex; align-items: flex-start; gap: 10px; }
.footer-contact-list svg { width: 18px; height: 18px; stroke: #C3A46F; flex: 0 0 18px; margin-top: 3px; }

/* Breadcrumbs */
.breadcrumbs { font-size: .9rem; color: #6b7686; padding: 16px 0 0; }
.breadcrumbs a { color: #6b7686; }
.breadcrumbs a:hover { color: #162235; }
.breadcrumbs span + span::before { content: " / "; padding: 0 6px; color: #b3bcc7; }

/* Page header (interior pages) */
.page-header {
  background: #162235; color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-header h1 { color: #fff; }
.page-header p { color: rgba(255,255,255,.8); max-width: 64ch; }
.page-header.with-image {
  display: grid; align-items: center;
}
.page-header .ph-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.page-header .ph-img {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 22px 50px rgba(0,0,0,.4);
}
.page-header .ph-img img { width: 100%; height: 360px; object-fit: cover; }
@media (max-width: 880px) {
  .page-header .ph-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-header .ph-img img { height: 240px; }
}

/* FAQ accordion-like list */
.faq-item {
  background: #fff; border-radius: 12px; padding: 22px 26px;
  border: 1px solid rgba(22,34,53,.08); margin-bottom: 14px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.18rem; }
.faq-item p { margin: 0; color: #475569; }

/* Areas/grid lists */
.chip-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); list-style: none; padding: 0; margin: 0; }
.chip-grid li { background: #fff; border-radius: 10px; padding: 12px 16px; border: 1px solid rgba(22,34,53,.08); font-weight: 500; }
.chip-grid a { color: #162235; }
.chip-grid a:hover { color: #C3A46F; }

/* Helpers */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; }
.gold { color: #C3A46F; }
.muted { color: #6b7686; }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #C3A46F; font-weight: 600; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
