/* ==========================================================================
   Refresh Home Decors — Main Stylesheet
   ========================================================================== */

:root {
  --clr-primary: #14452f;
  --clr-primary-dark: #0d3122;
  --clr-primary-soft: #e7f0ea;
  --clr-accent: #e07a3f;
  --clr-accent-dark: #c96228;
  --clr-accent-soft: #fdeee3;
  --clr-gold: #d9a441;
  --clr-ink: #22302a;
  --clr-muted: #5f6f66;
  --clr-cream: #faf7f1;
  --clr-white: #ffffff;
  --clr-line: #e4ded2;
  --shadow-sm: 0 2px 10px rgba(20, 69, 47, .08);
  --shadow-md: 0 10px 30px rgba(20, 69, 47, .12);
  --shadow-lg: 0 22px 50px rgba(20, 69, 47, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-ink);
  background: var(--clr-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--clr-accent-dark); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--clr-primary); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--clr-primary-dark);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

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

/* ---------- Bootstrap-grid fallback (offline-safe) ----------
   Mirrors the Bootstrap 5 classes used on this site so the layout
   still renders in restricted environments where the CDN is blocked. */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.row > [class*="col"] { padding-left: 15px; padding-right: 15px; width: 100%; }
.col { flex: 1 0 0%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 576px) {
  .col-sm-6  { flex: 0 0 50%;  max-width: 50%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 768px) {
  .col-md-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-md-6  { flex: 0 0 50%;      max-width: 50%; }
  .col-md-7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-md-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-md-12 { flex: 0 0 100%;     max-width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-3  { flex: 0 0 25%;      max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .col-lg-6  { flex: 0 0 50%;      max-width: 50%; }
  .col-lg-7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .col-lg-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-lg-12 { flex: 0 0 100%;     max-width: 100%; }
}
@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* ---------- Utility helpers ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.gap-4 { gap: 1.5rem; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

.section { padding: 84px 0; position: relative; }
.section-tight { padding: 56px 0; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-accent-dark);
  background: var(--clr-accent-soft);
  border: 1px solid rgba(224, 122, 63, .25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-accent);
}

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-sub { color: var(--clr-muted); font-size: 1.02rem; }

.bg-white-sec { background: var(--clr-white); }
.bg-soft { background: linear-gradient(180deg, #f3efe6 0%, var(--clr-cream) 100%); }
.bg-deep {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(217,164,65,.14), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(224,122,63,.16), transparent 55%),
    linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 60%, #1c5a3e 100%);
  color: #eef4ef;
}
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep .section-sub { color: rgba(238,244,239,.82); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(224, 122, 63, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(224, 122, 63, .45); }

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn-outline:hover { background: var(--clr-primary); color: #fff; }

.btn-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn-light:hover { background: #fff; color: var(--clr-primary); border-color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--clr-accent-dark);
  border-color: rgba(224,122,63,.4);
}
.btn-ghost:hover { background: var(--clr-accent-soft); color: var(--clr-accent-dark); }

.btn-sm { padding: 11px 22px; font-size: .84rem; }
.btn-block { width: 100%; }

/* ---------- Header / Navbar ---------- */
.topbar {
  background: var(--clr-primary-dark);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--clr-gold); }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; margin-left: 18px; }
.topbar-item svg { width: 14px; height: 14px; stroke: var(--clr-gold); }
.topbar-left { display: inline-flex; align-items: center; gap: 6px; }
.topbar-left svg { width: 14px; height: 14px; stroke: var(--clr-gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, #1f6b49 60%, var(--clr-gold) 130%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.brand-mark svg { width: 25px; height: 25px; stroke: #fff; fill: none; }
.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--clr-primary-dark);
  display: block;
}
.brand-name em { font-style: normal; color: var(--clr-accent-dark); }
.brand-tag { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--clr-muted); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 10px 14px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--clr-ink);
  border-radius: 8px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.main-nav a:hover { color: var(--clr-primary); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--clr-primary); font-weight: 600; }

.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--clr-line);
  border-radius: 10px;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--clr-primary); }

@media (max-width: 991px) {
  .topbar-item.hide-sm { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--clr-line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 10px; border-bottom: 1px solid #f1ece1; border-radius: 0; }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--clr-accent-dark); }
  .nav-cta { margin: 16px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 80% 20%, rgba(217,164,65,.18), transparent 60%),
    linear-gradient(100deg, rgba(10, 38, 25, .92) 0%, rgba(13, 49, 34, .78) 46%, rgba(13, 49, 34, .35) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(217,164,65,.4);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 680px;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--clr-gold); font-style: italic; }
.hero-sub {
  max-width: 560px;
  color: rgba(255,255,255,.88);
  font-size: 1.06rem;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 30px; color: rgba(255,255,255,.85);
  font-size: .88rem;
}
.hero-note svg { width: 18px; height: 18px; stroke: var(--clr-gold); flex: 0 0 auto; }

.hero-scroll {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll span.line {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% {opacity:.4} 50% {opacity:1} }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  padding: 78px 0 66px;
  color: #fff;
  overflow: hidden;
}
.page-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-banner-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,38,25,.93), rgba(13,49,34,.72) 55%, rgba(13,49,34,.4));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 10px; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 640px; margin-bottom: 0; }
.breadcrumb-trail {
  display: flex; gap: 8px; align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
}
.breadcrumb-trail a { color: var(--clr-gold); }
.breadcrumb-trail a:hover { color: #fff; }

/* ---------- Cards (generic) ---------- */
.card-plain {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card-plain:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224,122,63,.35);
}

