/* ============================================
   DR. MURÁNYI ISTVÁN – GAZDASÁG-ÁTADÁS
   ============================================ */

:root {
  --ink:       #1a1612;
  --ink-light: #4a3f35;
  --parchment: #f7f4ee;
  --cream:     #faf8f4;
  --gold:      #b8965a;
  --gold-light:#d4af7a;
  --gold-pale: #f0e6d0;
  --rule:      rgba(184,150,90,0.25);
  --rule-dark: rgba(26,22,18,0.12);
  --white:     #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Gill Sans', sans-serif;
  --nav-h: 72px;
  --max:   1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-body); font-weight: 300; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
em { font-style: italic; color: var(--gold); }

.btn {
  display: inline-block; font-family: var(--font-body); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.85rem 2.2rem; border-radius: 2px;
  transition: all 0.3s; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--white); border: 1.5px solid var(--gold); }
.btn-primary:hover { background: #a07840; border-color: #a07840; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(184,150,90,0.3); }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid rgba(247,244,238,0.4); }
.btn-ghost:hover { background: rgba(247,244,238,0.08); border-color: rgba(247,244,238,0.7); }
.btn-light { background: var(--cream); color: var(--ink); border: 1.5px solid var(--cream); }
.btn-light:hover { background: var(--parchment); transform: translateY(-1px); }

.section-tag { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.section-header { text-align: center; margin-bottom: 4rem; }

.reveal { opacity: 1; transform: none; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); transition: background 0.4s, box-shadow 0.4s; }
.nav.scrolled { background: rgba(26,22,18,0.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--rule); }
.nav-inner { max-width: var(--max); margin: 0 auto; height: 100%; padding: 0 2rem; display: flex; align-items: center; gap: 2rem; }
.nav-logo { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.nav-logo-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--cream); letter-spacing: 0.03em; }
.nav-logo-sub { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-top: 1px; }
.nav-links { list-style: none; display: flex; gap: 2.2rem; }
.nav-links a { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,244,238,0.7); transition: color 0.25s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(184,150,90,0.4); padding: 0.45rem 1.1rem; border-radius: 2px; transition: all 0.25s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--cream); transition: all 0.3s; }
.nav-mobile { display: none; flex-direction: column; background: rgba(20,16,13,0.98); padding: 1.5rem 2rem; gap: 1.2rem; border-top: 1px solid var(--rule); }
.nav-mobile a { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,244,238,0.75); }
.nav-mobile a:hover { color: var(--gold); }
.mobile-cta { color: var(--gold) !important; border: 1px solid rgba(184,150,90,0.4); padding: 0.6rem 1rem; text-align: center; border-radius: 2px; }
.nav-mobile.open { display: flex; }

/* HERO */
.hero { min-height: 100vh; background: var(--ink); display: flex; align-items: center; position: relative; overflow: hidden; padding-top: var(--nav-h); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 80% 40%, rgba(184,150,90,0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 10% 70%, rgba(184,150,90,0.05) 0%, transparent 60%); }
.hero-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(184,150,90,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(184,150,90,0.07) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 80% 80% at center, black 40%, transparent 100%); }
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; padding: clamp(4rem,10vw,8rem) 2rem clamp(3rem,8vw,6rem); text-align: center; z-index: 2; }
.hero-badge { display: inline-block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(184,150,90,0.3); padding: 0.35rem 1rem; border-radius: 1px; margin-bottom: 2.5rem; }
.hero-title { color: var(--cream); margin-bottom: 2rem; line-height: 1.15; }
.hero-sub { color: rgba(247,244,238,0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto 3rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(247,244,238,0.35); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; z-index: 2; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(184,150,90,0.5), transparent); }

/* STATS */
.stats-band { background: var(--ink); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 2.5rem 2rem; }
.stats-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 1rem 3rem; }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(247,244,238,0.5); margin-top: 0.4rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(184,150,90,0.2); }

/* QUOTE */
.quote-section { background: var(--parchment); padding: 7rem 2rem; border-bottom: 1px solid var(--rule-dark); }
.quote-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--font-display); font-size: 8rem; color: var(--gold-pale); line-height: 0.5; margin-bottom: 1.5rem; display: block; }
blockquote { font-family: var(--font-display); font-size: clamp(1.2rem,2.5vw,1.7rem); font-style: italic; color: var(--ink-light); line-height: 1.6; margin-bottom: 1.5rem; }
.quote-author { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }

