﻿:root {
  --bg: #f6f4f0;
  --bg-alt: #eef2f5;
  --surface: #ffffff;
  --text: #23303b;
  --muted: #647180;
  --accent: #7f97ab;
  --accent-deep: #5f7f98;
  --line: #d9e1e8;
  --shadow: 0 10px 30px rgba(42, 61, 78, 0.1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #faf8f5 0%, #f7f5f2 38%, #f6f7f9 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 0.35rem;
  padding: 0.45rem 0.7rem;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(7px);
  background: rgba(250, 248, 245, 0.92);
  border-bottom: 1px solid rgba(127, 151, 171, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.logo img {
  width: 78px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.primary-nav > a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #3d4f5f;
}

.primary-nav > a.active {
  color: var(--accent-deep);
}
.primary-nav > a.btn,
.primary-nav > a.btn:hover,
.primary-nav > a.btn:focus-visible {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #425a6d;
  margin: 5px 0;
  border-radius: 3px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hero {
  padding: 4.5rem 0 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.hero-copy .lead,
.page-hero .lead {
  font-size: 1.1rem;
  color: #42576a;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.hero-media img {
  min-height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 4rem 0 2.4rem;
}

.section {
  padding: 4rem 0;
}

.alt-bg {
  background: var(--bg-alt);
}

.cta-band {
  background: linear-gradient(120deg, #dfe9f1 0%, #e8eef2 55%, #f1f4f7 100%);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-size: 0.74rem;
}

.lead {
  font-size: 1.06rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
  align-items: start;
}

.about-preview {
  align-items: center;
}

.about-preview img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card img {
  margin-bottom: 0.9rem;
  height: 170px;
  object-fit: cover;
}

blockquote p {
  margin-bottom: 0.6rem;
  font-style: italic;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
}

.text-link {
  margin-top: auto;
  color: var(--accent-deep);
  font-weight: 700;
}

.clean-list {
  display: grid;
  gap: 0.45rem;
  color: #3b4b58;
}

.clean-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.3rem;
  border-radius: 999px;
  border: 1px solid #274f74;
  background: linear-gradient(135deg, #376d98 0%, #274f74 100%);
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 20px rgba(27, 56, 82, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #2f638d 0%, #1f425f 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(19, 44, 67, 0.35);
  transform: translateY(-1px);
}


.btn:focus-visible,
.hh-btn-primary:focus-visible {
  outline: 3px solid rgba(122, 172, 211, 0.45);
  outline-offset: 2px;
}
.btn-ghost {
  background: transparent;
  color: var(--accent-deep);
}

.btn-ghost:hover {
  background: #e6edf3;
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.87rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.price-list {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.note {
  margin-top: 1rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 0.62rem;
  border-bottom: 1px solid var(--line);
}

.pricing-table th {
  width: 45%;
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 1.2rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
  align-self: start;
}

.quote-form {
  padding: 1.2rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

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

label,
legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c7d4df;
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.72rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(127, 151, 171, 0.15);
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  margin: 1rem 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.8rem;
}

.checkbox-grid label {
  display: flex;
  align-items: start;
  gap: 0.45rem;
  font-weight: 500;
}

.checkbox-grid input {
  width: 1rem;
  margin-top: 0.24rem;
}

.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.legal-content {
  max-width: 840px;
}

.center {
  text-align: center;
  max-width: 780px;
}

.thank-you-wrap {
  min-height: 65vh;
  display: grid;
  align-items: center;
}

.socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.socials a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.1rem 0;
}

.muted {
  color: var(--muted);
}

.site-footer {
  background: #1f2b34;
  color: #e8f0f5;
  padding-top: 2.4rem;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: #d8e7f2;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.34rem;
}

.footer-bottom {
  padding: 1rem 0 1.4rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b6c5d1;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0.35rem 0 0;
}

.footer-credit {
  color: #c8d7e2;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

 .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-intro {
  max-width: 760px;
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.portfolio-item {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
}

.portfolio-caption {
  padding: 0.9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.portfolio-caption h3 {
  margin-bottom: 0.3rem;
}

.portfolio-caption p {
  margin: 0;
  color: var(--muted);
}

.before-after {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
}

.before-after img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hh-factor-list {
  margin: 0.6rem 0 1rem;
  padding-left: 1.35rem;
}

.hh-factor-list > li {
  margin: 0 0 1rem;
}

.hh-factor-list > li::marker {
  color: #2a3d4f;
  font-weight: 700;
}

.hh-factor-list .hh-h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.hh-factor-list .hh-p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .quote-layout,
  .difference-grid,
  .footer-grid,
  .before-after {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }

  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item {
    grid-column: span 6;
  }

  .clean-list.two-col,
  .checkbox-grid,
  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: grid;
    gap: 0;
    background: #f8f7f4;
    border-bottom: 1px solid var(--line);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.2s ease;
    padding: 0 1rem;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    transform: scaleY(1);
    padding: 0.8rem 1rem 1rem;
  }

  .primary-nav > a {
    min-height: 46px;
    padding: 0.72rem 0;
    border-bottom: 1px solid rgba(127, 151, 171, 0.16);
  }

  .primary-nav > a:last-child {
    border-bottom: 0;
    margin-top: 0.45rem;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 620px) {
  body {
    line-height: 1.6;
  }

  .section {
    padding: 2.8rem 0;
  }

  .page-hero {
    padding: 2.8rem 0 1.5rem;
  }

  .hero-media img,
  .about-preview img,
  .service-card img {
    min-height: 220px;
    height: 220px;
  }

  .card,
  .pricing-card {
    padding: 1rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    grid-column: span 12;
  }

  .hh-factor-list .hh-h3 {
    font-size: 1.25rem;
  }

  .btn,
  .btn-sm {
    min-height: 46px;
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .footer-grid {
    gap: 1.4rem;
  }
}










/* Mobile polish overrides */
@media (max-width: 980px) {
  .logo img {
    width: 64px;
  }

  .hero-media img,
  .before-after img {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), 94%);
  }

  .nav-wrap {
    padding: 0.72rem 0;
    gap: 0.7rem;
  }

  .logo {
    gap: 0.45rem;
  }

  .logo img {
    width: 54px;
  }

  .logo span {
    font-size: 0.88rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
  }

  .primary-nav {
    inset: 70px 0 auto 0;
    max-height: calc(100vh - 70px);
  }

  .hero-grid {
    gap: 1.3rem;
  }

  .hero-copy .lead,
  .page-hero .lead {
    font-size: 1rem;
  }

  .hero-media img,
  .about-preview img,
  .service-card img,
  .before-after img {
    min-height: 220px;
    height: 220px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 46px;
  }

  textarea {
    min-height: 120px;
  }

  .pricing-table th,
  .pricing-table td {
    font-size: 0.94rem;
    padding: 0.5rem;
  }

  .site-footer {
    padding-top: 2rem;
  }

  .footer-bottom {
    padding-bottom: 1.1rem;
  }
}

@media (max-width: 420px) {
  .logo span {
    display: none;
  }

  .nav-wrap {
    gap: 0.45rem;
  }

  .eyebrow {
    letter-spacing: 0.06em;
  }
}

/* ================================================
   Hamburger X animation
   ================================================ */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================
   Portfolio hover zoom
   ================================================ */
.portfolio-item img {
  transition: transform 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

/* ================================================
   Smooth page entrance
   ================================================ */
@keyframes hhFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

main {
  animation: hhFadeIn 0.4s ease both;
}

/* ================================================
   Haven Home Design System (hh-*)
   Consolidated from per-page inline styles
   ================================================ */

:root {
  --hh-blue: #2f6fdd;
  --hh-blue-dark: #214ea8;
  --hh-ink: #0f172a;
  --hh-muted: rgba(15, 23, 42, 0.74);
  --hh-line: rgba(15, 23, 42, 0.12);
  --hh-blue-wash: rgba(47, 111, 221, 0.10);
  --hh-blue-wash-2: rgba(47, 111, 221, 0.06);
  --hh-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  --hh-shadow-soft: 0 10px 26px rgba(15, 23, 42, 0.12);
  --hh-radius: 22px;
  --hh-max: 1120px;
}

/* Layout */
.hh-wrap { max-width: var(--hh-max); margin: 0 auto; padding: 0 18px; }
.hh-section { padding: 44px 0; }
.hh-section-tight { padding: 42px 0; }

/* Typography */
.hh-kicker {
  letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 12px; color: var(--hh-muted); margin: 0 0 10px 0;
}
.hh-h1 {
  font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05;
  margin: 0 0 14px 0; color: var(--hh-ink);
  font-weight: 750; letter-spacing: -0.02em;
}
.hh-h2 {
  font-size: clamp(24px, 3vw, 36px); line-height: 1.15;
  margin: 0 0 10px 0; color: var(--hh-ink);
  font-weight: 750; letter-spacing: -0.01em;
}
.hh-h3 {
  font-size: 18px; line-height: 1.25;
  margin: 0 0 10px 0; color: var(--hh-ink);
  font-weight: 700;
}
.hh-p {
  margin: 0; font-size: 16px; line-height: 1.7;
  color: var(--hh-muted); max-width: 78ch;
}
.hh-small {
  font-size: 14.5px; line-height: 1.65;
  color: var(--hh-muted); margin: 0;
}
.hh-title {
  font-size: 20px; line-height: 1.2; margin: 0 0 6px 0;
  font-weight: 750; color: var(--hh-ink); letter-spacing: -0.01em;
}

/* Accent line */
.hh-accent-line {
  width: 78px; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--hh-blue), rgba(47, 111, 221, 0.18));
  margin: 14px 0 0 0;
}

/* Divider */
.hh-divider { height: 1px; background: rgba(15, 23, 42, 0.10); margin: 22px 0; }

/* Buttons */
.hh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.hh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; padding: 12px 16px; border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18); font-size: 14px; font-weight: 650;
  user-select: none; white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.hh-btn-primary {
  color: #fff; border-color: #274f74;
  background: linear-gradient(135deg, #376d98 0%, #274f74 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 12px 24px rgba(21, 49, 74, 0.34);
}
.hh-btn-primary:hover {
  background: linear-gradient(135deg, #2f638d 0%, #1f425f 100%);
  box-shadow: 0 14px 28px rgba(19, 44, 67, 0.38);
  transform: translateY(-1px);
}
.hh-btn-primary:focus-visible {
  outline: 3px solid rgba(122, 172, 211, 0.45);
  outline-offset: 2px;
}
.hh-btn-secondary {
  background: rgba(255, 255, 255, 0.82); color: var(--hh-ink);
}
.hh-btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--hh-shadow-soft);
  border-color: rgba(47, 111, 221, 0.30);
}
button.hh-btn {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  border: 1px solid #274f74;
  background: linear-gradient(135deg, #376d98 0%, #274f74 100%);
  color: #fff; border-radius: 999px; padding: 12px 16px;
  font-size: 14px; font-weight: 650;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 12px 24px rgba(21, 49, 74, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
button.hh-btn:hover {
  background: linear-gradient(135deg, #2f638d 0%, #1f425f 100%);
  box-shadow: 0 14px 28px rgba(19, 44, 67, 0.38);
  transform: translateY(-1px);
}
button.hh-btn:disabled { opacity: 0.72; cursor: not-allowed; transform: none; }

/* Grid */
.hh-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 18px; }
.hh-col-3 { grid-column: span 3; }
.hh-col-4 { grid-column: span 4; }
.hh-col-6 { grid-column: span 6; }
.hh-col-8 { grid-column: span 8; }
.hh-col-12 { grid-column: span 12; }

/* Card */
.hh-card {
  border: 1px solid var(--hh-line); border-radius: var(--hh-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  box-shadow: var(--hh-shadow-soft); padding: 18px;
  position: relative; overflow: hidden;
}
.hh-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--hh-blue), rgba(47, 111, 221, 0.18));
}
.hh-card:hover {
  transform: translateY(-2px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: var(--hh-shadow);
}

/* List */
.hh-list { margin: 0; padding-left: 18px; color: rgba(15, 23, 42, 0.92); font-size: 15.5px; line-height: 1.65; }
.hh-list li { margin: 7px 0; }

/* Note callout */
.hh-note {
  border: 1px solid rgba(47, 111, 221, 0.18); border-radius: 18px;
  padding: 14px 16px; background: rgba(47, 111, 221, 0.06); margin-top: 14px;
}

/* Error callout */
.hh-error {
  display: none; border: 1px solid rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.08); border-radius: 18px;
  padding: 14px 16px; margin-top: 14px; color: rgba(15, 23, 42, 0.88);
}

/* Pills */
.hh-pillrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hh-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(47, 111, 221, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  border-radius: 999px; padding: 8px 12px; font-size: 13.5px;
  color: rgba(15, 23, 42, 0.72); backdrop-filter: blur(6px);
}
.hh-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--hh-blue); display: inline-block;
  box-shadow: 0 0 0 3px rgba(47, 111, 221, 0.16);
}

/* Badges */
.hh-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hh-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 999px;
  border: 1px solid rgba(47, 111, 221, 0.18);
  background: rgba(255, 255, 255, 0.70); color: rgba(15, 23, 42, 0.88);
  font-size: 14px; line-height: 1; white-space: nowrap;
}

/* Split layout */
.hh-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; margin-top: 18px; }

/* Quote / testimonials */
.hh-quote { display: grid; gap: 10px; }
.hh-quote blockquote { margin: 0; color: rgba(15, 23, 42, 0.92); font-size: 15.5px; line-height: 1.7; }
.hh-quote .hh-cite { font-size: 14px; color: var(--hh-muted); }

/* Mini cards */
.hh-mini-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 14px; }
.hh-mini {
  grid-column: span 4;
  border: 1px solid rgba(47, 111, 221, 0.14); border-radius: 18px;
  padding: 14px; background: rgba(255, 255, 255, 0.74);
}
.hh-mini strong { display: block; font-size: 14.5px; color: var(--hh-ink); margin-bottom: 6px; }

/* Chips / service nav */
.hh-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hh-chip {
  display: inline-flex; align-items: center; text-decoration: none;
  padding: 9px 12px; border-radius: 999px;
  border: 1px solid rgba(47, 111, 221, 0.18);
  background: rgba(255, 255, 255, 0.70); color: rgba(15, 23, 42, 0.88); font-size: 14px;
}
.hh-chip:hover {
  border-color: rgba(47, 111, 221, 0.30);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px); color: rgba(15, 23, 42, 0.88);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

/* FAQ */
.hh-faq details {
  border: 1px solid rgba(47, 111, 221, 0.14);
  background: rgba(255, 255, 255, 0.72); border-radius: 18px; padding: 14px 16px;
}
.hh-faq details + details { margin-top: 10px; }
.hh-faq summary { cursor: pointer; font-weight: 600; color: var(--hh-ink); outline: none; font-size: 15px; }
.hh-faq summary::-webkit-details-marker { display: none; }

/* Page hero backgrounds */
.hh-top {
  padding: 56px 0 30px 0;
  background: radial-gradient(900px 420px at 15% 10%, var(--hh-blue-wash), transparent 60%),
              radial-gradient(700px 380px at 85% 25%, var(--hh-blue-wash-2), transparent 55%);
}

/* Homepage hero */
.hh-hero {
  padding: 58px 0 36px 0; position: relative; overflow: hidden;
  background: radial-gradient(900px 420px at 15% 10%, var(--hh-blue-wash), transparent 60%),
              radial-gradient(700px 380px at 85% 25%, var(--hh-blue-wash-2), transparent 55%),
              radial-gradient(520px 360px at 40% 92%, rgba(15, 23, 42, 0.05), transparent 60%);
}
.hh-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; align-items: stretch; }
.hh-hero-panel {
  border: 1px solid rgba(47, 111, 221, 0.18); border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68));
  box-shadow: var(--hh-shadow); padding: 26px; overflow: hidden; position: relative;
}
.hh-hero-panel::after {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 260px; height: 260px; border-radius: 999px; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(47, 111, 221, 0.20), rgba(47, 111, 221, 0.02) 60%, transparent 70%);
}
.hh-hero-aside {
  border: 1px solid rgba(47, 111, 221, 0.14); border-radius: 28px;
  background: linear-gradient(180deg, rgba(47, 111, 221, 0.08), rgba(255, 255, 255, 0.56));
  padding: 18px; display: grid; gap: 14px;
}

