@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --hd-bg: #fbf9f5;
  --hd-bg-tinted: #f2ede4;
  --hd-dark: #0f1e1c;
  --hd-dark-2: #16302c;
  --hd-primary: #1b6f6a;
  --hd-primary-light: #2f9188;
  --hd-secondary: #b5883b;
  --hd-accent: #5a4a9e;
  --hd-text: #23291f;
  --hd-text-light: #ece7dc;
  --hd-text-muted: #5c6660;
  --hd-border: #e2ddd0;
  --hd-radius-sm: 10px;
  --hd-radius-md: 18px;
  --hd-radius-lg: 28px;
  --hd-shadow-sm: 0 2px 8px rgba(20, 30, 25, 0.06);
  --hd-shadow-md: 0 12px 32px rgba(20, 30, 25, 0.08), 0 2px 8px rgba(20,30,25,0.06);
  --hd-glow-primary: 0 0 0 1px rgba(27,111,106,0.15), 0 12px 40px -8px rgba(27,111,106,0.35), 0 4px 16px rgba(27,111,106,0.15);
  --hd-glow-secondary: 0 0 0 1px rgba(181,136,59,0.15), 0 12px 40px -8px rgba(181,136,59,0.35);
  --hd-glow-accent: 0 0 0 1px rgba(90,74,158,0.15), 0 12px 40px -8px rgba(90,74,158,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--hd-text);
  background: var(--hd-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Gabarito', sans-serif; margin: 0; color: var(--hd-text); }
p { margin: 0 0 1rem; color: var(--hd-text-muted); }
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.hd-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }


.hd-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(251,249,245,0.97);
  border-bottom: 1px solid var(--hd-border);
  box-shadow: var(--hd-shadow-sm);
  transition: box-shadow 0.3s ease;
}
.hd-nav.hd-scrolled { box-shadow: 0 6px 24px rgba(20,30,25,0.12); }
.hd-nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.hd-logo { display: flex; align-items: center; gap: 10px; font-family: 'Gabarito', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--hd-text); }
.hd-logo em { font-style: normal; color: var(--hd-primary); }
.hd-logo-img { width: 40px; height: 40px; }
.hd-nav-links { display: flex; gap: 8px; }
.hd-nav-link {
  position: relative; padding: 10px 16px; font-weight: 500; font-size: 0.95rem;
  color: var(--hd-text-muted); border-radius: var(--hd-radius-sm);
  transition: color 0.25s ease, background 0.25s ease;
}
.hd-nav-link:hover { color: var(--hd-text); background: var(--hd-bg-tinted); }
.hd-nav-link.hd-active { color: var(--hd-text); font-weight: 600; }
.hd-nav-link.hd-active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 3px;
  background: var(--hd-primary); border-radius: 2px;
}
.hd-burger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 10px; width: 44px; height: 44px; align-items: center; justify-content: center;
}
.hd-burger span { width: 24px; height: 2px; background: var(--hd-text); border-radius: 2px; transition: all 0.3s ease; }


.hd-mobile-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: linear-gradient(160deg, var(--hd-dark) 0%, var(--hd-dark-2) 100%);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}
.hd-mobile-overlay.hd-open { opacity: 1; visibility: visible; transform: translateY(0); }
.hd-mobile-top { display: flex; align-items: center; justify-content: space-between; padding: 24px; }
.hd-close {
  background: rgba(255,255,255,0.08); border: none; color: var(--hd-text-light);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.25s ease, transform 0.25s ease;
}
.hd-close:hover { background: rgba(255,255,255,0.18); transform: rotate(90deg); }
.hd-mobile-grid {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 20px 28px 40px; align-content: center;
}
.hd-mobile-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 32px 12px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--hd-radius-md);
  color: var(--hd-text-light); text-align: center; min-height: 130px;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.hd-mobile-item i { font-size: 1.6rem; color: var(--hd-primary-light); }
