:root {
  --ink: #13231f;
  --muted: #60726b;
  --surface: #fffdf7;
  --surface-strong: #f5efe3;
  --line: #dfd5c5;
  --green: #174d3f;
  --green-2: #0f352d;
  --teal: #2a9d8f;
  --clay: #c46b3d;
  --gold: #e8b84e;
  --blue: #4b8fab;
  --shadow: 0 18px 50px rgba(19, 35, 31, 0.14);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(42, 157, 143, 0.10), transparent 32rem),
    repeating-linear-gradient(135deg, rgba(23, 77, 63, 0.045) 0 1px, transparent 1px 16px),
    var(--surface);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

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

button,
a,
summary,
input,
select,
textarea {
  outline-color: var(--clay);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem;
  border: 1px solid rgba(223, 213, 197, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 12px 35px rgba(19, 35, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 3.1rem;
  height: 3.1rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(223, 213, 197, 0.8);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.menu-toggle {
  display: grid;
  gap: 0.28rem;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.main-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf7;
  box-shadow: var(--shadow);
}

.main-nav.is-open {
  display: flex;
}

.main-nav a {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
  background: var(--surface-strong);
}

.main-nav .nav-social {
  color: var(--green);
  border: 1px solid rgba(23, 77, 63, 0.16);
  background: rgba(42, 157, 143, 0.08);
}

.main-nav .nav-social:hover,
.main-nav .nav-social:focus-visible {
  color: var(--green-2);
  border-color: rgba(23, 77, 63, 0.28);
  background: rgba(42, 157, 143, 0.14);
}

.main-nav .nav-cta {
  color: #fff;
  background: var(--green);
  text-align: center;
}

.section-pad {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding-top: 3rem;
}

.hero-copy,
.map-panel,
.contact-card {
  animation: rise 700ms ease both;
}

.map-panel {
  animation-delay: 120ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  font-size: 2.6rem;
}

h2 {
  font-size: 1.85rem;
}

h3 {
  font-size: 1.15rem;
}

.hero-lead,
.section-heading p,
.contact-card p {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-lead {
  max-width: 46rem;
  margin: 1.2rem 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.82rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 25px rgba(23, 77, 63, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-2);
}

.button-secondary {
  color: var(--green);
  border-color: var(--line);
  background: #fff;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.trust-row div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.trust-row dt {
  font-size: 1.2rem;
  font-weight: 800;
}

.trust-row dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.map-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.86);
  box-shadow: var(--shadow);
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.panel-heading h2 {
  font-size: 1.45rem;
}

.county-map {
  display: block;
  width: 100%;
  aspect-ratio: 62 / 43;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(75, 143, 171, 0.12), rgba(232, 184, 78, 0.10)),
    #fff;
}

.county-map a {
  cursor: pointer;
  text-decoration: none;
}

.county {
  stroke: #fff;
  stroke-width: 6;
  filter: drop-shadow(0 12px 18px rgba(19, 35, 31, 0.16));
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.county-map a:hover .county,
.county-map a:focus .county {
  transform: scale(1.035);
  filter: drop-shadow(0 18px 22px rgba(19, 35, 31, 0.2));
}

.county-map text {
  fill: var(--ink);
  font-size: 22px;
  font-weight: 800;
  pointer-events: none;
  text-anchor: middle;
}

.county-mehedinti {
  fill: #72b5c8;
}

.county-gorj {
  fill: #91b63b;
}

.county-valcea {
  fill: #e58a61;
}

.county-dolj {
  fill: #65a8d6;
}

.county-olt {
  fill: #7cc09a;
}

.county-teleorman {
  fill: #f1c84d;
}

.county-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.county-links a,
.county-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.county-links a {
  padding: 0.58rem 0.78rem;
  color: var(--green);
  font-weight: 800;
}

.county-links a:hover,
.county-links a:focus-visible,
.county-card:hover,
.county-card:focus-visible {
  border-color: rgba(196, 107, 61, 0.55);
  box-shadow: 0 12px 24px rgba(19, 35, 31, 0.08);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.narrow {
  max-width: 640px;
}

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

.seo-pillar {
  padding-top: 2rem;
}

.pillar-layout {
  display: grid;
  gap: 1rem;
}

.pillar-layout article {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 14px 35px rgba(19, 35, 31, 0.08);
}

.pillar-layout p {
  color: var(--muted);
}

.company-section {
  padding-top: 1rem;
}

.company-card {
  max-width: 920px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(23, 77, 63, 0.98), rgba(15, 53, 45, 0.95));
  color: #fff;
  box-shadow: var(--shadow);
}

.company-card .eyebrow {
  color: #f8d08a;
}

.company-card p:not(.eyebrow) {
  max-width: 760px;
  color: #f7d99f;
}

.service-card,
.benefit-list article,
.steps li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.9);
}

.service-card {
  min-height: 16rem;
  padding: 1.35rem;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 2.5rem;
  color: var(--clay);
  font-weight: 800;
}

.service-card p,
.benefit-list p,
.steps span,
.faq-list p,
.county-card span {
  color: var(--muted);
}

.comparison-section {
  padding-top: 2rem;
}

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

.comparison-card,
.comparison-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 14px 35px rgba(19, 35, 31, 0.08);
}

