@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red:          #CC1010;
  --red-hover:    #e01515;
  --dark:         #080808;
  --red-dim:      #8B0000;
  --gold:         #E8A500;
  --gold-dim:     rgba(232, 165, 0, 0.15);
  --card-bg:      #161616;
  --card-border:  rgba(204, 16, 16, 0.18);
  --text:         #FFFFFF;
  --text-soft:    rgba(255, 255, 255, 0.88);
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted:   #ABABAB;
  --nav-h:        72px;
  --light-bg:     #f4f4f4;
}

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

html {
  scroll-behavior: smooth;
  background: var(--dark);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

section, footer {
  position: relative;
  z-index: 1;
}

body {
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  z-index: 200;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(204, 16, 16, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}

.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
}

.nav-logo-text span {
  color: var(--red);
  display: block;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-center a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-center a:hover {
  color: var(--red);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(204, 16, 16, 0.5);
  padding: 0.5rem 1rem;
  transition: background 0.25s, color 0.25s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nav-cta:hover {
  background: var(--red);
  color: #fff;
}

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

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  transform-origin: center;
}

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

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

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

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(12px);
  padding: 2rem 3rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 190;
  border-bottom: 1px solid var(--card-border);
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-drawer a:hover {
  color: var(--red);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.75) 42%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-diag {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 4px;
  background: linear-gradient(to left, transparent, var(--red));
  opacity: 0.4;
}

.hero-glow {
  position: absolute;
  right: -8%;
  bottom: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204, 16, 16, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.hero-glow-gold {
  position: absolute;
  left: 3%;
  top: 8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 165, 0, 0.10) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero-symbol {
  height: 0.82em;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.hero-title span {
  color: var(--red);
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  max-width: 560px;
}

.hero-tagline strong {
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s, transform 0.25s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.btn:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  transition: transform 0.25s;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ── SECTION BASE ── */
section {
  padding: 6rem 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-rule {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-dim));
  margin: 1.2rem auto 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* ── SERVICES ── */
#storitve {
  background: var(--light-bg);
  overflow: hidden;
}

/* 964 silhouette — light sections only */
#storitve::after,
#statistike::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: auto;
  aspect-ratio: 1774 / 887;
  background: url('../Slike/964_silhuette_transparent.png') no-repeat left bottom / 100% 100%;
  opacity: 0.15;
  pointer-events: none;
}

#storitve .section-title { color: #111; }
#storitve .section-rule  { background: linear-gradient(90deg, var(--red), var(--red-dim)); }
#storitve .service-card  { background: #ffffff; box-shadow: 0 2px 14px rgba(0,0,0,0.09); }
#storitve .service-card h3 { color: #111; }
#storitve .service-icon  { color: var(--red); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
  overflow: visible;
  padding-top: 2rem;
}

.service-card {
  background: var(--card-bg);
  padding: 2rem 1.75rem 1.75rem;
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.service-card:nth-child(even) {
  border-bottom-color: var(--red-dim);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(204, 16, 16, 0.22);
}

.service-card:hover::after {
  opacity: 0.06;
}

.service-icon {
  position: absolute;
  top: -30px;
  right: 10px;
  width: 100px;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  z-index: 1;
  line-height: 1.45;
  margin: 0;
}

/* ── GALLERY ── */
#galerija {
  background: rgba(17, 17, 17, 0.6);
  overflow: hidden;
}

.gallery-grid {
  columns: 3;
  column-gap: 1rem;
  max-width: 1140px;
  margin: 0 auto;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204, 16, 16, 0.25), rgba(139, 0, 0, 0.35));
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay svg {
  width: 44px;
  height: 44px;
  fill: white;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ── STATS ── */
#statistike {
  background: #efefef;
  overflow: hidden;
}

#statistike .section-title { color: #111; }
#statistike .stat-card      { background: #ffffff; box-shadow: 0 2px 14px rgba(0,0,0,0.09); }
#statistike .stat-label     { color: #666; }
#statistike p               { color: #444; }
#statistike strong          { color: #111; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.stat-card {
  background: var(--card-bg);
  border-top: 3px solid var(--red);
  padding: 2rem 1.5rem;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.25s;
  padding: 0.25rem;
}

