/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0f1f3d;
  --navy-mid:  #1a3460;
  --navy-light:#243d72;
  --anthracite:#1c2530;
  --white:     #ffffff;
  --off-white: #f4f6f9;
  --gold:      #c9973a;
  --gold-light:#e2b55a;
  --gold-pale: #fdf3e0;
  --text-dark: #0f1f3d;
  --text-mid:  #3a4a6b;
  --text-muted:#6b7a99;
  --border:    #dde3ef;
  --shadow-sm: 0 2px 8px rgba(15,31,61,.08);
  --shadow-md: 0 6px 24px rgba(15,31,61,.12);
  --shadow-lg: 0 16px 48px rgba(15,31,61,.16);
  --radius:    12px;
  --radius-lg: 20px;
  --nav-h:     72px;
  --section-pad: clamp(60px, 8vw, 100px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* ── Typography ───────────────────────────────────── */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

h1, h2, h3 { line-height: 1.15; font-weight: 700; }

h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.05rem, 2vw, 1.2rem); }

p { line-height: 1.7; color: var(--text-mid); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all .2s ease-out;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,151,58,.35); }
.btn-primary:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.45);
}
.btn-outline:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); transform: translateY(-1px); }
.btn-outline:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* ── Scroll Reveal ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease-out, transform .55s ease-out;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background .25s, box-shadow .25s;
}
#navbar.scrolled {
  background: rgba(15,31,61,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.nav-cta { flex-shrink: 0; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}
.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); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(15,31,61,.97);
  backdrop-filter: blur(12px);
  padding: 20px 24px 28px;
  z-index: 49;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: background .18s, color .18s;
}
.mobile-menu a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.mobile-menu .btn-primary { margin-top: 8px; justify-content: center; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  background: var(--navy) url('../images/hero-blueprint.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Blueprint grid background */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg svg {
  width: 100%; height: 100%;
  opacity: .07;
}

/* Dark overlay – ľavá strana tmavšia (text), pravá odkrýva foto */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(15,31,61,.96) 0%,
      rgba(15,31,61,.88) 40%,
      rgba(15,31,61,.62) 70%,
      rgba(15,31,61,.40) 100%
    ),
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(201,151,58,.10) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(60px, 8vw, 100px);
  max-width: 740px;
}

.hero-content .label { color: var(--gold-light); }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
.hero-scroll svg { opacity: .5; }

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll { animation: none; }
}

/* ══════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════ */
#trust {
  background: var(--anthracite);
  padding-block: 28px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.trust-item:last-child { border-right: none; }

.trust-number {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  font-weight: 400;
}

@media (max-width: 700px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust-item:nth-child(2n) { }
  .trust-item:last-child, .trust-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ══════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════ */
#sluzby {
  padding-block: var(--section-pad);
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-header p { margin-top: 16px; font-size: 1.05rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: default;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--gold); }

.service-card h3 { margin-bottom: 10px; color: var(--navy); }
.service-card p { font-size: 14px; line-height: 1.65; }

