:root {
  --ink: #17211b;
  --text: #34433b;
  --muted: #68786f;
  --line: #dce6df;
  --surface: #ffffff;
  --soft: #f2f6f1;
  --accent: #77b255;
  --accent-dark: #2f6f43;
  --gold: #c4953c;
  --shadow: 0 20px 60px rgba(23, 33, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(180px, 20vw, 250px);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a,
.header-cta {
  text-decoration: none;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  color: white;
  background: var(--accent-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 28, 18, 0.78), rgba(12, 28, 18, 0.36), rgba(12, 28, 18, 0.1)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(64px, 12vh, 120px) clamp(18px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c66d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: white;
  font-size: clamp(2.35rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 14ch;
}

h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 0;
}

h3 {
  color: var(--ink);
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  color: white;
  background: var(--accent-dark);
}

.btn.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.btn.outline {
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  background: transparent;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  padding: 28px clamp(18px, 4vw, 48px);
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
}

.logo-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-copy p {
  max-width: 650px;
}

.kiwi-logo-frame {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 38px rgba(23, 33, 27, 0.1);
}

.kiwi-logo-frame img {
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  display: block;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

.service-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 0, 25, 0.3);
  box-shadow: 0 12px 35px rgba(23, 33, 27, 0.08);
}

.seo-focus-section,
.faq-section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: white;
}

.seo-focus-section {
  border-top: 1px solid var(--line);
}

.seo-focus-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

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

.seo-focus-grid article,
.faq-list article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.seo-focus-grid h2,
.faq-list h3 {
  margin: 0 0 14px;
  color: var(--ink);
}

.seo-focus-grid p,
.faq-list p {
  margin: 0;
  color: var(--text);
}

.seo-focus-grid a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.seo-focus-grid a:hover {
  text-decoration: underline;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-dark);
}

.icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.2;
}

.service-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(70px, 9vw, 120px) clamp(18px, 6vw, 86px);
  background: linear-gradient(135deg, rgba(9, 23, 38, 0.98), rgba(16, 34, 48, 0.92));
  color: white;
}

.service-page-hero h1,
.contact-page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.service-page-hero p:not(.eyebrow),
.contact-page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.service-page-hero img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
}

.about-page-hero img {
  object-position: center top;
}

.service-detail-section,
.contact-page-section {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

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

.service-panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 35px rgba(23, 33, 27, 0.06);
}

.service-panel svg {
  width: 34px;
  height: 34px;
  color: var(--accent);
  stroke-width: 2.2;
}

.service-panel h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
}

.service-cta-band {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: clamp(54px, 8vw, 90px) clamp(18px, 6vw, 86px);
  background: var(--soft);
}

.service-cta-band h2,
.service-cta-band p {
  max-width: 780px;
}

.contact-page-hero {
  padding: clamp(70px, 9vw, 115px) clamp(18px, 6vw, 86px);
  background: var(--ink);
  color: white;
}

.calculator-hero {
  padding: clamp(70px, 9vw, 115px) clamp(18px, 6vw, 86px);
  background: linear-gradient(135deg, rgba(9, 23, 38, 0.98), rgba(30, 58, 43, 0.92));
  color: white;
}

