:root {
  /* conservative, professional palette */
  color-scheme: dark;
  --bg: #071226; /* deep navy */
  --surface: rgba(10, 18, 30, 0.86);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --text: #eef5fb;
  --muted: #9fb0c6;
  --accent: #b99a5e; /* muted gold */
  --accent-strong: #ad8f5a;
  --border: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(210, 177, 118, 0.12),
      transparent 14%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(119, 189, 255, 0.06),
      transparent 16%
    ),
    var(--bg);
  color: var(--text);
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.75;
  padding-top: 75px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px; /* Дава чисти 20px отстъп отляво и отдясно на телефон */
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

nav {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(10, 18, 33, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
}

/* light-theme nav override removed */

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.logo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding-right: 12px;
  overflow: visible;
  border-radius: 6px;
  box-shadow: none;
  border: none;
  background: transparent;
}
.logo-mark img {
  display: block;
  height: 56px;
  width: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.nav-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  padding: 6px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition:
    color 0.2s ease,
    background 0.2s ease;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--text);
}

.lang-toggle,
.nav-toggle,
.theme-toggle,
#nav-back-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

#nav-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#nav-back-btn:hover {
  background: rgba(197, 168, 128, 0.12);
  border-color: rgba(197, 168, 128, 0.3);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle span::before {
  top: -7px;
}
.nav-toggle span::after {
  top: 7px;
}

.service-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.service-option {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(10, 18, 30, 0.9)
  );
  color: #ffffff;
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.service-option:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 168, 128, 0.45);
}

.service-option.active {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.service-option strong {
  display: block;
  margin-bottom: 6px;
}
.service-option small {
  color: var(--muted);
  line-height: 1.5;
}

.service-detail {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(10, 18, 30, 0.94)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-detail-main h3,
.service-detail-side h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-detail-main p,
.service-detail-side p,
.service-detail-side li {
  color: #c7d0df;
  line-height: 1.7;
}

.service-list {
  list-style: disc inside;
  color: #c7d0df;
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 12px 0 0;
  padding-left: 18px;
}

.service-list li {
  margin-bottom: 10px;
}

.service-detail-side {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
}

.card-btn {
  background: none;
  border: none;
  width: 100%;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: inherit;
}

.card-btn h3,
.card-btn p,
.card-btn span {
  text-decoration: none;
}

.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    var(--surface)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(2, 6, 12, 0.5);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 168, 128, 0.4);
}

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

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card .card-body {
  gap: 10px;
}

.service-kicker {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-intro {
  color: #dce7f2;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 4px;
}

.card h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.card p {
  color: #c7d0df;
  font-size: 0.98rem;
  line-height: 1.75;
  flex-grow: 1;
}

.service-list {
  list-style: disc inside;
  color: #c7d0df;
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0;
  padding-left: 18px;
  margin-top: 12px;
}

.service-list li {
  margin-bottom: 10px;
}

.blog-card {
  border-top: 4px solid var(--accent-strong);
}

.more-btn {
  margin-top: 24px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card:hover .more-btn {
  color: #ffffff;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--accent);
  padding: 14px 22px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contacts-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
  color: #d7e0f0;
}

.info-item span {
  font-size: 1.65rem;
  line-height: 1;
}

.info-item div strong {
  display: block;
  color: #ffffff;
  margin-bottom: 6px;
  font-weight: 700;
}

.info-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.map-container {
  min-height: 430px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  background: #071226;
}

.map-container iframe {
  width: 100%;
  min-height: 430px;
  height: 100%;
  border: 0;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 40px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer p {
  margin: 0;
  font-size: 0.95rem;
}

/* Sections & layout */
.section-padding {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.section-padding:first-of-type {
  border-top: none;
}

.hero {
  padding: 140px 0 60px;
  text-align: left;
  position: relative;
  min-height: 520px;
  background-image: url("../images/hero-1280.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #08111f;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.72), rgba(4, 8, 15, 0.62)),
    linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(184, 134, 11, 0.04));
  z-index: 0;
}

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

.hero h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  max-width: 880px;
  margin-bottom: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--muted);
  max-width: 740px;
  margin-bottom: 22px;
  font-size: 1.02rem;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-strong) 100%
  );
  color: #071226;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(11, 16, 25, 0.6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.hero-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.hero-action-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(197, 168, 128, 0.4);
}
.hero-action-btn.primary {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-strong) 100%
  );
  color: #071226;
  border-color: transparent;
}
/* Desktop: phone button on one line (hide <br>) */
@media (min-width: 721px) {
  .hero-action-btn.primary br {
    display: none;
  }
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.consultation-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.consultation-option {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 220px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(10, 18, 30, 0.95)
  );
  color: #ffffff;
  text-align: left;
  padding: 22px;
  border-radius: 20px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.consultation-option:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 168, 128, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.consultation-option.active {
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.consultation-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.consultation-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #071226;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.consultation-card-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(185, 154, 94, 0.3);
}
.consultation-card-arrow {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
}
.consultation-option strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 700;
}
.consultation-option small {
  color: var(--muted);
  line-height: 1.7;
  display: block;
  font-size: 0.95rem;
}

.consultation-card-footer {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.consultation-price {
  margin-top: 16px;
  padding: 0;
  background: none;
  border-radius: 0;
  text-align: left;
}
.consultation-price small {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
}
.consultation-detail {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(10, 18, 30, 0.94)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.consultation-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1200;
}
.consultation-modal.open {
  display: flex;
}
.consultation-modal-panel {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow: auto;
  padding: 20px;
  border-radius: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 18, 30, 0.98),
    rgba(6, 12, 24, 0.96)
  );
  border: 0;
  box-shadow: none;
}