.lightbox-close:hover {
  color: var(--red);
}

/* ── CONTACT ── */
#kontakt {
  background: rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

#kontakt::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(204, 16, 16, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-sub {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ABABAB' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--card-bg);
  color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(155, 155, 155, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.form-message {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  text-align: center;
  display: none;
  letter-spacing: 0.02em;
}

.form-message.success {
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.05);
}

.form-message.error {
  color: #ff7070;
  border: 1px solid rgba(255, 112, 112, 0.3);
  background: rgba(255, 112, 112, 0.05);
}

/* ── FAQ ── */
#faq {
  background: #0a0a0a;
  padding: 6rem 2rem;
  overflow: hidden;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  background: #111;
  border: 1px solid rgba(204,16,16,0.18);
  border-top: none;
}

.faq-item:first-child {
  border-top: 1px solid rgba(204,16,16,0.18);
  clip-path: polygon(14px 0%,100% 0%,100% 100%,0% 100%,0% 14px);
}

.faq-item:last-child {
  clip-path: polygon(0% 0%,100% 0%,100% calc(100% - 14px),calc(100% - 14px) 100%,0% 100%);
}

.faq-question {
  padding: 1.35rem 1.6rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: #fff;
  letter-spacing: 0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] .faq-question { color: var(--red); }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 1.6rem 1.4rem;
  border-top: 1px solid rgba(204,16,16,0.12);
}

.faq-answer p {
  margin: 0;
  padding-top: 1rem;
  color: #aaa;
  line-height: 1.75;
  font-size: 0.93rem;
}

.faq-answer strong { color: #ddd; }

/* ── FOOTER ── */
footer {
  padding: 2.5rem 3rem;
  border-top: none;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, rgba(232,165,0,0.5) 70%, transparent);
  opacity: 0.6;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-nap a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.25s;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s;
}

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

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HOW IT WORKS ── */
#kako-delujemo {
  background: var(--dark);
  overflow: hidden;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--red-dim) 60%, transparent);
  opacity: 0.35;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.step-bubble {
  width: 56px;
  height: 56px;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  background: var(--dark);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  flex-shrink: 0;
}

.step-bubble svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-num-label {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  font-size: 0.6rem;
  font-weight: 800;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-item h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.step-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── BEFORE / AFTER SLIDERS ── */
#primerjava {
  background: rgba(10,10,10,0.8);
  overflow: hidden;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}

.ba-wrap {
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
  background: #000;
}

.ba-slider .ba-img-after {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.ba-reveal {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  width: 50%;
}

.ba-reveal .ba-img-before {
  display: block;
  height: 100%;
  width: auto;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: rgba(255,255,255,0.9);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle-circle {
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
  flex-shrink: 0;
}

.ba-handle-circle svg {
  width: 18px;
  height: 18px;
  fill: #111;
}

.ba-label {
  position: absolute;
  bottom: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  pointer-events: none;
}

.ba-label-before {
  left: 0.75rem;
  background: rgba(0,0,0,0.65);
  color: #fff;
}

.ba-label-after {
  right: 0.75rem;
  background: var(--red);
  color: #fff;
}

/* ── INSURANCE PARTNERS ── */
#partnerji {
  background: #efefef;
  padding: 4rem 3rem;
  overflow: hidden;
}

#partnerji .section-title { color: #111; }

.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.partner-logo {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  padding: 0.6rem 1.4rem;
  border: 1px solid #ddd;
  transition: color 0.25s, border-color 0.25s;
  cursor: default;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.partner-logo:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ── TESTIMONIALS ── */
#mnenja {
  background: var(--dark);
  overflow: hidden;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color 0.3s, transform 0.3s;
}

.testi-card:hover {
  border-color: rgba(204,16,16,0.45);
  transform: translateY(-4px);
}

.testi-stars {
  display: flex;
  gap: 3px;
}

.testi-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--red);
}

.testi-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-soft);
  flex: 1;
  font-style: italic;
}

.testi-author {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1rem;
}

.testi-author strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.testi-author span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── FLOATING CTA ── */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 180;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(204,16,16,0.45);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s, background 0.2s;
}

.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-cta:hover {
  background: var(--red-hover);
}

