/* ==========================================================================
   ВРБОВАЦ — ДИГИТАЛНИ ПОРТАЛ & ДИЗАЈН СИСТЕМ
   Инспирисано природом планине Ртањ и моравском духовном баштином
   ========================================================================== */

:root {
  /* Палета боја */
  --bg-dark: #0c1613;
  --bg-surface: #13241f;
  --bg-surface-elevated: #1a302a;
  --bg-card: rgba(22, 42, 36, 0.75);
  --bg-card-hover: rgba(29, 56, 48, 0.9);
  --bg-light: #f7f5f0;
  --bg-alt: #f0ebe1;

  --text-main: #f5f3ef;
  --text-muted: #a3b8b0;
  --text-dark: #1b2622;
  --text-dark-muted: #53645e;

  --gold-primary: #d4af37;
  --gold-light: #f0cf65;
  --gold-dark: #aa8620;
  --gold-glow: rgba(212, 175, 55, 0.25);

  --emerald-primary: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-btn: 6px;

  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.25s ease-out;
}

/* Базно ресетовање */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Контејнери и распоред */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.section-alt {
  background-color: #0f1d18;
}

.section-header {
  margin-bottom: 56px;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  background: none;
  padding: 0 0 4px 0;
  border: none;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 16px;
}

.tag-gold {
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #ffffff;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.7;
}

.section-header.text-center .section-desc {
  margin: 0 auto;
}

.text-gold {
  color: var(--gold-light) !important;
}

.text-light {
  color: #e2e8e5 !important;
}

/* ==========================================================================
   НАВИГАЦИЈА
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(12, 22, 19, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}

.logo-symbol {
  font-size: 1.4rem;
  color: var(--gold-primary);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text small {
  font-size: 0.62rem;
  color: var(--gold-light);
  letter-spacing: 4px;
  margin-top: 3px;
  font-family: var(--font-body);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: #cfdad4;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-highlight {
  color: var(--gold-light) !important;
  font-weight: 700 !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   ДУГМАД (BUTTONS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0c1613;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #e5ede8;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-primary-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--gold-primary);
  color: #0c1613;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary-sm:hover {
  background: var(--gold-light);
}

.btn-secondary-sm {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: #cfdad4;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary-sm:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-gold {
  background: var(--gold-primary);
  color: #0c1613;
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   ХЕРО СЕКЦИЈА
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(180deg, rgba(12, 22, 19, 0.75) 0%, rgba(12, 22, 19, 0.88) 100%),
                    url('images/rtanj_vrbovac_hero.jpg');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 65% 30%, rgba(212, 175, 55, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #c7d8d0;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 820px;
}

.hero-subtitle strong {
  color: var(--gold-light);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats-grid {
  display: grid;
  grid-template-grid-columns: repeat(4, 1fr);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid var(--border-glass);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   КАРТИЦЕ И ГРИДОВИ (CARDS & GRIDS)
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-md);
}

.highlighted-card {
  border-color: var(--border-gold);
  background: linear-gradient(180deg, rgba(30, 58, 50, 0.8) 0%, rgba(18, 35, 30, 0.9) 100%);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.card-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover .card-icon-svg,
.contact-card:hover .card-icon-svg {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  border-top: 1px solid var(--border-glass);
  padding-top: 16px;
}

.feature-list li {
  font-size: 0.9rem;
  color: #d1dfd8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: '✓';
  color: var(--gold-primary);
  font-weight: bold;
}

/* ==========================================================================
   ДУХОВНОСТ И ЦРКВИШТЕ
   ========================================================================== */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}

.story-image-box {
  position: relative;
}

.holy-card {
  background: linear-gradient(180deg, rgba(16, 33, 27, 0.6) 0%, rgba(10, 20, 16, 0.95) 100%),
              url('images/crkviste_church_vrbovac.jpg');
  background-size: cover;
  background-position: center;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.holy-halo {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.holy-icon {
  font-size: 4.5rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.5));
}

.holy-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.holy-loc {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.holy-date {
  font-size: 0.86rem;
  color: #bac8c1;
  border-top: 1px solid var(--border-glass);
  padding-top: 16px;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.story-item {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--border-gold);
}

.story-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.story-item h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.story-item p {
  color: #b7c7bf;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==========================================================================
   РТАЊ И ЕКОТУРИЗАМ
   ========================================================================== */
.rtanj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.rtanj-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition-smooth);
}

