/* =====================================================================
   Dr. Haus — Modern redesign 2026
   Navy + arany prémium dizájn-rendszer
   ===================================================================== */

:root {
  --navy-900: #0a1a30;
  --navy-800: #0d2340;
  --navy-700: #123256;
  --brand:    #1b6cb4;   /* a logó kékje */
  --brand-dk: #135089;
  --gold:     #c8a24a;
  --gold-lt:  #e0c274;
  --ink:      #1a2433;
  --muted:    #5b6b7f;
  --line:     #e5e9ef;
  --bg:       #ffffff;
  --bg-soft:  #f6f8fb;
  --bg-cream: #f8f6f0;
  --white:    #ffffff;
  --radius:   14px;
  --radius-lg:22px;
  --shadow-sm: 0 2px 10px rgba(13,35,64,.06);
  --shadow:    0 12px 34px rgba(13,35,64,.10);
  --shadow-lg: 0 26px 60px rgba(13,35,64,.16);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy-800);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-dk); }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }

/* ---------- Reusable bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(200,162,74,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(200,162,74,.45); color: var(--navy-900); }
.btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.12); color:#fff; border-color:#fff; }
.btn-navy {
  background: var(--navy-800);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); color:#fff; }
.btn-ghost { color: var(--brand); border-color: var(--line); background:#fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dk); }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all .3s var(--ease);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  transition: all .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled .bar { padding: 12px 0; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; transition: height .3s var(--ease); }
/* SVG wordmark: "DR" follows currentColor, house + "HAUS" block stay brand blue */
.brand-logo { height: 40px; width: auto; display: block; color: #fff; transition: color .3s var(--ease); }
.site-header.scrolled .logo .brand-logo { color: var(--navy-800); }
.brand-logo .lg-blue { fill: #006eb3; }
.brand-logo .lg-stroke { fill: none; stroke: #006eb3; }
.brand-logo .lg-dr { fill: currentColor; }
.brand-logo .lg-haus { fill: #ffffff; }

.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  position: relative;
  padding: 4px 0;
}
.nav-menu a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  transition: width .25s var(--ease);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.site-header.scrolled .nav-menu a { color: var(--navy-800); }
.site-header.scrolled .nav-menu a:hover { color: var(--brand); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: #fff; font-family: 'Inter', sans-serif; font-size: 15px;
}
.site-header.scrolled .nav-phone { color: var(--navy-800); }
.nav-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: #fff; transition: all .3s var(--ease);
}
.site-header.scrolled .nav-toggle span { background: var(--navy-800); }

/* Inner-page header (no hero) gets a solid style by default */
.site-header.solid { background: var(--navy-800); box-shadow: var(--shadow-sm); }
.site-header.solid.scrolled { background: rgba(255,255,255,.92); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,26,48,.94) 0%, rgba(13,35,64,.82) 45%, rgba(18,50,86,.55) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; padding: 120px 0 80px; }
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 66px);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--gold-lt); }
.hero .lead { font-size: 20px; color: rgba(255,255,255,.88); margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-trust .stat .num {
  font-family: 'Playfair Display', serif; font-size: 34px; color: var(--gold-lt); font-weight: 700; line-height: 1;
}
.hero-trust .stat .lbl { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* Small page banner for inner pages */
.page-banner {
  position: relative;
  padding: 170px 0 70px;
  color: #fff;
  overflow: hidden;
}
.page-banner-bg { position: absolute; inset: 0; z-index: 0; }
.page-banner-bg img { width:100%; height:100%; object-fit: cover; }
.page-banner-bg::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(120deg, rgba(10,26,48,.95), rgba(18,50,86,.78));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color:#fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 10px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,.75); font-family:'Inter',sans-serif; }
.breadcrumb a { color: var(--gold-lt); }

/* ===================== SERVICE CARDS ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 62px; height: 62px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(27,108,180,.12), rgba(200,162,74,.14));
  color: var(--brand); margin-bottom: 22px;
}
.card .ic svg { width: 30px; height: 30px; }
.card h3 { font-size: 23px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.card ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold);
  font-weight: 700;
}
.card .card-link {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ===================== WHY US ===================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.split-img .badge {
  position: absolute; bottom: 24px; left: 24px;
  background: #fff; border-radius: var(--radius); padding: 18px 22px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.split-img .badge .b-num { font-family:'Playfair Display',serif; font-size: 30px; color: var(--brand); font-weight:700; line-height:1; }
.split-img .badge .b-lbl { font-size: 13px; color: var(--muted); }

.features { display: grid; gap: 26px; margin-top: 30px; }
.feature { display: flex; gap: 18px; }
.feature .f-ic {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 13px;
  background: var(--navy-800); color: var(--gold-lt);
  display: grid; place-items: center;
}
.feature .f-ic svg { width: 24px; height: 24px; }
.feature h4 { font-family:'Inter',sans-serif; font-weight: 700; font-size: 18px; color: var(--navy-800); margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* ===================== STATS STRIP ===================== */
.stats-strip { background: var(--navy-800); color: #fff; }
.stats-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-strip .s-num { font-family:'Playfair Display',serif; font-size: clamp(34px,4vw,48px); color: var(--gold-lt); font-weight: 700; }
.stats-strip .s-lbl { color: rgba(255,255,255,.72); font-size: 15px; }

/* ===================== TESTIMONIALS ===================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
}
.quote .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 16px; }
.quote p { font-size: 16px; color: var(--ink); font-style: italic; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.quote .who .av {
  width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,var(--brand),var(--navy-800));
  color:#fff; display:grid; place-items:center; font-weight:700; font-family:'Inter',sans-serif;
}
.quote .who .nm { font-weight: 700; font-size: 15px; color: var(--navy-800); }
.quote .who .rl { font-size: 13px; color: var(--muted); }

/* ===================== PROPERTY / CATEGORY GRID ===================== */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 300px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 30%, rgba(10,26,48,.85)); }
.tile:hover img { transform: scale(1.06); }
.tile .t-body { position: relative; z-index: 2; padding: 28px; color: #fff; }
.tile .t-body h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.tile .t-body p { color: rgba(255,255,255,.82); font-size: 15px; margin: 0; }
.tile .t-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--gold); color: var(--navy-900); font-family:'Inter',sans-serif;
  font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
}

