/* mein-solarvergleich.com — zentraler Stil */
:root {
  --page-width: 1160px;
  --gutter: 24px;
  --bg: #121719;
  --bg-2: #192024;
  --surface: #f4f1e9;
  --surface-2: #e9eef2;
  --text: #f5f1e9;
  --ink: #192024;
  --muted: #a5adb0;
  --line: #30383c;
  --accent: #d49a4d;
  --accent-dark: #8f5d20;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65
}

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

a {
  color: inherit
}

button,
input,
select,
textarea {
  font: inherit
}

.container {
  width: min(calc(100% - (var(--gutter)*2)), var(--page-width));
  margin-inline: auto
}

.adline {
  padding: 6px var(--gutter);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  background: #0d1113;
  border-bottom: 1px solid var(--line)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(18, 23, 25, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line)
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 23px/1 var(--font-display);
  white-space: nowrap
}

.brand svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto
}

.mainnav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto
}

.mainnav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted)
}

.mainnav a:hover,
.mainnav a.active {
  color: #fff
}

.header-cta {
  margin-left: 4px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px)
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .36);
  color: #fff
}

.btn-dark {
  background: var(--ink);
  color: #fff
}

.btn[disabled] {
  opacity: .55;
  cursor: wait;
  transform: none
}

main {
  overflow: hidden
}

.section {
  padding: 84px 0
}

.section-alt {
  background: var(--bg-2)
}

.section-light {
  background: var(--surface);
  color: var(--ink)
}

.section-gray {
  background: var(--surface-2);
  color: var(--ink)
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.08;
  margin: 0 0 .45em
}

h1 {
  font-size: clamp(42px, 6vw, 76px)
}

h2 {
  font-size: clamp(32px, 4.2vw, 50px)
}

h3 {
  font-size: 25px
}

p {
  margin: 0 0 1em
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 720px
}

.section-light .lead,
.section-gray .lead {
  color: #5b6368
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 16px
}

.section-head {
  max-width: 800px;
  margin-bottom: 36px
}

.section-head.center {
  text-align: center;
  margin-inline: auto
}

.section-head.center .lead {
  margin-inline: auto
}

/* Hero */
.home-hero {
  position: relative;
  min-height: calc(100svh - 98px);
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #111
}

.home-hero>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  z-index: -3
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(8, 12, 14, .90) 0%, rgba(8, 12, 14, .78) 42%, rgba(8, 12, 14, .34) 70%, rgba(8, 12, 14, .15) 100%), linear-gradient(0deg, rgba(8, 12, 14, .68), transparent 52%)
}

.hero-inner {
  padding: 76px 0
}

.hero-copy {
  max-width: 700px
}

.hero-copy h1 {
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .28)
}

.hero-copy .lead {
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 660px
}

.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
  max-width: 690px
}

.hero-bullets li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px
}

.hero-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center
}

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, .68)
}

/* global narrow width */
.content-grid,
.cards-grid,
.article-cards,
.facts,
.steps,
.footer-grid,
.contact-grid {
  width: 100%
}

.facts-shell {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1560px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.fact {
  padding: 24px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted)
}

.fact:last-child {
  border-right: 0
}

.fact strong {
  display: block;
  color: #fff;
  font: 600 20px/1.15 var(--font-display);
  margin-bottom: 7px
}

/* cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.feature-card,
.info-card,
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden
}

.feature-card img,
.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover
}

.card-body {
  padding: 26px
}

.card-body p {
  color: var(--muted)
}

.card-body .btn {
  margin-top: 8px
}

.article-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px
}

.article-card {
  background: #edf1f4;
  color: var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  min-height: 100%
}

.article-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  margin-bottom: 20px
}

.article-card h3 {
  font-family: var(--font-body);
  font-size: 26px;
  line-height: 1.22;
  margin-bottom: 16px
}

.article-card p {
  color: #485158;
  font-size: 15px;
  flex: 1
}

.article-card .btn {
  align-self: center;
  margin-top: 10px;
  background: transparent;
  border-color: #263139;
  color: #263139;
  min-height: 42px;
  font-size: 14px;
  font-weight: 600
}

/* gallery */
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px
}

