:root {
  --brand-mint: #79cfa8;
  --brand-mint-dark: #57b88e;
  --brand-mint-soft: #f1f3f4;
  --brand-charcoal: #2f3135;
  --brand-charcoal-soft: #5a6068;
  --brand-border: #d7e7dd;
  --brand-white: #ffffff;
  --shadow-soft: 0 18px 38px rgba(47, 49, 53, 0.07);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--brand-charcoal);
  background-color: var(--brand-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.topbar {
  background-color: #f2f4f5;
  border-bottom: 1px solid rgba(47, 49, 53, 0.12);
}

.topbar-link {
  color: var(--brand-charcoal);
}

.topbar-link:hover,
.topbar-link:focus {
  color: var(--brand-mint-dark);
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  font-size: 1.05rem;
  line-height: 1;
}

.footer-links .social-icon-link {
  min-width: 1.6rem;
  font-size: 1.1rem;
}

.navbar {
  box-shadow: 0 8px 18px rgba(47, 49, 53, 0.03);
}

.brand-logo {
  width: 280px;
  max-width: 100%;
}

.nav-link,
.dropdown-item {
  color: var(--brand-charcoal);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active,
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  color: var(--brand-mint-dark);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--brand-white);
}

.dropdown-menu {
  border: 1px solid rgba(47, 49, 53, 0.12);
  box-shadow: var(--shadow-soft);
}

