/* ===================================
   СВОИ В СЕРБИИ — Design System
   =================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lora:ital,wght@0,500;0,600;0,700;1,500&display=swap');

/* ───── CSS Custom Properties ───── */
:root {
  /* Colors */
  --c-primary: #1a3628;
  --c-primary-light: #2e5743;
  --c-primary-dark: #0f1c15;
  --c-accent: #d68b5e;
  --c-accent-light: #e8bd9f;
  --c-gold: #cfa86e;
  --c-gold-light: #debc8a;

  /* Backgrounds */
  --c-bg-dark: #fbfaf8;
  --c-bg-card: #ffffff;
  --c-bg-card-hover: #faf9f6;
  --c-bg-light: #fefcfa;
  --c-bg-glass: rgba(255, 255, 255, 0.86);

  /* Text */
  --c-text: #2c2e2c;
  --c-text-muted: #6b706c;
  --c-text-dark: #121413;

  /* Borders */
  --c-border: rgba(26, 54, 40, 0.12);
  --c-border-light: rgba(26, 54, 40, 0.06);

  /* Gradients */
  --g-hero: linear-gradient(180deg, #eae5d9 0%, #fbfaf8 100%);
  --g-primary: linear-gradient(135deg, #1a3628, #2e5743);
  --g-accent: linear-gradient(135deg, #d68b5e, #e8bd9f);
  --g-warm: linear-gradient(135deg, #d68b5e, #cfa86e);
  --g-card: linear-gradient(145deg, #ffffff, #faf9f6);

  /* Typography */
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-heading: 'Lora', Georgia, serif;

  /* Spacing */
  --s-xs: 0.25rem;
  --s-sm: 0.5rem;
  --s-md: 1rem;
  --s-lg: 1.5rem;
  --s-xl: 2rem;
  --s-2xl: 3rem;
  --s-3xl: 4rem;
  --s-4xl: 6rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(26, 54, 40, 0.04);
  --shadow-md: 0 12px 32px rgba(26, 54, 40, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 54, 40, 0.12);
  --shadow-glow: 0 16px 40px rgba(46, 87, 67, 0.15);
  --shadow-accent: 0 16px 40px rgba(214, 139, 94, 0.2);

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.3s ease;
  --t-slow: 0.5s ease;
  --t-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
}

body {
  font-family: var(--f-body);
  background: var(--c-bg-dark);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: linear-gradient(180deg, #fbfaf8 0%, #fefcfa 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover {
  color: var(--c-accent);
}

ul, ol { list-style: none; }

/* ───── Typography ───── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.28rem; }

p {
  color: var(--c-text-muted);
  max-width: 65ch;
  font-size: 1.02rem;
}

.text-gradient {
  background: var(--g-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: var(--g-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ───── Layout ───── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

section {
  padding: var(--s-4xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--s-3xl);
}

.section-header h2 {
  margin-bottom: var(--s-md);
}

.section-header p {
  margin: 0 auto;
  font-size: 1.18rem;
  line-height: 1.75;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 0.55rem 1rem;
  background: #fff;
  border: 2px solid rgba(26, 54, 40, 0.18);
  border-radius: var(--r-full);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--s-lg);
  text-transform: none;
  letter-spacing: 0;
  box-shadow: var(--shadow-sm);
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 14px 32px;
  border: none;
  border-radius: var(--r-full);
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--g-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(59,130,246,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59,130,246,0.5);
  color: #fff;
}

.btn-accent {
  background: var(--g-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(249,112,102,0.35);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249,112,102,0.5);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--c-text);
  border: 2px solid rgba(26, 54, 40, 0.16);
}
.btn-outline:hover {
  border-color: rgba(26, 54, 40, 0.3);
  color: var(--c-primary);
  background: #fff;
}

.btn-telegram {
  background: var(--c-bg-card);
  color: #2AABEE;
  border: 1px solid rgba(42, 171, 238, 0.3);
  box-shadow: var(--shadow-sm);
}
.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #2AABEE;
  border-color: #2AABEE;
}

.btn-lg {
  padding: 20px 42px;
  font-size: 1.12rem;
}

.btn .btn-icon { font-size: 1.2em; }

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.btn-icon,
.meta-icon {
  width: 1.05rem;
  height: 1.05rem;
}

/* ───── Navigation ───── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--t-base);
  background: rgba(26, 54, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  background: rgba(26, 54, 40, 0.98);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--f-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
}
.nav-logo:hover { color: #fff; }

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nav-logo-icon .icon {
  width: 18px;
  height: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-xl);
}

.nav-links a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--t-fast);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-primary);
  border-radius: var(--r-full);
  transition: width var(--t-base);
}
.nav-links a:hover { color: var(--c-text); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 12px 26px !important;
  font-size: 0.98rem !important;
}

.nav-links a.btn-telegram {
  color: #2AABEE;
}
.nav-links a.btn-telegram:hover {
  color: #2AABEE;
  background: var(--c-bg-card);
}
.nav-links a.btn-telegram::after {
  display: none;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--t-base);
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ───── Hero Section ───── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: var(--g-hero);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}


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

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 8px 20px;
  background: #fff;
  border: 2px solid rgba(26, 54, 40, 0.12);
  border-radius: var(--r-full);
  font-size: 0.9rem;
  color: var(--c-primary-light);
  margin-bottom: var(--s-xl);
  animation: fadeInUp 0.6s ease;
}

.hero-badge .icon {
  width: 0.95rem;
  height: 0.95rem;
}

.hero h1 {
  margin-bottom: var(--s-lg);
  animation: fadeInUp 0.6s 0.15s ease both;
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  max-width: 9.5ch;
  color: #343437;
}

.hero-subtitle {
  font-size: clamp(1.18rem, 1.8vw, 1.34rem);
  line-height: 1.78;
  margin-bottom: var(--s-2xl);
  animation: fadeInUp 0.6s 0.3s ease both;
  max-width: 58ch;
}

.hero-buttons {
  display: flex;
  gap: var(--s-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.45s ease both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-lg);
  margin-top: var(--s-3xl);
  animation: fadeInUp 0.6s 0.6s ease both;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(26, 54, 40, 0.08);
  border-radius: 28px;
  padding: var(--s-lg);
  text-align: left;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.hero-stat-number {
  font-family: var(--f-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.2;
  margin-bottom: var(--s-sm);
}

.hero-stat-label {
  font-size: 0.97rem;
  color: var(--c-text-muted);
  line-height: 1.55;
}


.hero-panel {
  align-self: stretch;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 560px;
  display: block;
}

.hero-rating-overlay {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 220px;
}

.hero-rating-overlay strong {
  font-family: var(--f-heading);
  font-size: 2rem;
  color: var(--c-primary);
  line-height: 1;
}

.hero-rating-overlay span {
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 1.3;
}

/* ───── City Section ───── */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.city-card {
  background: var(--g-card);
  border: none;
  border-radius: 34px;
  padding: 2rem;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.city-card:nth-child(1),
.city-card:nth-child(4) {
  background: #ffffff;
}

.city-card:nth-child(2),
.city-card:nth-child(5) {
  background: #fdfbf7;
}

.city-card:nth-child(3),
.city-card:nth-child(6) {
  background: #fdfbf7;
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-primary);
  opacity: 0;
  transition: opacity var(--t-base);
}

.city-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23,107,105,0.18);
  box-shadow: var(--shadow-glow);
}
.city-card:hover::before { opacity: 1; }

.city-card-icon {
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-accent);
  font-weight: 800;
  margin-bottom: var(--s-md);
  display: block;
  margin-bottom: 1.1rem;
}

.city-card h3 {
  margin-bottom: var(--s-sm);
  font-size: 1.36rem;
}

.city-card p {
  font-size: 1rem;
  line-height: 1.72;
}

/* ───── Services Section ───── */
.services-tabs {
  display: flex;
  justify-content: flex-start;
  gap: var(--s-sm);
  margin-bottom: var(--s-2xl);
  flex-wrap: wrap;
  padding: 0.4rem;
  background: var(--c-primary);
  border: none;
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}

.services-tab {
  padding: 12px 22px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  color: rgba(255,255,255,0.78);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-base);
}
.services-tab:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.services-tab.active {
  background: var(--c-accent);
  border-color: transparent;
  color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}

.services-panel {
  display: none;
}
.services-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-lg);
  animation: fadeIn 0.3s ease;
}