/* SERVICES */
.services { padding: 8rem 2rem; background: var(--cream); }
.services-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5px; background: var(--rule-dark); border: 1.5px solid var(--rule-dark); }
.service-card { background: var(--cream); padding: 2.8rem 2.5rem; transition: background 0.3s; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 2.5rem; right: 2.5rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.service-card:hover { background: var(--parchment); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 1.5rem; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.service-card p { font-size: 0.9rem; color: var(--ink-light); line-height: 1.75; }

/* PROCESS */
.process { background: var(--ink); padding: 8rem 2rem; }
.process .section-header h2 { color: var(--cream); }
.process-steps { max-width: 900px; margin: 0 auto; }
.process-step { display: flex; align-items: flex-start; gap: 2.5rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(184,150,90,0.15); }
.process-step:last-child { border-bottom: none; }
.step-num { font-family: var(--font-display); font-size: 3.5rem; font-weight: 600; color: rgba(184,150,90,0.2); line-height: 1; min-width: 80px; transition: color 0.3s; }
.process-step:hover .step-num { color: var(--gold); }
.step-content h4 { color: var(--cream); margin-bottom: 0.6rem; }
.step-content p { color: rgba(247,244,238,0.55); font-size: 0.9rem; line-height: 1.8; }

/* WHY */
.why-section { background: var(--parchment); padding: 8rem 2rem; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.why-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-text h2 { margin-bottom: 1.5rem; }
.why-text p { color: var(--ink-light); margin-bottom: 1.5rem; line-height: 1.8; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.why-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--ink-light); }
.check { color: var(--gold); }
.why-visual { display: flex; justify-content: center; }
.why-card { background: var(--ink); border: 1px solid rgba(184,150,90,0.2); padding: 3.5rem 3rem; text-align: center; max-width: 340px; width: 100%; position: relative; }
.why-card::before { content: ''; position: absolute; top: 8px; left: 8px; right: -8px; bottom: -8px; border: 1px solid rgba(184,150,90,0.1); pointer-events: none; }
.wc-seal { width: 120px; margin: 0 auto 1.5rem; }
.wc-seal svg { width: 100%; }
.wc-line { width: 40px; height: 1px; background: var(--gold); margin: 0 auto 1.5rem; opacity: 0.4; }
.wc-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--cream); margin-bottom: 0.4rem; }
.wc-tagline-sub { font-size: 0.72rem; color: rgba(247,244,238,0.35); letter-spacing: 0.08em; }

/* CTA */
.cta-band { background: var(--ink); padding: 7rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at center, rgba(184,150,90,0.07) 0%, transparent 70%); }
.cta-inner { position: relative; max-width: 580px; margin: 0 auto; }
.cta-inner h2 { color: var(--cream); margin-bottom: 1.2rem; }
.cta-inner p { color: rgba(247,244,238,0.6); margin-bottom: 2.5rem; line-height: 1.8; }

/* FOOTER */
.footer { background: #100d0a; border-top: 1px solid rgba(184,150,90,0.1); padding: 4rem 2rem 2.5rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--cream); margin-bottom: 0.4rem; }
.footer-tagline { font-size: 0.72rem; color: rgba(247,244,238,0.35); letter-spacing: 0.1em; }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(247,244,238,0.45); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.72rem; color: rgba(247,244,238,0.3); line-height: 1.7; text-align: right; }

/* PAGE HERO */
.page-hero { background: var(--ink); padding: calc(var(--nav-h) + 5rem) 2rem 5rem; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 70% 50%, rgba(184,150,90,0.07) 0%, transparent 70%); }
.page-hero-inner { max-width: 700px; margin: 0 auto; position: relative; text-align: center; }
.page-hero h1 { color: var(--cream); margin: 0.5rem 0 1.5rem; }
.page-hero p { color: rgba(247,244,238,0.6); font-size: 1rem; line-height: 1.8; max-width: 540px; margin: 0 auto; }