.hero-section {
  padding: 7rem 0 6rem;
  position: relative;
  background:
    linear-gradient(100deg, #202124 0%, #2b2d30 36%, #3c403d 68%, #58655d 100%);
  border-top: 1px solid rgba(47, 49, 53, 0.18);
  border-bottom: 1px solid rgba(47, 49, 53, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(47, 49, 53, 0.18);
}

.hero-section::before {
  content: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.45rem;
  background: linear-gradient(90deg, rgba(47, 49, 53, 0.04), rgba(47, 49, 53, 0.2), rgba(47, 49, 53, 0.04));
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-panel {
  max-width: 40rem;
  padding: 2.2rem 2.35rem;
  border: 1px solid rgba(47, 49, 53, 0.12);
  border-left: 5px solid var(--brand-mint-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow:
    0 28px 52px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-row {
  --bs-gutter-x: 4rem;
}

.hero-row > [class*="col-"] {
  display: flex;
}

.eyebrow {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  background-color: var(--brand-mint-soft);
  color: var(--brand-mint-dark);
  border-left: 3px solid var(--brand-mint-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title,
.section-title,
.footer-title,
.content-card-title,
.service-card h3 {
  font-family: "Barlow Condensed", sans-serif;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
  max-width: 11ch;
}

.hero-text {
  max-width: 42rem;
  color: var(--brand-charcoal-soft);
}

.hero-meta {
  display: inline-block;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(47, 49, 53, 0.14);
  color: var(--brand-charcoal);
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-photo-frame {
  position: relative;
  padding: 1rem 0 0 2rem;
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 2rem;
  bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-photo-shell {
  display: flex;
  width: 100%;
  height: 100%;
}

.hero-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 29rem;
  margin-left: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 54px rgba(0, 0, 0, 0.26);
}

.btn-brand {
  background-color: var(--brand-charcoal);
  border-color: var(--brand-charcoal);
  color: var(--brand-white);
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: #1f2124;
  border-color: #1f2124;
  color: var(--brand-white);
}

.btn-outline-brand {
  border-color: var(--brand-mint-dark);
  color: var(--brand-mint-dark);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background-color: var(--brand-mint-dark);
  border-color: var(--brand-mint-dark);
  color: var(--brand-white);
}

.section-space {
  padding: 6rem 0;
}

.section-soft {
  background-color: #f7f8f9;
  border-top: 1px solid rgba(47, 49, 53, 0.1);
  border-bottom: 1px solid rgba(47, 49, 53, 0.1);
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

main p {
  font-size: 1.06rem;
  line-height: 1.68;
}

.section-text,
.section-intro {
  color: var(--brand-charcoal-soft);
  font-size: 1.12rem;
}

.profile-frame {
  position: relative;
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 2px solid rgba(47, 49, 53, 0.16);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.highlight-box,
.content-card,
.factor-card,
.cta-card,
.price-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.highlight-box {
  padding: 1.25rem 1.5rem;
  background-color: var(--brand-mint-soft);
  border-left: 4px solid var(--brand-mint-dark);
}

.content-card {
  height: 100%;
  padding: 2rem;
  background-color: var(--brand-white);
  border: 1px solid rgba(47, 49, 53, 0.14);
  box-shadow:
    0 12px 24px rgba(47, 49, 53, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.content-card-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.factor-card {
  height: 100%;
  padding: 1.25rem 1.35rem;
  background-color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(47, 49, 53, 0.12);
  font-weight: 600;
}

.premium-factor-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--brand-white);
  border: 1px solid rgba(47, 49, 53, 0.14);
  box-shadow:
    0 12px 24px rgba(47, 49, 53, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.premium-factor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-mint-soft);
  color: var(--brand-mint-dark);
  font-size: 1.1rem;
}

.premium-factor-card h3 {
  margin-bottom: 0.55rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.premium-factor-card p {
  margin: 0;
  color: var(--brand-charcoal-soft);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  max-width: 25rem;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background-color: var(--brand-white);
  border: 1px solid rgba(47, 49, 53, 0.14);
  box-shadow:
    0 12px 24px rgba(47, 49, 53, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--brand-charcoal);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-wide {
  max-width: none;
}

.service-card-featured {
  position: relative;
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-4px);
  box-shadow:
    0 18px 32px rgba(47, 49, 53, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  border-color: rgba(47, 49, 53, 0.22);
  color: var(--brand-charcoal);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--brand-mint-soft);
  color: var(--brand-mint-dark);
  font-size: 1.3rem;
}

.service-icon-large {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.service-index {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  color: var(--brand-mint-dark);
  letter-spacing: 0.12em;
}

.service-card h3 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 4rem;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  text-align: center;
}

.service-card-top {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 19.6rem;
  padding: 2rem 2rem 1.25rem;
}

.service-corner-badge {
    position: absolute;
    top: 1.5rem;
    right: -1.9rem;
    width: 15rem;
    padding-top: 0.42rem;
    padding-right: 0.9rem;
    padding-left: 3rem;
    padding-bottom: 0.45rem;
    background-color: var(--brand-mint-dark);
    color: var(--brand-white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
    transform: rotate(32deg);
    transform-origin: center;
    box-shadow: inset 0 -1px 0 rgba(47, 49, 53, 0.14);
    z-index: 2;
}

.service-divider {
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: 0.75rem auto 1rem;
  background-color: rgba(47, 49, 53, 0.26);
}

.service-price-label {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 3.6rem;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-mint-dark);
  text-align: center;
}

.service-card-content {
  display: flex;
  flex-direction: column;
  min-height: 13.5rem;
  padding: 1.35rem 2rem 1.5rem;
  flex: 1 1 auto;
}

.service-card p,
.service-card-content p {
  color: var(--brand-charcoal-soft);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.service-price {
  margin-bottom: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  line-height: 0.9;
  color: var(--brand-charcoal);
}

.service-price-empty {
  visibility: hidden;
}

.service-features {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--brand-charcoal-soft);
}

.service-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
}

.service-features li::before {
  content: "\F26A";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-family: "bootstrap-icons";
  color: var(--brand-mint-dark);
  font-size: 0.9rem;
}

.service-features li + li {
  margin-top: 0.6rem;
}

.service-cta {
  display: block;
  margin: 0 2rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--brand-mint-dark);
  color: var(--brand-white);
  box-shadow: inset 0 -1px 0 rgba(47, 49, 53, 0.14);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-footer-link {
  display: block;
  margin: auto 2rem 2rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background-color: #eceff1;
  color: #415149;
  border-top: 1px solid rgba(47, 49, 53, 0.06);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-link {
  font-weight: 700;
  color: var(--brand-mint-dark);
}

.page-hero {
  padding: 5.25rem 0 3.5rem;
  background:
    linear-gradient(180deg, #f7f8f9 0%, #eef1f2 100%);
  border-top: 1px solid rgba(47, 49, 53, 0.1);
  border-bottom: 1px solid rgba(47, 49, 53, 0.12);
  position: relative;
  overflow: hidden;
}

.service-page .page-hero::before,
.contact-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/Dreyer-Immo-Logo.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: min(138vw, 1860px);
  opacity: 0.06;
  pointer-events: none;
}

.service-page .page-hero .container,
.contact-page .page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-panel {
  max-width: 48rem;
  padding: 2.25rem 2.4rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-left: 5px solid var(--brand-mint-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 16px 32px rgba(47, 49, 53, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.page-subtitle {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-mint-dark);
}

.page-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-radius: var(--radius-sm);
  background-color: rgba(241, 243, 244, 0.95);
  color: var(--brand-charcoal);
  font-size: 0.92rem;
  font-weight: 600;
}

.page-pill i {
  color: var(--brand-mint-dark);
}

.price-card {
  height: 100%;
  padding: 2rem;
  background-color: var(--brand-charcoal);
  color: var(--brand-white);
  border: 1px solid rgba(47, 49, 53, 0.2);
  box-shadow:
    0 18px 36px rgba(47, 49, 53, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-summary-card {
  border-left: 5px solid var(--brand-mint-dark);
  background:
    linear-gradient(160deg, #2f3135 0%, #384039 100%);
  box-shadow: 0 24px 46px rgba(47, 49, 53, 0.16);
}

.price-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.price-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 8vw, 4.8rem);
  line-height: 0.9;
}

.detail-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.04rem;
  line-height: 1.62;
}

.detail-list li + li {
  margin-top: 0.7rem;
}

.detail-card-accent {
  border-left: 5px solid var(--brand-mint-dark);
}

.detail-card-soft {
  background-color: #f7f8f9;
}

.warning-card {
  border: 1px solid rgba(47, 49, 53, 0.08);
  background-color: #f7f8f9;
}

.insight-card {
  padding: 2.4rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-left: 5px solid var(--brand-mint-dark);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 243, 244, 0.88));
  box-shadow:
    0 16px 32px rgba(47, 49, 53, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.insight-points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.insight-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--brand-charcoal);
  font-weight: 600;
  font-size: 1.03rem;
  line-height: 1.58;
}

.insight-points li::before {
  content: "\F26A";
  position: absolute;
  left: 0;
  top: 0.08rem;
  font-family: "bootstrap-icons";
  color: var(--brand-mint-dark);
  font-size: 0.95rem;
}

.insight-points li + li {
  margin-top: 0.8rem;
}

.region-intro-card {
  padding: 1.5rem 1.65rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-left: 4px solid var(--brand-mint-dark);
  background-color: #f7f8f9;
  box-shadow:
    0 12px 24px rgba(47, 49, 53, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.qualifications-section {
  background-color: #f7f8f9;
  border-top: 1px solid rgba(47, 49, 53, 0.08);
  border-bottom: 1px solid rgba(47, 49, 53, 0.08);
}

.credential-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.2rem 1.25rem;
  box-shadow: none;
}

.credential-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(47, 49, 53, 0.12);
  background-color: var(--brand-white);
}

.credential-logo {
  max-width: 100%;
  max-height: 4.3rem;
  object-fit: contain;
}

.credential-logo-large {
  max-height: 3.85rem;
}

.credential-seal {
  max-height: 5.3rem;
}

.credential-file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border: 1px solid rgba(47, 49, 53, 0.12);
  background-color: var(--brand-white);
  color: var(--brand-mint-dark);
  font-size: 2rem;
}

.credential-title {
  font-size: 1.45rem;
  margin-bottom: 0;
}

.credential-text {
  margin: 0;
  color: var(--brand-charcoal-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.credential-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.credential-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  background-color: var(--brand-white);
  color: var(--brand-mint-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.credential-link:hover,
.credential-link:focus {
  color: var(--brand-white);
  background-color: var(--brand-mint-dark);
  border-color: var(--brand-mint-dark);
}

.profile-summary-card {
  padding: 1.5rem;
}

.profile-summary-photo {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(47, 49, 53, 0.12);
  background-color: #f7f8f9;
  overflow: hidden;
}

.profile-summary-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.qualification-aside {
  height: 100%;
}

.legal-main {
  padding: 4.5rem 0 6rem;
  background-color: #f7f8f9;
}

.legal-section {
  padding: 0;
}

.legal-container {
  max-width: 980px;
}

.legal-intro {
  margin-bottom: 2rem;
}

.legal-card {
  padding: 1.85rem 1.95rem;
}

.legal-meta {
  margin: 0;
}

.legal-meta dt {
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.legal-meta dd {
  margin: 0 0 1rem;
  color: var(--brand-charcoal-soft);
}

.legal-meta dd:last-child {
  margin-bottom: 0;
}

.legal-list,
.legal-doc-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.04rem;
  line-height: 1.62;
}

.legal-list li + li,
.legal-doc-list li + li {
  margin-top: 0.65rem;
}

.legal-doc-list a {
  font-weight: 600;
}

.legal-note {
  border-left: 5px solid var(--brand-mint-dark);
}

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

.region-card {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  background-color: var(--brand-white);
  box-shadow:
    0 10px 20px rgba(47, 49, 53, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-weight: 600;
  color: var(--brand-charcoal);
}

.region-card-wide {
  grid-column: span 2;
}

.advice-card {
  padding: 2.2rem 2.4rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-radius: var(--radius-lg);
  background-color: var(--brand-mint-soft);
  border-left: 4px solid var(--brand-mint-dark);
  box-shadow:
    0 14px 28px rgba(47, 49, 53, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.advice-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  margin-bottom: 0.9rem;
}

.advice-points {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.advice-points li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 600;
  color: var(--brand-charcoal);
  font-size: 1.03rem;
  line-height: 1.58;
}

.advice-points li::before {
  content: "\F26A";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-family: "bootstrap-icons";
  color: var(--brand-mint-dark);
  font-size: 0.95rem;
}

.advice-points li + li {
  margin-top: 0.7rem;
}

.contact-section {
  background-color: #f7f8f9;
  border-top: 1px solid rgba(47, 49, 53, 0.1);
}

.contact-info-card,
.contact-form-card {
  padding: 2rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-radius: var(--radius-lg);
  background-color: var(--brand-white);
  box-shadow:
    0 14px 28px rgba(47, 49, 53, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.contact-info-card {
  margin-top: 1.75rem;
  border-left: 5px solid var(--brand-mint-dark);
}

.form-legend {
  margin-bottom: 1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--brand-charcoal);
}

.request-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.request-type-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-radius: var(--radius-sm);
  background-color: #f7f8f9;
  color: var(--brand-charcoal);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.request-type-card-wide {
  grid-column: 1 / -1;
}

.btn-check:checked + .request-type-card {
  border-color: var(--brand-mint-dark);
  background-color: rgba(87, 184, 142, 0.12);
  color: var(--brand-charcoal);
  box-shadow: inset 0 0 0 1px rgba(87, 184, 142, 0.16);
}

.btn-check:focus-visible + .request-type-card {
  outline: 2px solid rgba(87, 184, 142, 0.35);
  outline-offset: 2px;
}

.contact-form-card .form-label {
  margin-bottom: 0.45rem;
  font-weight: 600;
  color: var(--brand-charcoal);
}

.contact-input {
  min-height: 3.2rem;
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  background-color: #fbfbfb;
}

textarea.contact-input {
  min-height: auto;
  resize: vertical;
}

.contact-input:focus {
  border-color: var(--brand-mint-dark);
  box-shadow: 0 0 0 0.15rem rgba(87, 184, 142, 0.14);
}

.contact-input.is-invalid {
  border-color: #b42318;
  background-color: #fff8f7;
}

.contact-check {
  padding: 1rem 1rem 1rem 2.2rem;
  border: 1px solid rgba(47, 49, 53, 0.12);
  border-radius: var(--radius-sm);
  background-color: #f7f8f9;
}

.contact-check.is-invalid,
.request-type-grid.is-invalid {
  border-color: rgba(180, 35, 24, 0.35);
  background-color: #fff8f7;
}

.contact-check .form-check-input {
  margin-top: 0.2rem;
}

.request-type-grid.is-invalid {
  padding: 0.85rem;
}

.contact-helper {
  margin-top: 0.5rem;
  color: var(--brand-charcoal-soft);
  font-size: 0.95rem;
}

.contact-error {
  margin-top: 0.55rem;
  color: #b42318;
  font-size: 0.95rem;
}

.contact-note {
  color: var(--brand-charcoal-soft);
  font-size: 0.95rem;
}

.form-status-alert {
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--brand-mint-dark);
  border-radius: var(--radius-sm);
}

.form-status-alert.alert-danger {
  border-left-color: #b42318;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cta-section {
  padding: 0 0 6rem;
}

.cta-card {
  padding: 2.5rem;
  border: 1px solid rgba(47, 49, 53, 0.2);
  border-left: 5px solid var(--brand-mint-dark);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, #2f3135 0%, #384039 100%);
  color: var(--brand-white);
  box-shadow:
    0 18px 36px rgba(47, 49, 53, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cta-card .eyebrow {
  background-color: rgba(47, 49, 53, 0.22);
  color: rgba(255, 255, 255, 0.86);
}

.cta-card .section-title {
  color: var(--brand-white);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
}

.cta-button {
  min-width: 16rem;
}

.cta-note {
  max-width: 20rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.cta-region {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.site-footer {
  padding: 4rem 0 2rem;
  background-color: #f2f4f5;
  border-top: 1px solid rgba(47, 49, 53, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.footer-logo {
  width: min(320px, 100%);
}

.footer-title {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.65rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.footer-social .social-icon-link {
  color: var(--brand-mint-dark);
}

.footer-social .social-icon-link:hover,
.footer-social .social-icon-link:focus {
  color: var(--brand-charcoal);
}

.footer-links a {
  color: var(--brand-charcoal-soft);
  font-size: 1.02rem;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--brand-mint-dark);
}

.footer-region {
  margin-top: 1rem;
  color: var(--brand-charcoal-soft);
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(47, 49, 53, 0.12);
  color: var(--brand-charcoal-soft);
}

.placeholder-main {
  min-height: calc(100vh - 320px);
  display: grid;
  place-items: center;
  padding: 6rem 0;
}

.placeholder-card {
  width: min(100%, 760px);
  padding: 3rem;
  background-color: var(--brand-white);
  border: 1px solid rgba(47, 49, 53, 0.14);
  border-radius: var(--radius-lg);
  box-shadow:
    0 14px 28px rgba(47, 49, 53, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.profile-frame img {
  border-radius: var(--radius-lg) !important;
}

@media (max-width: 1199.98px) {
  .service-card-wide {
    max-width: 25rem;
  }
}

@media (max-width: 991.98px) {
  .hero-row > [class*="col-"] {
    display: block;
  }

  .hero-section {
    padding: 5rem 0 4.5rem;
  }

  .section-space {
    padding: 4.5rem 0;
  }

  .hero-panel {
    max-width: none;
    padding: 1.9rem;
  }

  .hero-photo-frame {
    max-width: 30rem;
    margin: 0 auto;
    padding: 0.75rem 0 0 0.75rem;
  }

  .hero-photo-frame::before {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .hero-photo-shell {
    display: block;
    height: auto;
    text-align: center;
  }

  .hero-photo {
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-actions {
    align-items: flex-start;
  }

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

  .page-hero-panel {
    padding: 1.9rem;
  }

  .credential-logo-panel {
    min-height: 8.5rem;
  }

  .region-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .brand-logo {
    width: 220px;
  }

  .cta-card,
  .contact-info-card,
  .contact-form-card,
  .placeholder-card,
  .content-card,
  .price-card,
  .advice-card {
    padding: 1.5rem;
  }

  .service-card {
    padding: 0;
    max-width: none;
  }

  .service-card-top,
  .service-card-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .service-cta,
  .service-footer-link {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .credential-logo-panel {
    min-height: 7.75rem;
    padding: 1rem;
  }

  .request-type-grid {
    grid-template-columns: 1fr;
  }

  .request-type-card-wide {
    grid-column: auto;
  }

  .region-grid {
    grid-template-columns: 1fr 1fr;
  }

  .region-card-wide {
    grid-column: span 2;
  }
}
