/* ===== Alap ===== */
:root {
  --text: #1d2430;
  --muted: #4a5361;
  --navy: #1a2733;
  --navy-2: #24364a;
  --light-blue: #eef5fa;
  --gold: #b08d57;
  --gold-light: #d8bf8f;
  --whatsapp: #1f9d55;
  --radius: 10px;
  --container: 1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, sans-serif;
  --section-pad: 110px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}
h4 { margin: 0; }

section[id] { scroll-margin-top: 72px; }

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

/* Arany elválasztó a címek alatt */
.title-line::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-top: 22px;
}
.title-line.center::after { margin-left: auto; margin-right: auto; }

/* ===== Gombok ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #9a7a48; }

.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #188046; }

.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn-light:hover { background: #fff; color: var(--navy); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e7e9ee;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: #121821;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 20, 30, .55) 0%, rgba(14, 20, 30, .72) 100%);
}
.hero-content { position: relative; padding-top: 100px; padding-bottom: 100px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto 36px;
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto 44px;
  max-width: 640px;
  color: rgba(255, 255, 255, .92);
}
.hero-stars { margin-top: 44px; font-size: 18px; letter-spacing: 4px; color: var(--gold-light); }
.hero-tagline { font-size: 13px; letter-spacing: .14em; margin: 6px 0 0; color: rgba(255, 255, 255, .85); }

/* ===== Szekció fejlécek ===== */
.section-head { text-align: center; margin: 0 auto 70px; max-width: 720px; }
.section-head h2 { font-size: clamp(34px, 4vw, 46px); }
.section-head p { font-size: 17px; color: var(--muted); margin: 26px 0 0; }

/* ===== Szolgáltatások ===== */
.services { background: var(--light-blue); padding: var(--section-pad) 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 39, 51, .07);
  transition: box-shadow .3s ease, transform .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26, 39, 51, .12); }
.service-media { overflow: hidden; }
.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover img { transform: scale(1.05); }
.service-body { padding: 30px 34px 36px; border-top: 3px solid var(--gold); }
.service-body h3 { font-size: 23px; margin-bottom: 12px; color: var(--navy); }
.service-body p { font-size: 16px; color: var(--muted); margin: 0; }

/* ===== Kétoszlopos szekciók ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.col-text h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 32px; color: var(--navy); }
.col-text p { font-size: 16px; color: var(--muted); margin: 0 0 18px; }
.rounded { border-radius: var(--radius); width: 100%; object-fit: cover; }

.profile { padding: var(--section-pad) 0 60px; }
.profile .portrait { aspect-ratio: 4 / 4.4; box-shadow: 18px 18px 0 var(--light-blue); }

.stats {
  display: flex;
  gap: 60px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid #e3e6eb;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--serif); font-size: 48px; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-top: 8px; }

.trust { padding: 60px 0; }
.trust .btn { margin-top: 22px; }
.trust .rounded { aspect-ratio: 5 / 4; }

.commitment { padding: 60px 0 var(--section-pad); }
.collage { position: relative; min-height: 500px; }
.collage-a {
  width: 68%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}
.collage-b {
  position: absolute;
  right: 0;
  bottom: -30px;
  width: 46%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 8px solid #fff;
  box-shadow: 0 16px 40px rgba(26, 39, 51, .15);
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  background: url("assets/contact-bg.jpg") center / cover no-repeat;
}
.cta-overlay { position: absolute; inset: 0; background: rgba(20, 30, 42, .78); }
.cta-content { position: relative; }
.cta h2 { font-size: clamp(34px, 4vw, 46px); }
.cta p { font-size: 18px; margin: 26px auto 40px; max-width: 560px; color: rgba(255, 255, 255, .9); }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta .title-line::after { background: var(--gold-light); }

/* ===== Az irodánk ===== */
.office { background: var(--navy); color: #fff; padding: var(--section-pad) 0 90px; }
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 56px;
}
.office h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 28px; }
.office p { font-size: 16px; color: rgba(255, 255, 255, .85); max-width: 440px; margin: 0; }
.office .title-line::after { background: var(--gold-light); }
.office-info { border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 40px; }
.office-info h4 {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 6px 0 8px;
}
.office-info p { margin: 0 0 28px; color: #fff; }
.map { border-radius: var(--radius); overflow: hidden; }
.map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
  filter: grayscale(.35);
}

/* ===== Impresszum oldal ===== */
.imprint { padding: 90px 0 var(--section-pad); }
.imprint-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.imprint h1 { font-size: clamp(36px, 4vw, 48px); color: var(--navy); margin-bottom: 50px; }
.imprint dl {
  margin: 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  font-size: 16px;
}
.imprint dt,
.imprint dd { padding: 16px 0; border-bottom: 1px solid #e7e9ee; margin: 0; }
.imprint dt { font-weight: 700; color: var(--navy); padding-right: 24px; }
.imprint dd { color: var(--muted); }
.imprint dd a { color: var(--navy); }

/* ===== Footer ===== */
.site-footer { background: #121c26; color: #fff; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.site-footer h3 { font-size: 26px; margin-bottom: 18px; }
.site-footer h4 {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gold-light);
  margin: 8px 0 18px;
}
.site-footer p { font-size: 15px; margin: 0 0 12px; color: rgba(255, 255, 255, .85); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
.footer-bottom a { color: rgba(255, 255, 255, .8); }

/* ===== Animáció ===== */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Reszponzív ===== */
@media (max-width: 960px) {
  :root { --section-pad: 80px; }
  .two-col,
  .office-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .commitment .col-media { order: 2; }
  .profile .portrait { max-width: 480px; }
  .office-info { border-left: 0; padding-left: 0; }
}

@media (max-width: 760px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 16px; }
  .logo { font-size: 17px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 8px 16px 16px;
    border-bottom: 1px solid #e7e9ee;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid #f0f1f4; }
  .main-nav a::after { display: none; }
  .hero { min-height: 600px; }
  .hero-sub { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-card img { height: 220px; }
  .service-body { padding: 24px 22px 28px; }
  .stats { gap: 40px; }
  .stat-num { font-size: 40px; }
  .collage { min-height: 380px; }
  .collage-a { height: 360px; width: 75%; }
  .collage-b { height: 230px; bottom: 0; width: 52%; }
  .cta { padding: 80px 0; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }
  .map iframe { height: 280px; }
  .imprint dl { grid-template-columns: 1fr; }
  .imprint dt { border-bottom: 0; padding-bottom: 2px; }
  .imprint dd { padding-top: 0; }
}