/* FAQ */
.faq-section { padding: 7rem 2rem; background: var(--cream); }
.faq-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.faq-col .section-tag { margin-bottom: 2rem; }
.faq-item { border-bottom: 1px solid var(--rule-dark); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; text-align: left; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); transition: color 0.2s; }
.faq-q:hover { color: var(--gold); }
.faq-arrow { color: var(--gold); font-size: 1rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { font-size: 0.88rem; color: var(--ink-light); line-height: 1.85; padding-bottom: 1.3rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* LAWS */
.laws-section { background: var(--parchment); padding: 7rem 2rem; border-top: 1px solid var(--rule-dark); }
.laws-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.law-card { background: var(--cream); border: 1px solid var(--rule-dark); border-top: 3px solid var(--gold); padding: 2.2rem 2rem; transition: box-shadow 0.3s, transform 0.3s; }
.law-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.07); transform: translateY(-3px); }
.law-num { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.law-card h4 { font-size: 1rem; margin-bottom: 0.9rem; line-height: 1.3; }
.law-card p { font-size: 0.85rem; color: var(--ink-light); line-height: 1.8; margin-bottom: 1.2rem; }
.law-link { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--gold); transition: color 0.2s; }
.law-link:hover { color: #8a6030; }

/* CONTACT */
.contact-section { padding: 6rem 2rem 8rem; background: var(--cream); }
.contact-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info h3, .contact-form-wrap h3 { font-size: 1.4rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule-dark); }
.contact-detail { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.8rem; }
.cd-icon { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.cd-icon svg { width: 100%; height: 100%; }
.cd-label { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
.cd-value { font-size: 0.92rem; color: var(--ink-light); line-height: 1.5; }
a.cd-value:hover { color: var(--gold); }
.contact-promise { background: var(--parchment); border-left: 2px solid var(--gold); padding: 1rem 1.2rem; margin: 2rem 0; display: flex; gap: 0.8rem; align-items: flex-start; }
.cp-icon { color: var(--gold); font-size: 0.7rem; margin-top: 3px; }
.contact-promise p { font-size: 0.85rem; color: var(--ink-light); line-height: 1.6; }
.contact-badges { display: flex; gap: 1.5rem; margin-top: 2rem; }
.badge-item { display: flex; flex-direction: column; align-items: center; padding: 1rem 1.5rem; border: 1px solid var(--rule-dark); flex: 1; text-align: center; }
.badge-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); font-weight: 600; }
.badge-txt { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); margin-top: 0.2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); }
.form-group input, .form-group select, .form-group textarea { background: var(--parchment); border: 1px solid var(--rule-dark); border-radius: 2px; padding: 0.8rem 1rem; font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s; outline: none; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,90,0.1); }
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b8965a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.checkbox-label { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.82rem; color: var(--ink-light); cursor: pointer; text-transform: none; letter-spacing: 0; }
.checkbox-label input[type=checkbox] { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.checkbox-label a { color: var(--gold); text-decoration: underline; }
.form-submit { align-self: flex-start; margin-top: 0.5rem; }
.form-success { text-align: center; padding: 3rem; border: 1px solid var(--rule-dark); background: var(--parchment); }
.success-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 1rem; }
.form-success h4 { margin-bottom: 0.5rem; }
.form-success p { color: var(--ink-light); font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-copy { text-align: left; }
  .faq-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .stat-item { padding: 1rem 1.5rem; }
  .stat-divider { display: none; }
  .process-step { flex-direction: column; gap: 0.5rem; }
  .step-num { font-size: 2rem; min-width: auto; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; text-align: center; }
  .services { padding: 4rem 1.5rem; }
  .process { padding: 4rem 1.5rem; }
  .why-section { padding: 4rem 1.5rem; }
  .quote-section { padding: 4rem 1.5rem; }
  .cta-band { padding: 4rem 1.5rem; }
  .faq-section { padding: 4rem 1.5rem; }
  .laws-section { padding: 4rem 1.5rem; }
  .contact-section { padding: 4rem 1.5rem 6rem; }
  .footer { padding: 3rem 1.5rem 2rem; }
  .nav-inner { padding: 0 1.5rem; }
  .stats-inner { justify-content: space-around; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .laws-grid { grid-template-columns: 1fr; }
  .why-card { padding: 2rem 1.5rem; }
  .contact-badges { flex-direction: column; }
}