.carousel {
  display: flex;
  gap: 18px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px
}

.carousel::-webkit-scrollbar {
  height: 5px
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--line)
}

.gallery-card {
  flex: 0 0 345px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  scroll-snap-align: start;
  margin: 0
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover
}

.gallery-card figcaption {
  padding: 17px;
  color: var(--muted);
  font-size: 13px
}

.gallery-card b {
  display: block;
  color: #fff;
  font: 600 19px var(--font-display);
  margin-bottom: 3px
}

.carousel-buttons {
  display: flex;
  gap: 8px
}

.carousel-buttons button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 22px
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line)
}

.step {
  padding: 28px;
  border-right: 1px solid var(--line)
}

.step:last-child {
  border-right: 0
}

.step-number {
  display: block;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px
}

.step p {
  color: var(--muted);
  font-size: 14px
}

/* page hero */
.page-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #111
}

.page-hero>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(0deg, rgba(8, 12, 14, .92), rgba(8, 12, 14, .25) 68%), linear-gradient(90deg, rgba(8, 12, 14, .56), transparent 70%)
}

.page-hero .container {
  padding-block: 92px 62px
}

.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 66px);
  max-width: 850px
}

.page-hero .lead {
  color: rgba(255, 255, 255, .86);
  max-width: 750px
}

/* article */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 72px;
  align-items: start
}

.article-body {
  font-size: 17px;
  color: #283037
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-top: 48px
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 27px;
  margin-top: 34px
}

.article-body p,
.article-body li {
  line-height: 1.78
}

.article-body ul {
  padding-left: 22px
}

.article-callout {
  margin: 30px 0;
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: #eef1eb
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px
}

.article-table th,
.article-table td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid #d9dddf
}

.article-table th {
  background: #e7ebed
}

.article-sidebar {
  position: sticky;
  top: 110px
}

.sidebar-box {
  background: var(--ink);
  color: #fff;
  padding: 26px
}

.sidebar-box p {
  color: var(--muted);
  font-size: 14px
}

.sidebar-box .btn {
  width: 100%;
  margin-top: 6px
}

.article-disclaimer {
  font-size: 12px;
  color: #6e7478;
  margin-top: 30px
}

/* services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px
}

.service-card {
  padding: 0
}

.service-card .price {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center
}

.two-col img {
  width: 100%;
  height: 430px;
  object-fit: cover
}

/* forms */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 42px;
  align-items: start
}

.form-card,
.info-box,
.calc-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 34px
}

.form-card label,
.calc-box label {
  display: block;
  margin: 18px 0 7px;
  font-size: 14px;
  font-weight: 600
}