.float-cta svg {
  width: 13px;
  height: 13px;
  fill: #fff;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.float-cta:hover svg {
  transform: translateX(3px);
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 180;
  padding: 0.7rem 1.2rem;
  gap: 0.5rem;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1a1a;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 6px 20px rgba(232,165,0,0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s, background 0.2s;
}

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

#back-to-top:hover {
  background: #ffb800;
}

#back-to-top svg {
  width: 16px;
  height: 16px;
  fill: #1a1a1a;
  transition: transform 0.2s;
}

#back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ── GDPR COOKIE BANNER ── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(10,10,12,0.97);
  border-top: 1px solid rgba(204,16,16,0.25);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

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

.cookie-bar p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
}

.cookie-bar p a {
  color: var(--red);
  text-decoration: none;
}

.cookie-bar p a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cookie-btn-accept {
  background: var(--red);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.cookie-btn-accept:hover { background: var(--red-hover); }

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.12);
}

.cookie-btn-decline:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .steps-row::before { display: none; }
  .steps-row { flex-wrap: wrap; gap: 2.5rem; }
  .step-item { flex: 0 0 48%; }
  .ba-grid { grid-template-columns: 1fr; max-width: 540px; }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .step-item { flex: 0 0 100%; }
  .step-bubble { width: 70px; height: 70px; margin-bottom: 1rem; }
  .ba-grid { max-width: 100%; }
  .ba-wrap { width: 100%; }
  .ba-slider { height: 240px; }
  .partners-strip { gap: 0.75rem 1rem; }
  .partner-logo { font-size: 0.7rem; padding: 0.4rem 0.9rem; }
  .testi-card { padding: 1.4rem; }
  .faq-question { font-size: 0.9rem; padding: 1.1rem 1.2rem; }
  .faq-answer { padding: 0 1.2rem 1.1rem; }
  .float-cta { bottom: 1rem; right: 1rem; padding: 0.7rem 1.1rem; font-size: 0.78rem; }
  .cookie-bar { flex-direction: column; align-items: flex-start; }
  .footer-nap { align-items: center; }
  .lang-switcher { display: none; }
}

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  margin-left: 0.5rem;
}
.lang-switcher a {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.2rem 0.42rem;
  border: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.lang-switcher a:hover { color: var(--text); border-color: rgba(255,255,255,.15); }
.lang-switcher a.active { color: var(--gold); border-color: var(--gold); }

/* ── QUOTE WIZARD (povprasevanje.php) ── */
#quote-page {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 3rem) 3rem 5rem;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(204, 16, 16, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s;
}

.step-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.wizard-step.active .step-num {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.wizard-step.active .step-label {
  color: var(--text);
}

.wizard-step.done .step-num {
  background: var(--red-dim);
  border-color: var(--red-dim);
  color: #fff;
}

.step-connector {
  flex: 1;
  height: 1px;
  background: rgba(204, 16, 16, 0.2);
  margin: 0 0.5rem;
}

.wizard-step[data-tooltip] {
  position: relative;
  cursor: default;
}

.wizard-step[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #2a2a2a;
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.5;
  white-space: nowrap;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(204,16,16,0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 10;
}

.wizard-step[data-tooltip]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: rgba(204,16,16,0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 10;
}

.wizard-step[data-tooltip]:hover::after,
.wizard-step[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: block;
}

.wizard-nav {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--text);
}

/* File upload zone */
.upload-zone {
  border: 2px dashed rgba(204, 16, 16, 0.3);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--card-bg);
  position: relative;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--red);
  background: rgba(204, 16, 16, 0.05);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--red);
}

.upload-zone p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.upload-zone strong {
  color: var(--text);
}

.upload-zone small {
  font-size: 0.75rem;
  color: rgba(171,171,171,0.6);
}

.photo-previews {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.photo-preview {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--card-bg);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(0,0,0,0.7);
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s;
}

.photo-preview-remove:hover {
  background: var(--red);
}

/* Payment toggle */
.payment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-option {
  background: var(--card-bg);
  border: 2px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.payment-option:hover {
  border-color: rgba(204, 16, 16, 0.4);
}

.payment-option.selected {
  border-color: var(--red);
  background: rgba(204, 16, 16, 0.08);
}

.payment-option svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.75rem;
  display: block;
  color: var(--red);
}

