/* =============================================
   SZAKRENDELO.HU – Főstíluslap
   Színpaletta: navy #1a2e4a, kék #2e7dbf, fehér
   ============================================= */

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

:root {
  --navy:        #16213e;
  --navy-dark:   #0f172a;
  --blue:        #2e7dbf;
  --blue-light:  #4a9fd4;
  --blue-pale:   #e8f4fd;
  --teal:        #0ea5a0;
  --white:       #ffffff;
  --bg:          #f7f9fc;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --shadow:      0 4px 20px rgba(0,0,0,.10);
  --radius:      10px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 8px 0;
}
.topbar-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px;
}

/* ─── NAVBAR ─── */
.navbar {
  background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
}
.logo-icon {
  font-size: 1.5rem;
  background: var(--blue);
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: white; font-style: normal;
}
.logo-text { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.logo-dot  { color: var(--blue-light); }

.nav-links {
  display: flex; gap: 8px; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .9rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0d1b35 0%, #1a3a5c 40%, #1e5080 70%, #2e7dbf 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto; padding: 80px 24px;
  color: var(--white);
}
.hero-eyebrow {
  font-size: .85rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue-light);
  margin-bottom: 16px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.85);
  max-width: 560px; margin-bottom: 36px;
}

.hero-search { max-width: 600px; }
.hero-search-inner {
  display: flex; gap: 0;
  background: var(--white); border-radius: 8px;
  overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.hero-search input {
  flex: 1; border: none; outline: none;
  padding: 16px 20px; font-size: 1rem; font-family: inherit;
  color: var(--text);
}
.hero-search button {
  background: var(--blue); color: var(--white);
  border: none; cursor: pointer;
  padding: 16px 28px; font-size: 1rem; font-weight: 600;
  font-family: inherit; transition: background .2s;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--blue-light); }

/* ─── FEATURE BOXES ─── */
.feature-boxes {
  background: var(--navy);
  padding: 0 0 0 0;
  margin-top: -2px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-box {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .2s;
  cursor: default;
}
.feature-box:last-child { border-right: none; }
.feature-box:hover { background: rgba(255,255,255,.05); }
.feature-icon-wrap {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: white;
}
.feature-icon-wrap svg { width: 26px; height: 26px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-box h3 { color: var(--white); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.feature-box p  { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.55; }

/* ─── ABOUT SECTION ─── */
.about-section { padding: 80px 0; background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.section-label {
  display: inline-block;
  background: var(--blue-pale); color: var(--blue);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
  margin-bottom: 14px;
}
.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy); margin-bottom: 18px; line-height: 1.3;
}
.about-text p { color: var(--text-muted); margin-bottom: 14px; font-size: .97rem; }
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow .2s;
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-num { font-size: 2.4rem; font-weight: 700; color: var(--blue); }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

.btn-primary {
  display: inline-block;
  background: var(--blue); color: var(--white);
  padding: 12px 24px; border-radius: 7px;
  font-weight: 600; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--blue-light); color: var(--white); transform: translateY(-1px); }

/* ─── SPECIALTIES ─── */
.specialties-section { padding: 72px 0; background: var(--bg); }
.section-header { text-align: center; margin-bottom: 44px; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 10px; }
.section-header p  { color: var(--text-muted); font-size: .97rem; }
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.specialty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
  color: var(--text); font-weight: 500; font-size: .88rem;
  transition: box-shadow .2s, border-color .2s, transform .15s;
  cursor: pointer;
}
.specialty-card:hover {
  box-shadow: 0 6px 24px rgba(46,125,191,.15);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  color: var(--blue);
}
.spec-icon {
  width: 48px; height: 48px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.spec-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 72px 0;
}
.cta-content { text-align: center; color: var(--white); }
.cta-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-content p  { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.btn-cta {
  display: inline-block;
  background: var(--white); color: var(--blue);
  padding: 14px 32px; border-radius: 7px;
  font-weight: 700; font-size: 1rem;
  transition: background .2s, transform .15s;
}
.btn-cta:hover { background: var(--blue-pale); color: var(--blue); transform: translateY(-1px); }

/* ─── PAGE HERO (belső oldalak) ─── */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0d1b35 0%, #1a3a5c 50%, #2e7dbf 100%);
  display: flex; align-items: center;
}
.page-hero--small { min-height: 220px; }
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1160px; margin: 0 auto; padding: 60px 24px;
  color: var(--white); text-align: center;
}
.page-hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 10px; }
.page-hero-content p  { font-size: 1.05rem; color: rgba(255,255,255,.8); }

/* ─── CONTENT PAGE (impresszum stb.) ─── */
.content-page { padding: 64px 0 80px; background: var(--bg); }
.content-narrow { max-width: 820px; }
.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px; margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.content-card h2 {
  font-size: 1.3rem; color: var(--navy); margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--blue-pale);
}
.content-card h3 { font-size: 1.05rem; color: var(--navy); margin: 20px 0 8px; }
.content-card p  { color: var(--text-muted); margin-bottom: 12px; font-size: .95rem; line-height: 1.7; }
.content-card a  { color: var(--blue); }

.info-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.info-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.info-table td:first-child { color: var(--text-muted); width: 40%; }
.info-table tr:last-child td { border-bottom: none; }

.email-link {
  display: inline-block;
  background: var(--blue-pale); color: var(--blue);
  padding: 10px 20px; border-radius: 6px; font-weight: 600;
}
.impresszum-center { text-align: center; padding: 56px 40px; }
.impresszum-center p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 12px; line-height: 1.7; }
.impresszum-email {
  display: inline-block; margin-top: 20px;
  background: var(--blue-pale); color: var(--blue);
  padding: 14px 32px; border-radius: 8px;
  font-weight: 600; font-size: 1.1rem;
  cursor: default; user-select: all;
}

/* ─── FOOTER ─── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.footer-brand p { font-size: .88rem; line-height: 1.65; }
.footer-col h4 { color: var(--white); font-size: .9rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-email { color: rgba(255,255,255,.65); font-size: .88rem; cursor: default; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px; text-align: center;
  max-width: 1160px; margin: 0 auto;
  font-size: .82rem; color: rgba(255,255,255,.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .specialties-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy); padding: 12px 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; width: 100%; padding: 12px 16px; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .feature-box:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .feature-box:last-child { border-bottom: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .specialties-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero-search-inner { flex-direction: column; border-radius: 8px; }
  .hero-search input { border-radius: 8px 8px 0 0; }
  .hero-search button { border-radius: 0 0 8px 8px; text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-box { border-right: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
