@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-latin-ext-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-latin-ext-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-latin-ext-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #f5f5f5;
  --color-teal: #76abae;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark: #303841;
  --color-orange: #ff5722;
  --color-text: #000000;
  --color-muted: #000000;
  --color-line: #dfe5e7;
  --shadow-soft: 0 18px 45px rgba(48, 56, 65, 0.12);
  --shadow-card: 0 12px 32px rgba(48, 56, 65, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:hover {
  color: var(--color-orange);
}

.text-muted {
  color: var(--color-black) !important;
}

.text-white-50,
.text-muted-soft {
  color: var(--color-white) !important;
}

.site-shell {
  overflow-x: hidden;
}

.top-strip {
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.875rem;
}

.top-strip a {
  text-decoration: none;
}

@media (min-width: 768px) {
  .top-strip {
    display: none;
  }
}

.navbar {
  background: rgba(48, 56, 65, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.navbar-brand {
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0;
}

.navbar-brand span {
  color: var(--color-teal);
}

.navbar-brand:hover,
.navbar-brand:hover span {
  color: var(--color-teal);
}

.navbar .nav-link {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.94rem;
  padding-inline: 0.75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--color-white);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.32);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(118, 171, 174, 0.35);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.btn {
  border-radius: var(--radius);
  font-weight: 700;
}

.btn-primary {
  --bs-btn-bg: var(--color-orange);
  --bs-btn-border-color: var(--color-orange);
  --bs-btn-hover-bg: #e64e1f;
  --bs-btn-hover-border-color: #e64e1f;
  --bs-btn-active-bg: #cf461c;
  --bs-btn-active-border-color: #cf461c;
}

.btn-outline-light:hover {
  color: var(--color-black);
}

.btn-teal {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-black);
}

.btn-teal:hover {
  background: #689da0;
  border-color: #689da0;
  color: var(--color-black);
}

.section {
  padding: 84px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-white {
  background: var(--color-white);
}

.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--color-orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
  margin: 0;
  color: var(--color-black);
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-lead {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 760px;
}

.section-dark .section-lead,
.section-dark .text-muted-soft {
  color: var(--color-white);
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(48, 56, 65, 0.58) 48%, rgba(48, 56, 65, 0.12) 100%),
    url("../img/hero-jgheaburi.webp") center right / cover no-repeat;
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 120px 0 130px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.04;
  font-weight: 800;
  margin-bottom: 1.4rem;
  color: var(--color-white);
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--color-white);
  max-width: 650px;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 2.2rem;
}

.hero-badges span,
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}

.page-hero {
  --page-hero-bg: url("../img/hero-jgheaburi.webp");
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(48, 56, 65, 0.62) 52%, rgba(48, 56, 65, 0.18) 100%),
    var(--page-hero-bg) center right / cover no-repeat;
  color: var(--color-white);
  padding: 112px 0 70px;
}

.page-hero::after {
  display: none;
}

.page-hero-no-fade::after {
  display: none;
}

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

.page-hero-montaj {
  --page-hero-bg: url("../img/montaj-jgheaburi.webp");
}

.page-hero-reparatii {
  --page-hero-bg: url("../img/reparatii-jgheaburi.webp");
}

.page-hero-inlocuire {
  --page-hero-bg: url("../img/inlocuire-jgheaburi.webp");
}

.page-hero-preturi,
.page-hero-contact,
.page-hero-error {
  --page-hero-bg: url("../img/hero-jgheaburi.webp");
}

.page-hero h1 {
  font-weight: 800;
  line-height: 1.08;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  color: var(--color-white);
}

.page-hero p {
  color: var(--color-white);
  font-size: 1.08rem;
  max-width: 780px;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: var(--color-white);
}

.breadcrumb a,
.breadcrumb-item.active {
  color: var(--color-white);
  text-decoration: none;
}