.hd-mobile-item span { font-weight: 600; font-size: 0.95rem; }
.hd-mobile-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); box-shadow: var(--hd-glow-primary); }


.hd-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px;
  border-radius: 100px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: none; transition: all 0.3s ease; white-space: nowrap;
}
.hd-btn-primary {
  background: linear-gradient(135deg, var(--hd-primary) 0%, var(--hd-primary-light) 100%);
  color: #fff; box-shadow: var(--hd-glow-primary);
}
.hd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(27,111,106,0.25), 0 18px 50px -6px rgba(27,111,106,0.5); }
.hd-btn-ghost {
  background: transparent; color: var(--hd-text); border: 1.5px solid var(--hd-border);
}
.hd-btn-ghost:hover { border-color: var(--hd-primary); color: var(--hd-primary); background: rgba(27,111,106,0.05); }
.hd-btn-sm { padding: 10px 18px; font-size: 0.85rem; }


.hd-hero {
  position: relative; padding: 160px 0 100px; overflow: hidden;
  background: radial-gradient(ellipse at top right, #eef3ee 0%, var(--hd-bg) 55%);
}
.hd-hero-glow {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,111,106,0.22) 0%, transparent 70%);
  top: -100px; right: -100px; filter: blur(20px);
}
.hd-hero-glow2 {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181,136,59,0.18) 0%, transparent 70%);
  bottom: -80px; left: -60px; filter: blur(20px);
}
.hd-hero-inner {
  position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
}
.hd-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  background: rgba(27,111,106,0.1); color: var(--hd-primary); border-radius: 100px;
  font-weight: 600; font-size: 0.85rem; margin-bottom: 24px;
}
.hd-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1;
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.hd-hero-sub { font-size: 1.1rem; max-width: 560px; margin-bottom: 36px; }
.hd-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hd-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hd-hero-stat { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; color: var(--hd-text); }
.hd-hero-stat i { color: var(--hd-primary); font-size: 1.1rem; }

.hd-hero-visual { position: relative; }
.hd-hero-img {
  width: 100%; border-radius: var(--hd-radius-lg); box-shadow: var(--hd-shadow-md);
  aspect-ratio: 4/5; object-fit: cover;
}
.hd-floating-card {
  position: absolute; background: #fff; padding: 16px 20px; border-radius: var(--hd-radius-md);
  display: flex; align-items: center; gap: 14px; box-shadow: var(--hd-glow-primary);
  max-width: 240px; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hd-floating-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(27,111,106,0.2), 0 20px 50px -8px rgba(27,111,106,0.4); }
.hd-floating-card i { font-size: 1.4rem; color: var(--hd-primary); }
.hd-floating-card strong { display: block; font-size: 0.9rem; }
.hd-floating-card span { display: block; font-size: 0.78rem; color: var(--hd-text-muted); }
.hd-fc-1 { top: 20px; left: -30px; }
.hd-fc-2 { bottom: 30px; right: -20px; }


.hd-section { padding: 100px 0; }
.hd-section-light { background: var(--hd-bg); }
.hd-section-tinted { background: var(--hd-bg-tinted); }
.hd-section-dark { background: linear-gradient(160deg, var(--hd-dark) 0%, var(--hd-dark-2) 100%); }
.hd-section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.hd-section-head-light { color: var(--hd-text-light); }
.hd-tag {
  display: inline-block; padding: 6px 16px; background: rgba(27,111,106,0.1); color: var(--hd-primary);
  border-radius: 100px; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.03em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hd-tag-dark { background: rgba(255,255,255,0.1); color: var(--hd-primary-light); }
.hd-h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.hd-h2-light { color: var(--hd-text-light); }
.hd-section-desc { font-size: 1.05rem; }
.hd-section-desc-light { color: rgba(236,231,220,0.75); }
.hd-p-light { color: rgba(236,231,220,0.8); }


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

.hd-mini-card {
  background: #fff; padding: 32px 24px; border-radius: var(--hd-radius-md);
  box-shadow: var(--hd-shadow-sm); border: 1px solid var(--hd-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hd-mini-card:hover { transform: translateY(-5px); box-shadow: var(--hd-shadow-md); }
.hd-mini-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); font-size: 1.3rem; margin-bottom: 18px;
}
.hd-mini-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.hd-mini-card p { font-size: 0.92rem; margin-bottom: 0; }

.hd-glow-card {
  background: #fff; padding: 34px 26px; border-radius: var(--hd-radius-md);
  border: 1px solid var(--hd-border); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hd-glow-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--gc) 25%, transparent), 0 20px 48px -10px color-mix(in srgb, var(--gc) 45%, transparent); }