.payment-option strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.payment-option small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.insurance-fields {
  display: none;
}

.insurance-fields.visible {
  display: block;
}

/* Thank you panel */
.wizard-thankyou {
  text-align: center;
  padding: 3rem 2rem;
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  background: rgba(204,16,16,0.1);
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thankyou-icon svg {
  width: 36px;
  height: 36px;
  color: var(--red);
}

/* ── STATUS PAGE ── */
#status-page {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 3rem) 3rem 5rem;
  max-width: 860px;
  margin: 0 auto;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.status-pending   { background: rgba(255,180,0,0.15);  color: #ffb400; border: 1px solid rgba(255,180,0,0.3); }
.status-reviewing { background: rgba(96,165,250,0.15); color: #60a5fa; border: 1px solid rgba(96,165,250,0.3); }
.status-quoted    { background: rgba(74,222,128,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.status-closed    { background: rgba(171,171,171,0.1); color: #ababab; border: 1px solid rgba(171,171,171,0.2); }

.status-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.meta-item {
  background: var(--card-bg);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--red);
}

.meta-item small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.meta-item strong {
  font-size: 0.95rem;
  color: var(--text);
}

.cost-box {
  background: rgba(204,16,16,0.06);
  border: 1px solid rgba(204,16,16,0.25);
  padding: 2rem;
  margin: 2rem 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.cost-box .cost-amount {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ── ADMIN PAGES ── */
.admin-body {
  background: #0a0a0a;
  min-height: 100vh;
}

.admin-nav {
  background: #111;
  border-bottom: 1px solid rgba(204,16,16,0.2);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-nav-brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.admin-nav-brand span {
  color: var(--red);
}

.admin-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.admin-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.admin-nav-links a:hover {
  color: var(--red);
}

.admin-main {
  padding: 2.5rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.admin-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.admin-subtitle {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.admin-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-soft);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(204,16,16,0.04);
}

.admin-table a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-table a:hover {
  color: var(--red-hover);
}

/* Admin login page */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.admin-login-card {
  background: var(--card-bg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 400px;
  border-top: 3px solid var(--red);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-login-logo strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.admin-login-logo span {
  color: var(--red);
}

.admin-login-logo small {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Admin quote detail */
.quote-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.quote-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.quote-photo {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.quote-photo:hover img {
  transform: scale(1.06);
}

.quote-sidebar {
  background: var(--card-bg);
  padding: 1.5rem;
  border-top: 3px solid var(--red);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.quote-sidebar h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.quote-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
}

.quote-info-row:last-of-type {
  border-bottom: none;
}

.quote-info-row span:first-child {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.quote-info-row span:last-child {
  color: var(--text);
  font-weight: 600;
}

.edit-form-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(204,16,16,0.2);
}

.edit-form-section h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  nav {
    padding: 0 2rem;
  }

  .nav-center,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .gallery-grid {
    columns: 2;
  }

  section {
    padding: 5rem 2rem;
  }

  #hero {
    padding: calc(var(--nav-h) + 1.5rem) 2rem 3rem;
  }

  .status-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-glow {
    width: 260px;
    height: 260px;
    opacity: 0.45;
  }

  .hero-glow-gold {
    width: 260px;
    height: 260px;
    opacity: 0.45;
  }

  .hero-bg::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.48) 45%, rgba(0,0,0,0.48) 65%, rgba(0,0,0,0.82) 100%);
  }

  .photo-previews {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero-symbol {
    height: 1.9em;
  }

  nav {
    padding: 0 1.5rem;
  }

  .nav-drawer {
    padding: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 0.75rem;
  }

  .service-card {
    min-height: 130px;
    padding: 1rem 1rem 1rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    top: -18px;
    right: 10px;
  }

  .gallery-grid {
    columns: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  section {
    padding: 4rem 1.5rem;
  }

  #hero {
    padding: calc(var(--nav-h) + 1rem) 1.5rem 2.5rem;
  }

  .payment-toggle {
    grid-template-columns: 1fr;
  }

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

  .photo-previews {
    grid-template-columns: repeat(3, 1fr);
  }

  #quote-page,
  #status-page {
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 3rem;
  }

  .quote-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