/* ---------- Service cards ---------- */
.service-card .card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.service-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .card-img img { transform: scale(1.08); }
.service-card .card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,49,34,.55) 100%);
}
.service-card .svc-icon {
  position: absolute;
  right: 16px; bottom: -24px;
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(224,122,63,.4);
  border: 3px solid #fff;
}
.service-card .svc-icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; }
.service-card .card-body {
  padding: 34px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.service-card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--clr-muted); flex: 1 1 auto; margin-bottom: 18px; }
.service-card .btn { align-self: flex-start; }

/* Row spacing helper for card grids */
.grid-gap > [class*="col"] { margin-bottom: 30px; }

/* ---------- Feature / why-us tiles ---------- */
.feature-tile {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 15px;
  background: var(--clr-primary-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 27px; height: 27px; stroke: var(--clr-primary); fill: none; }
.feature-tile.alt .feature-icon { background: var(--clr-accent-soft); }
.feature-tile.alt .feature-icon svg { stroke: var(--clr-accent-dark); }
.feature-tile h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-tile p { font-size: .89rem; color: var(--clr-muted); margin-bottom: 0; }

/* ---------- Split content (image + text) ---------- */
.split-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: calc(var(--radius) - 6px);
  z-index: 2;
  pointer-events: none;
}
.split-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 3;
  background: rgba(255,255,255,.95);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
}
.split-badge svg { width: 26px; height: 26px; stroke: var(--clr-accent-dark); fill: none; }
.split-badge strong { display: block; font-size: .9rem; color: var(--clr-primary-dark); line-height: 1.3; }
.split-badge span { font-size: .75rem; color: var(--clr-muted); }

.check-list { list-style: none; margin: 0 0 26px; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-size: .95rem;
  color: var(--clr-ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--clr-primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314452f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Process ---------- */
.process-step {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 30px 24px;
  height: 100%;
  transition: background .3s ease, transform .3s ease;
}
.process-step:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); }
.process-step .step-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-accent));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.process-step .step-icon svg { width: 25px; height: 25px; stroke: #fff; fill: none; }
.process-step h3 { font-size: 1.08rem; color: #fff; margin-bottom: 8px; }
.process-step p { font-size: .88rem; color: rgba(238,244,239,.78); margin-bottom: 0; }

/* ---------- Blog cards ---------- */
.blog-card .card-img { height: 220px; overflow: hidden; position: relative; }
.blog-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .card-img img { transform: scale(1.07); }
.blog-cat {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(255,255,255,.95);
  color: var(--clr-primary-dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
}
.blog-card .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.blog-card h3 a { color: var(--clr-primary-dark); }
.blog-card h3 a:hover { color: var(--clr-accent-dark); }
.blog-card p { font-size: .89rem; color: var(--clr-muted); flex: 1 1 auto; }
.read-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600;
  color: var(--clr-accent-dark);
}
.read-link svg { width: 16px; height: 16px; transition: transform .3s ease; }
.read-link:hover svg { transform: translateX(5px); }

.blog-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: .8rem; color: var(--clr-muted);
  margin-bottom: 12px;
}
.blog-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--clr-accent); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 58px 44px;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(217,164,65,.25), transparent 60%),
    linear-gradient(120deg, var(--clr-primary-dark), var(--clr-primary) 55%, #1e6244);
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.cta-band .cta-decor {
  position: absolute;
  right: -60px; bottom: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.06);
  pointer-events: none;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-primary-dark);
  margin-bottom: 7px;
  letter-spacing: .02em;
}
.form-control, .form-select, textarea.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--clr-ink);
  background: var(--clr-cream);
  border: 1.5px solid var(--clr-line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  appearance: none;
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--clr-accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(224,122,63,.14);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6f66' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}
textarea.form-control { resize: vertical; min-height: 130px; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .9rem; color: var(--clr-ink); }
.form-check input[type="checkbox"], .form-check input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--clr-accent);
  margin-top: 3px;
  flex: 0 0 auto;
}

.form-alert {
  display: none;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .9rem;
  margin-bottom: 18px;
  border: 1px solid;
}
.form-alert.success {
  display: block;
  background: var(--clr-primary-soft);
  border-color: rgba(20,69,47,.25);
  color: var(--clr-primary-dark);
}
.form-alert.error {
  display: block;
  background: #fdecec;
  border-color: #f0b9b9;
  color: #93261f;
}

