/* ============================================================
   Home Transform Zone — custom theme over Bootstrap 5
   ============================================================ */

:root {
  --htz-ink: #1d2429;
  --htz-ink-2: #2b353d;
  --htz-deep: #12181c;
  --htz-paper: #faf6f0;
  --htz-card: #fffdf9;
  --htz-accent: #c75b2a;
  --htz-accent-dark: #a84a20;
  --htz-brass: #e0a458;
  --htz-sage: #5f7d6b;
  --htz-line: rgba(29, 36, 41, 0.12);
  --htz-serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --htz-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --htz-radius: 16px;
  --htz-shadow: 0 18px 45px -18px rgba(18, 24, 28, 0.28);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--htz-sans);
  background: var(--htz-paper);
  color: var(--htz-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display { font-family: var(--htz-serif); font-weight: 700; letter-spacing: -0.01em; }

a { color: var(--htz-accent); }
a:hover { color: var(--htz-accent-dark); }

::selection { background: var(--htz-brass); color: var(--htz-deep); }

/* ---------- Navbar ---------- */
.htz-navbar {
  background: rgba(18, 24, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(224, 164, 88, 0.18);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.htz-navbar .navbar-brand { color: #fff; font-family: var(--htz-serif); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 0.6rem; }
.htz-navbar .navbar-brand .brand-mark { width: 38px; height: 38px; flex: 0 0 auto; }
.htz-navbar .navbar-brand small { display: block; font-family: var(--htz-sans); font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--htz-brass); font-weight: 600; line-height: 1; }
.htz-navbar .nav-link { color: rgba(250, 246, 240, 0.82); font-weight: 500; margin-inline: 0.35rem; position: relative; }
.htz-navbar .nav-link:hover, .htz-navbar .nav-link:focus { color: #fff; }
.htz-navbar .nav-link::after {
  content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.1rem; height: 2px;
  background: var(--htz-brass); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.htz-navbar .nav-link:hover::after, .htz-navbar .nav-link.active::after { transform: scaleX(1); }
.htz-navbar .nav-link.active { color: #fff; }
.htz-navbar .navbar-toggler { border-color: rgba(224, 164, 88, 0.5); }
.htz-navbar .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(224,164,88,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ---------- Buttons ---------- */
.btn-htz {
  background: var(--htz-accent); color: #fff; font-weight: 600;
  border: none; border-radius: 999px; padding: 0.65rem 1.6rem;
  box-shadow: 0 12px 26px -12px rgba(199, 91, 42, 0.65);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-htz:hover, .btn-htz:focus { background: var(--htz-accent-dark); color: #fff; transform: translateY(-2px); }
.btn-htz-outline {
  background: transparent; color: var(--htz-ink); font-weight: 600;
  border: 2px solid var(--htz-ink); border-radius: 999px; padding: 0.55rem 1.5rem;
  transition: all 0.2s ease;
}
.btn-htz-outline:hover { background: var(--htz-ink); color: var(--htz-paper); }
.btn-htz-light {
  background: transparent; color: #fff; font-weight: 600;
  border: 2px solid rgba(250, 246, 240, 0.65); border-radius: 999px; padding: 0.55rem 1.5rem;
  transition: all 0.2s ease;
}
.btn-htz-light:hover { background: #fff; color: var(--htz-ink); border-color: #fff; }
.btn-htz-sm { padding: 0.45rem 1.15rem; font-size: 0.875rem; }

/* ---------- Eyebrows / titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.72rem;
  font-weight: 700; color: var(--htz-accent);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--htz-brass); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.lead-htz { font-size: 1.08rem; color: #4c565e; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(52rem 30rem at 88% -10%, rgba(199, 91, 42, 0.34), transparent 60%),
    radial-gradient(40rem 26rem at -12% 110%, rgba(95, 125, 107, 0.32), transparent 60%),
    linear-gradient(160deg, #162026 0%, #12181c 55%, #1a2320 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3e%3cpath d='M14 12v4M12 14h4' stroke='rgba(224,164,88,0.16)' stroke-width='1.4' stroke-linecap='round'/%3e%3c/svg%3e");
}
.hero .container { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; }
.hero-title .accent { color: var(--htz-brass); font-style: italic; }
.hero-lead { color: rgba(250, 246, 240, 0.82); max-width: 34rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(224, 164, 88, 0.14); border: 1px solid rgba(224, 164, 88, 0.4);
  color: var(--htz-brass); border-radius: 999px; padding: 0.4rem 1rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}

/* Hero collage */
.hero-collage { position: relative; min-height: 430px; }
.hero-collage .snap {
  position: absolute; border-radius: 14px; overflow: hidden;
  border: 5px solid #fff; box-shadow: var(--htz-shadow);
  background: #fff;
}
.hero-collage .snap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-collage .snap-a { width: 62%; height: 66%; top: 4%; left: 2%; transform: rotate(-4deg); z-index: 2; }
.hero-collage .snap-b { width: 52%; height: 56%; bottom: 6%; right: 0; transform: rotate(3deg); z-index: 3; }
.hero-collage .snap-c { width: 34%; height: 34%; top: 0; right: 12%; transform: rotate(6deg); z-index: 1; }
.hero-collage .note-card {
  position: absolute; left: 8%; bottom: 0; z-index: 4;
  background: var(--htz-card); color: var(--htz-ink);
  border-radius: 14px; padding: 0.9rem 1.15rem; box-shadow: var(--htz-shadow);
  display: flex; gap: 0.7rem; align-items: center; transform: rotate(-2deg);
}
.hero-collage .note-card .bi { font-size: 1.5rem; color: var(--htz-accent); }
.hero-collage .note-card strong { font-family: var(--htz-serif); display: block; line-height: 1.2; }
.hero-collage .note-card span { font-size: 0.8rem; color: #6a747c; }

/* Page header (interior pages) */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(46rem 26rem at 100% -20%, rgba(199, 91, 42, 0.35), transparent 60%),
    linear-gradient(150deg, #162026, #12181c 70%);
}
.page-hero .breadcrumb a { color: var(--htz-brass); text-decoration: none; }
.page-hero .breadcrumb { --bs-breadcrumb-divider: "›"; }
.page-hero .breadcrumb .active { color: rgba(250, 246, 240, 0.7); }

/* ---------- Ribbon marquee ---------- */
.htz-ribbon {
  background: var(--htz-accent); color: #fff; overflow: hidden;
  padding: 0.7rem 0; border-block: 3px solid var(--htz-deep);
}
.htz-ribbon .track { display: flex; gap: 2.6rem; width: max-content; animation: ribbon-move 42s linear infinite; }
.htz-ribbon .track span { white-space: nowrap; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; display: inline-flex; align-items: center; gap: 2.6rem; }
.htz-ribbon .track i { font-style: normal; color: var(--htz-brass); }
@keyframes ribbon-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.htz-ribbon:hover .track { animation-play-state: paused; }

/* ---------- Service cards ---------- */
.svc-card {
  background: var(--htz-card); border-radius: var(--htz-radius); overflow: hidden;
  border: 1px solid var(--htz-line); height: 100%;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--htz-shadow); }
.svc-card .svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card .svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-card .svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,24,28,0.35), transparent 45%); }
.svc-card .svc-icon {
  position: absolute; left: 1.1rem; bottom: -1.35rem; z-index: 2;
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--htz-ink); color: var(--htz-brass); font-size: 1.35rem;
  border: 3px solid var(--htz-card); box-shadow: 0 10px 22px -10px rgba(18,24,28,0.5);
}
.svc-card .svc-body { padding: 2.1rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 0.55rem; }
.svc-card p { font-size: 0.92rem; color: #55606a; flex: 1; }
.svc-card .btn { align-self: flex-start; }

/* ---------- Feature chips ---------- */
.feature-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--htz-line); height: 100%; transition: border-color .2s ease, transform .2s ease; }
.feature-item:hover { border-color: var(--htz-brass); transform: translateY(-3px); }
.feature-item .fi-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(199,91,42,0.1); color: var(--htz-accent); font-size: 1.25rem; }
.feature-item h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.feature-item p { font-size: 0.88rem; color: #55606a; margin: 0; }

/* ---------- Blog cards ---------- */
.blog-card { background: var(--htz-card); border-radius: var(--htz-radius); overflow: hidden; border: 1px solid var(--htz-line); height: 100%; display: flex; flex-direction: column; transition: transform .28s ease, box-shadow .28s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--htz-shadow); }
.blog-card .bc-media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.blog-card .bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .bc-media img { transform: scale(1.05); }
.blog-card .bc-tag { position: absolute; top: 0.9rem; left: 0.9rem; background: var(--htz-deep); color: var(--htz-brass); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.32rem 0.8rem; border-radius: 999px; }
.blog-card .bc-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.18rem; }
.blog-card h3 a { color: var(--htz-ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--htz-accent); }
.blog-card p { font-size: 0.9rem; color: #55606a; flex: 1; }
.blog-card .bc-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.blog-card .bc-link i { transition: transform .2s ease; }
.blog-card .bc-link:hover i { transform: translateX(4px); }

/* Blog article body */
.article-body { font-size: 1.02rem; }
.article-body h2 { font-size: 1.45rem; margin-top: 2.1rem; margin-bottom: 0.8rem; }
.article-body p { color: #3f4a53; margin-bottom: 1.05rem; }
.article-body ul { color: #3f4a53; margin-bottom: 1.1rem; padding-left: 1.2rem; }
.article-body li { margin-bottom: 0.45rem; }
.article-body li::marker { color: var(--htz-accent); }
.article-body .pull-quote {
  font-family: var(--htz-serif); font-size: 1.3rem; font-style: italic; color: var(--htz-ink);
  border-left: 4px solid var(--htz-brass); background: #fff; border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.4rem; margin: 1.6rem 0;
}
.article-hero-img { border-radius: var(--htz-radius); box-shadow: var(--htz-shadow); width: 100%; object-fit: cover; aspect-ratio: 21 / 9; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(40rem 22rem at 90% -30%, rgba(224,164,88,0.3), transparent 60%),
    linear-gradient(140deg, #1c262c, #12181c 75%);
  border-radius: 22px;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3e%3ccircle cx='13' cy='13' r='1.2' fill='rgba(224,164,88,0.2)'/%3e%3c/svg%3e");
}
.cta-band .container { position: relative; }

/* ---------- About page ---------- */
.value-card { text-align: center; padding: 1.8rem 1.4rem; background: #fff; border-radius: var(--htz-radius); border: 1px solid var(--htz-line); height: 100%; transition: transform .25s ease, border-color .25s ease; }
.value-card:hover { transform: translateY(-5px); border-color: var(--htz-brass); }
.value-card .v-icon { width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--htz-accent), var(--htz-brass)); color: #fff; font-size: 1.6rem; }
.step-card { position: relative; padding: 1.6rem 1.5rem 1.5rem; background: var(--htz-card); border-radius: var(--htz-radius); border: 1px solid var(--htz-line); height: 100%; }
.step-card .s-glyph { font-size: 1.8rem; color: var(--htz-accent); margin-bottom: .7rem; display: inline-block; }
.step-card h3 { font-size: 1.1rem; }
.step-card p { font-size: .9rem; color: #55606a; margin: 0; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--htz-radius); box-shadow: var(--htz-shadow); width: 100%; object-fit: cover; }
.about-img-wrap::after { content: ""; position: absolute; inset: 1.4rem -0.9rem -0.9rem 1.4rem; border: 3px solid var(--htz-brass); border-radius: var(--htz-radius); z-index: -1; }

/* ---------- Contact ---------- */
.contact-card { background: var(--htz-card); border-radius: var(--htz-radius); border: 1px solid var(--htz-line); padding: 1.4rem 1.3rem; display: flex; gap: 1rem; align-items: flex-start; height: 100%; }
.contact-card .cc-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(199,91,42,0.1); color: var(--htz-accent); font-size: 1.3rem; }
.contact-card h3 { font-size: 1.02rem; }
.contact-card p, .contact-card a { font-size: .92rem; color: #55606a; margin: 0; text-decoration: none; }
.contact-card a:hover { color: var(--htz-accent); }
.form-htz .form-control, .form-htz .form-select {
  border-radius: 12px; border: 1.5px solid var(--htz-line); padding: 0.7rem 1rem;
  background: #fff; font-size: 0.95rem;
}
.form-htz .form-control:focus, .form-htz .form-select:focus { border-color: var(--htz-brass); box-shadow: 0 0 0 0.25rem rgba(224,164,88,0.18); }
.form-htz label { font-weight: 600; font-size: 0.86rem; margin-bottom: 0.35rem; }

/* ---------- Newsletter pages ---------- */
.news-hero { position: relative; overflow: hidden; }
.news-card { background: var(--htz-card); border-radius: 20px; border: 1px solid var(--htz-line); box-shadow: var(--htz-shadow); padding: 2.4rem; }
.perk-item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .9rem; }
.perk-item i { color: var(--htz-sage); font-size: 1.15rem; margin-top: .15rem; }

/* ---------- Footer ---------- */
.htz-footer { background: var(--htz-deep); color: rgba(250,246,240,0.75); }
.htz-footer h3 { color: #fff; font-size: 1.02rem; letter-spacing: .04em; }
.htz-footer a { color: rgba(250,246,240,0.75); text-decoration: none; }
.htz-footer a:hover { color: var(--htz-brass); }
.htz-footer .footer-link { display: block; padding: 0.22rem 0; }
.htz-footer .footer-bottom { border-top: 1px solid rgba(250,246,240,0.12); }
.htz-footer .brand-mark { width: 40px; height: 40px; }

/* ---------- Legal ---------- */
.legal-body h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-body p, .legal-body li { color: #46515a; font-size: 0.96rem; }

/* ---------- Utilities ---------- */
.section-pad { padding-block: 5rem; }
.section-pad-sm { padding-block: 3.5rem; }
.anchor-offset { scroll-margin-top: 90px; }
.bg-white-soft { background: #fff; }
.text-muted-htz { color: #5b6670 !important; }
.divider-dot::before { content: "•"; margin: 0 .5rem; color: var(--htz-brass); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .htz-ribbon .track { animation: none; }
  html { scroll-behavior: auto; }
}

.back-to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1030;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--htz-accent); color: #fff; font-size: 1.1rem;
  box-shadow: 0 12px 26px -12px rgba(199,91,42,0.7);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .3s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover { background: var(--htz-accent-dark); color: #fff; }

@media (max-width: 991.98px) {
  .hero-collage { min-height: 380px; margin-top: 2.5rem; }
  .htz-navbar .navbar-collapse { background: rgba(18,24,28,0.97); border-radius: 14px; padding: 1rem 1.2rem; margin-top: .8rem; }
}
@media (max-width: 575.98px) {
  .hero-collage { min-height: 320px; }
  .news-card { padding: 1.6rem; }
}