/* Final CTA block */
.hh-final {
  border: 1px solid rgba(47, 111, 221, 0.18); border-radius: 28px;
  background: radial-gradient(520px 260px at 20% 30%, rgba(47, 111, 221, 0.14), transparent 60%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  padding: 24px; box-shadow: var(--hh-shadow-soft); overflow: hidden; position: relative;
}
.hh-final .hh-p { max-width: 70ch; }

/* Form inputs */
.hh-label {
  display: block; font-size: 13px; color: rgba(15, 23, 42, 0.78);
  margin: 0 0 6px 0; font-weight: 650;
}
.hh-input, .hh-select, .hh-textarea {
  width: 100%; border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.86); border-radius: 14px;
  padding: 12px; font-size: 15px; line-height: 1.35;
  color: rgba(15, 23, 42, 0.92); outline: none;
  box-shadow: none; margin: 0; max-width: 100%;
  font-family: inherit;
}
.hh-textarea { min-height: 150px; resize: vertical; }
.hh-input:focus, .hh-select:focus, .hh-textarea:focus {
  border-color: rgba(47, 111, 221, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 111, 221, 0.12);
}

/* Consent checkbox */
.hh-consent {
  margin-top: 14px; border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px; background: rgba(255, 255, 255, 0.82); padding: 12px 12px 10px;
}
.hh-consent label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 650; color: rgba(15, 23, 42, 0.92);
  line-height: 1.45; cursor: pointer;
}
.hh-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--hh-blue-dark); flex: 0 0 auto;
}
.hh-consent .hh-consent-copy { display: block; }
.hh-consent .hh-consent-text {
  margin: 8px 0 0 28px; font-size: 12.8px;
  line-height: 1.55; color: rgba(15, 23, 42, 0.72);
}