.service-card {
  background: var(--g-card);
  border: none;
  border-radius: 34px;
  padding: 2rem;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.services-panel.active .service-card:nth-child(odd) {
  background: #ffffff;
}

.services-panel.active .service-card:nth-child(even) {
  background: #fdfbf7;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23,107,105,0.16);
  box-shadow: var(--shadow-glow);
}

.service-card-icon {
  min-width: fit-content;
  width: fit-content;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--s-md);
}

.service-card h4 {
  margin-bottom: var(--s-sm);
  max-width: 12ch;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.72;
  flex-grow: 1;
}

.service-card-price {
  margin-top: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-price {
  font-family: var(--f-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary-light);
}

.service-price-label {
  font-size: 0.92rem;
  color: var(--c-text-muted);
}

/* ───── Advantages Section ───── */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-lg);
}

.advantage-card {
  background: var(--g-card);
  border: none;
  border-radius: 34px;
  padding: 2rem;
  text-align: left;
  transition: all var(--t-base);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.advantage-card:nth-child(2n) {
  background: #fdfbf7;
}

.advantage-card:nth-child(2n+1) {
  background: #ffffff;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-accent);
  border-color: rgba(184,101,70,0.18);
}

.advantage-icon {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--c-accent);
  margin-bottom: var(--s-md);
  display: block;
}

