/* ==========================================================================
   Home Modern Hub — Main Stylesheet
   Contents: 1. Reset  2. Tokens  3. Base  4. Utilities  5. Buttons
             6. Topbar/Header/Nav  7. Hero  8. Sections  9. Cards
             10. Services  11. Process  12. Testimonials  13. FAQ
             14. Forms  15. Blog  16. Footer  17. Animations  18. Responsive
   ========================================================================== */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, ol, li,
form, label, input, textarea, select, button, table, tbody, tr, td,
th, article, aside, footer, header, nav, section, main, figure, figcaption,
blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  --navy: #0c3128;
  --navy-2: #124335;
  --green: #1f7a5c;
  --green-soft: #e6f2ec;
  --clay: #c2703f;
  --clay-dark: #a35a2e;
  --sand: #f6f1e8;
  --sand-2: #efe7d9;
  --ink: #17241f;
  --muted: #5b6b65;
  --line: #e2e0da;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(12, 49, 40, .07);
  --shadow-md: 0 12px 30px rgba(12, 49, 40, .10);
  --shadow-lg: 0 24px 60px rgba(12, 49, 40, .16);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --maxw: 1180px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- 3. Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
  letter-spacing: -.01em;
}

h1 { font-size: 2.7rem; }
h2 { font-size: 2.05rem; }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; color: var(--muted); }
strong { color: var(--navy); }