.comparison-card {
  padding: 1.2rem;
}

.comparison-card-strong {
  background: linear-gradient(180deg, rgba(232, 184, 78, 0.16), rgba(255, 253, 247, 0.96));
}

.comparison-label {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

.comparison-card ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.1rem 0;
  list-style: none;
}

.comparison-card li {
  padding-left: 1rem;
  border-left: 3px solid var(--teal);
  color: var(--muted);
}

.comparison-card-strong li {
  border-left-color: var(--gold);
}

.best-for,
.comparison-note {
  color: var(--muted);
}

.best-for {
  margin-bottom: 0;
}

.comparison-note {
  margin-top: 1rem;
  padding: 1rem;
}

.comparison-note strong,
.best-for strong {
  color: var(--ink);
}

.split-section {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gallery-section {
  padding-bottom: 3rem;
}

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

.gallery-card {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 14px 35px rgba(19, 35, 31, 0.08);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.gallery-card figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(15, 53, 45, 0.86);
  font-weight: 800;
}

.benefit-list {
  display: grid;
  gap: 0.85rem;
}

.benefit-list article {
  padding: 1.1rem;
}

.process {
  counter-reset: step;
}

.steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 9rem;
  padding: 1.25rem 1.25rem 1.25rem 4.8rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

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

.steps span {
  margin-top: 0.35rem;
}

.county-card {
  display: grid;
  gap: 0.45rem;
  min-height: 7rem;
  padding: 1.05rem;
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.county-card:hover,
.county-card:focus-visible {
  transform: translateY(-2px);
}

.county-card strong {
  color: var(--green);
  font-size: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-bottom: 0;
}

.contact-section {
  padding-top: 2rem;
}

.contact-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 77, 63, 0.98), rgba(15, 53, 45, 0.96)),
    var(--green);
  box-shadow: var(--shadow);
}

.contact-card .eyebrow,
.contact-card p,
.contact-list a {
  color: #f8d08a;
}

.contact-card h2 {
  color: #fff;
}

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

.quote-form {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.quote-form label {
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fffdf7;
}

.quote-form textarea {
  resize: vertical;
}

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

.form-status {
  min-height: 1.5rem;
  margin: 0.35rem 0 0;
  color: #f7d99f;
  font-weight: 800;
}

.form-status.is-success {
  color: #d5f5df;
}

.form-status.is-error {
  color: #ffd2c7;
}

.quote-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.page-hero {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--line);
}

.local-layout {
  display: grid;
  gap: 1.2rem;
  padding-top: 2rem;
}

.local-card,
.content-block,
.county-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 14px 35px rgba(19, 35, 31, 0.08);
}

.local-card,
.content-block {
  padding: 1.2rem;
}

.local-card h2,
.content-block h2,
.county-cta h2 {
  font-size: 1.55rem;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.city-list li {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.content-block p {
  color: var(--muted);
}

.mini-service-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.mini-service-grid article {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.mini-service-grid p {
  margin-bottom: 0;
}

.county-info-list {
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.county-info-list h3 {
  color: var(--green);
}

.county-info-list ul {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.county-info-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
}

.county-info-list strong {
  color: var(--ink);
}

.county-cta {
  margin-top: 1rem;
  margin-bottom: 4rem;
  padding: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-2));
}

.county-cta p {
  color: #f7d99f;
  max-width: 52rem;
}

@media (max-width: 480px) {
  .site-header,
  .section-pad,
  .site-footer {
    width: min(100% - 1rem, var(--max-width));
  }

  .brand small {
    display: none;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .panel-heading {
    display: block;
  }

  .county-map text {
    font-size: 18px;
  }
}

@media (min-width: 720px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .panel-heading h2,
  .local-card h2,
  .content-block h2,
  .county-cta h2 {
    font-size: 1.9rem;
  }

  .service-grid,
  .county-card-grid,
  .gallery-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .county-info-list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    grid-template-columns: 1fr 0.92fr;
    padding: 1.5rem;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 4.65rem;
  }

  h2 {
    font-size: 3rem;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav a {
    padding: 0.65rem 0.8rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  }

  .split-section {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .local-layout {
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
  }

  .local-card {
    position: sticky;
    top: 7rem;
  }

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

@media (min-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}