.rtanj-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
}

.rtanj-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.rtanj-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.rtanj-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   КАТАЛОГ НЕКРЕТНИНА
   ========================================================================== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.property-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.property-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.prop-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.prop-tag.available {
  background: #0f4c3a;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
}

.prop-visual {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.prop-visual-1 {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(12, 22, 19, 0.92) 100%),
              url('images/house_vrbovac_vidikovac.jpg');
  background-size: cover;
  background-position: center;
}

.prop-visual-2 {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(12, 22, 19, 0.92) 100%),
              url('images/house_vrbovac_izvor.jpg');
  background-size: cover;
  background-position: center;
}

.prop-visual-3 {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(12, 22, 19, 0.92) 100%),
              url('images/house_vrbovac_brest.jpg');
  background-size: cover;
  background-position: center;
}

.prop-price-badge {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.prop-price-badge small {
  font-size: 0.82rem;
  color: #d1dfd8;
  font-family: var(--font-body);
  font-weight: 400;
}

.prop-body {
  padding: 24px;
}

.prop-type {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.prop-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin: 6px 0 8px 0;
}

.prop-loc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.prop-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: #d1ded7;
}

.prop-summary {
  font-size: 0.92rem;
  color: #a7bbb1;
  margin-bottom: 22px;
  line-height: 1.55;
}

.prop-footer {
  display: flex;
  gap: 10px;
}

.photo-disclaimer-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffdd80;
  border: 1px solid rgba(255, 221, 128, 0.35);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-notice-banner {
  margin-top: 36px;
  background: rgba(18, 28, 24, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.legal-notice-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.legal-notice-text h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.legal-notice-text p {
  font-size: 0.9rem;
  color: #c2d4cb;
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal-notice-text p:last-child {
  margin-bottom: 0;
}

.modal-photo-warning {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 0.84rem;
  color: #f7e7a9;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Правни услови секција */
.legal-terms-section {
  background: rgba(8, 15, 13, 0.9);
  border-top: 1px solid var(--border-glass);
  padding: 70px 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.legal-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 8px;
}

.legal-card p, .legal-card ul {
  font-size: 0.88rem;
  color: #b3c5bd;
  line-height: 1.65;
}

.legal-card ul {
  list-style: none;
  margin-top: 8px;
}

.legal-card ul li {
  margin-bottom: 6px;
  padding-left: 14px;
  position: relative;
}

.legal-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold-light);
}

/* ==========================================================================
   ИНТЕРАКТИВНИ КАЛКУЛАТОР СУБВЕНЦИЈА
   ========================================================================== */
.calculator-container {
  background: linear-gradient(160deg, #162b24 0%, #0d1a15 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-md);
}

.calc-header {
  margin-bottom: 40px;
}

.calc-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #ffffff;
  margin: 10px 0;
}

.calc-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}

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

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}

.input-range-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.range-slider {
  width: 100%;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  color: #c9dbd3;
}

.checkbox-container input {
  margin-top: 4px;
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
}

.calc-results {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.result-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.result-number-box {
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.result-title {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.result-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  line-height: 1.1;
  margin: 6px 0;
}

.result-sub {
  font-size: 0.95rem;
  color: #a1b5ad;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.94rem;
  color: #c5d4cd;
}

.breakdown-row strong {
  color: #ffffff;
}

.highlight-row {
  background: rgba(212, 175, 55, 0.1);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-primary);
}

.text-success {
  color: var(--emerald-primary) !important;
}

.result-alert {
  font-size: 0.85rem;
  color: #a8b8b0;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

/* ==========================================================================
   КОНТАКТИ И ИНФРАСТРУКТУРА
   ========================================================================== */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.contact-desc {
  font-size: 0.88rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: #ccd7d1;
}

.doc-download-banner {
  margin-top: 50px;
  background: linear-gradient(90deg, #18332a 0%, #10211b 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.doc-text h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.doc-text p {
  color: #a8bcaf;
  font-size: 0.95rem;
}

/* ==========================================================================
   ФУТЕР
   ========================================================================== */
.site-footer {
  background: #080f0c;
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 380px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  font-size: 0.85rem;
  color: #798a83;
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   МОДАЛ
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  background: #142620;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 36px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #a8bbb1;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE ДИЗАЈН
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .story-layout {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .doc-download-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0f1d18;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-glass);
  }
  .main-nav.open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-section {
    padding-top: 120px;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .bottom-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
