/* ============================================================
   ingatlanbejaras.hu — Redesigned Stylesheet
   Luxury Real Estate Editorial Aesthetic
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --color-primary: #1a4a3a;
  --color-primary-light: #2a6b55;
  --color-primary-soft: #e8f0ed;
  --color-accent: #c4a35a;
  --color-accent-hover: #b8943f;
  --color-accent-soft: rgba(196, 163, 90, 0.12);

  /* Backgrounds */
  --bg-cream: #faf7f2;
  --bg-section: #f5f2ec;
  --bg-white: #ffffff;
  --bg-dark: #122a22;

  /* Text */
  --text-primary: #1a2e28;
  --text-secondary: #5a6e66;
  --text-tertiary: #8a9a94;
  --text-inverse: #f0ede8;

  /* Borders & Shadows */
  --border-light: rgba(26, 74, 58, 0.08);
  --border-medium: rgba(26, 74, 58, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 20px rgba(26, 74, 58, 0.08);
  --shadow-elevated: 0 12px 32px rgba(26, 74, 58, 0.12);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Typography */
  --font-display: 'DM Serif Display', 'Georgia', serif;
  --font-body: 'Outfit', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-padding: 5rem;
  --container-max: 1120px;
  --container-padding: 1.5rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.35s;
  --duration-slow: 0.6s;
}

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

/* --- Base --- */
body {
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.3;
}

/* --- Layout --- */
.page-wrapper {
  min-height: 100vh;
  background: var(--bg-cream);
}

.container {
  width: min(var(--container-max), 100% - 3rem);
  margin: 0 auto;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--text-inverse);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 247, 242, 0.92);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--duration-fast) var(--ease-out);
}

.site-header.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
  transition: padding var(--duration-fast) var(--ease-out);
}

.header--scrolled .header-inner {
  padding: 0.55rem 0;
}

.logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
}

.logo-mark img {
  width: 100%;
  height: auto;
}

.nav-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.main-nav a {
  position: relative;
  padding-bottom: 0.15rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
  transition: width var(--duration-normal) var(--ease-out);
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.active {
  background: var(--color-primary);
  color: var(--bg-white);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-md);
}

.main-nav a.active::after {
  display: none;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-primary);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--bg-dark);
  box-shadow: 0 8px 20px rgba(196, 163, 90, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 163, 90, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--border-medium);
}

.btn-ghost:hover {
  background: var(--color-primary);
  color: var(--bg-white);
  border-color: var(--color-primary);
}

.btn-hero {
  padding: 0.85rem 2.2rem;
  font-size: 0.95rem;
  margin-top: 1.25rem;
}

.btn-price {
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 4rem 0 2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  max-width: 100%;
  text-align: center;
  line-height: 1.25;
}

.fancy-title {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bg-white);
  background: var(--color-primary);
  padding: 0.15rem 0.8rem 0.25rem;
  border-radius: var(--radius-md);
  display: inline-block;
  font-size: 1.1em;
  box-shadow: 0 8px 24px rgba(26, 74, 58, 0.25);
  position: relative;
}

.fancy-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section {
  padding: var(--section-padding) 0;
  scroll-margin-top: 70px;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  padding-bottom: 0.6rem;
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 30rem;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}

/* ============================================================
   KINEK SZÓL (Values / Who is this for)
   ============================================================ */
.hero-stat-group--inline {
  margin-top: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  display: inline-block;
  text-align: left;
}

.hero-stat--left {
  justify-content: flex-start;
}

.hero-stat__icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
}

.hero-stat__icon svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-stat-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
}

/* ============================================================
   PROCESS FLOW
   ============================================================ */
.process-flow {
  padding: var(--section-padding) 1.5rem;
  background: var(--bg-section);
}

.process-flow__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.process-flow__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  width: 100%;
}

.process-flow__intro {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.process-flow__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.process-flow__step {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.process-flow__step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.process-flow__step > div {
  flex-grow: 1;
  text-align: center;
}

.process-flow__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.process-flow__number {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent-hover);
  font-family: var(--font-display);
}

.process-flow__step-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
}

.process-flow__step-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ============================================================
   VIRTUAL TOUR DEMO
   ============================================================ */
.virtual-tour-section {
  padding: var(--section-padding) 0;
}

.tablet-frame {
  position: relative;
  width: 80%;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--text-primary);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
}

.tour-gif,
.tour-video {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  margin: 0 auto;
}

.tour-cta-text {
  text-align: center;
  margin-top: 1.75rem;
  color: var(--text-secondary);
}

.link-underline {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-out);
}