.hd-glow-icon {
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--gc) 12%, white); color: var(--gc); font-size: 1.35rem; margin-bottom: 18px;
}
.hd-glow-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.hd-glow-card p { font-size: 0.93rem; margin-bottom: 0; }


.hd-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hd-split-reverse .hd-split-text { order: 2; }
.hd-split-img { width: 100%; border-radius: var(--hd-radius-lg); box-shadow: var(--hd-shadow-md); aspect-ratio: 4/3.2; object-fit: cover; }
.hd-check-list { margin-top: 24px; }
.hd-check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-weight: 500; color: var(--hd-text); }
.hd-check-list i { color: var(--hd-primary); margin-top: 3px; }


.hd-flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; }
.hd-flow-step { display: flex; flex-direction: column; align-items: center; width: 250px; text-align: center; }
.hd-flow-num {
  font-family: 'Gabarito', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--hd-primary-light);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.hd-flow-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--hd-radius-md);
  padding: 30px 22px; width: 100%; transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.hd-flow-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); box-shadow: var(--hd-glow-primary); }
.hd-flow-card i { font-size: 1.6rem; color: var(--hd-primary-light); margin-bottom: 14px; }
.hd-flow-card h3 { color: var(--hd-text-light); font-size: 1.05rem; margin-bottom: 10px; }
.hd-flow-card p { color: rgba(236,231,220,0.7); font-size: 0.88rem; margin-bottom: 0; }
.hd-flow-connector { width: 40px; height: 2px; background: rgba(255,255,255,0.15); align-self: center; margin-top: -50px; }


.hd-block-card {
  background: #fff; border-radius: var(--hd-radius-md); overflow: hidden; border: 1px solid var(--hd-border);
  box-shadow: var(--hd-shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hd-block-card:hover { transform: translateY(-5px); box-shadow: var(--hd-shadow-md); }
.hd-block-img { width: 100%; height: 220px; object-fit: cover; }
.hd-block-body { padding: 26px; }
.hd-block-body h3 { font-size: 1.1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.hd-block-body h3 i { color: var(--hd-primary); }
.hd-block-body p { margin-bottom: 0; font-size: 0.93rem; }
.hd-block-card-simple { box-shadow: var(--hd-shadow-sm); }


.hd-cta-glow-panel {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, rgba(27,111,106,0.15), rgba(90,74,158,0.1));
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--hd-radius-lg);
  padding: 56px; box-shadow: 0 0 0 1px rgba(27,111,106,0.1), 0 30px 80px -20px rgba(27,111,106,0.35);
  overflow: hidden;
}
.hd-cta-img { width: 100%; border-radius: var(--hd-radius-md); aspect-ratio: 4/3.5; object-fit: cover; }
.hd-cta-content .hd-btn { margin-top: 10px; }


.hd-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hd-faq {
  background: #fff; border: 1px solid var(--hd-border); border-radius: var(--hd-radius-md);
  padding: 20px 24px; cursor: pointer; transition: box-shadow 0.3s ease;
}
.hd-faq:hover { box-shadow: var(--hd-shadow-sm); }
.hd-faq summary { font-weight: 600; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.hd-faq summary::after { content: '+'; font-size: 1.4rem; color: var(--hd-primary); }
.hd-faq[open] summary::after { content: '−'; }
.hd-faq summary::-webkit-details-marker { display: none; }
.hd-faq p { margin-top: 14px; margin-bottom: 0; font-size: 0.93rem; }
.hd-faq-list { display: flex; flex-direction: column; gap: 14px; }


.hd-page-hero {
  position: relative; padding: 160px 0 70px; overflow: hidden;
  background: radial-gradient(ellipse at top right, #eef3ee 0%, var(--hd-bg) 55%);
}
.hd-page-hero-sm { padding: 150px 0 60px; }
.hd-page-hero-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(27,111,106,0.2) 0%, transparent 70%); filter: blur(20px);
}
.hd-page-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; margin-bottom: 16px; position: relative; z-index: 2; }
.hd-page-sub { font-size: 1.05rem; max-width: 640px; position: relative; z-index: 2; }