.advantage-card h3 {
  margin-bottom: var(--s-sm);
  font-size: 1.36rem;
}

.advantage-card p {
  font-size: 1rem;
  margin: 0 auto;
  line-height: 1.72;
}

/* ───── Steps Section ───── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-primary), var(--c-accent), var(--c-gold), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: left;
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: none;
  border-radius: 34px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 0 var(--s-lg);
  background: rgba(23, 107, 105, 0.08);
  border: 1px solid rgba(23, 107, 105, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-size: 1.15rem;
  color: var(--c-primary);
  transition: all var(--t-base);
}

.step-card:hover .step-number {
  background: rgba(23, 107, 105, 0.12);
  color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.step-card h3 {
  margin-bottom: var(--s-sm);
  font-size: 1.28rem;
}

.step-card p {
  font-size: 1rem;
  margin: 0 auto;
  line-height: 1.72;
}

/* ───── FAQ Section ───── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.faq-item {
  background: var(--g-card);
  border: none;
  border-radius: 30px;
  overflow: hidden;
  transition: border-color var(--t-base);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(59,130,246,0.3);
}

.faq-question {
  width: 100%;
  padding: var(--s-lg) var(--s-xl);
  background: none;
  border: none;
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-md);
  transition: color var(--t-fast);
}

.faq-question:hover {
  color: var(--c-primary-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(23,107,105,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--c-primary);
  transition: transform var(--t-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-slow);
}

.faq-answer-inner {
  padding: 0 var(--s-xl) var(--s-lg);
  font-size: 1rem;
  line-height: 1.82;
  color: var(--c-text-muted);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ───── Blog Preview Section ───── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.blog-card {
  background: var(--g-card);
  border: none;
  border-radius: 34px;
  overflow: hidden;
  transition: all var(--t-base);
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23,107,105,0.16);
  box-shadow: var(--shadow-glow);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #5a66db, #7d86ea);
  color: #fff;
  font-family: var(--f-heading);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.blog-card-content {
  padding: var(--s-lg);
}

.blog-card-tag {
  display: inline-block;
  padding: 0;
  background: rgba(23,107,105,0.08);
  background: none;
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--s-sm);
  text-transform: none;
  letter-spacing: 0;
}

.blog-card h3 {
  font-size: 1.28rem;
  margin-bottom: var(--s-sm);
  color: var(--c-text);
  transition: color var(--t-fast);
}

.blog-card:hover h3 {
  color: var(--c-primary-light);
}

.blog-card-excerpt {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--c-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-top: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid var(--c-border);
  font-size: 0.95rem;
  color: var(--c-text-muted);
}

.blog-card-meta span,
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-more {
  text-align: center;
  margin-top: var(--s-2xl);
}

/* ───── CTA Section ───── */
.cta-section {
  background: var(--g-primary);
  border-top: none;
  border-bottom: none;
  color: #fff;
}