/* ===================== PROCESS STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step .s-circle {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--line); display: grid; place-items: center;
  font-family:'Playfair Display',serif; font-size: 26px; font-weight: 700; color: var(--brand);
  position: relative; z-index: 2;
}
.step h4 { font-family:'Inter',sans-serif; font-size: 18px; color: var(--navy-800); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ===================== CTA BANNER ===================== */
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-banner::before {
  content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px;
  background: radial-gradient(circle, rgba(200,162,74,.35), transparent 70%);
}
.cta-banner .c-text { position: relative; z-index: 2; max-width: 620px; }
.cta-banner h2 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.82); margin: 0; font-size: 17px; }
.cta-banner .c-actions { position: relative; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info .ci-item { display: flex; gap: 18px; margin-bottom: 28px; align-items: flex-start; }
.contact-info .ci-ic {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(27,108,180,.12), rgba(200,162,74,.16));
  color: var(--brand); display: grid; place-items: center;
}
.contact-info .ci-ic svg { width: 24px; height: 24px; }
.contact-info h4 { font-family:'Inter',sans-serif; font-size: 16px; margin-bottom: 2px; color: var(--navy-800); }
.contact-info p { color: var(--muted); margin: 0; font-size: 15.5px; }
.contact-info a { color: var(--muted); }
.contact-info a:hover { color: var(--brand); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family:'Inter',sans-serif; font-weight: 600; font-size: 14px; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink); background: var(--bg-soft);
  transition: all .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(27,108,180,.10);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.site-footer h5 {
  font-family:'Inter',sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .04em;
  color: #fff; margin: 0 0 20px; text-transform: uppercase;
}
.site-footer .f-logo { display:inline-block; margin-bottom: 20px; }
.site-footer .f-logo img { height: 34px; }
.site-footer .brand-logo { height: 36px; color: #fff; margin-bottom: 20px; }
.site-footer p { color: rgba(255,255,255,.65); font-size: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: 15px; }
.footer-links a:hover { color: var(--gold-lt); }
.f-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; align-items:flex-start; }
.f-contact-item svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff; transition: all .25s var(--ease);
}
.social a:hover { background: var(--gold); color: var(--navy-900); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center;
  font-size: 14px; color: rgba(255,255,255,.5);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .cards, .quotes, .steps { grid-template-columns: 1fr 1fr; }
  .stats-strip .container { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav-menu, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 4px; box-shadow: var(--shadow);
  }
  .nav-menu.open a { color: var(--navy-800); padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-menu.open a::after { display: none; }
  .cards, .quotes, .tiles, .steps, .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 30px; }
  .hero-trust { gap: 24px; }
}