.form-card input,
.form-card select,
.form-card textarea,
.calc-box select {
  width: 100%;
  border: 1px solid #3a4449;
  background: #101518;
  color: #fff;
  padding: 12px 13px;
  border-radius: 2px;
  outline: none
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus,
.calc-box select:focus {
  border-color: var(--accent)
}

.form-card textarea {
  resize: vertical
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 22px 0
}

.checkbox-row input {
  width: auto;
  margin-top: 5px
}

.checkbox-row label {
  margin: 0;
  font-weight: 400;
  font-size: 13px
}

.field-error,
.form-status {
  display: none;
  color: #ffcbc0;
  font-size: 13px;
  margin-top: 5px
}

.field-error.show,
.form-status.show {
  display: block
}

.form-status {
  border: 1px solid #915444;
  background: rgba(145, 84, 68, .12);
  padding: 12px;
  margin: 0 0 16px
}

.is-invalid {
  border-color: #b96958 !important
}

.info-box p {
  color: var(--muted)
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-weight: 600
}

.calc-box {
  max-width: 720px
}

.calc-box .btn {
  margin-top: 24px
}

.calc-result {
  display: none;
  margin-top: 28px;
  padding: 24px;
  background: var(--surface);
  color: var(--ink)
}

.calc-result.show {
  display: block
}

.calc-price {
  font: 600 34px var(--font-display);
  color: var(--accent-dark);
  margin: 8px 0 16px
}

.small-note {
  font-size: 12px;
  color: #60686c
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(5, 8, 9, .8);
  backdrop-filter: blur(8px)
}

.loader.active {
  display: grid
}

.loader-card {
  width: min(390px, 100%);
  text-align: center;
  padding: 34px;
  background: #1c2327;
  border: 1px solid var(--line)
}

.spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border: 3px solid rgba(255, 255, 255, .16);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* CTA */
.cta-band {
  padding: 70px 0;
  background: linear-gradient(135deg, #20292d, #121719)
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px
}

.cta-band h2 {
  margin: 0;
  max-width: 720px
}

.cta-band p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 650px
}

/* legal / thanks */
.legal-page {
  background: #fafaf8;
  color: #1e2428
}

.legal-wrap {
  width: min(calc(100% - 40px), 780px);
  margin: auto;
  padding: 38px 0 80px
}

.legal-wrap .back {
  display: inline-block;
  color: #6c552f;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 26px
}

.legal-wrap h1 {
  font-size: 44px
}

.legal-wrap h2 {
  font-family: var(--font-body);
  font-size: 21px;
  margin-top: 34px
}

.legal-wrap .lead {
  color: #60686c
}

.legal-card {
  border: 1px solid #dfe2e4;
  background: #fff;
  padding: 20px;
  margin: 22px 0
}

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px;
  background: radial-gradient(circle at 50% 15%, rgba(212, 154, 77, .20), transparent 32%), var(--bg)
}

.thanks-card {
  width: min(680px, 100%);
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 56px 34px
}

.thanks-check {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--accent);
  font-size: 30px
}

.thanks-card p {
  color: var(--muted)
}

/* footer/cookies */
footer {
  padding: 54px 0 34px;
  border-top: 1px solid var(--line);
  background: #0f1416
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1.1fr;
  gap: 38px
}

.footer-grid h4 {
  margin: 0 0 13px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em
}

.footer-grid p,
.footer-grid a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none
}

.footer-grid a:hover {
  color: #fff
}

.cookie-change {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer
}

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #737d81
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
  background: #121719;
  border-top: 1px solid var(--line);
  padding: 14px 24px
}

.cookie-banner.show {
  display: block
}

.cookie-inner {
  width: min(calc(100% - 0px), var(--page-width));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.cookie-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 720px
}

.cookie-actions {
  display: flex;
  gap: 8px
}

.cookie-actions button {
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: #fff;
  cursor: pointer
}

.cookie-actions .accept {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent)
}