/* Newsletter inline form */
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form .form-control { margin-bottom: 0; flex: 1 1 220px; background: #fff; }

/* ---------- Contact info tiles ---------- */
.contact-tile {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-tile .tile-icon {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary-soft), #d7e6dc);
  display: flex; align-items: center; justify-content: center;
}
.contact-tile .tile-icon svg { width: 26px; height: 26px; stroke: var(--clr-primary); fill: none; }
.contact-tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-tile p, .contact-tile a { font-size: .9rem; color: var(--clr-muted); margin-bottom: 0; word-break: break-word; }
.contact-tile a:hover { color: var(--clr-accent-dark); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-line);
  box-shadow: var(--shadow-md);
  background: #eef2ee;
  height: 420px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Article (blog post) ---------- */
.article-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
}
.article-content { max-width: 800px; margin: 0 auto; }
.article-content h2 { font-size: 1.55rem; margin-top: 42px; }
.article-content h3 { font-size: 1.2rem; margin-top: 30px; }
.article-content p { color: #3a4741; }
.article-content ul { padding-left: 0; list-style: none; }
.article-content ul li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #3a4741; }
.article-content ul li::before {
  content: "";
  position: absolute; left: 4px; top: 11px;
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--clr-accent);
  transform: rotate(45deg);
}
.pull-quote {
  border-left: 4px solid var(--clr-accent);
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 26px;
  margin: 30px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--clr-primary-dark);
  box-shadow: var(--shadow-sm);
}
.tip-box {
  background: var(--clr-primary-soft);
  border: 1px solid rgba(20,69,47,.15);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 26px 0;
  font-size: .93rem;
  color: var(--clr-primary-dark);
}
.tip-box strong { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 34px 0; }
.tag-pill {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--clr-primary);
  background: #fff;
  border: 1px solid var(--clr-line);
  padding: 6px 15px;
  border-radius: 50px;
}
.article-nav {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--clr-line);
  padding-top: 28px;
  margin-top: 40px;
}
.article-nav a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.article-nav svg { width: 16px; height: 16px; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 40px; padding-bottom: 10px; border-bottom: 1px solid var(--clr-line); }
.legal-content h3 { font-size: 1.08rem; margin-top: 24px; }
.legal-content p, .legal-content li { color: #3a4741; font-size: .95rem; }
.legal-content ul { padding-left: 22px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-note {
  background: var(--clr-accent-soft);
  border: 1px solid rgba(224,122,63,.3);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: .9rem;
  margin-bottom: 30px;
}

/* ---------- Newsletter pages ---------- */
.nl-hero-icon {
  width: 76px; height: 76px;
  border-radius: 22px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--clr-primary), #1f6b49);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.nl-hero-icon svg { width: 36px; height: 36px; stroke: #fff; fill: none; }
.nl-hero-icon.warn { background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark)); }
.nl-perk {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  height: 100%;
}
.nl-perk svg { width: 22px; height: 22px; stroke: var(--clr-accent-dark); fill: none; flex: 0 0 auto; margin-top: 2px; }
.nl-perk strong { display: block; font-size: .92rem; color: var(--clr-primary-dark); }
.nl-perk span { font-size: .82rem; color: var(--clr-muted); }

/* ---------- Testimonial-style quote ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 30px 28px;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.quote-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--clr-accent);
  opacity: .35;
  position: absolute;
  top: 12px; left: 20px;
}
.quote-card p { font-size: .93rem; color: var(--clr-ink); font-style: italic; position: relative; z-index: 1; margin-bottom: 16px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-gold));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: .95rem;
}
.quote-who strong { display: block; font-size: .9rem; color: var(--clr-primary-dark); }
.quote-who span { font-size: .78rem; color: var(--clr-muted); }
.stars { color: var(--clr-gold); letter-spacing: 3px; font-size: .85rem; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0d3122 0%, #092417 100%);
  color: rgba(238,244,239,.8);
  padding-top: 70px;
  font-size: .9rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  border-radius: 2px;
  background: var(--clr-gold);
}
.footer-brand p { color: rgba(238,244,239,.7); font-size: .88rem; max-width: 320px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: rgba(238,244,239,.55); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  color: rgba(238,244,239,.78);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem;
}
.footer-links a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(217,164,65,.7);
  transition: transform .25s ease;
}
.footer-links a:hover { color: var(--clr-gold); }
.footer-links a:hover::before { transform: scale(1.5); }
.footer-contact { list-style: none; margin: 0 0 20px; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--clr-gold); fill: none; flex: 0 0 auto; margin-top: 3px; }
.footer-contact a { color: rgba(238,244,239,.8); }
.footer-contact a:hover { color: var(--clr-gold); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.social-row a svg { width: 17px; height: 17px; stroke: rgba(255,255,255,.85); fill: none; }
.social-row a:hover { background: var(--clr-gold); border-color: var(--clr-gold); transform: translateY(-3px); }
.social-row a:hover svg { stroke: var(--clr-primary-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 50px;
  padding: 22px 0;
  font-size: .8rem;
  color: rgba(238,244,239,.6);
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(238,244,239,.75); }
.footer-bottom a:hover { color: var(--clr-gold); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(224,122,63,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .35s ease;
  z-index: 1040;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 20px; height: 20px; stroke: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 26px; }
  .hero { min-height: 540px; }
  .form-card { padding: 28px 22px; }
  .topbar .container { justify-content: center; }
}