::selection { background: var(--clay); color: #fff; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- 4. Utilities ---------- */
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  background: rgba(194, 112, 63, .1);
  border: 1px solid rgba(194, 112, 63, .25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--sand { background: var(--sand); }
.section--green { background: var(--navy); }
.section--green h2,
.section--green h3,
.section--green h4 { color: #fff; }
.section--green p { color: rgba(255, 255, 255, .76); }
.section--green .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #f0c9a8; }

.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

.list-tick li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.list-tick li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a5c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.list-tick strong { display: inline; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 100px; font-weight: 650; font-size: .95rem;
  cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  border: 1.5px solid transparent; text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--clay); color: #fff; box-shadow: 0 10px 24px rgba(194,112,63,.3); }
.btn--primary:hover { background: var(--clay-dark); }
.btn--outline { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn--outline:hover { background: rgba(255,255,255,.12); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--navy); background: var(--sand); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(31,122,92,.26); }
.btn--green:hover { background: var(--navy-2); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: .86rem; }
.btn svg { width: 17px; height: 17px; flex: none; }

.link-arrow { color: var(--green); font-weight: 650; display: inline-flex; align-items: center; gap: 7px; font-size: .93rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .22s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Topbar / Header / Nav ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  padding: 9px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.topbar-list { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-list a, .topbar-list span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-list svg { width: 14px; height: 14px; stroke: #f0c9a8; flex: none; }
.topbar-list a:hover { color: #fff; }
.topbar-cta { color: #f0c9a8; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }

.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { line-height: 1.05; }
.brand-text b { display: block; font-size: 1.06rem; color: var(--navy); letter-spacing: -.02em; }
.brand-text span { font-size: .63rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav a.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 14px; border-radius: 8px; font-weight: 600; font-size: .93rem; color: var(--navy);
  transition: background .2s ease, color .2s ease;
}
.nav a.nav-link:hover { background: var(--sand); color: var(--green); }
.nav a.nav-link.is-active { color: var(--clay); }
.nav a.nav-link .caret { width: 12px; height: 12px; transition: transform .2s ease; }
.nav > li:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav > li:hover .dropdown,
.nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px;
  border-radius: 9px; font-size: .88rem; color: var(--ink); font-weight: 550;
}
.dropdown a:hover { background: var(--sand); }
.dropdown a .dd-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--green-soft); display: grid; place-items: center; flex: none; }
.dropdown a .dd-ico svg { width: 17px; height: 17px; stroke: var(--green); }

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

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--sand); cursor: pointer; border: 1px solid var(--line);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px auto; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #0c3128 0%, #144436 55%, #1b5c46 100%); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 420px at 88% 12%, rgba(194,112,63,.28), transparent 65%),
              radial-gradient(520px 380px at 8% 92%, rgba(255,255,255,.09), transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; padding: 78px 0 84px; }
.hero h1 { color: #fff; font-size: 3.05rem; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #f0c9a8; }
.hero p.lead { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-points li { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.86); font-size: .89rem; font-weight: 550; }
.hero-points svg { width: 19px; height: 19px; stroke: #f0c9a8; flex: none; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg); background: #0f3b2e;
}
.hero-media .frame img { width: 100%; height: auto; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: var(--r-md);
  padding: 15px 20px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 13px; max-width: 250px;
}
.hero-badge .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--green-soft); display: grid; place-items: center; flex: none; }
.hero-badge .ico svg { width: 22px; height: 22px; stroke: var(--green); }
.hero-badge b { display: block; color: var(--navy); font-size: .93rem; line-height: 1.3; }
.hero-badge span { font-size: .78rem; color: var(--muted); }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; flex: none; }
.trust-item .ico svg { width: 22px; height: 22px; stroke: var(--clay); }
.trust-item b { display: block; font-size: .92rem; color: var(--navy); }
.trust-item span { font-size: .8rem; color: var(--muted); }

/* ---------- 8. Page header (inner pages) ---------- */
.page-head {
  background: linear-gradient(115deg, #0c3128 0%, #17503d 100%);
  padding: 58px 0 62px; color: #fff; position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 300px at 84% 0%, rgba(194,112,63,.3), transparent 62%);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; font-size: 2.5rem; margin-bottom: 12px; }
.page-head p { color: rgba(255,255,255,.78); max-width: 700px; margin-bottom: 0; }
.breadcrumb { display: flex; gap: 9px; align-items: center; font-size: .82rem; color: rgba(255,255,255,.62); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #f0c9a8; }
.breadcrumb svg { width: 13px; height: 13px; stroke: rgba(255,255,255,.4); }

/* ---------- 9. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(31,122,92,.32); }
.card .ico {
  width: 54px; height: 54px; border-radius: 15px; background: var(--green-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .ico svg { width: 27px; height: 27px; stroke: var(--green); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .93rem; margin-bottom: 16px; }
.card--clay .ico { background: rgba(194,112,63,.12); }
.card--clay .ico svg { stroke: var(--clay); }

.mini-list { display: grid; gap: 14px; }
.mini-list .row { display: flex; gap: 14px; align-items: flex-start; }
.mini-list .row .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; flex: none; }
.mini-list .row .ico svg { width: 20px; height: 20px; stroke: var(--clay); }
.mini-list .row h4 { margin-bottom: 3px; }
.mini-list .row p { margin: 0; font-size: .88rem; }

.quote-block {
  background: var(--sand); border-left: 4px solid var(--clay); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 26px 28px; margin: 30px 0;
}
.quote-block p { font-size: 1.02rem; color: var(--navy); font-style: italic; margin: 0; }

/* ---------- 10. Services ---------- */
.svc-card { position: relative; overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.svc-card .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--sand-2); }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .thumb img { transform: scale(1.06); }
.svc-card .thumb .tag {
  position: absolute; left: 14px; bottom: 14px; background: rgba(12,49,40,.86); color: #fff;
  font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(4px);
}
.svc-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.14rem; margin-bottom: 9px; }
.svc-card p { font-size: .9rem; margin-bottom: 16px; }
.svc-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.svc-list-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  font-size: .8rem; font-weight: 600; color: var(--navy); background: #fff;
  border: 1px solid var(--line); padding: 7px 14px; border-radius: 100px; transition: all .2s ease;
}
.chip:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }

.svc-detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 66px 0; }
.svc-detail-hero img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.svc-included { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 8px; }
.svc-included .box { background: var(--sand); border-radius: var(--r-md); padding: 20px 22px; }
.svc-included .box h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; font-size: .97rem; }
.svc-included .box h4 svg { width: 18px; height: 18px; stroke: var(--green); flex: none; }
.svc-included .box p { font-size: .86rem; margin: 0; }