.hd-toc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; }
.hd-toc {
  position: sticky; top: 100px; background: #fff; border: 1px solid var(--hd-border);
  border-radius: var(--hd-radius-md); padding: 24px; box-shadow: var(--hd-shadow-sm);
}
.hd-toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--hd-text-muted); margin-bottom: 14px; }
.hd-toc-link {
  display: block; padding: 10px 12px; border-radius: var(--hd-radius-sm); font-size: 0.9rem; font-weight: 500;
  color: var(--hd-text-muted); border-left: 3px solid transparent; margin-bottom: 4px; transition: all 0.25s ease;
}
.hd-toc-link:hover { background: var(--hd-bg-tinted); color: var(--hd-text); }
.hd-toc-link.hd-toc-active { color: var(--hd-primary); border-left-color: var(--hd-primary); background: rgba(27,111,106,0.06); font-weight: 600; }
.hd-toc-section { margin-bottom: 56px; scroll-margin-top: 100px; }
.hd-toc-section .hd-h2 { margin-top: 6px; }
.hd-inline-cta {
  background: linear-gradient(135deg, rgba(27,111,106,0.08), rgba(181,136,59,0.06));
  border: 1px solid var(--hd-border); border-radius: var(--hd-radius-md); padding: 36px; text-align: center; margin-top: 50px;
}
.hd-inline-cta h3 { margin-bottom: 10px; font-size: 1.3rem; }
.hd-inline-cta .hd-btn { margin-top: 14px; }


.hd-contact-form-wrap {
  background: #fff; border-radius: var(--hd-radius-lg); padding: 40px; border: 1px solid var(--hd-border);
  box-shadow: var(--hd-shadow-md);
}
.hd-form-row { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 20px; margin-bottom: 20px; }
.hd-form-row-bottom { display: flex; grid-template-columns: none; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.hd-form-group { display: flex; flex-direction: column; gap: 8px; }
.hd-form-group label { font-weight: 600; font-size: 0.85rem; color: var(--hd-text); }
.hd-form-group input, .hd-form-group textarea {
  padding: 12px 16px; border-radius: var(--hd-radius-sm); border: 1.5px solid var(--hd-border);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; background: var(--hd-bg); transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: none; min-height: 44px;
}
.hd-form-group input:focus, .hd-form-group textarea:focus { outline: none; border-color: var(--hd-primary); box-shadow: 0 0 0 4px rgba(27,111,106,0.12); }
.hd-checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--hd-text-muted); }
.hd-checkbox-label input { width: 20px; height: 20px; accent-color: var(--hd-primary); }
.hd-checkbox-label a { color: var(--hd-primary); font-weight: 600; }