.consultation-modal-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.consultation-modal-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}

.consultation-modal-btn:hover {
  border-color: rgba(197, 168, 128, 0.4);
}
.consultation-modal-content .consultation-detail {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.consultation-detail-main h3,
.consultation-detail-side h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.consultation-detail-main p,
.consultation-detail-side p,
.consultation-detail-side li {
  color: #c7d0df;
  line-height: 1.7;
}

.consultation-steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}
.consultation-steps li {
  position: relative;
  padding: 14px 14px 14px 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.consultation-steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #071226;
  font-weight: 800;
  font-size: 0.95rem;
}
.consultation-steps strong {
  display: block;
  color: #ffffff;
  margin-bottom: 4px;
}

.consultation-detail-side {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
}

.consultation-detail-side ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.consultation-detail-side li {
  margin-bottom: 8px;
}
.consultation-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.consultation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.consultation-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
  flex: 1;
  letter-spacing: 0.02em;
}

.consultation-action-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 168, 128, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.consultation-action-btn.primary {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-strong) 100%
  );
  color: #071226;
  border-color: transparent;
  font-weight: 800;
}

.consultation-action-btn.primary:hover {
  box-shadow: 0 6px 20px rgba(185, 154, 94, 0.35);
}

.fixed-call {
  position: fixed;
  right: 24px;
  bottom: 40px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #071226;
  padding: 14px 22px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    opacity 0.3s ease;
  border: none;
  cursor: pointer;
}
.fixed-call.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.fixed-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.fixed-call .phone-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.fixed-phone-number {
  position: fixed;
  right: 24px;
  bottom: 40px;
  z-index: 999;
  display: none;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #071226;
  padding: 14px 22px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    opacity 0.3s ease;
  border: none;
  cursor: pointer;
}
.fixed-phone-number.show {
  display: flex;
}
.fixed-phone-number:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* Modal styles from service-business.html */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: linear-gradient(
    135deg,
    rgba(10, 18, 30, 0.98),
    rgba(6, 12, 24, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}
.modal-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-subtitle {
  color: #c7d0df;
  margin-bottom: 20px;
  line-height: 1.6;
}
.modal-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.modal-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(185, 154, 94, 0.15);
}
.modal-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #071226;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 154, 94, 0.3);
}
.modal-success {
  display: none;
  text-align: center;
  padding: 20px;
}
.modal-success.show {
  display: block;
}
.modal-success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.modal-success-title {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.modal-success-text {
  color: #c7d0df;
  margin: 0;
}

/* Email Modal Styles */
.email-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
}

.email-modal.open {
  display: flex;
}

.email-modal-panel {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(
    135deg,
    rgba(10, 18, 30, 0.98),
    rgba(6, 12, 24, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.email-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.email-modal-header h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.email-modal-close {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.email-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.email-modal-body p {
  color: #c7d0df;
  margin-bottom: 20px;
  line-height: 1.6;
}

.email-form-group {
  margin-bottom: 16px;
}

.email-form-group label {
  display: block;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.email-form-group input,
.email-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.email-form-group input:focus,
.email-form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(185, 154, 94, 0.15);
}

.email-form-group select {
  cursor: pointer;
}

.email-form-group select option {
  background: #1a1d23;
  color: #ffffff;
}

.email-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #071226;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.email-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 154, 94, 0.3);
}

.email-success {
  display: none;
  text-align: center;
  padding: 20px;
}

.email-success.show {
  display: block;
}

.email-success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.email-success h4 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.email-success p {
  color: #c7d0df;
  margin: 0;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-container {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 14px 0;
    overflow-x: auto;
  }
  .logo-mark {
    height: 44px;
    padding-right: 8px;
  }
  .logo-mark img {
    height: 44px;
  }
  .logo-name {
    font-size: 0.95rem;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 12px 14px;
    background: rgba(10, 18, 33, 0.98);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-controls {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-controls button {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .nav-container {
    flex-wrap: wrap;
  }
  .logo-mark {
    height: 38px;
    padding-right: 6px;
  }
  .logo-mark img {
    height: 38px;
  }
  .logo-name {
    font-size: 0.85rem;
  }
  .nav-menu {
    order: 3;
    width: 100%;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-controls {
    order: 2;
  }
  .nav-toggle {
    order: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 120px;
    background-position: top center;
    min-height: 460px;
  }
  .card img {
    height: 200px;
  }
  .contacts-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-action-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
  }
  .hero-action-btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #071226;
    border-color: transparent;
    font-weight: 800;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 100px 0 70px;
    background-position: top center;
    min-height: 420px;
  }
  .map-container {
    min-height: 320px;
  }
  .map-container iframe {
    min-height: 320px;
  }
  .hero-btn {
    padding: 12px 20px;
  }
  .fixed-call {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
    border-radius: 999px;
    padding: 16px 20px;
    font-size: 0.9rem;
    width: auto;
    max-width: none;
  }
  .fixed-phone-number {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
    border-radius: 999px;
    padding: 16px 20px;
    font-size: 0.9rem;
    width: auto;
    max-width: none;
  }
  .nav-menu {
    gap: 6px;
  }
  .consultation-selector {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    background-image: image-set(
      url("../images/hero-768.webp") 1x,
      url("../images/hero-1280.jpg") 2x
    );
  }
}