@media(max-width:980px) {
  .mainnav {
    display: none
  }

  .cards-grid,
  .article-cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .facts {
    grid-template-columns: repeat(2, 1fr)
  }

  .fact:nth-child(2) {
    border-right: 0
  }

  .fact:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .steps {
    grid-template-columns: repeat(2, 1fr)
  }

  .step:nth-child(2) {
    border-right: 0
  }

  .step:nth-child(-n+2) {
    border-bottom: 1px solid var(--line)
  }

  .article-layout {
    grid-template-columns: 1fr
  }

  .article-sidebar {
    position: static
  }

  .service-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .two-col img {
    height: 360px
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:640px) {
  :root {
    --gutter: 18px
  }

  .header-inner {
    min-height: 62px
  }

  .brand {
    font-size: 20px
  }

  .header-cta {
    padding: 9px 13px;
    min-height: 40px;
    font-size: 13px
  }

  .home-hero {
    min-height: 690px
  }

  .home-hero::before {
    background: linear-gradient(0deg, rgba(7, 10, 12, .94) 0%, rgba(7, 10, 12, .65) 64%, rgba(7, 10, 12, .4) 100%)
  }

  .hero-inner {
    padding: 62px 0 50px
  }

  .hero-copy h1 {
    font-size: 44px
  }

  .hero-bullets {
    grid-template-columns: 1fr
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column
  }

  .section {
    padding: 60px 0
  }

  .facts {
    grid-template-columns: 1fr
  }

  .fact {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important
  }

  .fact:last-child {
    border-bottom: 0 !important
  }

  .cards-grid,
  .article-cards,
  .service-grid,
  .steps {
    grid-template-columns: 1fr
  }

  .step {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line)
  }

  .step:last-child {
    border-bottom: 0
  }

  .article-card img {
    height: 190px
  }

  .gallery-card {
    flex-basis: 86%
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .cookie-inner {
    align-items: stretch;
    flex-direction: column
  }

  .cookie-actions {
    width: 100%
  }

  .cookie-actions button {
    flex: 1
  }

  .page-hero {
    min-height: 460px
  }

  .page-hero .container {
    padding-block: 72px 48px
  }

  .article-body {
    font-size: 16px
  }

  .form-card,
  .info-box,
  .calc-box {
    padding: 24px
  }
}

/* Contact page redesign */
.contact-page {
  overflow: visible
}

.contact-hero {
  min-height: 390px;
  align-items: center
}

.contact-hero>img {
  object-position: center 46%
}

.contact-hero::before {
  background: linear-gradient(90deg, rgba(8, 12, 14, .92) 0%, rgba(8, 12, 14, .74) 44%, rgba(8, 12, 14, .28) 76%, rgba(8, 12, 14, .16) 100%), linear-gradient(0deg, rgba(8, 12, 14, .46), rgba(8, 12, 14, .18))
}

.contact-hero .contact-hero-inner {
  padding-block: 72px
}

.contact-hero-copy {
  max-width: 760px
}

.contact-hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5vw, 64px);
  margin-bottom: 18px
}

.contact-hero .lead {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7
}

.contact-section {
  background: #f1efe8;
  color: var(--ink);
  padding: 76px 0 90px
}

.contact-layout {
  width: min(100%, 1080px);
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, .72fr);
  gap: 28px;
  align-items: start
}

.contact-form-card {
  margin: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid #d9ddd9;
  border-radius: 8px;
  padding: 38px;
  box-shadow: 0 20px 60px rgba(22, 30, 32, .09)
}

.contact-form-head {
  padding-bottom: 26px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e3e6e3
}

.contact-form-head .eyebrow {
  margin-bottom: 10px
}

.contact-form-head h2 {
  font-size: clamp(34px, 3.4vw, 46px);
  margin-bottom: 10px
}

.contact-form-head p {
  margin: 0;
  color: #677076;
  max-width: 680px
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px 18px
}

.form-field-full {
  grid-column: 1/-1
}

.contact-form-card .form-field label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
  color: #263137;
  font-size: 13px;
  font-weight: 700
}

.contact-form-card .form-field label span {
  color: var(--accent-dark)
}

.contact-form-card .form-field label small {
  font-size: 11px;
  color: #7a8388;
  font-weight: 500
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid #cfd5d2;
  background: #f8f9f7;
  color: #1a2327;
  padding: 13px 14px;
  border-radius: 5px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #8b9498
}

.contact-form-card input:hover,
.contact-form-card select:hover,
.contact-form-card textarea:hover {
  background: #fff;
  border-color: #bfc7c3
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  background: #fff;
  border-color: #b27a34;
  box-shadow: 0 0 0 3px rgba(212, 154, 77, .14)
}

.contact-form-card textarea {
  min-height: 132px;
  resize: vertical
}

.contact-form-card .field-error {
  color: #a64537;
  margin-top: 5px
}

.contact-consent {
  margin-top: 22px;
  padding-top: 21px;
  border-top: 1px solid #e3e6e3
}

.contact-form-card .checkbox-row {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start
}

.contact-form-card .checkbox-row input {
  appearance: none;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  border: 1px solid #aeb7b3;
  border-radius: 3px;
  background: #fff;
  padding: 0;
  display: grid;
  place-content: center;
  cursor: pointer
}