.calculator-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.calculator-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.calculator-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.calculator-tabs {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.calculator-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.calculator-tab {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calculator-tab.active {
  border-color: var(--accent-dark);
  color: white;
  background: var(--accent-dark);
}

.calculator-panel {
  display: none;
  grid-template-columns: minmax(280px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.calculator-panel.active {
  display: grid;
}

.standalone-panel {
  display: grid;
}

.notary-calculator-section {
  margin: 34px 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.compact-heading {
  margin-bottom: 24px;
}

.transaction-eyebrow {
  color: #c40019 !important;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0;
}

.credit-calculator,
.calculator-result {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 38px rgba(23, 33, 27, 0.07);
}

.credit-calculator {
  display: grid;
  gap: 16px;
}

.calculator-fixed-field {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.calculator-fixed-field span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.calculator-fixed-field strong {
  color: var(--ink);
  font-size: 1.3rem;
}

.calculator-result h2 {
  max-width: none;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.calculator-result h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.calculator-result.updated {
  border-color: rgba(47, 111, 67, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 111, 67, 0.12), 0 18px 44px rgba(23, 33, 27, 0.11);
}

.calculator-feedback {
  min-height: 24px;
  margin: 12px 0 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.calculator-status {
  padding: 12px 14px;
  border-radius: 8px;
  color: #1d5f34;
  background: rgba(47, 111, 67, 0.12);
  font-weight: 800;
}

.calculator-status.warning {
  color: #9b0014;
  background: rgba(196, 0, 25, 0.1);
}

.calculator-breakdown {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.calculator-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.calculator-breakdown span {
  color: var(--muted);
}

.calculator-breakdown strong {
  color: var(--ink);
  text-align: right;
}

.calculator-source-note {
  max-width: 980px;
  margin-top: 24px;
}

.kiwi-calculator-section {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background: white;
}

.kiwi-calculator-frame {
  overflow: hidden;
  height: min(760px, 82vh);
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.kiwi-calculator-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 680px;
  background: var(--ink);
}

.split-image {
  min-height: 420px;
  background: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.split-content {
  align-self: center;
  padding: clamp(48px, 7vw, 92px);
}

.split-content h2 {
  color: white;
}

.steps {
  display: grid;
  gap: 22px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding-left: 58px;
  color: rgba(255, 255, 255, 0.78);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--ink);
  background: #f0c66d;
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  color: white;
  font-size: 1.08rem;
}

.local-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background: #fbfcfb;
  border-top: 1px solid var(--line);
}

.local-copy p {
  max-width: 780px;
}

.local-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.keyword-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 38px rgba(23, 33, 27, 0.08);
}

.keyword-panel h3 {
  margin-bottom: 18px;
}

.keyword-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background: white;
}

.about-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 38%;
}

.about-copy p {
  max-width: 660px;
}

.authority-note {
  display: inline-flex;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: var(--soft);
  font-weight: 800;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.muted {
  background: var(--soft);
}

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

.benefit-grid div {
  padding: 28px;
  border-left: 4px solid var(--accent);
  background: white;
  border-radius: 0 8px 8px 0;
}

.benefit-grid strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.reviews-section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: white;
}

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

.review-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 14px 38px rgba(23, 33, 27, 0.06);
}

.review-stars {
  color: var(--accent-dark);
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
}

.review-card p {
  margin: 0;
  color: var(--text);
}

.review-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-internal-links {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid rgba(196, 0, 25, 0.16);
  border-radius: 8px;
  background: var(--soft);
}

.article-internal-links p {
  margin: 0;
  color: var(--text);
}

.article-internal-links a {
  color: var(--accent-dark);
  font-weight: 800;
}

.reviews-note {
  max-width: 900px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 72px);
}

.news-preview-section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 72px);
  background: white;
}

.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.news-card,
.news-article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.news-card {
  position: relative;
  box-shadow: 0 14px 38px rgba(23, 33, 27, 0.07);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 0, 25, 0.3);
  box-shadow: 0 18px 44px rgba(23, 33, 27, 0.11);
}

.news-card:focus-within {
  outline: 3px solid rgba(196, 0, 25, 0.22);
  outline-offset: 3px;
}

.promo-card {
  overflow: hidden;
  padding: 0;
}

.promo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.promo-card .news-date,
.promo-card h3,
.promo-card h2,
.promo-card p,
.promo-card a {
  margin-left: 24px;
  margin-right: 24px;
}

.promo-card .news-date {
  margin-top: 22px;
}

.promo-card a {
  display: inline-flex;
  margin-bottom: 24px;
}

.news-date {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-card a,
.article-cta {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.news-card a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.news-button {
  width: fit-content;
}

.news-hero {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 6vw, 86px);
  background: var(--ink);
  color: white;
}

.news-hero h1 {
  max-width: 13ch;
}

.news-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.news-list-section {
  display: grid;
  gap: 22px;
  padding: clamp(60px, 9vw, 110px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.news-index-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.news-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-index-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-index-card h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.news-index-card p:not(.news-date) {
  color: var(--text);
}

.news-index-card a {
  margin-top: auto;
}

.article-page-hero {
  padding: clamp(70px, 10vw, 118px) clamp(18px, 6vw, 86px);
  background: var(--ink);
  color: white;
}

.article-page-hero h1 {
  max-width: 18ch;
}

.article-page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.article-page-section {
  display: grid;
  gap: 24px;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.back-to-news {
  justify-self: start;
}

.news-article {
  max-width: 980px;
}

.featured-news {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  max-width: 1180px;
}

.article-image {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--ink);
}

.article-content {
  min-width: 0;
}

.article-meta-panel,
.article-sources-panel {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--soft);
}

.article-meta-panel p,
.article-sources-panel p {
  margin: 0 0 10px;
}

.article-meta-panel p:last-child,
.article-sources-panel p:last-child {
  margin-bottom: 0;
}

.article-sources-panel h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.15rem;
}

.article-disclaimer {
  color: var(--muted);
  font-size: 0.95rem;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}

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

.news-article h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.article-cta {
  display: inline-flex;
  margin-top: 10px;
}

.contact-copy p {
  max-width: 620px;
}

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

.rate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 22px;
  border-radius: 8px;
  color: white;
  background: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.map-frame {
  overflow: hidden;
  height: 280px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.consent-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 400;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--accent-dark);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: white;
}

textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.contact-form small,
.legal {
  color: var(--muted);
  font-size: 0.86rem;
}

.form-response-note {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(47, 111, 67, 0.28);
  border-radius: 8px;
  color: var(--accent-dark);
  background: #f0f8ed;
  font-weight: 700;
}

.form-response-note[hidden] {
  display: none;
}

.form-response-note svg {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  stroke-width: 2.5;
}

.mobile-action-bar {
  display: none;
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(14px, 3vw, 32px);
  left: clamp(14px, 3vw, 32px);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(220, 230, 223, 0.92);
  border-radius: 8px;
  color: white;
  background: rgba(23, 33, 27, 0.96);
  box-shadow: 0 18px 50px rgba(23, 33, 27, 0.24);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.94rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-actions a,
.cookie-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--accent-dark);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.cookie-actions a {
  background: rgba(255, 255, 255, 0.14);
}

.thanks-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(12, 28, 18, 0.82), rgba(12, 28, 18, 0.58)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.thanks-card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 54px);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  max-width: none;
  margin-top: 38px;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.thanks-card p {
  color: var(--text);
  font-size: 1.1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
  }

  .trust-strip,
  .section-heading,
  .logo-band,
  .split-section,
  .local-section,
  .about-section,
  .contact-section,
  .service-page-hero,
  .calculator-section,
  .calculator-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .benefit-grid,
  .reviews-grid,
  .seo-focus-grid,
  .news-preview-grid,
  .news-index-grid,
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-news {
    grid-template-columns: 1fr;
  }

  .split-section {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 82px;
  }

  .site-header {
    min-height: auto;
    gap: 12px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 154px;
  }

  .nav {
    gap: 12px 16px;
    font-size: 0.92rem;
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 8px;
  }

  .nav a[href*="broker-leasing-brasov"],
  .nav a[href*="credite-persoane-juridice"] {
    display: none;
  }

  .kiwi-calculator-frame {
    height: 680px;
  }

  .calculator-tab-buttons {
    display: grid;
  }

  .calculator-tab {
    width: 100%;
  }

  .hero {
    min-height: 690px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(12, 28, 18, 0.3), rgba(12, 28, 18, 0.85)),
      url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=900&q=80") center / cover;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 58px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .about-actions {
    display: grid;
    width: 100%;
  }

  .btn,
  .rate-link,
  .news-button {
    width: 100%;
    text-align: center;
  }

  .service-grid,
  .benefit-grid,
  .reviews-grid,
  .seo-focus-grid,
  .news-preview-grid,
  .news-index-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .kiwi-logo-frame {
    min-height: 130px;
    padding: 16px;
  }

  .kiwi-logo-frame img {
    max-height: 115px;
  }

  .map-frame {
    height: 230px;
  }

  .contact-form {
    padding: 20px;
  }

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

  .contact-form textarea {
    min-height: 108px;
  }

  .mobile-action-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(220, 230, 223, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 46px rgba(23, 33, 27, 0.22);
    backdrop-filter: blur(14px);
  }

  .cookie-banner {
    bottom: 92px;
    display: none;
    align-items: stretch;
    padding: 14px;
  }

  .cookie-banner.is-visible {
    display: grid;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions a,
  .cookie-actions button {
    justify-content: center;
    text-align: center;
  }

  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    color: white;
    background: var(--accent-dark);
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-action-bar a:first-child {
    background: #0d5f2a;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.25rem;
  }

  .brand-logo {
    width: 138px;
  }

  .trust-strip div,
  .service-card,
  .keyword-panel,
  .benefit-grid div {
    padding: 22px;
  }
}