/* Contact page */
.hh-icon {
  width: 40px; height: 40px; border-radius: 14px;
  background: radial-gradient(18px 18px at 30% 25%, rgba(47, 111, 221, 0.18), transparent 60%), rgba(47, 111, 221, 0.08);
  border: 1px solid rgba(47, 111, 221, 0.18);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; color: var(--hh-blue-dark); font-weight: 900; font-size: 16px;
}
.hh-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid rgba(15, 23, 42, 0.10);
}
.hh-row:last-child { border-bottom: none; }
.hh-value {
  margin: 0; font-size: 16.5px; line-height: 1.6;
  color: rgba(15, 23, 42, 0.94); font-weight: 650;
}
a.hh-link {
  color: rgba(15, 23, 42, 0.94); text-decoration: none;
  border-bottom: 1px solid rgba(47, 111, 221, 0.40); padding-bottom: 2px;
}
a.hh-link:hover { border-bottom-color: rgba(47, 111, 221, 0.78); color: rgba(15, 23, 42, 0.94); }

/* ================================================
   HH Design System — Responsive
   ================================================ */
@media (max-width: 980px) {
  .hh-hero-grid { grid-template-columns: 1fr; }
  .hh-split { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hh-col-3,
  .hh-col-4,
  .hh-col-6,
  .hh-col-8,
  .hh-mini { grid-column: span 12; }
}

@media (max-width: 620px) {
  .hh-wrap { padding: 0 14px; }
  .hh-section { padding: 30px 0; }
  .hh-section-tight { padding: 30px 0; }
  .hh-top { padding: 40px 0 24px 0; }
  .hh-hero { padding: 38px 0 26px 0; }
  .hh-hero-panel,
  .hh-hero-aside,
  .hh-final,
  .hh-card { padding: 16px; }
  .hh-hero-panel,
  .hh-hero-aside,
  .hh-final { border-radius: 20px; }
  .hh-grid,
  .hh-mini-grid { gap: 12px; }
  .hh-pill,
  .hh-badge { white-space: normal; }
  .hh-badge { line-height: 1.3; }
  .hh-actions { width: 100%; gap: 8px; }
  .hh-btn,
  button.hh-btn {
    width: 100%; min-height: 46px;
    white-space: normal; text-align: center;
  }
  .hh-card,
  .hh-note,
  .hh-consent,
  .hh-mini { padding: 14px; }
  .hh-nav { gap: 8px; }
  .hh-chip { min-height: 42px; padding: 9px 11px; font-size: 13.5px; }
  .hh-row { padding: 12px 0; }
  .hh-consent .hh-consent-text { margin: 8px 0 0 0; font-size: 12.6px; }
  .hh-input, .hh-select, .hh-textarea { font-size: 16px; min-height: 46px; }
  .hh-textarea { min-height: 120px; }
}