.service-card,
.feature-card,
.price-card,
.contact-card,
.check-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  height: 100%;
}

.service-card {
  overflow: hidden;
}

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

.feature-card-image {
  display: block;
  width: calc(100% + 3.1rem);
  height: 220px;
  margin: -1.55rem -1.55rem 1.3rem;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-row-list {
  display: grid;
  gap: 1.25rem;
}

.service-row-card {
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.service-row-card img {
  width: 100%;
  height: 100%;
  min-height: 235px;
  object-fit: cover;
}

.service-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.8rem;
}

.service-row-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-black);
}

.service-row-body p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.service-card-body,
.feature-card,
.price-card,
.contact-card,
.check-card {
  padding: 1.55rem;
}

.contact-page .contact-card {
  height: auto;
}

.contact-detail-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.contact-detail-list a,
.contact-detail-list > span {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--color-black);
  font-weight: 800;
  text-decoration: none;
}

.contact-detail-list i {
  color: var(--color-orange);
  margin-top: 0.2rem;
}

.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-action-btn {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 1.02rem;
  box-shadow: 0 14px 28px rgba(48, 56, 65, 0.16);
}

.contact-action-btn i {
  font-size: 1.25rem;
}

.service-card h3,
.feature-card h3,
.price-card h3,
.contact-card h3,
.check-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-black);
}

.service-card p,
.feature-card p,
.price-card p,
.contact-card p,
.check-card p {
  color: var(--color-muted);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(118, 171, 174, 0.22);
  color: var(--color-black);
  border-radius: var(--radius);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}

.county-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(48, 56, 65, 0.08);
}

.county-item a {
  color: var(--color-black);
  text-decoration: none;
}

.county-item a:hover {
  color: var(--color-orange);
}

.county-item.featured {
  border-color: rgba(255, 87, 34, 0.42);
  background: rgba(255, 87, 34, 0.06);
}

.county-item small {
  color: var(--color-orange);
  font-size: 0.75rem;
}

.dark-card {
  background: #25303a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
}

.dark-card h3 {
  color: var(--color-white);
  font-size: 1.18rem;
  font-weight: 800;
}

.dark-card p,
.dark-card li {
  color: var(--color-white);
}

