/* ===================================================
   CF-Air Kft. — Helyi szakmai bizalom
   Stylesheet — clean, restrained, local-service trust
   =================================================== */

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

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

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: #f7f8fa;
  color: #1e2530;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Variables ------------------------------------ */
:root {
  --navy:       #1a3a5c;
  --blue:       #2563a8;
  --blue-light: #e8f0fb;
  --steel:      #4a6fa5;
  --graphite:   #1e2530;
  --mid:        #4b5563;
  --muted:      #6b7280;
  --border:     #d1d9e6;
  --bg:         #f7f8fa;
  --white:      #ffffff;
  --strip-bg:   #eef2f9;
  --radius:     6px;
  --max-w:      1080px;
  --section-py: 72px;
}

/* --- Container ------------------------------------ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo-block { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-desc {
  font-size: 0.72rem;
  color: var(--steel);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--graphite);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a.active { background: var(--blue-light); color: var(--blue); text-decoration: none; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.15s;
}
.header-cta:hover { background: var(--blue); text-decoration: none !important; }
.header-cta svg { flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  padding: 32px 24px;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--graphite);
  margin-bottom: 16px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--graphite);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .mobile-cta-link {
  margin-top: 24px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 1.1rem;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  margin-bottom: 36px;
}
.footer-brand .logo-name { color: var(--white); font-size: 1.15rem; }
.footer-brand .logo-desc { color: rgba(255,255,255,0.55); }
.footer-brand p { margin-top: 12px; font-size: 0.88rem; color: rgba(255,255,255,0.7); }

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col p, .footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  display: block;
}
.footer-col a:hover { color: var(--white); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 2px solid transparent;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--blue-light); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover { background: var(--blue-light); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  background: var(--white);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero-text .subheadline {
  font-size: 1.05rem;
  color: var(--mid);
  margin-bottom: 14px;
  max-width: 540px;
}
.hero-text .microcopy {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image-placeholder {
  background: var(--strip-bg);
  border: 2px dashed var(--border);
  border-radius: 8px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.placeholder-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
  line-height: 1.5;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 48px;
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}

/* ===================================================
   TRUST STRIP
   =================================================== */
.trust-strip {
  background: var(--strip-bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px 10px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--graphite);
  border-right: 1px solid var(--border);
  margin-right: 28px;
}
.trust-item:last-child { border-right: none; margin-right: 0; }
.trust-icon {
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

/* ===================================================
   SECTIONS — shared
   =================================================== */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); color: var(--white); }

.section-heading {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.section-dark .section-heading { color: var(--white); }
.section-intro {
  font-size: 0.97rem;
  color: var(--mid);
  max-width: 620px;
  margin-bottom: 40px;
}
.section-dark .section-intro { color: rgba(255,255,255,0.75); }

/* ===================================================
   SERVICE CARDS (preview)
   =================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 28px 24px;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.service-card:hover {
  box-shadow: 0 4px 18px rgba(26,58,92,0.08);
  border-color: var(--steel);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.9rem; color: var(--mid); }

/* Detailed service cards (Szolgáltatások page) */
.service-card-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 32px 32px 28px;
  transition: box-shadow 0.15s;
}
.service-card-detail:hover { box-shadow: 0 4px 18px rgba(26,58,92,0.08); }
.service-card-detail h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card-detail p { font-size: 0.92rem; color: var(--mid); }

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* ===================================================
   WHY SECTION
   =================================================== */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.why-main p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
}
.why-sidenote {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 88px;
}
.why-sidenote h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-sidenote p { font-size: 0.88rem; color: var(--mid); line-height: 1.7; }

/* ===================================================
   PROCESS STEPS
   =================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-number {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.process-step p { font-size: 0.9rem; color: var(--mid); }

/* ===================================================
   COMPANY DETAILS BLOCK
   =================================================== */
.company-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
}
.company-block .section-heading { margin-bottom: 10px; }
.company-block > p { font-size: 0.95rem; color: var(--mid); margin-bottom: 28px; }
.company-details-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.detail-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child { border-bottom: none; }
.detail-label {
  width: 200px;
  flex-shrink: 0;
  background: var(--strip-bg);
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--graphite);
  border-right: 1px solid var(--border);
}
.detail-value {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--mid);
}
.detail-value a { color: var(--blue); }
.detail-value a:hover { text-decoration: underline; }

/* ===================================================
   FAQ ACCORDION
   =================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--graphite);
  transition: color 0.15s;
}
.faq-question:hover { color: var(--blue); }
.faq-question.open { color: var(--blue); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--steel);
  transition: transform 0.2s;
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 680px;
}
.faq-answer.open { display: block; }

/* ===================================================
   CTA PANEL
   =================================================== */
.cta-panel {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-panel h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.cta-panel p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Inline CTA block (service page) */
.cta-block {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 36px 40px;
}
.cta-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.cta-block p { font-size: 0.93rem; color: var(--mid); margin-bottom: 20px; }

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.15s;
}
.contact-card:hover { box-shadow: 0 4px 18px rgba(26,58,92,0.08); }
.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}
.contact-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-card .contact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.contact-card a.contact-value { color: var(--blue); }
.contact-card a.contact-value:hover { text-decoration: underline; }
.contact-card .contact-address {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
}

.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--mid);
}
.check-icon {
  width: 22px;
  height: 22px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--white);
}

.map-placeholder {
  background: var(--strip-bg);
  border: 2px dashed var(--border);
  border-radius: 8px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

/* Contact info grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .contact-info-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* When section (service page) */
.when-list { display: flex; flex-direction: column; gap: 12px; }
.when-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.93rem;
  color: var(--mid);
}
.when-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ===================================================
   MOBILE STICKY CALL BAR
   =================================================== */
.sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--navy);
  padding: 12px 16px;
  gap: 8px;
}
.sticky-call-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 12px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
}
.sticky-call-bar .sticky-call {
  background: var(--white);
  color: var(--navy);
}
.sticky-call-bar .sticky-email {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-placeholder { min-height: 220px; }
  .hero-text h1 { font-size: 1.9rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .why-layout { grid-template-columns: 1fr; }
  .why-sidenote { position: static; }
  .company-details-list { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  :root { --section-py: 48px; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .sticky-call-bar { display: flex; }
  body { padding-bottom: 72px; }
  .hero { padding: 48px 0 40px; }
  .hero-text h1 { font-size: 1.65rem; }
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { font-size: 1.5rem; }
  .cta-panel h2 { font-size: 1.4rem; }
  .company-block { padding: 24px 20px; }
  .cta-block { padding: 24px; }
  .trust-item { padding-right: 16px; margin-right: 16px; font-size: 0.8rem; }
  .detail-label { width: 140px; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; }
  .cta-btn-group { flex-direction: column; align-items: center; }
  .trust-items { flex-direction: column; gap: 8px; }
  .trust-item { border-right: none; margin-right: 0; padding-right: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