.link-underline:hover {
  color: var(--color-primary-light);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
  background: var(--bg-section);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.price-card:hover::before {
  opacity: 1;
}

.price-tier {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.price-main {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.price-caption {
  font-size: 0.82rem;
  color: var(--color-accent-hover);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.price-features li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.price-footer {
  margin-top: auto;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2rem;
  line-height: 1.6;
}

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-section {
  padding-bottom: 4rem;
}

.contact-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-highlight {
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.7;
}

.contact-panel {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.form-field input,
.form-field textarea {
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 74, 58, 0.12);
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  background: var(--bg-cream);
  color: var(--text-primary);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.form-field textarea {
  border-radius: var(--radius-md);
  min-height: 90px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary-light);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(26, 74, 58, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-tertiary);
}

.form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bg-cream);
  border: 1px solid rgba(26, 74, 58, 0.12);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  width: 100%;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: var(--font-body);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6e66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1.2em;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.form-field select:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(26, 74, 58, 0.08);
  outline: none;
}

.form-field select.placeholder {
  color: var(--text-tertiary);
}

.form-grid .form-field-full {
  grid-column: 1 / -1;
}

.required {
  color: #c44;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.form-status {
  text-align: center;
  margin-top: 1rem;
}

.form-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.88rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
  margin: 0 auto;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 0.85rem 1.15rem;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item.open {
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question {
  font-weight: 500;
  color: var(--text-primary);
}

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-accent);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--color-accent);
  transition: transform var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
}

.faq-item.open .faq-toggle {
  background: var(--color-accent);
  color: var(--bg-white);
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  opacity: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.65;
}

.faq-item.open .faq-body {
  margin-top: 0.7rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  max-height: 200px;
  opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 3rem 0 1.75rem;
  font-size: 0.82rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.9fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 15rem;
  color: rgba(240, 237, 232, 0.85);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-logo-img {
  height: 120px;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-inverse);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: rgba(240, 237, 232, 0.7);
}

.footer-links a {
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(240, 237, 232, 0.15);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(240, 237, 232, 0.5);
  font-size: 0.78rem;
}

.footer-bottom a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.modal-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
}

.modal-content p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

/* ============================================================
   TOUR GALLERY (virtualis-ingatlanbejarasok.html)
   ============================================================ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.tour-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.tour-card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.tour-card-content {
  padding: 1.5rem;
}

.tour-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.tour-date {
  font-weight: 500;
  color: var(--color-accent-hover);
}

.tour-card-body {
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.tour-card-body p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

.tour-card-body small {
  color: var(--text-secondary);
}

.tour-card-footer {
  text-align: right;
}

/* ============================================================
   LEGAL PAGES (gdpr.html, aszf.html)
   ============================================================ */
.legal-document {
  padding: 3rem 0;
}

.legal-document .container {
  max-width: 800px;
}

.legal-document h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-document h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent-soft);
  color: var(--color-primary);
}

.legal-document p,
.legal-document li {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-document strong {
  color: var(--text-primary);
}

.legal-document ul {
  padding-left: 1.25rem;
}

/* ============================================================
   SUBMIT BUTTON LOADING STATE
   ============================================================ */
.btn-loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.btn-loading::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center {
  text-align: center;
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 960px)
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   RESPONSIVE — PROCESS FLOW TABLET (min-width: 580px)
   ============================================================ */
@media (min-width: 580px) {
  .process-flow__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .process-flow__step {
    display: block;
    text-align: center;
    height: 100%;
  }

  .process-flow__icon {
    margin: 0 auto 0.6rem;
  }
}

/* ============================================================
   RESPONSIVE — PROCESS FLOW DESKTOP (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .process-flow__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --section-padding: 3rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .hamburger-menu {
    display: block;
  }

  .nav-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.25rem;
    border-bottom: 3px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
  }

  .nav-wrapper.open {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    gap: 1.25rem;
    flex-grow: 0;
    color: var(--text-inverse);
  }

  .main-nav a:hover {
    color: var(--color-accent);
  }

  .main-nav a::after {
    background: var(--color-accent);
  }

  .header-actions {
    margin-left: 0;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-wrapper .btn-ghost {
    color: var(--text-inverse);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .nav-wrapper .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-inverse);
  }

  .hero {
    padding: 2.5rem 0 1rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .pricing-grid,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-panel {
    padding: 1.25rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid .form-field-full {
    grid-column: auto;
  }

  .tablet-frame {
    width: 92%;
    padding: 0.75rem;
  }

  .price-card {
    padding: 1.5rem 1.25rem;
  }
}