/* wide card spanning 2 cols */
.service-card.wide { grid-column: span 2; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.wide { grid-column: span 1; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   REFERENCES
══════════════════════════════════════════════════ */
#referencie {
  padding-block: var(--section-pad);
  background: var(--off-white);
}

.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ref-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.ref-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.ref-card-head {
  padding: 22px 26px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.ref-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ref-card-icon svg { width: 20px; height: 20px; }

.ref-icon-blue  { background: #e8f0fe; }
.ref-icon-blue svg  { stroke: #1e40af; }
.ref-icon-green { background: #e6f4ea; }
.ref-icon-green svg { stroke: #15803d; }
.ref-icon-amber { background: #fef3c7; }
.ref-icon-amber svg { stroke: #b45309; }
.ref-icon-navy  { background: var(--gold-pale); }
.ref-icon-navy svg  { stroke: var(--gold); }

.ref-card-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.ref-card-body {
  padding: 18px 26px 24px;
}

.ref-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ref-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.5;
}
.ref-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

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

/* ══════════════════════════════════════════════════
   MAP
══════════════════════════════════════════════════ */
#mapa {
  padding-top: var(--section-pad);
  padding-bottom: 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#mapa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 30%, rgba(201,151,58,.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Header row: text left, stats right */
.map-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.map-header-text .label { color: var(--gold-light); }
.map-header-text h2 { color: var(--white); margin-bottom: 12px; }
.map-header-text p  { color: rgba(255,255,255,.65); margin-bottom: 0; }

.map-stats {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-shrink: 0;
}
.map-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  min-width: 110px;
}
.map-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.map-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

/* Full-bleed map strip */
.map-full-wrap {
  width: 100%;
  height: 560px;
  position: relative;
  display: block;
  overflow: hidden;
  clip-path: inset(0 0 20px 0);
}

#project-map {
  width: 100%;
  height: 100%;
}

/* Leaflet popup custom style */
.leaflet-popup-content-wrapper {
  background: var(--navy) !important;
  border: 1px solid rgba(201,151,58,.3) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.4) !important;
  color: var(--white) !important;
}
.leaflet-popup-tip { background: var(--navy) !important; }
.leaflet-popup-content { margin: 10px 14px !important; min-width: 160px; max-width: 240px; }
.leaflet-popup-content strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.leaflet-popup-content ul {
  margin: 0;
  padding-left: 13px;
}
.leaflet-popup-content li {
  font-size: 11.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}
.leaflet-popup-close-button { color: rgba(255,255,255,.5) !important; }

@media (max-width: 900px) {
  .map-header { grid-template-columns: 1fr; gap: 20px; }
  .map-stats { flex-wrap: wrap; }
  .map-stat { flex: 1; min-width: 90px; }
  .map-full-wrap { height: 400px; }
}
@media (max-width: 540px) {
  .map-full-wrap { height: 320px; }
}

/* ══════════════════════════════════════════════════
   WHY US
══════════════════════════════════════════════════ */
#preco-my {
  padding-block: var(--section-pad);
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: clamp(40px, 6vw, 60px);
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 24px; height: 24px; stroke: var(--gold-light); }

.why-item h3 { font-size: 1.05rem; color: var(--navy); }
.why-item p { font-size: 14px; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* 5 items: 3+2 layout on desktop */
@media (min-width: 901px) {
  .why-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ══════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════ */
#o-nas {
  padding-block: var(--section-pad);
  background: var(--off-white);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: url('../images/about-photo.jpg') center/cover no-repeat;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Zlatá grid mriežka + tmavý navy overlay cez fotografiu */
  background:
    linear-gradient(rgba(201,151,58,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,151,58,.08) 1px, transparent 1px),
    linear-gradient(160deg, rgba(15,31,61,.80) 0%, rgba(15,31,61,.55) 50%, rgba(15,31,61,.72) 100%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
}

.about-monogram {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9rem;
  font-weight: 900;
  color: rgba(201,151,58,.18);
  letter-spacing: -.05em;
  user-select: none;
}

.about-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: var(--gold);
  color: var(--white);
  border-radius: 12px;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 8px 24px rgba(201,151,58,.4);
}
.about-badge strong { display: block; font-size: 2rem; line-height: 1; }

.about-text .label { margin-bottom: 12px; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; }
.about-text p:last-of-type { margin-bottom: 28px; }

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}
.why-list li svg { flex-shrink: 0; stroke: var(--gold); }

@media (max-width: 800px) {
  .about-split { grid-template-columns: 1fr; }
  .about-visual { min-height: 260px; order: -1; }
}

/* ══════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════ */
#cta-banner {
  background: var(--navy);
  padding-block: clamp(60px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(201,151,58,.1) 0%, transparent 60%);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin-inline: auto;
}
.cta-banner-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.cta-banner-content h2 em { font-style: normal; color: var(--gold-light); }
.cta-banner-content p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.cta-banner-content .btn-primary {
  font-size: 16px;
  padding: 16px 36px;
}

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
#kontakt {
  padding-block: var(--section-pad);
  background: var(--off-white);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 32px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--gold-light); }

.contact-detail-text strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 2px;
}
.contact-detail-text span {
  font-size: 14px;
  color: var(--text-muted);
}

.promise-box {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-mid);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .02em;
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a0acbf; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,58,.15);
}

.form-group input.error,
.form-group textarea.error { border-color: #e53e3e; }

.form-group .error-msg {
  font-size: 12px;
  color: #e53e3e;
  display: none;
}
.form-group .error-msg.show { display: block; }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  margin: 4px 0 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.contact-form-wrap > .error-msg,
form > .error-msg {
  font-size: 12px;
  color: #e53e3e;
  display: none;
  margin: 0 0 12px;
}

.contact-form-wrap > .error-msg.show,
form > .error-msg.show {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 15px;
  justify-content: center;
  font-size: 15px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success.show { display: block; }

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.success-icon svg { stroke: #10b981; }

.form-success h3 { margin-bottom: 8px; color: var(--navy); }
.form-success p { font-size: 14px; }

@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   HONEY BANNER
══════════════════════════════════════════════════ */
#med-banner {
  background: linear-gradient(135deg, #92400e 0%, #b45309 40%, #d97706 100%);
  position: relative;
  overflow: hidden;
}
.med-banner-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.med-banner-inner {
  position: relative;
  z-index: 1;
}
.med-banner-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding-block: 36px;
}
.med-banner-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.med-banner-icon svg {
  width: 100%;
  height: 100%;
}
.med-banner-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 6px;
}
.med-banner-title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.med-banner-sub {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}
.med-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .2s;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.med-banner-btn:hover {
  background: rgba(255,255,255,.25);
  border-color: #fff;
  transform: translateY(-1px);
}
.med-banner-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 760px) {
  .med-banner-content { grid-template-columns: auto 1fr; }
  .med-banner-btn { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 480px) {
  .med-banner-content { grid-template-columns: 1fr; text-align: center; }
  .med-banner-icon { margin-inline: auto; }
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
footer {
  background: var(--anthracite);
  padding-block: 48px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 6px;
}
.footer-logo p {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 400;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: center;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color .18s;
}
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact-mini {
  text-align: right;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
}
.footer-contact-mini a { color: var(--gold-light); }
.footer-contact-mini a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.made-by-lhcy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s;
}
.made-by-lhcy:hover { color: rgba(255,255,255,.7); }
.made-by-lhcy:hover svg { opacity: 1 !important; }

@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-contact-mini { text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ── Spinner (contact form sending state) ─────── */
@keyframes spin { to { transform: rotate(360deg); } }