.contact-form-card .checkbox-row input::before {
  content: '';
  width: 9px;
  height: 9px;
  transform: scale(0);
  transition: transform .12s ease;
  background: var(--accent)
}

.contact-form-card .checkbox-row input:checked::before {
  transform: scale(1)
}

.contact-form-card .checkbox-row input:focus {
  box-shadow: 0 0 0 3px rgba(212, 154, 77, .14)
}

.contact-form-card .checkbox-row label {
  margin: 0;
  color: #596268;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400
}

.contact-form-card .checkbox-row a {
  color: #2f3b40;
  text-underline-offset: 2px
}

.contact-form-card .form-status {
  color: #8b3529;
  background: #fff3f0;
  border-color: #e6b6ad;
  border-radius: 4px
}

.contact-submit {
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
  padding-inline: 20px;
  border-radius: 5px;
  font-size: 15px
}

.contact-form-note {
  margin: 10px 0 0;
  text-align: center;
  color: #7c858a;
  font-size: 11px
}

.contact-aside {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px
}

.contact-aside-card {
  border-radius: 8px;
  overflow: hidden
}

.contact-aside-main {
  position: relative;
  background: #172024;
  color: #fff;
  padding: 34px;
  border: 1px solid #2c383d
}

.contact-aside-main::after {
  content: '';
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 155px;
  height: 155px;
  border: 1px solid rgba(212, 154, 77, .25);
  border-radius: 50%
}

.contact-aside-main h2 {
  font-size: 34px;
  line-height: 1.05;
  margin-bottom: 26px
}

.contact-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0
}

.contact-benefits li {
  position: relative;
  padding: 17px 0 17px 27px;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.contact-benefits li:first-child {
  border-top: 0;
  padding-top: 0
}

.contact-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 17px;
  color: var(--accent);
  font-weight: 800
}

.contact-benefits li:first-child::before {
  top: 0
}

.contact-benefits strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px
}

.contact-benefits span {
  display: block;
  color: #aeb7bb;
  font-size: 12px;
  line-height: 1.55
}

.contact-details-card {
  background: #fff;
  padding: 30px;
  border: 1px solid #d9ddd9;
  box-shadow: 0 14px 44px rgba(22, 30, 32, .06)
}

.contact-details-card .eyebrow {
  margin-bottom: 8px
}

.contact-details-card h3 {
  font-size: 29px;
  margin-bottom: 22px;
  color: #1b2428
}

.contact-details-list {
  margin: 0;
  display: grid
}

.contact-details-list>div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #e6e9e6
}

.contact-details-list>div:first-child {
  border-top: 0;
  padding-top: 0
}

.contact-details-list dt {
  color: #7b858a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700
}

.contact-details-list dd {
  margin: 0;
  color: #354047;
  font-size: 13px;
  line-height: 1.55
}

.contact-details-list a {
  color: #354047;
  text-underline-offset: 2px
}

.contact-whatsapp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e6e9e6;
  color: #263137;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px
}

.contact-whatsapp span {
  color: var(--accent-dark);
  font-size: 18px
}

.contact-whatsapp:hover {
  color: var(--accent-dark)
}

@media(max-width:980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    max-width: 760px
  }

  .contact-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .contact-hero {
    min-height: 360px
  }
}

@media(max-width:700px) {
  .contact-section {
    padding: 50px 0 64px
  }

  .contact-layout {
    gap: 18px
  }

  .contact-form-card {
    padding: 25px 20px
  }

  .contact-fields {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .form-field-full {
    grid-column: auto
  }

  .contact-aside {
    grid-template-columns: 1fr
  }

  .contact-aside-main,
  .contact-details-card {
    padding: 25px 22px
  }

  .contact-hero {
    min-height: 420px
  }

  .contact-hero .contact-hero-inner {
    padding-block: 62px 50px
  }

  .contact-hero h1 {
    font-size: 42px
  }

  .contact-hero .lead {
    font-size: 16px
  }

  .contact-details-list>div {
    grid-template-columns: 76px 1fr
  }
}