.hd-access-box {
  margin-top: 24px; padding: 24px; background: #fff; border-radius: var(--hd-radius-md);
  border: 1px solid var(--hd-border); box-shadow: var(--hd-shadow-sm);
}
.hd-access-box h3 { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.hd-access-box h3 i { color: var(--hd-primary); }
.hd-inline-icon { color: var(--hd-primary); margin-right: 8px; }
.hd-map { border-radius: var(--hd-radius-lg); box-shadow: var(--hd-shadow-md); }


.hd-quote-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; background: #fff; border-radius: var(--hd-radius-lg); overflow: hidden; box-shadow: var(--hd-shadow-md); border: 1px solid var(--hd-border); }
.hd-quote-img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.hd-quote-text { padding: 40px; }
.hd-quote-text i { font-size: 1.8rem; color: var(--hd-primary); margin-bottom: 16px; display: block; }
.hd-quote-text p { font-size: 1.2rem; font-weight: 500; color: var(--hd-text); line-height: 1.5; }


.hd-principle-card { background: #fff; border-radius: var(--hd-radius-md); padding: 32px; border: 1px solid var(--hd-border); box-shadow: var(--hd-shadow-sm); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.hd-principle-card:hover { transform: translateY(-4px); box-shadow: var(--hd-shadow-md); }
.hd-principle-num { font-family: 'Gabarito', sans-serif; font-weight: 800; font-size: 1.6rem; color: rgba(27,111,106,0.25); margin-bottom: 12px; }
.hd-principle-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.hd-principle-card p { margin-bottom: 0; font-size: 0.94rem; }


.hd-error-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: #fff; border-radius: var(--hd-radius-md); border: 1px solid var(--hd-border); margin-bottom: 14px; }
.hd-error-list i { color: var(--hd-secondary); margin-top: 3px; }


.hd-legal-content { max-width: 860px; margin: 0 auto; }
.hd-legal-block { margin-bottom: 44px; }
.hd-legal-block h2 { font-size: 1.4rem; margin-bottom: 14px; }
.hd-legal-summary {
  background: rgba(27,111,106,0.07); border-left: 4px solid var(--hd-primary); color: var(--hd-text);
  padding: 14px 20px; border-radius: 0 var(--hd-radius-sm) var(--hd-radius-sm) 0; font-weight: 600; font-size: 0.94rem; margin-bottom: 18px;
}
.hd-legal-lettered .hd-legal-block h2 { font-family: 'Gabarito', sans-serif; }
.hd-legal-unnumbered .hd-legal-summary { border-left-color: var(--hd-secondary); background: rgba(181,136,59,0.08); }


.hd-thanks-main { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 120px 24px 80px; }
.hd-thanks-wrap { text-align: center; }
.hd-thanks-dot {
  width: 26px; height: 26px; border-radius: 50%; background: var(--hd-primary); margin: 0 auto 32px;
  box-shadow: var(--hd-glow-primary);
  animation: hdDotScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transform: scale(0);
}
@keyframes hdDotScale { to { transform: scale(1); } }
.hd-thanks-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 24px;
  opacity: 0; animation: hdFadeUp 0.7s ease forwards; animation-delay: 0.5s;
}
.hd-thanks-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--hd-primary); font-weight: 600;
  opacity: 0; animation: hdFadeUp 0.7s ease forwards; animation-delay: 1.1s;
}
@keyframes hdFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


