/* Partosmed – Prémium Sötétkék és Arany téma */

:root {
  /* Színpaletta */
  --brand-900: #070D19;      /* Mélysötét kék háttér */
  --brand-800: #0E1A2C;      /* Világosabb sötétkék felület */
  --brand-700: #13243B;      /* Aktív/kiemelt felületek */
  --brand-600: #D4AF37;      /* Metál arany főszín */
  --brand-500: #C5A059;      /* Pezsgő arany hover */
  --brand-100: rgba(212, 175, 55, 0.12); /* Arany áttetsző */
  --brand-5:   rgba(212, 175, 55, 0.05);  /* Nagyon áttetsző arany */

  --bg-deep: #070D19;
  --bg-section: #0B1323;
  --surface: #0E1A2C;
  --surface-card: #13243B;
  
  --gold: #D4AF37;
  --gold-hover: #F3E5AB;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --gold-bg: rgba(212, 175, 55, 0.08);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --border: rgba(212, 175, 55, 0.2);
  --border-light: rgba(212, 175, 55, 0.1);

  --shadow-sm: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.8);
  --shadow-glow: 0 0 16px rgba(212, 175, 55, 0.15);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-logo: 'Outfit', sans-serif;

  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-padding-top: 92px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.hidden { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--bg-deep);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.social { display: flex; gap: 14px; }
.social a { color: var(--text-muted); }
.social a:hover { color: var(--gold); }

.topbar-info { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold-bg);
  border: 1px solid var(--border);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 100px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}

.topbar-news { color: var(--text-muted); font-weight: 500; letter-spacing: 0.3px; }
.topbar-info a:hover { color: var(--gold-hover); }
.topbar-phone { font-weight: 700; color: var(--gold); }

/* ===== HEADER ===== */
.header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border-light);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(14, 26, 44, 0.95);
  backdrop-filter: blur(12px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.nav { display: flex; gap: 4px; margin-left: auto; }

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 9px 16px;
  border-radius: 100px;
  position: relative;
}

.nav-link:hover { color: var(--gold); background: var(--gold-bg); }

.nav-link.active {
  color: var(--bg-deep);
  background: var(--gold);
  font-weight: 600;
}

.header-cta {
  flex-shrink: 0;
  gap: 8px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

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

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}

/* ===== GOMBOK ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg { padding: 17px 38px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-deep);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--text-primary);
  color: var(--bg-deep);
  border-color: var(--text-primary);
}

.btn-white:hover {
  background: var(--text-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: url('images/mentokocsik_parlament.jpg') center/cover no-repeat scroll;
  contain: layout style paint;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7,13,25,0.92) 0%, rgba(14,26,44,0.78) 45%, rgba(14,26,44,0.45) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.1) 0%, transparent 55%);
}

.hero-ecg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  color: var(--gold-dim);
  z-index: 2;
  overflow: hidden;
}

.hero-ecg svg {
  width: 100%;
  height: 100%;
}

.hero-layout {
  position: relative;
  z-index: 3;
  padding: 100px 0;
}

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

.hero-panel {
  background: rgba(7, 13, 25, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-tags span {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ===== SZEKCIÓK ===== */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.section-muted { background: var(--bg-section); }

.section-brand {
  background: var(--surface);
  color: var(--text-primary);
}

.section-brand h2 { color: var(--gold); }
.section-brand p { color: var(--text-secondary); }

.section-brand-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image:
    linear-gradient(rgba(212,175,55,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.5) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section-watermark {
  position: absolute;
  top: 40px;
  right: 5%;
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: rgba(212, 175, 55, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.section-watermark-light { color: rgba(212, 175, 55, 0.04); }

.section-header { margin-bottom: 52px; }
.section-header-center { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header-center .section-label::before { display: none; }
.section-header-center .section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-label-light { color: var(--gold); }
.section-label-light::before { background: var(--gold); }

.section-header h2,
.col-text h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.75;
}

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

/* ===== MEDIA FRAME ===== */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.media-frame::before,
.media-frame::after {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  z-index: 2;
  pointer-events: none;
}

.media-frame::before {
  top: 16px;
  left: 16px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 4px 0 0 0;
}

.media-frame::after {
  bottom: 16px;
  right: 16px;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 0 4px 0;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (hover: hover) {
  .media-frame img { transition: transform 0.4s var(--ease); }
  .media-frame:hover img { transform: scale(1.03); }
}

.col-img .media-frame:not(.media-frame-light) img { aspect-ratio: 1; }
.media-frame-light img,
.section-brand .media-frame img { aspect-ratio: 4/3; }

.media-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.media-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.media-badge-txt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

/* ===== SERVICE CARDS ===== */
.service-cards {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-cards li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

@media (hover: hover) {
  .service-cards li {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  .service-cards li:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
  }
}

.svc-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 28px;
}

.svc-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.svc-text a {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dim);
}

.svc-text a:hover { border-bottom-color: var(--gold); }

.service-cards-dark li {
  background: var(--surface-card);
  border-color: var(--border-light);
}

.service-cards-dark li:hover {
  background: var(--surface-card);
  box-shadow: none;
}

.service-cards-dark .svc-num { color: var(--gold); }
.service-cards-dark .svc-text { color: var(--text-primary); }

/* ===== RÓLUNK ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-lead {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.8;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.stats { display: grid; gap: 14px; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  min-width: 70px;
}

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

/* ===== SZOLGÁLTATÁS FÜLEK ===== */
.tabs {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-section);
  padding: 8px 8px 0;
}

.tab-btn {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 14px 16px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn:hover {
  color: var(--gold);
  background: var(--gold-bg);
}

.tab-btn.active {
  background: var(--surface);
  color: var(--gold);
  box-shadow: 0 -2px 0 var(--gold) inset;
}

.tabs-panels {
  padding: 0;
}

.tab-panel {
  display: none;
}

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

.tab-panel-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  padding: 40px;
}

.tab-panel-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.tab-panel-text p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.tab-features {
  list-style: none;
  margin-bottom: 28px;
}

.tab-features li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 0.92rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.tab-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.tab-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-box {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.meta-box span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.meta-box strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}

/* ===== ÁRLISTA TÁBLÁZAT ===== */
/* ===== PRICING CARDS ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.pricing-card-main {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-md);
}

.pricing-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1;
}

.pricing-card-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Info box */
.pricing-info-box {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.pricing-info-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.pricing-info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-info-box li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.calc-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -8px;
  margin-bottom: 8px;
  font-style: italic;
}

.pricing-calc-title {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.pricing-calc-title h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-calc-title p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===== KALKULÁTOR ===== */
.calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}

.calc-form {
  padding: 40px;
  border-right: 1px solid var(--border-light);
}

.calc-form label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.calc-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-section);
  margin-bottom: 28px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.calc-form input[type="range"] {
  width: 100%;
  margin-bottom: 8px;
  accent-color: var(--gold);
  height: 4px;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.range-header span {
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}

.calc-result {
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--surface) 100%);
  color: var(--text-primary);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.calc-result div {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.calc-result div span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

.calc-total {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  margin-top: 8px;
  margin-bottom: 28px !important;
  font-weight: 600;
  color: var(--text-primary) !important;
}

.calc-total strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold);
}