.image-panel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.technical-image-panel img {
  height: 500px;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

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

.list-check li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.list-check i {
  color: var(--color-orange);
  margin-top: 0.15rem;
}

.coverage-section {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
}

.coverage-checklist li span {
  font-weight: 600;
}

.romania-map-panel {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.romania-google-map {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.materials-band {
  background: linear-gradient(135deg, var(--color-dark), #1f252b);
  color: var(--color-white);
}

.materials-band .section-title,
.materials-band .section-lead {
  color: var(--color-white);
}

.spec-row {
  border-top: 1px solid var(--color-line);
  padding: 1rem 0;
}

.spec-row:last-child {
  border-bottom: 1px solid var(--color-line);
}

.spec-label {
  color: var(--color-muted);
  font-weight: 600;
}

.spec-value {
  font-weight: 700;
  color: var(--color-black);
}

.process-step {
  position: relative;
  padding-left: 4.2rem;
  min-height: 72px;
}

.process-step span {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 800;
}

.process-step h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-black);
}

.price-card {
  position: relative;
}

.price-card.featured {
  border-color: var(--color-orange);
}

.price-tag {
  color: var(--color-orange);
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.price-note {
  background: rgba(255, 87, 34, 0.08);
  border-left: 4px solid var(--color-orange);
  padding: 1rem 1.2rem;
  color: var(--color-black);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pricing-table-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.pricing-table {
  min-width: 1120px;
  margin-bottom: 0;
  color: var(--color-black);
}

.pricing-table-compact {
  min-width: 920px;
}

.pricing-table thead th {
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  border-color: var(--color-line);
  vertical-align: top;
}

.pricing-table tbody th {
  color: var(--color-black);
  font-weight: 800;
}

.pricing-table tbody tr:nth-child(even) > * {
  background: rgba(118, 171, 174, 0.08);
}

.price-total {
  color: var(--color-orange);
  font-weight: 800;
  white-space: nowrap;
}

.price-reference-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.price-reference-section h2 {
  color: var(--color-black);
  font-weight: 800;
}

.price-reference-section p {
  color: var(--color-black);
  max-width: 860px;
}

.price-reference-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.price-reference-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 87, 34, 0.28);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 700;
}

.price-reference-list strong {
  color: var(--color-orange);
  margin-left: 0.25rem;
}

.cta-band {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 54px 0;
}

.cta-band h2 {
  color: var(--color-white);
  font-weight: 800;
}

.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 56px 0 24px;
}

.footer h2,
.footer h3 {
  color: var(--color-white);
  font-weight: 800;
}

.footer a {
  color: var(--color-white);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
  padding-top: 22px;
  font-size: 0.88rem;
}

.form-control,
.form-select {
  border-radius: var(--radius);
  min-height: 52px;
  border-color: var(--color-line);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 0.2rem rgba(118, 171, 174, 0.22);
}

.map-placeholder {
  min-height: 330px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(48, 56, 65, 0.92), rgba(118, 171, 174, 0.72)),
    url("../img/hero-jgheaburi.webp") center / cover no-repeat;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.local-map-frame {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

html.cookie-notice-open,
body.cookie-notice-open {
  overflow: hidden;
}

.cookie-notice {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.cookie-notice-panel {
  position: relative;
  width: min(100%, 540px);
  padding: 1.6rem;
  padding-right: 3.9rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.cookie-notice-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-black);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 800;
  line-height: 1;
}

.cookie-notice h2 {
  color: var(--color-black);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.cookie-notice p {
  color: var(--color-black);
  margin-bottom: 0.85rem;
}

.cookie-notice a {
  color: var(--color-orange);
  font-weight: 800;
}

.cookie-notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.cookie-notice-actions [data-cookie-reject] {
  --bs-btn-color: var(--color-white);
  --bs-btn-bg: var(--color-black);
  --bs-btn-border-color: var(--color-black);
  --bs-btn-hover-color: var(--color-white);
  --bs-btn-hover-bg: var(--color-black);
  --bs-btn-hover-border-color: var(--color-black);
  --bs-btn-active-color: var(--color-white);
  --bs-btn-active-bg: var(--color-black);
  --bs-btn-active-border-color: var(--color-black);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus {
  background: #e64e1f;
  color: var(--color-white);
}

.back-to-top:focus {
  outline: 3px solid rgba(255, 87, 34, 0.28);
  outline-offset: 3px;
}

.back-to-top i {
  font-size: 1.55rem;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 700px;
    background-position: center right;
  }

  .hero-content {
    padding: 96px 0 110px;
  }

  .navbar .btn {
    width: 100%;
    margin-top: 0.75rem;
  }

}

@media (max-width: 767.98px) {
  .top-strip {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .section-sm {
    padding: 44px 0;
  }

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

  .hero {
    min-height: 650px;
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(48, 56, 65, 0.68) 100%),
      url("../img/hero-jgheaburi.webp") center / cover no-repeat;
  }

  .hero-badges span,
  .info-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .page-hero {
    padding: 92px 0 56px;
  }

  .image-panel img {
    min-height: 260px;
  }

  .technical-image-panel img {
    height: 220px;
    min-height: 0;
  }

  .service-card img {
    height: 210px;
  }

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

  .service-row-card img {
    height: 220px;
    min-height: 0;
  }

  .cookie-notice {
    align-items: flex-end;
    padding: 0.75rem;
  }

  .cookie-notice-panel {
    padding: 1.35rem;
    padding-right: 3.5rem;
  }

  .cookie-notice-actions .btn {
    flex: 1 1 100%;
  }
}