.hd-footer { background: linear-gradient(160deg, var(--hd-dark) 0%, var(--hd-dark-2) 100%); padding: 70px 0 0; margin-top: auto; }
.hd-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hd-footer-col p { color: rgba(236,231,220,0.65); font-size: 0.9rem; }
.hd-footer-col h4 { color: var(--hd-text-light); font-size: 0.95rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.hd-footer-col a { display: block; color: rgba(236,231,220,0.7); font-size: 0.92rem; margin-bottom: 12px; transition: color 0.25s ease, transform 0.25s ease; }
.hd-footer-col a:hover { color: var(--hd-primary-light); transform: translateX(3px); }
.hd-footer-bottom { text-align: center; padding: 26px 0; color: rgba(236,231,220,0.5); font-size: 0.85rem; }


.hd-cookie-card {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: 92%; max-width: 560px; background: #fff; border-radius: var(--hd-radius-lg);
  box-shadow: 0 0 0 1px rgba(27,111,106,0.1), 0 20px 60px -12px rgba(20,30,25,0.35);
  z-index: 3000; overflow: hidden; transition: max-width 0.4s cubic-bezier(0.4,0,0.2,1), max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  display: none; max-height: 400px;
}
.hd-cookie-card.hd-visible { display: block; }
.hd-cookie-compact { padding: 22px 26px; }
.hd-cookie-compact p { font-size: 0.88rem; margin-bottom: 16px; color: var(--hd-text-muted); }
.hd-cookie-compact a { color: var(--hd-primary); font-weight: 600; }
.hd-cookie-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.hd-cookie-full { display: none; padding: 26px; max-height: 60vh; overflow-y: auto; }
.hd-cookie-card.hd-expanded { max-width: 640px; }
.hd-cookie-card.hd-expanded .hd-cookie-compact { display: none; }
.hd-cookie-card.hd-expanded .hd-cookie-full { display: block; }
.hd-cookie-full h3 { font-size: 1.2rem; margin-bottom: 18px; }
.hd-cookie-cat { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hd-border); }
.hd-cookie-cat strong { display: block; font-size: 0.92rem; margin-bottom: 4px; }
.hd-cookie-cat p { font-size: 0.82rem; margin-bottom: 0; }
.hd-toggle { width: 44px; height: 26px; border-radius: 100px; background: var(--hd-border); position: relative; cursor: pointer; flex-shrink: 0; transition: background 0.25s ease; }
.hd-toggle span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.25s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.hd-toggle.hd-on { background: var(--hd-primary); }
.hd-toggle.hd-on span { transform: translateX(18px); }
.hd-toggle-disabled { background: var(--hd-primary); opacity: 0.5; cursor: not-allowed; }
.hd-toggle-disabled span { transform: translateX(18px); }
.hd-cookie-actions-full { justify-content: space-between; margin-top: 10px; }


@media (max-width: 1024px) {
  .hd-hero-inner { grid-template-columns: 1fr; }
  .hd-hero-visual { max-width: 480px; margin: 0 auto; }
  .hd-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hd-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hd-split, .hd-split-reverse .hd-split-text { grid-template-columns: 1fr; }
  .hd-split { grid-template-columns: 1fr; }
  .hd-split-reverse .hd-split-text { order: 1; }
  .hd-cta-glow-panel { grid-template-columns: 1fr; }
  .hd-toc-layout { grid-template-columns: 1fr; }
  .hd-toc { position: static; margin-bottom: 30px; }
  .hd-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hd-quote-block { grid-template-columns: 1fr; }
  .hd-quote-img { min-height: 220px; }
}

@media (max-width: 768px) {
  .hd-nav-links { display: none; }
  .hd-burger { display: flex; }
  .hd-hero { padding: 130px 0 70px; }
  .hd-section { padding: 70px 0; }
  .hd-grid-4, .hd-grid-3, .hd-grid-2 { grid-template-columns: 1fr; }
  .hd-faq-grid { grid-template-columns: 1fr; }
  .hd-form-row { grid-template-columns: 1fr; }
  .hd-form-row-bottom { flex-direction: column; align-items: stretch; }
  .hd-form-row-bottom .hd-btn { width: 100%; justify-content: center; }
  .hd-footer-grid { grid-template-columns: 1fr; text-align: left; }
  .hd-fc-1, .hd-fc-2 { position: static; margin-top: 16px; max-width: 100%; }
  .hd-hero-visual { display: flex; flex-direction: column; }
  .hd-cta-glow-panel { padding: 32px 22px; }
  .hd-cookie-card { width: 94%; bottom: 12px; }
  .hd-contact-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .hd-logo span { display: none; }
  .hd-hero-title { font-size: 2rem; }
  .hd-page-title { font-size: 1.8rem; }
}