/* ===== KAPCSOLAT ===== */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

@media (hover: hover) {
  .contact-card {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  .contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
  }
}

.contact-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon { font-size: 1.4rem; }

.contact-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.contact-hint {
  font-size: 0.82rem;
  color: var(--gold-hover);
  font-weight: 500;
  margin-top: auto;
}

.contact-person {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

.contact-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: 2px;
}

.contact-link:hover {
  color: var(--gold-hover);
}

.contact-card-full {
  grid-column: span 1;
  cursor: default;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  background: var(--bg-deep);
}

.gallery-item-wide {
  grid-column: 1 / 3;
  aspect-ratio: 16/7;
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item-wide {
    grid-column: 1 / 3;
    aspect-ratio: 16/8;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item-wide {
    grid-column: 1;
    aspect-ratio: 4/3;
  }
  .gallery-caption {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-deep);
  color: var(--text-muted);
  padding: 44px 0;
  font-size: 0.84rem;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 17px;
  opacity: 0.9;
}

.footer-links { display: flex; gap: 28px; }
.footer-links a:hover { color: var(--gold); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.reveal.visible {
  opacity: 1;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .row-2,
  .about-layout,
  .calculator,
  .contact-cards,
  .pricing-cards,
  .tab-panel-inner {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 36px;
  }

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

  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 8px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    text-align: center;
  }

  .tab-btn.active {
    box-shadow: 0 -2px 0 var(--gold) inset;
  }

  .tab-panel-inner {
    padding: 28px 20px;
  }

  .pricing-table-wrap {
    overflow-x: auto;
  }

  .pricing-table {
    min-width: 560px;
  }

  .calc-form {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 28px;
  }

  .calc-result {
    padding: 28px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .topbar-news { display: none; }

  .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 16px;
    gap: 6px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    pointer-events: none;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-row { position: relative; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }

  .hero { min-height: 80vh; }
  .hero-panel { padding: 32px 28px; }
  .hero-layout { padding: 72px 0; }
  .section { padding: 72px 0; }
  .section-watermark { display: none; }
}

@media (max-width: 500px) {
  .container {
    padding: 0 16px;
  }

  .topbar-row {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .topbar-info {
    justify-content: center;
    gap: 8px 14px;
  }

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

  .hero-panel {
    padding: 24px 20px;
  }

  .hero-tags {
    gap: 6px;
    margin-bottom: 24px;
  }

  .hero-tags span {
    font-size: 0.8rem;
    padding: 7px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
  .pulse-dot { animation: none; }
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-white:hover { transform: none; }
}

/* ===== BLOG SECTION ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: var(--border);
}

.blog-img-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-deep);
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.04);
}

.blog-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-category {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.blog-date {
  font-weight: 500;
}

.blog-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 700;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  transition: color 0.2s ease, transform 0.2s ease;
}

.blog-link:hover {
  color: var(--gold-hover);
  transform: translateX(4px);
}

/* ===== BLOG MODAL ===== */
.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 13, 25, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  padding: 20px;
}

.blog-modal.open {
  opacity: 1;
  visibility: visible;
}

.blog-modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.35s var(--ease);
}

.blog-modal.open .blog-modal-content {
  transform: scale(1) translateY(0);
}

.blog-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.blog-modal-close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

.blog-modal-body h2 {
  font-size: 1.68rem;
  line-height: 1.3;
  margin-top: 14px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.blog-modal-body p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.blog-modal-body h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

.blog-modal-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-modal-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.blog-modal-body li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}
