@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap");

:root {
  --bg: #131620;
  --surface: #1c1f2a;
  --surface-soft: #22262f;
  --text: #e8e9ed;
  --muted: #9ca0ad;
  --border: #2e3240;
  --brand: #c8a34d;
  --brand-soft: #d4b05e;
  --accent: #c8a34d;
  --accent-soft: rgba(200, 163, 77, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.4);
  --speed: 180ms;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  transition: color var(--speed) ease, background var(--speed) ease, border-color var(--speed) ease, box-shadow var(--speed) ease, transform var(--speed) ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -44px;
  background: #111827;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 99;
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(19, 22, 32, 0.97);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 163, 77, 0.45), transparent);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #a67c28 0%, #c8a34d 35%, #e7c87f 50%, #c8a34d 65%, #9f792d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: logo-shine 4s ease-in-out infinite;
}

.brand::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, transparent 25%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0.4) 55%, transparent 75%, transparent 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  pointer-events: none;
}

@keyframes logo-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.brand:hover {
  filter: brightness(1.1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.desktop-link {
  font-size: 0.88rem;
  text-decoration: none;
  color: #9ca0ad;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  font-family: inherit;
}

.desktop-link.active,
.desktop-link:hover {
  color: #e8e9ed;
  border-bottom-color: var(--accent);
}

/* ── Nav dropdown ── */

.nav-dropdown {
  position: relative;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.dropdown-arrow {
  font-size: 0.6em;
  margin-left: 3px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: #1c1f2a;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  padding-top: 12px;
  margin-top: -4px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown.open .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  margin-top: 0;
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #9ca0ad;
  text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(200, 163, 77, 0.12);
  color: #e8e9ed;
}

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

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #e8e9ed;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}

.pill.active,
.pill:hover {
  background: var(--accent);
  color: #131620;
  border-color: var(--accent);
}

.section {
  padding: 74px 0;
}

.section + .section::before {
  content: "";
  display: block;
  height: 1px;
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(200, 163, 77, 0.3), transparent);
  position: relative;
  top: -74px;
  pointer-events: none;
}

.hero {
  position: relative;
  background: #131620;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: 0;
  clip-path: inset(0);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 22, 32, 0.3) 0%, rgba(19, 22, 32, 0.7) 70%, #131620 100%);
}

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

.hero-grid,
.two-col {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  grid-auto-flow: row;
}

.hero-grid > article {
  grid-column: 1;
  grid-row: 1;
}

.hero-grid > .hero-side {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 35px;
}

.hero-grid > .trust-strip {
  grid-column: 1 / -1;
  grid-row: 2;
}

.hero-grid > aside {
  grid-row: 3;
}

.two-col {
  grid-template-columns: 1.2fr 0.8fr;
}

/* Layout responsiv for services page */
@media (min-width: 1025px) and (max-width: 1200px) {
  .service-layout {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), #e7c87f);
  transition: transform var(--speed) ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #3a3f50;
  box-shadow: var(--shadow-md);
}

.card:hover::after {
  transform: scaleX(1);
}

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

.tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(200, 163, 77, 0.25);
  padding: 5px 11px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

h1 {
  margin: 12px 0;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: clamp(2.2rem, 2.2vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  margin: 26px 0 10px;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: clamp(1.35rem, 1.4vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.actions-col {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 17px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #c8a34d, #b8922e);
  color: #131620;
  box-shadow: 0 6px 18px rgba(200, 163, 77, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d4b05e, #c8a34d);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(200, 163, 77, 0.4);
}

.btn-secondary {
  border: 1px solid rgba(200, 163, 77, 0.4);
  color: var(--accent);
  background: rgba(200, 163, 77, 0.08);
}

.btn-secondary:hover {
  background: rgba(200, 163, 77, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 163, 77, 0.15);
}

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

.feature-list,
.list-reset {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  border-radius: 11px;
  background: var(--surface-soft);
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  color: var(--text);
}

.grid-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.grid-list li {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 8px 10px;
  font-size: 0.9rem;
  background: var(--surface);
}

.stat-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.stat-list div {
  border-radius: 11px;
  background: var(--surface);
  padding: 10px 12px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.price-calculator {
  margin-top: 0;
  padding: 20px;
}

.calculator-fields {
  display: grid;
  gap: 10px;
  max-width: 280px;
  margin-top: 12px;
}

.calculator-fields label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.calculator-fields input,
.calculator-fields select {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 1rem;
}

.calculator-result {
  margin-top: 14px;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
}

.exchange-rates {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.exchange-rates-header,
.exchange-rate-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 10px 14px;
  align-items: center;
}

.exchange-rates-header {
  background: var(--surface-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.exchange-rate-row {
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.exchange-rate-row strong {
  color: var(--text);
}

.section-title {
  margin-bottom: 18px;
}

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

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

.stack {
  display: grid;
  gap: 12px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(200, 163, 77, 0.4);
  text-underline-offset: 3px;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #161922 0%, #0f1118 100%);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 163, 77, 0.5), transparent);
}

.footer-top {
  padding: 48px 0 40px;
}

.footer-top-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.footer-logo:hover .logo-main,
.footer-logo:hover .logo-sub {
  filter: brightness(1.1);
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.footer-cta {
  font-size: 0.9rem;
  padding: 10px 20px;
}

.footer-nav {
  display: grid;
  gap: 28px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-col {
  min-width: 0;
}

.footer-program {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.footer-nav-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.footer-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 7px 12px;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.footer-nav-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.footer-nav-btn--waze {
  color: #33ccff;
  border-color: rgba(51,204,255,0.25);
}

.footer-nav-btn--waze:hover {
  background: rgba(51,204,255,0.1);
  border-color: rgba(51,204,255,0.45);
  color: #33ccff;
}

.footer-heading {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 14px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

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

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.footer-email {
  white-space: nowrap;
}

.footer-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
}

.footer-contact .footer-icon {
  display: inline-flex;
}

.footer-program {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ── ANPC badges ── */

.footer-anpc {
  border-top: 1px solid var(--border);
  padding: 2px 0;
  background: transparent;
}

.anpc-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.anpc-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: all var(--speed) ease;
  text-align: center;
  min-width: 140px;
}

.anpc-badge:hover {
  transform: translateY(-2px);
}

.anpc-badge:hover .anpc-logo {
  opacity: 0.85;
  filter: drop-shadow(0 4px 12px rgba(200, 163, 77, 0.3));
}

.anpc-logo {
  height: 88px;
  width: auto;
  max-width: 110px;
  display: block;
  transition: all var(--speed) ease;
  object-fit: contain;
}

.anpc-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  word-break: break-word;
}

@media (max-width: 768px) {
  .anpc-badges {
    gap: 16px;
  }

  .anpc-logo {
    height: 77px;
  }
}

@media (max-width: 640px) {
  .anpc-badges {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .anpc-badge {
    min-width: unset;
    flex: 1 1 0;
    max-width: 33%;
    gap: 6px;
  }

  .anpc-logo {
    height: auto;
    width: 100%;
    max-width: 80px;
    flex-shrink: 0;
  }

  .anpc-text {
    font-size: 0.65rem;
  }
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-legal {
  font-size: 0.8rem;
  color: #6b7080;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: #6b7080;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--muted);
}

@media (min-width: 640px) {
  .footer-top-inner {
    grid-template-columns: 1fr 1.6fr;
  }

  .footer-nav {
    gap: 28px 40px;
  }
}

@media (min-width: 1000px) {
  .footer-nav {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 28px 48px;
  }
}

.floating-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  background: linear-gradient(135deg, #c8a34d, #b08930);
  color: #131620;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.sticky-mobile {
  display: none;
}

.trust-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trust-item {
  border: 1px solid rgba(200, 163, 77, 0.2);
  background: rgba(200, 163, 77, 0.06);
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--accent);
}

.section.alt {
  background: #181b25;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card-img-wrap {
  margin: -24px -24px 16px -24px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: var(--surface-soft);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .card-img {
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 5px;
}

.service-card .small {
  min-height: 44px;
}

/* ── Service progress indicator ── */

.service-progress {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 30;
}

.sp-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border);
  border: 1px solid rgba(200, 163, 77, 0.2);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.sp-dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(200, 163, 77, 0.4);
}

@media (max-width: 1200px) {
  .service-progress {
    display: none;
  }
}

.service-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 22, 32, 0.25) 0%, rgba(19, 22, 32, 0.6) 70%, #131620 100%);
}

/* ── Banner Pages ── */

.page-banner {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.page-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

/* ── Page hero mini (FAQ, etc.) ── */

.page-hero-mini {
  background:
    linear-gradient(135deg, rgba(200, 163, 77, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #181b25, #131620);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

/* ── Stats grid ── */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}

.stat-block {
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.stat-number {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Value cards ── */

.value-card {
  text-align: center;
  padding: 28px 20px;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(200, 163, 77, 0.25);
  color: var(--accent);
  margin-bottom: 14px;
}

.value-card h3 {
  margin-bottom: 8px;
}

/* ── Step icons ── */

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(200, 163, 77, 0.25);
  color: var(--accent);
  margin-bottom: 10px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}

.steps-row::before {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 163, 77, 0.35), rgba(200, 163, 77, 0.35), transparent);
  z-index: 0;
}

.step-card {
  background: linear-gradient(180deg, #1c1f2a 0%, #1a1d28 100%);
  position: relative;
  z-index: 1;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(200, 163, 77, 0.3);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 8px;
}

.faq-card {
  background: var(--surface);
}

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

.testimonial-card {
  background: linear-gradient(180deg, #1c1f2a 0%, #1a1d27 100%);
  position: relative;
  padding-top: 40px;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.35;
  pointer-events: none;
}

.quote {
  margin: 0;
  font-size: 0.96rem;
  color: #c7c9d0;
}

.author {
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.author-type {
  color: var(--muted);
  font-weight: 500;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(200, 163, 77, 0.2);
  background: rgba(200, 163, 77, 0.06);
  color: var(--accent);
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 700;
}

@keyframes slide-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-slider {
  overflow: hidden;
  margin-top: 16px;
  background: linear-gradient(90deg, rgba(19, 22, 32, 0.8) 0%, transparent 5%, transparent 95%, rgba(19, 22, 32, 0.8) 100%);
  border-radius: var(--radius-sm);
}

.brand-logos {
  display: flex;
  gap: 10px;
  padding: 16px 0;
  animation: slide-infinite 40s linear infinite;
  will-change: transform;
}

.brand-logos:hover {
  animation-play-state: paused;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  min-height: 60px;
  min-width: 120px;
  flex-shrink: 0;
  transition: transform var(--speed) ease, border-color var(--speed) ease, background var(--speed) ease, box-shadow var(--speed) ease;
}

.brand-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 163, 77, 0.35);
  background: rgba(200, 163, 77, 0.08);
  box-shadow: var(--shadow-sm);
}

.bl-name {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(232, 233, 237, 0.5);
  transition: color var(--speed) ease;
  text-align: center;
  line-height: 1.2;
}

.bl-serif {
  font-family: Georgia, 'Times New Roman', serif;
  text-transform: none;
  font-style: italic;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.brand-logo:hover .bl-name {
  color: var(--accent);
}

.estimate-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.estimate-form label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 10px 11px;
  font: inherit;
  color: var(--text);
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: 2px solid rgba(200, 163, 77, 0.5);
  outline-offset: 1px;
  border-color: var(--accent);
}

.estimate-form button {
  margin-top: 4px;
  width: 100%;
}

.form-success {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(63, 188, 115, 0.15);
  border: 1px solid rgba(63, 188, 115, 0.4);
  color: #3fbc73;
  font-weight: 600;
  margin: 0;
}

.form-error {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(231, 76, 76, 0.12);
  border: 1px solid rgba(231, 76, 76, 0.35);
  color: #e74c4c;
  font-weight: 600;
  margin: 0;
}

.map-wrap {
  margin-top: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-soft);
}

.map-wrap iframe {
  display: block;
}

/* ── Mobile drawer ── */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  z-index: 60;
  background: #1a1d28;
  box-shadow: var(--shadow-lg);
  padding: 72px 24px 28px;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(17, 24, 39, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: #9ca0ad;
}

.drawer-link.sub {
  padding-left: 26px;
  font-size: 0.9rem;
}

.drawer-link.active,
.drawer-link:hover {
  background: rgba(200, 163, 77, 0.12);
  color: #e8e9ed;
}

.drawer-group-title {
  margin: 16px 0 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.drawer-actions {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

/* ── Header compact state ── */

/* Header compact removed – caused layout shift and jitter on scroll */

/* ── Breadcrumbs ── */

.breadcrumbs {
  padding: 14px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.bc-sep {
  margin: 0 6px;
  opacity: 0.5;
}

/* ── Price ticker marquee ── */

.price-ticker {
  background: #111827;
  color: #f5ebd1;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.price-ticker-track {
  display: inline-block;
  animation: ticker-scroll 40s linear infinite;
  padding: 8px 0;
}

.ticker-item {
  display: inline-block;
  margin-right: 36px;
}

.ticker-item strong {
  color: var(--accent);
  margin-right: 5px;
}

.ticker-separator {
  color: var(--accent);
  opacity: 0.4;
  margin-right: 36px;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── WhatsApp floating ── */

.floating-wa {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 40;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55); }
}

/* ── Back to top ── */

.back-to-top {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 40;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.back-to-top:hover {
  background: var(--accent);
  color: #131620;
}

/* ── Cookie banner ── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: #0f1118;
  color: #c7c9d0;
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.84rem;
  flex: 1;
}

.cookie-inner a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-accept {
  flex-shrink: 0;
}

/* ── Fade-in animations ── */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ── Form validation states ── */

.estimate-form input.valid,
.estimate-form select.valid {
  border-color: #3fbc73;
}

.estimate-form input.invalid,
.estimate-form select.invalid {
  border-color: #e74c4c;
  background: #fff5f5;
}

/* ── Micro interactions ── */

.trust-item {
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.brand-chip {
  transition: transform var(--speed) ease, background var(--speed) ease;
}

.brand-chip:hover {
  transform: scale(1.05);
  background: rgba(200, 163, 77, 0.14);
}

.quote {
  font-style: italic;
}

/* ── Accordion ── */

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  cursor: pointer;
}

.accordion-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.accordion-item[open] summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

.accordion-body {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-category {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.faq-category:first-of-type {
  margin-top: 18px;
}

.service-link-card {
  text-decoration: none;
  text-align: center;
  padding: 28px 16px;
  transition: border-color var(--speed) ease, transform var(--speed) ease, box-shadow var(--speed) ease;
}

.service-link-card h3 {
  color: var(--text);
  transition: color var(--speed) ease;
}

.service-link-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-link-card:hover h3 {
  color: var(--accent);
}

/* ── CTA Band ── */

.cta-band {
  background: linear-gradient(135deg, rgba(200, 163, 77, 0.12) 0%, rgba(200, 163, 77, 0.04) 100%);
  border-top: 1px solid rgba(200, 163, 77, 0.2);
  border-bottom: 1px solid rgba(200, 163, 77, 0.2);
  padding: 36px 0;
}

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

.cta-band-title {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 1.35rem;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.cta-band-text {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.cta-band-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Contact details ── */

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}

.contact-row a {
  color: var(--accent);
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* ── Location gallery ── */

.location-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.location-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.location-img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .location-gallery {
    grid-template-columns: 1fr;
  }
}

/* ── Blog date ── */

.blog-date {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}

/* ── Focus ── */

.focus-ring:focus-visible,
.btn:focus-visible,
.pill:focus-visible,
.desktop-link:focus-visible,
.text-link:focus-visible,
a:focus-visible {
  outline: 2px solid #c8a34d;
  outline-offset: 2px;
  border-radius: 10px;
}

/* ── Media queries ── */

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-actions .header-wa {
    display: none;
  }

  .hero-grid,
  .two-col,
  .cards,
  .cards.two,
  .footer-nav,
  .trust-strip,
  .steps-row {
    grid-template-columns: 1fr;
  }

  .steps-row::before {
    display: none;
  }

  .cards.testimonials {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 8px;
  }

  .cards.testimonials .testimonial-card {
    min-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .grid-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .top-bar {
    padding: 10px 0;
  }

  .brand {
    font-size: 1.02rem;
  }

  .header-actions .header-cta {
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(1.75rem, 7.3vw, 2.4rem);
  }

  .floating-call {
    display: none;
  }

  .floating-wa {
    bottom: 76px;
  }

  .back-to-top {
    bottom: 76px;
  }

  .sticky-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-top: 1px solid var(--border);
    background: #1a1d28;
    padding: 10px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
  }

  body {
    padding-bottom: 78px;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Buttons: reduce size on mobile – desktop padding unchanged */
  .btn {
    font-size: 0.84rem;
    padding: 10px 15px;
  }

  /* Lead text slightly smaller on mobile */
  .lead {
    font-size: 0.97rem;
  }

  /* CTA band title smaller on mobile */
  .cta-band-title {
    font-size: 1.15rem;
  }

  /* h3 headings a touch smaller */
  h3 {
    font-size: 1.05rem;
  }
}

.brand {
  display: inline-block;
  position: relative;
  overflow: visible;
  text-decoration: none;
}

.brand::after {
    display: none;
}

.brand:hover .logo-main,
.brand:hover .logo-sub {
  filter: brightness(1.1);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-main {
    font-size: 1.5em;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #a67c28 0%, #c8a34d 35%, #e7c87f 50%, #c8a34d 65%, #9f792d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.logo-sub {
    font-size: 0.53em;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #a67c28 0%, #c8a34d 35%, #e7c87f 50%, #c8a34d 65%, #9f792d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    display: inline-block;
}

/* ── Mobile Optimization ── */

/* Responsive images – prevent overflow */
img,
video,
object,
embed {
  max-width: 100%;
  height: auto;
}

/* Iframes responsive width only – keep explicit height set via attribute/style */
iframe {
  max-width: 100%;
}

/* Prevent horizontal scroll from content overflow */
html,
body {
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

/* Minimum touch target size for interactive elements */
@media (max-width: 1024px) {
  .btn,
  .pill,
  .drawer-link,
  .desktop-link,
  .hamburger {
    min-height: 44px;
    min-width: 44px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
  }
}

/* Hero section mobile padding */
@media (max-width: 768px) {
  .hero > .container {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero-side {
    padding-top: 0;
  }

  /* Allow buttons to wrap naturally on small screens */
  .actions {
    flex-wrap: wrap;
  }

  /* service hero – less squished on mobile */
  .service-hero {
    aspect-ratio: 2 / 1;
  }

  /* page banner – better proportion on mobile */
  .page-banner-img {
    aspect-ratio: 2 / 1;
  }

  /* Two-col sidebar layout stacks vertically */
  .two-col {
    grid-template-columns: 1fr;
  }

  /* Prevent table overflow */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Exchange rates table readable on mobile */
  .exchange-rates-header,
  .exchange-rate-row {
    gap: 6px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  /* Calculator max-width full on mobile */
  .calculator-fields {
    max-width: 100%;
  }

  /* Hero price asides: stack vertically on phones instead of side-by-side.
     The 640-1024px tablet rule puts them in row 4 of a 2-col grid.
     Below 768px we want Preturi Aur above Preturi Argint. */
  .hero-grid > aside {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* Vânzări two-col: explicit single column so Bijuteriile din aur
     is always above Modalități de plată on phones. */
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Very small screens (< 480px) */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  h1 {
    font-size: clamp(1.55rem, 8vw, 1.95rem);
  }

  h2 {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  .card {
    padding: 18px 14px;
  }

  .section {
    padding: 38px 0;
  }

  /* service/page hero very small */
  .service-hero {
    aspect-ratio: 3 / 2;
  }

  .page-banner-img {
    aspect-ratio: 3 / 2;
  }

  /* Stats single column is already set; reduce padding */
  .stat-block {
    padding: 20px 12px;
  }

  /* Cookie banner stacks */
  .cookie-inner {
    gap: 10px;
    padding: 10px 0;
  }

  /* Floating buttons don't crowd */
  .floating-wa {
    width: 44px;
    height: 44px;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    left: 12px;
    bottom: 84px;
  }

  /* Drawer full width on tiny screens */
  .mobile-drawer {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }

  .mobile-drawer.open {
    right: 0;
  }

  /* Stack hero/section action buttons vertically on tiny screens */
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions > .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Even tighter buttons */
  .btn {
    font-size: 0.82rem;
    padding: 9px 13px;
  }

  /* Sticky-mobile bar: keep two columns but tighten buttons */
  .sticky-mobile .btn {
    width: 100%;
    font-size: 0.81rem;
    padding: 9px 8px;
  }

  .lead {
    font-size: 0.93rem;
  }

  h3 {
    font-size: 1rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   MOBILE & TABLET RESPONSIVE ENHANCEMENTS
   All rules apply only at ≤ 1024px – desktop layout is untouched.
════════════════════════════════════════════════════════════════ */

/* ── Fix hero-grid implicit-column bug on mobile (≤ 1024px) ──────
   The base CSS sets .hero-side { grid-column: 2 }. When the parent
   is forced to grid-template-columns: 1fr, that explicit placement
   creates an invisible implicit 2nd column – items no longer stack
   correctly. We reset all explicit placements here so the 1-column
   grid stacks in the right order.
────────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid > article {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-grid > .hero-side {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }

  .hero-grid > .trust-strip {
    grid-column: 1;
    grid-row: 3;
  }

  .hero-grid > aside {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ── Tablet layout: 640px – 1024px ──────────────────────────────
   Instead of jumping from 3-column straight to 1-column, cards and
   grids use 2 columns on tablet. The hero shows article + hero-side
   spanning full width and both price asides side-by-side below.
────────────────────────────────────────────────────────────────── */
@media (min-width: 640px) and (max-width: 1024px) {
  /* Hero: article + hero-side full-width, price asides side-by-side */
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid > article {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero-grid > .hero-side {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 0;
  }

  .hero-grid > .trust-strip {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .hero-grid > aside {
    grid-column: auto;
    grid-row: 4;
  }

  /* Service / blog cards: 2 columns on tablet */
  .cards,
  .cards.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Trust strip: 2×2 grid instead of 4×1 */
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Stats: 2 columns (3rd stat fills col-1 of the second row) */
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Location gallery: 2 columns */
  .location-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Steps row: 2 columns (connector line is already hidden at ≤ 1024px) */
  .steps-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── Small-phone extras (≤ 480px) ───────────────────────────────
   Additional rules that only apply on very small screens where the
   tablet 2-column overrides above don't apply.
────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Footer nav columns: 1 column so link text doesn't squeeze */
  .footer-nav {
    grid-template-columns: 1fr;
  }

  /* Trust strip: 1 column on very small screens */
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════════
   HOMEPAGE HERO – MOBILE OPTIMIZATIONS
   All rules use max-width, desktop (> 1024 px) is untouched.
════════════════════════════════════════════════════════════════ */

/* ── Tighter hero-grid gap when stacked on mobile ────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 14px;
  }
}

/* ── Hide hero-side service-highlights on phones (portrait)      ──
   The trust-strip and price cards already communicate reliability;
   the stat-list just adds ~200px of unnecessary scroll on phones.
   Also fix grid-row: trust-strip was at row 3 (from ≤1024px block),
   leaving an empty row 2 that doubled the gap. Move it to row 2.  */
@media (max-width: 639px) {
  /* Use higher-specificity selector to override the base
     .hero-grid > .hero-side { display: flex } rule [0,2,0] */
  .hero-grid > .hero-side {
    display: none;
  }

  /* Without hero-side, no row 2 → move trust-strip up to row 2 */
  .hero-grid > .trust-strip {
    grid-row: 2;
  }

  /* Asides auto-place into row 3 (after trust-strip at row 2) */
  .hero-grid > aside {
    grid-row: auto;
  }
}

/* ── Trust-strip 1 column on all mobile/small-tablet (≤ 768px) ──
   Overrides the 640-1024px tablet rule which sets 2 columns.    */
@media (max-width: 768px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

/* ── Service-card images: shorter aspect ratio on mobile ─────── */
@media (max-width: 768px) {
  .card-img-wrap {
    aspect-ratio: 2 / 1;
  }
}

/* ── Section-title h2: tighten top margin on mobile ─────────── */
@media (max-width: 768px) {
  .section-title h2 {
    margin-top: 8px;
  }
}

/* ── Section separator: match top offset to mobile padding ──────
   Base has padding: 74px 0 and top: -74px. On mobile the padding
   changes, so the gold separator line needs to track with it.    */
@media (max-width: 768px) {
  .section + .section::before {
    top: -50px;
  }
}

@media (max-width: 480px) {
  .section + .section::before {
    top: -38px;
  }
}