/* ---------- 11. Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 26px 24px; }
.step::before {
  counter-increment: step; content: "Step " counter(step);
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #f0c9a8; font-weight: 700; display: block; margin-bottom: 10px;
}
.step h4 { color: #fff; margin-bottom: 8px; }
.step p { font-size: .87rem; margin: 0; }

/* ---------- 12. Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-slide { flex: 0 0 100%; padding: 0 6px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: center;
}
.testi .who { text-align: center; }
.testi .who img { border-radius: 50%; margin: 0 auto 12px; width: 88px; height: 88px; object-fit: cover; border: 3px solid var(--sand-2); }
.testi .who b { display: block; color: var(--navy); font-size: .95rem; }
.testi .who span { font-size: .78rem; color: var(--muted); }
.testi blockquote { font-size: 1rem; color: var(--ink); line-height: 1.75; margin-bottom: 14px; position: relative; }
.testi .stars { display: flex; gap: 4px; }
.testi .stars svg { width: 17px; height: 17px; fill: #e8a33d; stroke: none; }
.testi-nav { display: flex; gap: 10px; justify-content: center; margin-top: 26px; align-items: center; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; padding: 0; transition: all .2s ease; }
.testi-dot.is-active { background: var(--clay); width: 26px; border-radius: 100px; }
.testi-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: all .2s ease; }
.testi-btn:hover { border-color: var(--navy); background: var(--sand); }
.testi-btn svg { width: 17px; height: 17px; stroke: var(--navy); }

/* ---------- 13. FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-weight: 650; color: var(--navy); font-size: 1rem; font-family: inherit;
}
.faq-q .sign { width: 26px; height: 26px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; flex: none; position: relative; }
.faq-q .sign::before, .faq-q .sign::after { content: ""; position: absolute; background: var(--navy); border-radius: 2px; transition: transform .25s ease; }
.faq-q .sign::before { width: 11px; height: 2px; }
.faq-q .sign::after { width: 2px; height: 11px; }
.faq-item.is-open .faq-q .sign::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q { background: var(--sand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; margin: 0; font-size: .93rem; }

/* ---------- 14. Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: .92rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; font-size: .88rem; color: var(--navy); margin-bottom: 7px; }
.field label .req { color: var(--clay); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .93rem; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,122,92,.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; }
.field .err { display: none; color: #c0392b; font-size: .78rem; margin-top: 6px; }
.field.has-error .err { display: block; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; cursor: pointer; }
.check input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--green); flex: none; cursor: pointer; }
.check span { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.check span a { color: var(--green); text-decoration: underline; }

.form-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.form-status {
  display: none; margin-top: 18px; padding: 15px 18px; border-radius: var(--r-md);
  font-size: .9rem; border: 1px solid transparent;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: var(--green-soft); border-color: rgba(31,122,92,.3); color: var(--navy); }
.form-status.is-bad { background: #fdecea; border-color: #f5c6c0; color: #922b21; }

.contact-panel { display: grid; gap: 16px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.contact-row .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--green-soft); display: grid; place-items: center; flex: none; }
.contact-row .ico svg { width: 22px; height: 22px; stroke: var(--green); }
.contact-row h4 { margin-bottom: 4px; }
.contact-row p { margin: 0; font-size: .9rem; }
.contact-row a { color: var(--green); font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }

.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

.newsletter-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.benefits { display: grid; gap: 14px; margin-top: 8px; }

/* ---------- 15. Blog ---------- */
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sand-2); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .77rem; color: var(--muted); margin-bottom: 12px; align-items: center; }
.blog-meta .cat { color: var(--clay); font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta svg { width: 14px; height: 14px; stroke: var(--muted); }
.blog-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.blog-card h3 a:hover { color: var(--green); }
.blog-card p { font-size: .9rem; }
.blog-card .foot { margin-top: auto; padding-top: 8px; }

.post-hero { background: linear-gradient(115deg, #0c3128, #17503d); color: #fff; padding: 54px 0; }
.post-hero .container { max-width: 900px; }
.post-hero h1 { color: #fff; font-size: 2.35rem; margin-bottom: 16px; }
.post-hero .blog-meta { color: rgba(255,255,255,.7); }
.post-hero .blog-meta svg { stroke: rgba(255,255,255,.6); }
.post-hero .blog-meta .cat { color: #f0c9a8; }

.post-wrap { max-width: 900px; margin: 0 auto; padding: 54px 22px 20px; }
.post-cover { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 38px; }
.article-body { font-size: 1.02rem; }
.article-body p { color: #33413b; margin-bottom: 22px; line-height: 1.82; }
.article-body h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.article-body h3 { font-size: 1.18rem; margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body ul { list-style: none; }
.article-body ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: #33413b; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.article-body ol { list-style: decimal; color: #33413b; }
.article-body ol li { margin-bottom: 10px; padding-left: 6px; }
.article-body .pull { background: var(--sand); border-left: 4px solid var(--green); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 22px 26px; margin: 28px 0; }
.article-body .pull p { margin: 0; color: var(--navy); font-weight: 600; }
.article-body figure { margin: 30px 0; }
.article-body figure img { border-radius: var(--r-md); }
.article-body figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }

.post-foot { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

.related { padding: 60px 0 80px; background: var(--sand); }

.sidebar-newsletter { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 32px; }
.sidebar-newsletter h3 { color: #fff; margin-bottom: 8px; }
.sidebar-newsletter p { color: rgba(255,255,255,.74); font-size: .89rem; }
.sidebar-newsletter .btn { margin-top: 8px; }

/* ---------- 16. CTA band + Footer ---------- */
.cta-band { background: linear-gradient(115deg, #12433a, #1f7a5c); color: #fff; border-radius: var(--r-lg); padding: 52px 54px; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 70px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer a:hover { color: #f0c9a8; }
.footer .brand-text b { color: #fff; }
.footer p { color: rgba(255,255,255,.66); font-size: .88rem; }
.footer .f-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer .f-contact svg { width: 16px; height: 16px; stroke: #f0c9a8; margin-top: 4px; flex: none; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s ease; }
.social a:hover { background: var(--clay); }
.social svg { width: 17px; height: 17px; fill: #fff; stroke: none; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer-bar ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 17. Animations / misc ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

#backToTop {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--clay); border: none; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all .25s ease; z-index: 80;
}
#backToTop.is-visible { opacity: 1; visibility: visible; }
#backToTop svg { width: 19px; height: 19px; stroke: #fff; }

.prose { max-width: 860px; }
.prose h2 { font-size: 1.45rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 20px; }
.prose a { color: var(--green); text-decoration: underline; }
.toc { background: var(--sand); border-radius: var(--r-md); padding: 22px 26px; margin-bottom: 30px; }
.toc h4 { margin-bottom: 10px; }
.toc ol { list-style: decimal; padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: .9rem; }
.toc a { color: var(--green); }

.policy-updated { font-size: .82rem; color: var(--muted); font-style: italic; margin-bottom: 22px; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(340px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 84px 22px 30px; box-shadow: var(--shadow-lg); overflow-y: auto;
    transition: right .3s ease; z-index: 95;
  }
  .nav.is-open { right: 0; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .nav a.nav-link { width: 100%; justify-content: space-between; padding: 15px 6px; font-size: 1rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-radius: 0; padding: 0 0 10px 10px; min-width: 0; display: none;
  }
  .nav > li.is-open .dropdown { display: block; }
  .nav > li:hover .caret { transform: none; }
  .nav > li.is-open .caret { transform: rotate(180deg); }
  .header-cta .btn { display: none; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(12,49,40,.5); opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 92; }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }

  .hero-grid, .split, .newsletter-hero, .svc-detail-hero { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-top: 10px; }
  .hero-grid { padding: 54px 0 60px; }
  .hero-badge { left: 12px; bottom: -18px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .testi { grid-template-columns: 1fr; text-align: center; }
  .testi .stars { justify-content: center; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.7rem; }
  .section { padding: 62px 0; }
  .cta-band { padding: 38px 30px; }
  .page-head h1 { font-size: 2rem; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4, .steps, .svc-included, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .topbar-list { gap: 14px; font-size: .76rem; }
  .hero h1 { font-size: 1.95rem; }
  .form-card { padding: 24px; }
  .post-hero h1 { font-size: 1.75rem; }
  .cta-band { text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Photo handling (real imagery) ---------- */
.hero-media .frame img { aspect-ratio: 10/7; object-fit: cover; }
.split img, .svc-detail-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.post-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article-body figure img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