.about-content {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: var(--s-2xl);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: var(--s-lg);
}

.about-copy p {
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 100%;
  color: rgba(255,255,255,0.88);
}

.about-points {
  display: grid;
  gap: var(--s-md);
}

.about-point {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 26px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.about-point strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--c-text);
}

.about-point span {
  color: var(--c-text-muted);
  font-size: 1rem;
}

.about-action {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: var(--s-md);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--s-md);
  color: #fff;
}

.cta-content p {
  margin: 0 auto var(--s-xl);
  font-size: 1.16rem;
  color: rgba(255,255,255,0.88);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--s-md);
  flex-wrap: wrap;
}

/* ───── Footer ───── */
.footer {
  background: #163435;
  padding: var(--s-3xl) 0 var(--s-xl);
  border-top: 1px solid var(--c-border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-3xl);
  margin-bottom: var(--s-2xl);
}

.footer-brand h3 {
  font-size: 1.34rem;
  margin-bottom: var(--s-md);
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  color: #f8f1e8;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--s-lg);
  color: rgba(248, 241, 232, 0.72);
}

.footer-socials {
  display: flex;
  gap: var(--s-sm);
}

.footer-social {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8f1e8;
  transition: all var(--t-base);
  font-size: 1.1rem;
}
.footer-social:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.16);
  color: #fff;
}

.footer-col h4 {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  color: #f8f1e8;
  margin-bottom: var(--s-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.footer-links a {
  color: rgba(248, 241, 232, 0.72);
  font-size: 1rem;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  padding-top: var(--s-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(248, 241, 232, 0.64);
}

/* ───── Animations ───── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.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; }

/* ───── Blog Page Styles ───── */
.blog-page-header {
  padding-top: calc(var(--nav-height) + var(--s-3xl));
  padding-bottom: var(--s-2xl);
  text-align: center;
}
.blog-page-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--c-text-muted);
}

#services,
#blog {
  background: transparent;
}

#about {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
}

#about .section-header h2,
#about .section-header p,
#contact .cta-content h2,
#contact .cta-content p {
  color: #fff;
}

#about .text-gradient {
  background: linear-gradient(135deg, #f0ba9c, #d68b5e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#about .section-badge {
  background: rgba(255,255,255,0.98);
  border-color: rgba(255,255,255,0.2);
}

.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--s-lg);
  padding-bottom: var(--s-4xl);
}

/* ───── Article Page Styles ───── */
.article-header {
  padding-top: calc(var(--nav-height) + var(--s-3xl));
  padding-bottom: var(--s-2xl);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.article-header h1 {
  margin-bottom: var(--s-md);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: var(--s-lg);
  color: var(--c-text-muted);
  font-size: 1rem;
  margin-bottom: var(--s-lg);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--s-4xl);
}

.article-content h2 {
  margin-top: var(--s-2xl);
  margin-bottom: var(--s-md);
  font-size: 2rem;
}

