:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --dark: #0b192c;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --accent: #10b981;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 20px;
  --shadow: 0 12px 32px rgba(11, 25, 44, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--dark);
  text-decoration: none;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  background: radial-gradient(circle at top right, #e0f2fe 0%, #f4f8fc 60%);
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.12;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--primary-dark);
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.32);
}

.btn-whatsapp {
  background: #16a34a;
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.25);
}

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

.stat-box {
  background: var(--surface);
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.stat-box strong {
  display: block;
  font-size: 22px;
  color: var(--dark);
}

.stat-box span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Prije / Poslije Slider Card */
.compare-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.compare-box {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.layer-after {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
}

.layer-before {
  background: linear-gradient(135deg, #57534e 0%, #292524 100%);
  color: #e7e5e4;
  clip-path: inset(0 50% 0 0);
}

.sofa-svg {
  width: 190px;
  height: 110px;
  margin-bottom: 12px;
}

.tag-badge {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tag-left {
  left: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.tag-right {
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #0369a1;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  font-weight: 900;
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.compare-hint {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* Sections */
section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--dark);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

/* Pricing & Interactive Calculator */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid var(--border);
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card.selected {
  border-color: var(--primary);
  background: #f0f9ff;
}

.service-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 19px;
  color: var(--dark);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.price {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.add-btn {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.service-card.selected .add-btn {
  background: var(--primary);
  color: #fff;
}

.calc-bar {
  margin-top: 28px;
  background: var(--dark);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calc-bar strong {
  font-size: 24px;
  color: #38bdf8;
}

/* Steps */
.steps-bg {
  background: var(--surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg);
  padding: 26px;
  border-radius: var(--radius);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

/* Booking Form */
.booking-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--surface);
  padding: 32px 26px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

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

.success-msg {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  color: #065f46;
  font-weight: 600;
  text-align: center;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}

summary {
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: "+";
  font-size: 22px;
  color: var(--primary);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Footer */
footer {
  background: var(--dark);
  color: #94a3b8;
  text-align: center;
  padding: 36px 20px;
  font-size: 14px;
}

footer strong {
  color: #fff;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .hero {
    padding: 36px 0 48px;
  }
}
