/* ═══════════════════════════════════════
   CSEREKAZÁN — Shared Design System
   Brand: Navy #2b318a · Orange #f47920
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy:      #2b318a;
  --navy-dark: #1e2366;
  --navy-light:#3a42b5;
  --orange:    #f47920;
  --orange-dk: #d96510;
  --orange-lt: #ff9540;
  --dark:      #0f1020;
  --gray:      #6b7280;
  --gray-lt:   #f3f4f6;
  --white:     #ffffff;
  --off-white: #fafafa;
  --border:    #e5e7eb;
  --text:      #1a1d35;
  --text-sm:   #4b5563;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 4px 24px rgba(43,49,138,.10);
  --shadow-lg: 0 16px 60px rgba(43,49,138,.16);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 { line-height: 1.15; letter-spacing: -0.02em; }
p { line-height: 1.7; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px,5vw,72px);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43,49,138,0.08);
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: 0 4px 32px rgba(43,49,138,0.10); }

.nav-logo img {
  height: 44px; width: auto; display: block;
  transition: transform var(--transition);
  /* SVG doesn't need filter inversion on white bg */
}
.nav-logo img:hover { transform: scale(1.03); }

.nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
  color: var(--text); text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  position: relative; padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--navy); }

.nav-cta {
  background: var(--orange) !important; color: #fff !important;
  padding: 10px 22px; border-radius: 50px;
  font-weight: 700; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(244,121,32,.3);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--orange-dk) !important; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(244,121,32,.4) !important; }

.nav-phone-link {
  display: flex; align-items: center; gap: 6px;
  color: var(--navy) !important; font-weight: 700 !important;
  font-size: 0.88rem;
}

/* Mobile Nav */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: var(--transition);
}
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; padding: 32px 24px;
  flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text); text-decoration: none; font-size: 1.1rem;
  font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--orange); }
.mobile-menu .m-cta {
  margin-top: 16px; background: var(--orange); color: #fff !important;
  text-align: center; padding: 16px; border-radius: 12px; border-bottom: none;
}

/* ── STICKY MOBILE CTA ── */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  padding: 10px 16px 14px; background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border); gap: 10px;
  backdrop-filter: blur(12px);
}
.sticky-cta a {
  flex: 1; text-align: center; padding: 13px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
}
.sticky-cta .s-call { background: var(--orange); color: #fff; }
.sticky-cta .s-msg { background: var(--navy); color: #fff; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: clamp(110px,14vw,160px) clamp(20px,6vw,80px) clamp(60px,8vw,100px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,121,32,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
  pointer-events: none;
}
.page-hero-inner { max-width: 700px; position: relative; z-index: 2; }
.page-hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 0.78rem; font-weight: 600;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 20px; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 900;
  color: #fff; margin-bottom: 16px;
}
.page-hero h1 em { color: var(--orange); font-style: normal; }
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.7); max-width: 540px; line-height: 1.7;
}

/* ── SECTIONS ── */
.section { padding: clamp(64px,9vw,112px) clamp(20px,6vw,80px); }
.section-label {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800;
  color: var(--navy); margin-bottom: 14px; text-wrap: balance;
}
.section-sub { font-size: 1rem; color: var(--text-sm); max-width: 580px; line-height: 1.75; }
.section-header { margin-bottom: clamp(40px,6vw,64px); }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  font-family: inherit; cursor: pointer; border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-orange {
  background: var(--orange); color: #fff;
  box-shadow: 0 6px 24px rgba(244,121,32,.3);
}
.btn-orange:hover { background: var(--orange-dk); box-shadow: 0 10px 32px rgba(244,121,32,.4); }
.btn-navy {
  background: var(--navy); color: #fff;
  box-shadow: 0 6px 24px rgba(43,49,138,.2);
}
.btn-navy:hover { background: var(--navy-dark); box-shadow: 0 10px 32px rgba(43,49,138,.3); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ── CARDS ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange); }

/* ── DIVIDER SHAPES ── */
.wave-down {
  display: block; width: 100%; overflow: hidden; line-height: 0;
  background: inherit;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  padding: 64px clamp(20px,6vw,80px) 32px;
  color: rgba(255,255,255,0.85);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo img { 
  height: 52px; width: auto; margin-bottom: 16px;
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  padding: 6px 14px;
}
.footer-about { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 20px; }
.footer-contact-line {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-size: 0.875rem;
}
.footer-contact-line a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color var(--transition); }
.footer-contact-line a:hover { color: var(--orange); }
.footer-col h5 {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.875rem; transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-mmk {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px; border-radius: 50px; font-size: 0.78rem; color: rgba(255,255,255,0.6);
}
.footer-mmk a { color: var(--orange); text-decoration: none; font-weight: 700; }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,16,32,0.95); align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 12px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  font-size: 1.8rem; cursor: pointer; width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--orange); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 68px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── SHARED COMPONENTS ── */
.star-row { color: #f59e0b; letter-spacing: 2px; font-size: 0.95rem; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: clamp(60px,8vw,96px) clamp(20px,6vw,80px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,121,32,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: #fff; font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 500px; margin: 0 auto 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