.article-content h3 {
  margin-top: var(--s-xl);
  margin-bottom: var(--s-md);
}

.article-content p {
  margin-bottom: var(--s-md);
  font-size: 1.12rem;
  line-height: 1.9;
  max-width: 100%;
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--s-md);
  padding-left: var(--s-xl);
}

.article-content li {
  margin-bottom: var(--s-sm);
  line-height: 1.7;
  color: var(--c-text-muted);
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-content strong {
  color: var(--c-text);
}

.article-back {
  text-align: center;
  padding: var(--s-2xl) 0 var(--s-4xl);
}

/* ───── Responsive ───── */
@media (max-width: 1024px) {
  .hero-layout,
  .about-content {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .city-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-2xl);
  }
  .steps-grid::before { display: none; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section { padding: var(--s-3xl) 0; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(250, 244, 236, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--s-xl);
    gap: var(--s-lg);
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t-base);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-toggle { display: flex; }
  .nav-toggle span { background: var(--c-text); }

  .hero-content { max-width: 100%; }
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-house-card {
    min-height: 460px;
  }

  .hero-house-roof {
    top: 10rem;
    right: 3.2rem;
    width: 210px;
    height: 150px;
  }

  .hero-house-body {
    top: 14.2rem;
    right: 4.2rem;
    width: 186px;
    height: 160px;
  }

  .hero-hand {
    width: 320px;
    height: 132px;
  }

  .city-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--s-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--s-sm);
    text-align: center;
  }

  .blog-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html { font-size: 16px; }

  .hero {
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
  }

  .hero-layout {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
    max-width: 9ch;
  }

  .hero-subtitle {
    font-size: 1.06rem;
    line-height: 1.72;
  }

  .hero-stat {
    border-radius: 24px;
  }

  .hero-house-card {
    min-height: 360px;
  }

  .hero-rating-card {
    top: 0;
    right: 0;
    padding: 0.8rem 1rem;
  }

  .hero-rating-card strong {
    font-size: 1.28rem;
  }

  .hero-rating-card span {
    font-size: 0.82rem;
  }

  .hero-sun {
    top: 4.8rem;
    left: 2.5rem;
    width: 66px;
    height: 66px;
  }

  .hero-cloud-left {
    top: 4.5rem;
    left: 0;
    width: 90px;
  }

  .hero-cloud-right {
    top: 7.5rem;
    right: 0;
    width: 104px;
  }

  .hero-house-roof {
    top: 8rem;
    right: 1.4rem;
    width: 160px;
    height: 118px;
  }

  .hero-house-body {
    top: 11.3rem;
    right: 2.2rem;
    width: 142px;
    height: 126px;
    border-width: 3px;
  }

  .hero-window {
    width: 24px;
    height: 40px;
    top: 22px;
  }

  .hero-door {
    width: 40px;
    height: 70px;
  }

  .hero-hand {
    width: 230px;
    height: 94px;
    right: 0;
    bottom: 2.8rem;
    border-width: 2px;
  }

  .hero-route-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .hero-route-card span {
    padding: 0.7rem 0.9rem;
    font-size: 0.92rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .services-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: var(--s-sm);
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .services-tab { flex-shrink: 0; }

  .cta-buttons {
    flex-direction: column;
  }
  .about-content {
    gap: var(--s-lg);
  }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ===================================
   SERVICE PAGES
   =================================== */

.service-hero {
  padding-top: calc(var(--nav-height) + var(--s-3xl));
  padding-bottom: var(--s-2xl);
  text-align: center;
  background: var(--g-hero);
}
.service-hero h1 {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--s-md);
}
.service-hero .hero-subtitle {
  max-width: 600px;
  margin: 0 auto var(--s-xl);
  color: var(--c-text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}
.service-hero .btn {
  margin-top: var(--s-md);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: var(--s-xl);
}
.breadcrumb a {
  color: var(--c-primary);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.service-section {
  padding: var(--s-3xl) 0;
}
.service-section-alt {
  background: var(--c-bg-dark);
}
.service-section h2 {
  font-family: var(--f-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: var(--s-2xl);
}

/* Service grid */
.service-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
}
@media (max-width: 768px) {
  .service-grid-3 {
    grid-template-columns: 1fr;
  }
}

.service-card-mini {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.service-card-icon {
  font-size: 2rem;
  margin-bottom: var(--s-md);
}
.service-card-mini h3 {
  font-family: var(--f-heading);
  font-size: 1.15rem;
  margin-bottom: var(--s-sm);
}
.service-card-mini p {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Steps */
.service-steps {
  max-width: 700px;
  margin: 0 auto;
}
.service-step {
  display: flex;
  gap: var(--s-xl);
  margin-bottom: var(--s-xl);
  align-items: flex-start;
}
.step-number {
  font-family: var(--f-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-accent);
  min-width: 60px;
  text-align: center;
  line-height: 1;
  padding-top: 4px;
}
.step-content h3 {
  font-family: var(--f-heading);
  font-size: 1.15rem;
  margin-bottom: var(--s-xs);
}
.step-content p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Checklist */
.service-checklist {
  max-width: 600px;
  margin: 0 auto var(--s-xl);
}
.checklist-item {
  padding: var(--s-md) 0;
  border-bottom: 1px solid var(--c-border-light);
  font-size: 0.95rem;
  line-height: 1.6;
}
.checklist-item:last-child {
  border-bottom: none;
}
.service-note {
  text-align: center;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Service FAQ */
.service-section .faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.service-section .faq-item {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  margin-bottom: var(--s-md);
  overflow: hidden;
}
.service-section .faq-item summary {
  padding: var(--s-lg);
  font-family: var(--f-heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: var(--s-2xl);
}
.service-section .faq-item summary::after {
  content: "+";
  position: absolute;
  right: var(--s-lg);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--c-accent);
  transition: transform 0.2s ease;
}
.service-section .faq-item[open] summary::after {
  content: "−";
}
.service-section .faq-item p {
  padding: 0 var(--s-lg) var(--s-lg);
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* Related cards */
.related-card {
  display: block;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: var(--s-xl);
  text-decoration: none;
  color: var(--c-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: var(--c-accent);
}
.related-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-primary);
  background: rgba(26, 54, 40, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: var(--s-sm);
}
.related-card h3 {
  font-family: var(--f-heading);
  font-size: 1.05rem;
  margin-bottom: var(--s-xs);
}
.related-card p {
  color: var(--c-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ======================================
   GUIDE HUB PAGES
   ====================================== */

.guide-quickanswer {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
}

.guide-quickanswer h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.guide-quickanswer p {
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.guide-block {
  margin-bottom: 2rem;
}

.guide-block h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--heading);
}

.guide-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.guide-table thead {
  background: var(--glass-bg);
}

.guide-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  color: var(--heading);
  border-bottom: 2px solid var(--glass-border);
}

.guide-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text);
}

.guide-table tbody tr:last-child td { border-bottom: none; }
.guide-table tbody tr:hover { background: var(--glass-bg); }

@media (max-width: 768px) {
  .guide-quickanswer { padding: 1.5rem; }
  .guide-table th, .guide-table td { padding: 0.7rem 0.85rem; font-size: 0.88rem; }
}

/* Service panel link */
.services-panel-link {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.services-panel-link .btn {
  font-size: 1rem;
}

/* Guide hub cards for guides.html */
.guide-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.guide-hub-card {
  background: var(--card-bg, #fff);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.guide-hub-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.guide-hub-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent, #6366f1);
  background: rgba(99,102,241,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}
.guide-hub-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.guide-hub-card p {
  color: var(--text-secondary, #64748b);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.guide-hub-card .btn {
  font-size: 0.95rem;
}
